MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / setBotCommands

Method setBotCommands

Telegram/SourceFiles/data/data_chat.cpp:271–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271void ChatData::setBotCommands(const std::vector<Data::BotCommands> &list) {
272 if (_botCommands.update(list)) {
273 owner().botCommandsChanged(this);
274 }
275}
276
277void ChatData::setPendingRequestsCount(
278 int count,

Callers 2

ApplyChatUpdateFunction · 0.45
feedUpdateMethod · 0.45

Calls 2

botCommandsChangedMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected