$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.