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

Is such a scenario possible with this package? #667

Closed

Description

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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

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