You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Сommon way to get the СhatId of any type message #30
Hi, it depends. In most cases you will have a copy of the message which you can use to obtain the chat id
For example, you can get the message from a callback query>
But be careful, the message may not always be available.
Try taking a look at the official documentation to see what properties you could use to get the Chat Id.
Repository owner locked and limited conversation to collaborators on Mar 22, 2025
Activity
Eptagone commentedon Oct 18, 2023
Hi, it depends. In most cases you will have a copy of the message which you can use to obtain the chat id
For example, you can get the message from a callback query>
But be careful, the message may not always be available.
Try taking a look at the official documentation to see what properties you could use to get the Chat Id.