I have a Telegram bot and I save all user activity in a log file. When I checked the log file, I found a user with a negative chat ID -107606558
. Is this normal?
Asked
Active
Viewed 6,890 times
20

amin roshani
- 389
- 4
- 11
1 Answers
36
If the chat is a group, the chat id is negative. If it is a single person, then positive.

TFS
- 964
- 1
- 9
- 19
-
18any references? – Hafez Divandari Apr 04 '17 at 15:12
-
I second the call for references - I doubt that my bot has been used in only 10 groups but by 670+ unique users. However, I couldn't create a counterexample group. – lucidbrot Sep 09 '18 at 15:17
-
seems its correct: https://github.com/TelegramBots/Telegram.Bot/issues/661 – dimaaan Jan 31 '20 at 21:46