Inline Keyboard web_app
HydraCoderX opened this issue · 2 comments
HydraCoderX commented
Hi,
didnt find anywhere anything about it. But is it possible to open the inapp browser with an inline button?
->row([Keyboard::inlineButton(['text' => 'Book Ads', 'web_app' => 'https://url.com'])]
like this? with the "web_app" or did i muss something?
Greetings
mes01 commented
Hi, didnt find anywhere anything about it. But is it possible to open the inapp browser with an inline button?
->row([Keyboard::inlineButton(['text' => 'Book Ads', 'web_app' => 'https://url.com'])]
like this? with the "web_app" or did i muss something?
Greetings
$inlineLayout = [
[
Keyboard::inlineButton([
'text' => 'Test',
'web_app' => [
'url' => 'https://test.ru'
]
]),
]
];
$keyboard = Keyboard::make([
'inline_keyboard' => $inlineLayout
]);
$this->replyWithMessage([
'text' => "Text",
'reply_markup' => $keyboard
]);
irazasyed commented
$reply_markup = Keyboard::make()
->inline()
->row([
Keyboard::inlineButton([
'text' => 'Test',
'web_app' => [
'url' => 'https://google.com'
]
])
]);