Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

how to process messages from users #646

Unanswered
tokensave asked this question in Q&A
Discussion options

I have action buttons in Handler
public function addNumbers()
{
$this->chat
->message('Choose a provider')
->keyboard(
Keyboard::make()->buttons(
[
Button::make('🔵 Telegram')->action('addNumbersSalesmen')->param('name', 1),
Button::make(' WhatsApp')->action('addNumbersSalesmen')->param('name', 2),
])
)
->send();
}
How can I add the ability for the client to write his number for processing in the addNumbersSalesmen function?
I can’t yet figure out where this is in the documentation
please tell me
I write in Laravel framework

You must be logged in to vote

Replies: 1 comment

Comment options

Hi, you should use a webhook to accomplish what you are saying

https://docs.defstudio.it/telegraph/v1/webhooks/overview

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #645 on September 16, 2024 07:19.

AltStyle によって変換されたページ (->オリジナル) /