Hello guys, is it possible to increase message limits?

28 ответов

58 просмотров

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

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

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

В чем прикол? Если поменять где-нибудь печать на %s - падает? import core.stdc.stdio; import core.stdc.stdlib; alias T = char; T* f() { int length = 3; auto p = cas...
Serg Gini
2
слушайте, ребят, немного не по теме вашего диалога. Пишу тулзу для обмена данными через UART с сжатием, она почти работает! но: Начало работы сервера Порт /dev/ttyUSB0 успешно...
quantumde1 Зубенко
4
Даже вот условно я, понимаю головой. Rust ну вот он язык который сейчас то что нужно, но вот его утомительная сложность в мелочах. От сингелтона, до инициализации типов и указ...
Vi
3
любопытно, а кто работал на низкоуровневых железках, а может и не только, вы считаете ассемблерными вызовы небезопасными, доверительными или условно безопасными?. Так-то на фо...
Constantin F.
2
ну, например, в ди оператор instanceof бывает эмулируют через cast, проверяя результат на null. Тогда имеем в какой-нить функции. class A {} class B : A {} B b = new B; if(au...
Constantin F.
4
server is started opened /dev/ttyUSB0 std.conv.ConvException@/usr/include/d/std/conv.d(2522): Unexpected end of input when converting from type string to type ulong --------...
quantumde1 Зубенко
1
Слушайте, я тут спеку васма смотрю и в целом все как устроено. Вопрос, а почему тяжело GC D подвести под память WASM? Есть какой то нюанс или тупо никто не занимался?
Vi
5
Я проснулся и готов опять затирать свой евангелизм. Никому не нужны сложности, нужна простота. Раст проще С++, по этому берут его, там где могут. Выйдет карбон и он будет про...
Vi
1
Кто то шарит, TS можно без зоопарка Node JS установить? Как раз будет повод поиграть с JS VM на Go. Я помню пару лет были такие вакансии, активно пиарили даже в го каналах...
Vi
1
> комьюнити я бы не судил по этому чату. Как мы видели по статам просмотров нескольких телеговских постов, то в чате их набивается 30-40 или даже выше, когда как общаются акти...
Constantin F.
4
Карта сайта