title: Telegram API doesn't work with username - 400. Bad Request: chat not found
body: <p>I received data about myself through API method /getMe</p>
  <pre><code>    {'ok': True, 'result': {'id': 32484XXXX, 'first_name': 'Name', 'last_name': 'NameN', 'username': '@myname',
                              'type': 'private',
      ...
  </code></pre>
  <p>Then I try to send from bot to myself a message with telegram ID and with telegram username.
  With ID, everything works fine, but with username it doesn’t work.
  What am I doing wrong? How do I send messages with username?</p>
  <pre class="lang-py prettyprint-override"><code>    import requests
      
      telegram_bot_url = 'https://api.telegram.org/botXXXXXXXX:AAHfPgXkYrqPSakpsxB81UTsYwfmaq9dryY/'
      params_name = {'chat_id': '@myname', 'text': 'test777'}
      params_id = {'chat_id': 32484XXXX, 'text': 'test777'}
      print(&quot;ID&quot;)
      response = requests.post(telegram_bot_url + 'sendMessage', data=params_id)
      print(response.json())
      print(&quot;USERNAME&quot;)
      response = requests.post(telegram_bot_url + 'sendMessage', data=params_name)
      print(response.json())
  </code></pre>
  <p>and response</p>
  <pre><code>ID
  {'ok': True, 'result': {'message_id': 15, 'from': {'id': 121079XXXX, 'is_bot': True, 'first_name': 'RRRR', 'username': 'RRRR'}, 'chat': {'id': 32484XXXX, 'first_name': 'Name', 'last_name': 'NameN', 'username': 'myname', 'type': 'private'}, 'date': 1592754152, 'text': 'test777'}}
  USERNAME
  {'ok': False, 'error_code': 400, 'description': 'Bad Request: chat not found'}
  </code></pre>