mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 23:45:44 +00:00
Update API scheme on layer 142.
This commit is contained in:
@@ -263,7 +263,7 @@ void ChatData::setBotCommands(const MTPVector<MTPBotInfo> &data) {
|
||||
void ChatData::setBotCommands(
|
||||
UserId botId,
|
||||
const MTPVector<MTPBotCommand> &data) {
|
||||
if (Data::UpdateBotCommands(_botCommands, botId, data)) {
|
||||
if (Data::UpdateBotCommands(_botCommands, botId, &data)) {
|
||||
owner().botCommandsChanged(this);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user