title: Why does the method get_pinned_message() break when used according to the documentation?
body: <p>I want to get every pinned <code>message</code> from chat(with id == main_id):</p>
  
  <pre><code>@client.on(events.ChatAction(chats=main_id))
  async def normal_handler(event):
      if event.new_pin:
          pin = await event.get_pinned_message()
  </code></pre>
  
  <p>But this method always returns an error:<a href="https://i.stack.imgur.com/NHhIt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NHhIt.png" alt="enter image description here"></a></p>
  
  <p>What am i doing wrong?</p>