mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Moved out BotCommand struct to separated file.
This commit is contained in:
@@ -20,11 +20,6 @@ class ChannelData;
|
||||
|
||||
enum class ChatRestriction;
|
||||
|
||||
struct BotCommand {
|
||||
QString command;
|
||||
QString description;
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class EmptyUserpic;
|
||||
} // namespace Ui
|
||||
@@ -100,16 +95,6 @@ struct UnavailableReason {
|
||||
}
|
||||
};
|
||||
|
||||
bool UpdateBotCommands(
|
||||
std::vector<BotCommand> &commands,
|
||||
const MTPVector<MTPBotCommand> *data);
|
||||
bool UpdateBotCommands(
|
||||
base::flat_map<UserId, std::vector<BotCommand>> &commands,
|
||||
UserId botId,
|
||||
const MTPVector<MTPBotCommand> *data);
|
||||
bool UpdateBotCommands(
|
||||
base::flat_map<UserId, std::vector<BotCommand>> &commands,
|
||||
const MTPVector<MTPBotInfo> &data);
|
||||
bool ApplyBotMenuButton(
|
||||
not_null<BotInfo*> info,
|
||||
const MTPBotMenuButton *button);
|
||||
|
Reference in New Issue
Block a user