/* This file is part of Telegram Desktop, the official desktop application for the Telegram messaging service. For license and copyright information please follow this link: https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL */ #pragma once #include "ui/layers/generic_box.h" namespace Ui { struct InviteLinkFields { QString link; QString label; TimeId expireDate = 0; int usageLimit = 0; bool requestApproval = false; bool isGroup = false; }; void EditInviteLinkBox( not_null box, const InviteLinkFields &data, Fn done); void CreateInviteLinkBox( not_null box, bool isGroup, Fn done); } // namespace Ui