Closed phpony closed 1 year ago
Welp, I've got it:
$keyboard = new \TelegramBot\Api\Types\Inline\InlineKeyboardMarkup([
[
['text' => "Test", 'login_url' => ['url' => 'https://example.com', 'request_write_access' => true]]
]
]);
Can be closed now.
Hi!
There's an Inline Keyboard button called "LoginUrl" in docs: https://core.telegram.org/bots/api#loginurl
Trying to implement this, but straightforward approach does not work:
And there's seem to be no constructors for LoginUrl object either. So, how?