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
How to use the web_ app
$arr = [
[
['text' => "test", "web_app" => ["url" => "https://www.github.com"]],
]
];
$keyboard = new \TelegramBot\Api\Types\Inline\InlineKeyboardMarkup($arr);
$bot->sendMessage("-1001177468102","test","HTML",true,null,$keyboard);
Bad Request: BUTTON_TYPE_INVALID
The text was updated successfully, but these errors were encountered:
How to use the web_ app
$arr = [
[
['text' => "test", "web_app" => ["url" => "https://www.github.com"]],
]
];
$keyboard = new \TelegramBot\Api\Types\Inline\InlineKeyboardMarkup($arr);
$bot->sendMessage("-1001177468102","test","HTML",true,null,$keyboard);
Bad Request: BUTTON_TYPE_INVALID
The text was updated successfully, but these errors were encountered: