/* 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 class UserData; namespace Main { class SessionShow; } // namespace Main namespace Ui { class GenericBox; } // namespace Ui struct CreateManagedBotDescriptor { std::shared_ptr show; not_null manager; QString suggestedName; QString suggestedUsername; bool viaDeeplink = false; Fn)> done; Fn cancelled; }; void CreateManagedBotBox( not_null box, CreateManagedBotDescriptor &&descriptor); void ShowCreateManagedBotBox(CreateManagedBotDescriptor &&descriptor);