Comments (6)
Short answer, you can't.
Longer answer:
Telegram imposes api and sending restrictions to prevent misuse by for example mass spamming users.
Therefore you need to stretch out those messages over a longer time.
Also just as a second thought: sending that many messages to users is bound to get your account banned
from telegrambots.
Short answer, you can't.
Longer answer:
Telegram imposes api and sending restrictions to prevent misuse by for example mass spamming users.
Therefore you need to stretch out those messages over a longer time.
Also just as a second thought: sending that many messages to users is bound to get your account banned
What can I do to solve my problem? I was complained by a customer that the ad placement was too slow, and there is no way to batch send messages. Not only 60,000 users, but even 6,000 users, the message pile-up is very serious.
from telegrambots.
Short Answer: you can't.
Long Answer:
This is not an issue with this library. The rate limits are enforced on API level. (see here: https://core.telegram.org/bots/faq#my-bot-is-hitting-limits-how-do-i-avoid-this)
Telegram has a separate way of advertising: https://ads.telegram.org/
If you want to mass send messages, you have to throttle your output. There's nothing we can do to fix this. Try contacting the telegram support, use the official channels for advertising or stretch out messages over a longer period.
from telegrambots.
Short Answer: you can't.
Long Answer: This is not an issue with this library. The rate limits are enforced on API level. (see here: https://core.telegram.org/bots/faq#my-bot-is-hitting-limits-how-do-i-avoid-this)
Telegram has a separate way of advertising: https://ads.telegram.org/
If you want to mass send messages, you have to throttle your output. There's nothing we can do to fix this. Try contacting the telegram support, use the official channels for advertising or stretch out messages over a longer period.
Here's the translation:
"Why is it that the same robot, with over 8000 users, can send messages to over 8000 people within 20 minutes, or even more? The bot's handle is: https://t.me/Ytxzs_bot. What's going on?"
from telegrambots.
I can't tell you. This in an API issue and not relevant to this library
from telegrambots.
我不能告诉你。这是一个 API 问题,与此库无关
"Why do I need it? It's because it's done through an API. That's exactly the functionality I need." Which library is related to this? I'll go find that library to ask my questions.
from telegrambots.
Related Issues (20)
- SSL Error after migrating from 6.8.0 to 6.9.7.1 HOT 2
- After upgrade to 7.2.x AbilityBot.onRegister must be called manually or it will fail to accept messages HOT 3
- How use exportChatInvite api
- InputKeyboardButtonUserProfile not found HOT 1
- Encoding problem HOT 1
- Why does my code keep reporting this error? HOT 6
- Unresolved reference: update.getCallbackQuery().getMessage().getText() HOT 2
- Add Message.hasCaption() method
- Maven Central badge points to the wrong package
- SetWebhook with custom certificate is broken in 7.x HOT 2
- Regarding Maven publish
- https://replit.com/@ckebr/tyk-twk-4-v2#main.py HOT 1
- Add support Telegram Stars Payments HOT 3
- RefundStarPayment is not a BotApiObject HOT 1
- GetUpdates Request Timeout by version 7.4.0
- showCaptionAboveMedia missing in sendVideo API method
- maven repo HOT 1
- How to get a robot to quickly send a message to 7,000 users. Now I need 1 hour HOT 5
- java.lang.NoSuchMethodError: 'java.util.Map org.eclipse.jetty.http.MimeTypes.getInferredEncodings()'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegrambots.