Hello guys, is it possible to increase message limits?

28 ответов

42 просмотра

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

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

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

Эх кто-то пришел и весь праздник испортил :( You need complex FBX scene importing setup to change things on import? good luck with that. You need navigation and pathfinding? g...
Serg Gini
5
на D можно построить абсолютно разный архитект, как объектный, так и нет, оч широкий простор для принятия решений. Однако проблема в том, что большинство книг об айтишной архи...
Constantin_FV
1
День добрый. Стандартная библиотека phobos (std.array) ссылается на внешнюю фунцию _d_newarrayUTrace и при сборке с ключом profile-gc эта ссылка остаётся неопределённой. Никак...
slacker linuxoid
5
а у нас кто-нибудь разбирается в матлаб? Накопал статью по замощению Фодерберга, о нём вообще мало инфы в сети. Но там матлабовский код, который нужно через песочницу по сути ...
Constantin_FV
1
а что на D можно делать под 3й Godot ?
Dmitry Ponyatov
3
ну эт я в вове такой, а тут я... на расте надо писать, на д куча проблем, годот тоже не лапочка. сидишь в афиге, а я еще бросил курить... и думаешь, а почему Я? хд.
Vi
1
открой авесом лист, если тебе лень даже это сорян, мне это вообще нет смысла делать. Интересно? Гугли.
Vi
1
string xczhojoxueaflfhhygcc ="xczhojoxueaflfhhygcc"; long xczhojoxueaflfhhygcc_2 =1368962155; import std.conv: text; writeln(text(xczhojoxueaflfhhygcc, " ", xczhojoxueaflfhhyg...
Constantin_FV
6
А кто-нибудь встречал в пакетах\графических движках генерацию мозаик, Пенроуз и т.п.? На гитхабе вижу около сотни репов, ток по Пенроузу + разбросаны сниппеты по сети, но мб г...
Constantin_FV
3
Доброго времени суток. Сейчас я работаю над своей архитектурой Component / Systems. Если просто, это то что использовали до дробления на ECS. Потому что ECS это все таки нишев...
Vi
26
Карта сайта