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

Function SwitchInlineBotButtonReceived

Telegram/SourceFiles/api/api_bot.cpp:282–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282bool SwitchInlineBotButtonReceived(
283 not_null<Window::SessionController*> controller,
284 const QByteArray &queryWithPeerTypes,
285 UserData *samePeerBot,
286 MsgId samePeerReplyTo) {
287 return controller->content()->notify_switchInlineBotButtonReceived(
288 QString::fromUtf8(queryWithPeerTypes),
289 samePeerBot,
290 samePeerReplyTo);
291}
292
293void ActivateBotCommand(ClickHandlerContext context, int row, int column) {
294 const auto strong = context.sessionWindow.get();

Callers 2

ActivateBotCommandFunction · 0.85

Calls 2

contentMethod · 0.45

Tested by

no test coverage detected