-
-
Notifications
You must be signed in to change notification settings - Fork 142
Is such a scenario possible with this package? #668
-
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 . How can I do this? I will be grateful for the sample code.
Beta Was this translation helpful? Give feedback.
All reactions
hi, you could use Telegraph's storage to keep track of the order ID and listen for messages in your webhook handler
Replies: 1 comment 1 reply
-
I searched through all the documentation and as far as I understood it is not feasible....Or am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions
-
hi, you could use Telegraph's storage to keep track of the order ID and listen for messages in your webhook handler
Beta Was this translation helpful? Give feedback.