Hello guys, is it possible to increase message limits?

28 ответов

93 просмотра

There is a claim that botsupport can do that. Anyway there are really large bots like werewolf bot or rose who have millions of users and operate on the regular limits as all other bots.

drew- Автор вопроса
Яico X
There is a claim that botsupport can do that. Anyw...

thanks for response, anyways the problem of my bot is that it needs to send message to a particular group of people at once (more than 30) bc it's a game and I think it can fail and give 429 errors all time, what do you think? Should I try?

drew
thanks for response, anyways the problem of my bot...

why does it need to send 30 messages 💀 try to implement a better way for your game

drew
thanks for response, anyways the problem of my bot...

Werewolf is also a game. The 30 messages limit is for sending "new" messages without prior interaction of a user with the bot. Your bot should be able to exceed this number if you e.g. reply on user messages.

drew
thanks for response, anyways the problem of my bot...

Does your bot work in groups too? Just a heads up, the bot can't send more than 20 messages per minute in the same group.

Iyah
Does your bot work in groups too? Just a heads up,...

what if a user sends 20 command requests? API documentation is unclear

Nxrix
what if a user sends 20 command requests? API docu...

I think it will still return error 429 if exceed 20 messages in less than a minute.

drew- Автор вопроса
Nxrix
why does it need to send 30 messages 💀 try to impl...

its a live competition and the users write their answers and the bot should respond if its right answer

drew
its a live competition and the users write their a...

did you increase the max concurrent messages or whatever it’s called when you registered the webhook?

drew- Автор вопроса
Яico X
Werewolf is also a game. The 30 messages limit is ...

So does it mean if user has already sent a message to the bot, the bot can dm as much as it needs?

drew- Автор вопроса
Sean
did you increase the max concurrent messages or wh...

I don't want to set limits bc users have to receive answers as much as it's possible

drew
I don't want to set limits bc users have to receiv...

that’s not a limit you can increase it to the max

drew- Автор вопроса
Sean
that’s not a limit you can increase it to the max

so does increasing this parameter allow me to send unlimited messages to users?

https://core.telegram.org/bots/api#setwebhook max_connections

Sean
https://core.telegram.org/bots/api#setwebhook max_...

That is something completely different than what the user asked.

Яico X
That is something completely different than what t...

wouldn’t that increase the throughput of their bot though?

Sean
wouldn’t that increase the throughput of their bot...

API rate limits are there to prevent a bot from spamming users and groups. The max_connections value is not related to rate limits.

drew
So does it mean if user has already sent a message...

No. What I was trying to say is that in certain cases your bot can reply to a single message without it counting towards the rate limit. Say I'm in a group and I send your bot /start. When you reply to this /start message, it should not count towards the rate limit.

Яico X
No. What I was trying to say is that in certain ca...

So even a very popular bot would not hit this ceiling if it only replies to a message one time? Wow

s0m31 🇷🇺
So even a very popular bot would not hit this ceil...

Well, my message was a simplification. It doesn't seem to be as easy as I wrote it.

s0m31 🇷🇺
So even a very popular bot would not hit this ceil...

if your bot is very popular you can ask and they will increase the limits for you (if they think there is the need)

𝓛
if your bot is very popular you can ask and they w...

1) I have never seen a real case where this happened. 2) the use case for you to get your limits increased must be really special tho... Even bots such as Rose operate on the default limits

drew- Автор вопроса
Яico X
No. What I was trying to say is that in certain ca...

if it's true that my bot can answer 100 dms in chat which user started, it solves my problem

drew
its a live competition and the users write their a...

Maybe you can do it with buttons and callbackqueries?

drew- Автор вопроса
AdelaFoofur82 🛸
Maybe you can do it with buttons and callbackqueri...

yeah that's really great idea! I have to try it I think it may not fit the game

Похожие вопросы

Обсуждают сегодня

А, вообще, знает кто-нить альтернативы D в области безопасных, читабельных ОО-языков?
Nik Lan
14
приветствую. хочу сделать себе D Playground вопрос: можете подсказать с чего мне следует начать и в какую сторону двигаться? P.S.: я не являюсь программистом... но в небольш...
dd
5
Что кто фри селф хостинг там практикует? Через tunnel?
Serg Gini
8
а как в dub выключить дебажный билд?
Maxim Filimonov
12
у тебя кастом или сток?
quantumde1 Зубенко
4
А что непонятного? В чем сложность взять слайс от вектора? И работать как обычно. Какие-то выдумки опять на ровной почве. Да и RAII в ди прекрасно работает с самого начала.
Aleksandr Druzhinin
14
а почему, кстати, геймдевы обращают такое внимание на "новые" языки типа того же D (а также Zig)?
Maxim Filimonov
9
есть вопрос. за много лет, по редким обрывочным сообщениям, у меня сложилось впечатление что есть такая деликатная тема как замещение скриптов на ди (без компиляции). у себя д...
Karagy
6
А чего плохого в том, чтобы в языке статический анализатор работал всегда ? Кмк сама фишка с безопасностью раста - крутая, но реализация конечно по мне так себе, синтаксис, пр...
Александр
4
Ну не канал, а клуб неанонимных лузеров. Нахрена сидеть в канале и постить депрессию всякую? Не подходит Ди - не пиши на нем и не сиди в этом канале. Не представляю себе кана...
Aleksandr Druzhinin
13
Карта сайта