generated from spatie/package-skeleton-laravel
-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Labels
No labels