bipinkrish / Save-Restricted-Bot

A Telegram Bot, Which can send you restricted content by it's post link
192 stars 397 forks source link

I need help to get ID from bot message #50

Open greyhat94 opened 5 months ago

greyhat94 commented 5 months ago

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 commented 5 months ago

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

davad00 commented 5 months ago

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 commented 5 months ago

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 commented 4 months ago

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