Closed nieanlei123 closed 5 months ago
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.
They have more users than us, but it only takes 20 minutes to send each message to 10,000-20,000 users.
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.
I need help ~~
Spamming people with advertisement is still against telegrams ToS. Please stop opening issues for this
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); });