Giter VIP home page Giter VIP logo

Comments (6)

Chase22 avatar Chase22 commented on June 23, 2024

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.

nieanlei123 avatar nieanlei123 commented on June 23, 2024

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.

Chase22 avatar Chase22 commented on June 23, 2024

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.

nieanlei123 avatar nieanlei123 commented on June 23, 2024

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.

Chase22 avatar Chase22 commented on June 23, 2024

I can't tell you. This in an API issue and not relevant to this library

from telegrambots.

nieanlei123 avatar nieanlei123 commented on June 23, 2024

我不能告诉你。这是一个 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.