title: How to get the message_id of received messages with Telethon?
body: <p>I take <a href="https://github.com/LonamiWebs/Telethon/blob/master/telethon_examples/replier.py" rel="nofollow noreferrer">replier.py</a> as base code from official Telethon examples.<br />
  I want to get message id each time I receive a message.</p>
  <pre class="lang-py prettyprint-override"><code>...
  @events.register(events.NewMessage)
  async def handler(event):
      if not event.out:
          print(f'received message_id = {event.message_id()}')
      client = event.client
  
  with client:
      client.add_event_handler(handler)
      client.run_until_disconnected()
  </code></pre>
  <pre class="lang-sh prettyprint-override"><code>&gt;&gt;&gt; ... AttributeError: 'Message' object has no attribute 'message_id'
  </code></pre>
  <p>I've tried several variants with no success.<br />
  How to do it properly?</p>