ZaStoGram_desktop/Telegram/SourceFiles/boxes/peers/edit_bot_info_box.h

25 lines
594 B
C++

/*
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 ChatHelpers {
class Show;
} // namespace ChatHelpers
namespace Ui {
class GenericBox;
} // namespace Ui
[[nodiscard]] rpl::producer<QString> BotInfoUnsavedValue(
not_null<UserData*> bot);
void EditBotInfoBox(
not_null<Ui::GenericBox*> box,
std::shared_ptr<ChatHelpers::Show> show,
not_null<UserData*> bot);