all repos — telegram-bot-api @ f6e575996e5319447140ff9aa4865d70e02e5447

Golang bindings for the Telegram Bot API

Add note about privacy mode.
Syfaro syfaro@huefox.com
Wed, 10 Mar 2021 16:54:11 -0500
commit

f6e575996e5319447140ff9aa4865d70e02e5447

parent

80a1cbdb44925432834878e345d31cc4c3ad0094

1 files changed, 9 insertions(+), 0 deletions(-)

jump to
M docs/getting-started/important-notes.mddocs/getting-started/important-notes.md

@@ -38,6 +38,15 @@ - At most one of the fields in an `Update` will be set to a non-nil value. When

evaluating updates, you must make sure you check that the field is not nil 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 - These types require up to 52 significant bits to store correctly, making a