Replies: 2 comments 1 reply
-
Try this: await event.message.buttons?.[0]?.[0].click({}); |
Beta Was this translation helpful? Give feedback.
1 reply
-
const peer = event.originalUpdate.message.peerId; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to detect that there is a buttons in an incoming message, and if there is one, click on first button.
![4](https://user-images.githubusercontent.com/38585020/235153622-468a8e06-0b0b-44d1-b12f-28601ae5624e.png)
Like that
Beta Was this translation helpful? Give feedback.
All reactions