Skip to content

how to process messages from users #645

@tokensave

Description

@tokensave

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions