You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$bot->inlineQuery(function($update) use ($bot){
$content = new \TelegramBot\Api\Types\Inline\InputMessageContent\Text('*Test*', 'html');
$result = new \TelegramBot\Api\Types\Inline\QueryResult\Article(time(),'Title', null,null,null,null, $content);
$bot->answerInlineQuery($update->getId(), $result);
$bot->sendMessage(808542421, $update->getid().$update->getQuery()); //FOR TESTING
});
No matter how much I test, no error, no result. sendMessage send inline query id, and query the itself.
But $bot->answerInlineQuery don't do anything. Also code in bottom works good.
No matter how much I test, no error, no result. sendMessage send inline query id, and query the itself.
But
$bot->answerInlineQuery
don't do anything. Also code in bottom works good.The text was updated successfully, but these errors were encountered: