-
-
Notifications
You must be signed in to change notification settings - Fork 142
-
My bot replies to a message with his answer and a button with some action on it.
There are several users in the chat, and I wonder how I get the user who pressed this button in the action method.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
You can retrieve user information from the $callbackQuery property in your Webhook Handler
then I think you can store the telegram user ID in your application user model
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment