Skip to content

Is such a scenario possible with this package? #667

@romatexdev

Description

@romatexdev

I am displaying a button for the user with parameters.
->keyboard(Keyboard::make()->row([ Button::make('Count')->action('count')->param('id', $order_id), ]))

The user clicks on the button, the button method
displays an offer to write to the chat.
public function count($id) { Telegraph::message('Change count')->send(); }

And then I need to intercept the entered text and the button parameter ID . How can I do this? I will be grateful for the sample code.

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