We're trying to implement telegram bot as notification tool for high load system. We're afraid of limits and bans from telegram in case of such huge amount of messages.
In official doc and FAQ I found the information about limits such as 1 message per second or 30 messages per sec for bulk notifications.
So, have you ever tried to implement telegram bot for high load system and what restrictions did you find?
How many messages for how many users is possible to sent per 1 second (not bulk messsages, jjust personal notifications)
More info here https://core.telegram.org/bots/faq#broadcasting-to-users
Now we're on analysing stage and want to know all possible limits
I suggest you see this link
All Telegram limitations have been collected and categorized:
https://limits.tginfo.me/en
Related
I'm trying to make a bot for telegram using the telethon library. I would like my bot to be able to retrieve all members of any group that it's been added to which is not currently possible with the telegram bot API.
Because of this limitation, I made a new telegram account/app for my bot (using a Google Voice number) to use the python telegram Client, telethon, to gain user level access to the telegram API.
After playing around with it for a bit, I received this error:
telethon.errors.rpcerrorlist.PhoneNumberBannedError: The used phone number has been banned from Telegram and cannot be used anymore. Maybe check https://www.telegram.org/faq_spam (caused by SendCodeRequest)
After trying to login again from my phone I received a similar notification:
This phone number is banned.
I submitted a support ticket which was never responded to, but I was somehow able to login again with the Google Voice number the next day.
My question is: are we allowed to make bots for telegram with user level permissions using the telethon client? I cannot find any explicit rules about this in the telegram API ToS. However, the telethon docs mention in passing:
If your application ever needs user features because bots cannot do certain things, you will be able to easily login as a user and even keep your bot without having to learn a new library.
You're allowed to use any userbots. the ban probability is exact same as of an unofficial app of Telegram in Google play and other platform.
You're however going to be suspected and pre-banned by Telegram if you're from certain countries or you use VOIP phone numbers. Telegram doesn't like such numbers and might require you appeal to unban it manually.
It's fully their decision.
i, have been using my account in forks and userbots, etc.. for many years, so new accounts are suspected to be up to no good and frozen. try with your own number or buy extra legit one.
Telegram is pretty spammy platform and lately they have increased the ban situation.
I’m doing kind of research trying to rate Telegram Voice recognition, to do that I need to get text Telegram outputs for certain set of voice messages. I do have Telegram Premium subscription and all I need to do now: somehow automatically (set is rather large) via API (maybe it is possible in Telethon?) make telegram transcribe my audios and in some way get all that recognitions back.
I’ve heard that Telegram uses just Google API, nevertheless point is to get recognitions directly from Telegram. Do you have any ideas of doing that?
TLDR: have set ~1-5k voice recording, want to get back recognitions from Telegram Premium Voice2Text feature
Thanks in advance!
I currently have a Telegram bot as an admin for my Telegram channel. Is there a way for me to track how many times my message (from the bot) has been clicked? Specifically, I want to know how many times has a user started my bot from specifically clicking my message in the channel.
To illustrate: I will be sending out this in my Telegram channel (via my bot) see image 1
and I will like to know how many times this message has successfully led to a user starting my bot.
It will be more useful if there are methods to obtain this answer using bot api.
I need to tag everybody in chat where my bot added.
My bot writes: #all and it should tag everybody in the chat.
I don't see any Telegram API methods to get all users in specific chat. How should I resolve the problem?
There are various obstacles that don't let you mention everyone in a single message:
You can only have up to 50 mentions in each message. [1]
You cannot fetch a list of all members in a chat using a bot.
If you insist on doing this, you should use a database to collect information about the members of these chats, when they send messages. And afterward, you should send multiple messages to mention all of them 50 by 50.
If you want a simple way to notify all members, you can just pin a message.
I read in the docs that bot can send:
30 messages/second to different chats
1 message per second to the same chat
20 messages per minute to the same group chat
but this is all about sending messages, what about other endpoints? more specifically getChatMembersCount method?
Thanks
I know it's been a long time, but there's a very good resource now - https://limits.tginfo.me/en. There's a Bots section there. Also if you have time you can send pull request to the github repository - https://github.com/tginfo/Telegram-Limits/