Join the Bot Libre open source Projekt bei BotLibre.org
Help

my bot stopped working in telegram, help

durch kasp18 gepostet May 25 2021, 23:18

my bot stopped working in telegram, it no longer responds or does anything, but it is only in telegram

what I do?


by admin posted May 26 2021, 16:33
I checked your bot and was able to message it in Telegram.
I did notice that some responses were triggering errors, checking your bot I noticed that you had set an invalid "command" in your default response.

A command is a JSON {} command that can be send back to the client with the bot's response. It must be a valid JSON string. You had entered invalid text in the command, so was trigger an error and no response.

It should be working now.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1265, today: 2, week: 4, month: 59

by kasp18 posted May 26 2021, 18:03
oh thanks, sorry for the problem.

and why does it not work in telegram groups?

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1074, today: 2, week: 5, month: 51

by admin posted May 27 2021, 7:11
Did you enable groups for the bot?

use @BotFather, send it command: /setjoingroups

check the bot's privacy mode,

did you add the bot as an admin of the group?

See also,
https://stackoverflow.com/questions/37338101/how-to-add-a-bot-to-a-telegram-group

and,
https://stackoverflow.com/questions/37243303/telegram-bot-doesnt-respond-in-group-chats

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1153, today: 2, week: 9, month: 48

by kasp18 posted May 27 2021, 16:33
I did all that and still does not respond to messages in groups, it will not be a problem with Botlibre.com.

because with another app it worked in groups but the advertising was intrusive.

this app is better, but I don't understand why it doesn't respond to messages or commands in groups

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1096, today: 3, week: 4, month: 49

by admin posted Jun 3 2021, 15:18
I tested several other bots in groups and had no issues.
Make sure you followed all of the above steps.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1111, today: 1, week: 6, month: 53

by kasp18 posted Jun 7 2021, 1:18
But if I follow all the steps right, what am I doing wrong?

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1037, today: 1, week: 5, month: 42

by admin posted Jun 7 2021, 8:04

What is the link to your bot on Bot Libre,

the link to your bot on Telegram,

the link to the Telegram group that you added your bot to,


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1126, today: 2, week: 7, month: 40

Id: 38764386
Gepostet: May 25 2021, 23:18
Antworten: 7
Ansichten: 2757, heute: 5, Woche: 22, Monat: 164
0 0 0.0/5