Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I need help to get ID from bot message #50

Open
greyhat94 opened this issue Apr 4, 2024 · 4 comments
Open

I need help to get ID from bot message #50

greyhat94 opened this issue Apr 4, 2024 · 4 comments

Comments

@greyhat94
Copy link

Hi, I would like to know which client or tool I should use to get the ID of a message sent by a Telegram bot. I've heard that third party tools need to be used to conduct this procedure, but I don't know where to get them. Could someone please give me some pointers? Thank you in advance.

@Magneto-noob
Copy link

Use Plus messenger. Here you can get everything Just tap on the message and go to message details.

@davad00
Copy link

davad00 commented Apr 9, 2024

message = pyrogram.types.Message #https://docs.pyrogram.org/api/types/Message

msgid = message.id # gets message id from message object (id (int) – Unique message identifier inside this chat.)

Hi, I would like to know which client or tool I should use to get the ID of a message sent by a Telegram bot. I've heard that third party tools need to be used to conduct this procedure, but I don't know where to get them. Could someone please give me some pointers? Thank you in advance.

@greyhat94
Copy link
Author

message = pyrogram.types.Message #https://docs.pyrogram.org/api/types/Message

msgid = message.id # gets message id from message object (id (int) – Unique message identifier inside this chat.)

Hi, I would like to know which client or tool I should use to get the ID of a message sent by a Telegram bot. I've heard that third party tools need to be used to conduct this procedure, but I don't know where to get them. Could someone please give me some pointers? Thank you in advance.

I don't understand how to use this code in order to find message ID.

@timgahmencoding
Copy link

message = pyrogram.types.Message #https://docs.pyrogram.org/api/types/Message
msgid = message.id # gets message id from message object (id (int) – Unique message identifier inside this chat.)

Hi, I would like to know which client or tool I should use to get the ID of a message sent by a Telegram bot. I've heard that third party tools need to be used to conduct this procedure, but I don't know where to get them. Could someone please give me some pointers? Thank you in advance.

I don't understand how to use this code in order to find message ID.

Is not so complicated.....

Example Link: https://t.me/Tim_Bots/43

send to -> @chat_id_echo_bot (https://t.me/chat_id_echo_bot)
Chat id: -1001945419864

now the difficult mathematics (name = /c/ ID - 100 😊😊😊:

Chat ID : -1001945419864
https://t.me/Tim_Bots/43

Result:
https://t.me/c/1945419864/43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants