Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get a robot to quickly send a message to 7,000 users. Now I need 1 hour #1378

Closed
nieanlei123 opened this issue Jun 14, 2024 · 5 comments
Labels

Comments

@nieanlei123
Copy link

I am using the telegramBot.executeAsync method to send messages to 7000 members. The API states that 19 messages can be sent per second, but in reality, only 2-3 messages can be sent per second.
I retrieve the send time and results from callback data. The code snippet is as follows:

telegramBot.executeAsync(tGCommMsg.getResponse()).thenAccept(message -> {
saveMessage(message, copyTGCommMsg);
});

image

@nieanlei123
Copy link
Author

image
I used your image cache ID execute.getPhoto().get(0).getFileId() for sending the picture, so there's no issue with large image size. Why is this bot able to send advertisements so quickly? Link to the bot.

@nieanlei123
Copy link
Author

They have more users than us, but it only takes 20 minutes to send each message to 10,000-20,000 users.
image

@nieanlei123
Copy link
Author

image
Please do not delete my issue. I want to know how to send 20-30 pieces of data per second. Currently, my bot sends 2-3 pieces of data per second, and I can only send around 130 pieces per minute.

@nieanlei123
Copy link
Author

I need help ~~

@Chase22
Copy link
Collaborator

Chase22 commented Jun 16, 2024

Spamming people with advertisement is still against telegrams ToS. Please stop opening issues for this

@Chase22 Chase22 closed this as completed Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants