| 280 | } |
| 281 | |
| 282 | bool 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 | |
| 293 | void ActivateBotCommand(ClickHandlerContext context, int row, int column) { |
| 294 | const auto strong = context.sessionWindow.get(); |
no test coverage detected