V
V
Vanes Ri_Lax2017-08-15 09:41:17
Telegram
Vanes Ri_Lax, 2017-08-15 09:41:17

Why is the bot not receiving messages from the group?

Hello,
I am writing the first bot, I want to make a type of quiz in a group. The problem is that when I write to the bot in PM, then all messages reach him normally, but when I write to him in a group, nothing comes to him, what could be the problem?
Thank you very much in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
VaneS Ri_Lax, 2017-08-16
@vanesxl

In general, here's what you need to do:
1 Add yourself a botfather bot
2 create a bot, you can read how to create it here
3 then configure 2 parameters

/setjoingroups — Определяет, можно ли добавлять вашего бота в группы.
/setprivacy — Определяет, все ли сообщения видит ваш бот в группах. В выключенном состоянии роботу будут отправляться все сообщения.

4 / setprivacy we translate into DISABLED, by default it is ENABLED
In general, that's all)

G
GrimJack, 2017-08-15
@GrimJack

Try to contact the bot in the group, via @, maybe it will help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question