How to fix phone number flood in telegram


Error handling

There will be errors when working with the API, and they must be correctly handled on the client.
An error is characterized by several parameters:

Error Code

Numerical value similar to HTTP status. Contains information on the type of error that occurred: for example, a data input error, privacy error, or server error. This is a required parameter.

Error Type

A string literal in the form of /[A-Z_0-9]+/, which summarizes the problem. For example, AUTH_KEY_UNREGISTERED. This is an optional parameter.

Error Database

A full machine-readable JSON list of RPC errors that can be returned by all methods in the API can be found here », what follows is a description of its fields:

  • errors - All error messages and codes for each method (object).
    • Keys: Error codes as strings (numeric strings)
    • Values: All error messages for each method (object)
      • Keys: Error messages (string)
      • Values: An array of methods which may emit this error (array of strings)
  • descriptions - Descriptions for every error mentioned in errors (and a few other errors not related to a specific method)
    • Keys: Error messages
    • Values: Error descriptions
  • user_only - A list of methods that can only be used by users, not bots.

Error messages and error descriptions may contain printf placeholders in key positions, for now only %d is used to map durations contained in error messages to error descriptions.

Example:

{ "errors": { "420": { "2FA_CONFIRM_WAIT_%d": [ "account.deleteAccount" ], "SLOWMODE_WAIT_%d": [ "messages.forwardMessages", "messages.sendInlineBotResult", "messages.sendMedia", "messages.sendMessage", "messages.sendMultiMedia" ] } }, "descriptions": { "2FA_CONFIRM_WAIT_%d": "Since this account is active and protected by a 2FA password, we will delete it in 1 week for security purposes. You can cancel this process at any time, you'll be able to reset your account in %d seconds.", "SLOWMODE_WAIT_%d": "Slowmode is enabled in this chat: wait %d seconds before sending another message to this chat. ", "FLOOD_WAIT_%d": "Please wait %d seconds before repeating the action." }, "user_only": { "account.deleteAccount" } }

Error Constructors

There should be a way to handle errors that are returned in rpc_error constructors.

Below is a list of error codes and their meanings:

303 SEE_OTHER

The request must be repeated, but directed to a different data center.

Examples of Errors:
  • FILE_MIGRATE_X: the file to be accessed is currently stored in a different data center.
  • PHONE_MIGRATE_X: the phone number a user is trying to use for authorization is associated with a different data center.
  • NETWORK_MIGRATE_X: the source IP address is associated with a different data center (for registration)
  • USER_MIGRATE_X: the user whose identity is being used to execute queries is associated with a different data center (for registration)

In all these cases, the error description's string literal contains the number of the data center (instead of the X) to which the repeated query must be sent. More information about redirects between data centers »

400 BAD_REQUEST

The query contains errors. In the event that a request was created using a form and contains user generated data, the user should be notified that the data must be corrected before the query is repeated.

Examples of Errors:
  • FIRSTNAME_INVALID: The first name is invalid
  • LASTNAME_INVALID: The last name is invalid
  • PHONE_NUMBER_INVALID: The phone number is invalid
  • PHONE_CODE_HASH_EMPTY: phone_code_hash is missing
  • PHONE_CODE_EMPTY: phone_code is missing
  • PHONE_CODE_EXPIRED: The confirmation code has expired
  • API_ID_INVALID: The api_id/api_hash combination is invalid
  • PHONE_NUMBER_OCCUPIED: The phone number is already in use
  • PHONE_NUMBER_UNOCCUPIED: The phone number is not yet being used
  • USERS_TOO_FEW: Not enough users (to create a chat, for example)
  • USERS_TOO_MUCH: The maximum number of users has been exceeded (to create a chat, for example)
  • TYPE_CONSTRUCTOR_INVALID: The type constructor is invalid
  • FILE_PART_INVALID: The file part number is invalid
  • FILE_PARTS_INVALID: The number of file parts is invalid
  • FILE_PART_X_MISSING: Part X (where X is a number) of the file is missing from storage
  • MD5_CHECKSUM_INVALID: The MD5 checksums do not match
  • PHOTO_INVALID_DIMENSIONS: The photo dimensions are invalid
  • FIELD_NAME_INVALID: The field with the name FIELD_NAME is invalid
  • FIELD_NAME_EMPTY: The field with the name FIELD_NAME is missing
  • MSG_WAIT_FAILED: A request that must be completed before processing the current request returned an error
  • MSG_WAIT_TIMEOUT: A request that must be completed before processing the current request didn't finish processing yet

401 UNAUTHORIZED

There was an unauthorized attempt to use functionality available only to authorized users.

Examples of Errors:
  • AUTH_KEY_UNREGISTERED: The key is not registered in the system
  • AUTH_KEY_INVALID: The key is invalid
  • USER_DEACTIVATED: The user has been deleted/deactivated
  • SESSION_REVOKED: The authorization has been invalidated, because of the user terminating all sessions
  • SESSION_EXPIRED: The authorization has expired
  • AUTH_KEY_PERM_EMPTY: The method is unavailable for temporary authorization key, not bound to permanent

403 FORBIDDEN

Privacy violation. For example, an attempt to write a message to someone who has blacklisted the current user.

404 NOT_FOUND

An attempt to invoke a non-existent object, such as a method.

406 NOT_ACCEPTABLE

Similar to 400 BAD_REQUEST, but the app must display the error to the user a bit differently.
Do not display any visible error to the user when receiving the rpc_error constructor: instead, wait for an updateServiceNotification update, and handle it as usual.
Basically, an updateServiceNotification popup update will be emitted independently (ie NOT as an Updates constructor inside rpc_result but as a normal update) immediately after emission of a 406 rpc_error: the update will contain the actual localized error message to show to the user with a UI popup.

An exception to this is the AUTH_KEY_DUPLICATED error, which is only emitted if any of the non-media DC detects that an authorized session is sending requests in parallel from two separate TCP connections, from the same or different IP addresses.
Note that parallel connections are still allowed and actually recommended for media DCs.
Also note that by session we mean a logged-in session identified by an authorization constructor, fetchable using account.getAuthorizations, not an MTProto session.

If the client receives an AUTH_KEY_DUPLICATED error, the session is already invalidated by the server and the user must generate a new auth key and login again.

420 FLOOD

The maximum allowed number of attempts to invoke the given method with the given input parameters has been exceeded. For example, in an attempt to request a large number of text messages (SMS) for the same phone number.

Error Example:
  • FLOOD_WAIT_X: A wait of X seconds is required (where X is a number)

500 INTERNAL

An internal server error occurred while a request was being processed; for example, there was a disruption while accessing a database or file storage.

If a client receives a 500 error, or you believe this error should not have occurred, please collect as much information as possible about the query and error and send it to the developers.

Other Error Codes

If a server returns an error with a code other than the ones listed above, it may be considered the same as a 500 error and treated as an internal server error.

sms-bomber · GitHub Topics · GitHub

Here are 95 public repositories matching this topic.

..

TheSpeedX / TBomb

Star 3.2k

bhattsameer / Bombers

Star 2.2k

LimerBoy / Impulse

Star 2k

mishakorzik / AllHackingTools

Star 1.3k

un1cum / Beast_Bomber

Star 894

shellvon / smsBomb

Star 500

AvinashReddy3108 / YetAnotherSMSBomber

Star 428

anubhavanonymous / XLR8_BOMBER

Star 362

dmitrijkotov634 / android-bomber

Star 332

Nikait / ni_bomber

Star 283

cludeex / spammer

Star 216

Bhai4You / otpbomber

Sponsor Star 196

iMro0t / bomb3r

Star 189

batiscuff / duplo-bomber

Star 157

jdleo / SMS-BOMBER

Star 148

yyasha / smsbomb

Star 124

utsanjan / Tsunami-Bomber-Android

Sponsor Star 104

K1ngSoul / Parad1seBomb

Star 101

Lucky1376 / ORION-Bomber

Star 97

alexbieber / RevengeBomber2.

0 Star 78

Improve this page

Add a description, image, and links to the sms-bomber topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the sms-bomber topic, visit your repo's landing page and select "manage topics."

Learn more

for what and how to get around - Marketing on vc.ru

Newsletters - one of the most effective ways to reach the client. The open rate of messages in messengers reaches 98%, which is incomparably cheaper and more efficient than E-mail and SMS.

16,852 views

What you will learn:

→ How Telegram newsletters help business

→ Why you can get banned numbers

→ Why communication with clients in Telegram from CRM is beneficial

Reading time - 7 minutes

How Telegram newsletters help business

The effectiveness of communication with clients in Telegram is explained by a set of tasks:

1. Increasing sales. In Telegram mailing lists, you can send traffic to different resources for the purpose of subsequent monetization.

2. Growth of brand awareness. Mailing lists are well suited for interacting with the target audience, because it is more convenient for everyone to communicate in instant messengers

3. Shares. Mailing lists will promptly report on the marketing activities of your audience

4. Feedback. Collect feedback and wishes from your customers

5. News. Tell about the latest events in the company

6. Educational mailings. Relevant for infobusiness and those who launch online courses and master classes

Why you can get a ban number in Telegram

We did not find any information in open sources about banning a number in Telegram during mailings, so we conducted our own research. The tests were carried out under different conditions:

→ Chat start

→ Mass mailing to your database

→ Chatbot for incoming messages

What happens if you write first from a new number?

We wrote to 20 numbers that were not added to "Contacts", from a new number with which there was no previous correspondence. Those. we wrote to unfamiliar contacts from an unheated number.

Observation: ban does not depend on what message the chat starts with. It doesn't matter if you send the same or different messages.

The number will be banned for 24 hours if:

- Write to 15 contacts with breaks of less than 3 minutes between messages

For example: you have an online course and after the webinar you have collected a database of contacts. In order to send a discount on the purchase of the course to the entire database, you started a mass mailing in Telegram. Sent a message to the first contact, waited less than 3 minutes, and then sent a message to the second contact, and so on. 14 contacts received a message with a discount. Everything's OK. However, if you try to write to the 15th contact, you will get a ban. The 16th contact can no longer be written. If the intervals between messages are less than 3 minutes, it is worth increasing them.

The number will not be banned if:

- Write to different contacts with breaks of more than 3 minutes between messages

- Send different messages to one contact.

For example: you have a beauty salon and you decided to remind your customers about yourself. We wrote a template message and started mailing in Telegram. Sent a message to the first client, waited 3 minutes or more, and then sent a message to the second client, and so on. Everything is cool, all clients will receive a message. Also, you can send different messages to the same client without interruption without the risk of blocking.

What will happen with mass mailing from a warmed-up number?

The number will not be banned if the same messages are sent in bulk to 153 contacts from a warmed-up number with which there have already been correspondence.

For example: you have a real estate agency and you decide to make a Telegram mailing list for your database. With each client you once had a correspondence. You sent a message to 153 numbers without interruption, with one click. You will not be banned, and all 153 contacts will receive a message.

What happens when sending out to more than 153 contacts has not been tested.

What happens if the chatbot starts responding to incoming requests?

Your number will receive a short-term ban (from 5 to 30 minutes) if there is a lot of activity on the number.

For example: your product was advertised by a blogger and hundreds of viewers ran to your site to leave applications. At the same time, you have a chat bot in the CRM system that writes to Telegram to everyone who left the application. So, the chatbot saw a lot of requests (namely, 2 requests per second) and immediately began to write to everyone in Telegram. Due to the fact that the same messages are sent to everyone at once, you will receive a short-term ban.

Why you should use the Telegram integration with amoCRM

Let's analyze the difference between regular sales in the Telegram application and sales in Telegram from the CRM system.

P. S. Sell on Telegram directly from CRM. Connect as many numbers as you like and write first from your personal Telegram number directly from CRM!

Go to the site and connect our Telegram integration in 5 minutes without programming - here

3 days for free!

Our contacts

If you have any questions, we are always happy to help!

You can contact us at the link

Our website

Telegram

VKontakte

Why Telegram is banned and how to restore your account

Telegram has become the most popular messenger in the country over the past month. In March 2022, Telegram surpassed WhatsApp for the first time in Russia. In the first two weeks of March, Telegram's share of total messenger traffic increased from 48% to 63% compared to the same period last month. The popularity of the service has grown amid restrictions on access to other instant messengers and social networks.

In Telegram, as well as in other messengers, there are restrictions due to which your account can get banned. In this article, we will talk in detail about the reasons for the ban in this messenger and how to recover your account.

The reasons for blocking personal Telegram number are different.

Random blocking . This happens when algorithms fail and impose a limit for no reason. This happens quite rarely.

Active new account . New accounts are on a special account with the Telegram algorithms, the reason for this is one-day accounts that are created for spam and fraud. Any suspicious activity, whether it's multiple conversations at once, a large volume of messages sent, or promotional mailings, can lead to blocking. For a business that has decided to connect an alternative communication channel, this will be a big loss, as customers will be lost along with the account. To avoid this, we recommend warming up your account. We will talk about this a little later.

Spam. How Telegram algorithms can detect spam not only random advertising mailings, individual calls to click on a link, repeated messages, etc. can be counted as a violation.

There are several types of penalties for spam: write to users who do not have your number in the address book on the phone;

  • direct ban with read-only mode: only viewing channels is available, without the possibility of chatting. Moreover, not only the account, but also the IP address can be banned.

What should I do to avoid a ban?

Warm up account. After registration, we recommend not to be active. Conduct 3-4 new dialogues per day for 1-2 days, gradually increasing the number of correspondence.

Do not send promotional mail, even if it may be of interest to your customers. One complaint is enough to block.

Do not send links to third party sites.

Do not invite too many users to the channel. It would be better if users themselves join it by an invitation link. And unwitting channel members who will soon unsubscribe will only worsen the reputation of your account.

Do not promote products, information courses or casinos. This is prohibited by Telegram policy.

How to get rid of the ban?

If you received a ban undeservedly, then only official Telegram support can unlock it.

To contact them:

  1. Open Telegram search and find the @spambot bot.
  2. Select this bot and start a chat with it.
  3. To start communication with the bot, use the "Start" button.
  4. If no restrictions were placed on your account, the bot will notify you.
  5. If there are restrictions, the bot will tell you how long the restriction has been imposed on you.

You can also write to support via the link.

If your account is blocked not by mistake, but because of complaints, then you will have to wait all the specified time for unlocking and support will not help you.

Recommendations for business

For business, the loss of a Telegram account will be especially unpleasant. When blocked, you will not even be able to respond to new customers who are interested in your services, and if you do not have messenger integration with CRM via Pact, contact the user in an alternative way. So what should a business do?

Warm up your account before starting active correspondence. Do not transfer all message traffic to Telegram at once. Within 1-2 days, conduct 4-5 dialogues, only after that connect the account to the CRM system or transfer it to managers for active work.

Pause between messages. The number is banned for 24 hours if you start a chat with more than 14 contacts with an interval of up to a minute. That is, they started a chat with 15 contacts - they got a ban. It is already impossible to write to the 16th contact.

There is no ban if the chat starts with different contacts with an interval of 3 minutes or more.

Do not send bulk emails. Connect the WhatsApp API, where promotional mailings to the database can be done without the risk of blocking.


Learn more