Add note about privacy mode.

This commit is contained in:
Syfaro 2021-03-10 16:54:11 -05:00
parent 80a1cbdb44
commit f6e575996e

View file

@ -38,6 +38,15 @@ pull request!
evaluating updates, you must make sure you check that the field is not nil evaluating updates, you must make sure you check that the field is not nil
before trying to access any of it's fields. before trying to access any of it's fields.
## Privacy Mode
- By default, bots only get updates directly addressed to them. If you need to
get all messages, you must disable privacy mode with Botfather. Bots already
added to groups will need to be removed and readded for the changes to take
effect. You can read more on the [Telegram Bot API docs][api-docs].
[api-docs]: https://core.telegram.org/bots/faq#what-messages-will-my-bot-get
## User and Chat ID size ## User and Chat ID size
- These types require up to 52 significant bits to store correctly, making a - These types require up to 52 significant bits to store correctly, making a