title: Telegram API throwing PeerFloodError: Too many requests
body: <p>I am not using bot API. I am using Telegram API to send messages. Messages are being sent easily but the problem occurs after 19 users. On the 20th user, I receive PeerFloodError. Even after, searching a lot, I didn't find any specific limits and using sleep is not working either. Please suggest a way to overcome this problem.</p>
  <h1>Code</h1>
  <pre><code>def send_message(root2, client):
      totalcount = 0
      for user in users:
          if totalcount &gt;= len(users):
              root2.destroy()
              break
  
          if totalcount % 15 == 0 and totalcount != 0:
              print(&quot;Waiting for one minute...&quot;)
              time.sleep(60)
  
          if user not in users2 or user not in users3:
              totalcount += 1
              entity = client.get_entity(user)
  
              client.send_message(entity, message_str)
              time.sleep(8)
  </code></pre>