Answer the question
In order to leave comments, you need to log in
How to set the "select group" command in a telegram bot?
Hello!
I'm writing a bot on Laravel 8.
Created an inline button "Select a group"
How to hang an event on this button to select a group?
Answer the question
In order to leave comments, you need to log in
Everything turned out to be simple, it was necessary to add the correct url for the button:
$inlineLayout = [
[
Keyboard::inlineButton(['text' => 'Выбрать группу', 'callback_data' => 'data', 'url' => 'https://t.me/all2all_bot?startgroup=c']),
]
];
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question