Hello guys, is it possible to increase message limits?

28 ответов

101 просмотр

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

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

Карта сайта