I need to simulate InlineKeyboardButton hit from my app. Digging around the internet, there is a few of things related such as GetBotCallbackAnswerRequest...
Could you please help clarify this. Many thanks.
I found this. Looks like always using sendMessage with inline button data?
$inline[] = [['text'=>tgescape($row['text']), 'web_app' => ['url' => $row['val']]]];
$inline = '{"inline_keyboard":'.json_encode($inline).'}';
sendMsg($bot['token'],$chatId,"Нажмите для запуска:", ["reply_markup"=>$inline]);
Hello @ivk1800
I need to simulate InlineKeyboardButton hit from my app. Digging around the internet, there is a few of things related such as GetBotCallbackAnswerRequest...
Could you please help clarify this. Many thanks.
I found this. Looks like always using sendMessage with inline button data? $inline[] = [['text'=>tgescape($row['text']), 'web_app' => ['url' => $row['val']]]]; $inline = '{"inline_keyboard":'.json_encode($inline).'}'; sendMsg($bot['token'],$chatId,"Нажмите для запуска:", ["reply_markup"=>$inline]);