0

Normally there is a negative id for each channel in telegram, but when you extract one channel's history, there exists a key in the returned json named as from_id. It is a positive number and it's unique. Meanwhile it belongs to the same channel. What is the difference between from_id and that negative id?

Thanks in advance.

Mohsen_Fatemi
  • 2,183
  • 2
  • 16
  • 25
  • The `from_id` is from the user sending the message, that's problably a positive number. – 0stone0 Dec 19 '20 at 16:27
  • Does this answer your question? [Telegram bot API is the chat\_id unique for each user contacting the bot?](https://stackoverflow.com/questions/59748008/telegram-bot-api-is-the-chat-id-unique-for-each-user-contacting-the-bot) – 0stone0 Dec 19 '20 at 16:27
  • @0stone0 That's what i thought first, but it's not. it's unique and it's the same number for all message senders. do it yourself, extract one channel's history and check this out. – Mohsen_Fatemi Dec 19 '20 at 18:37

0 Answers0