title: How can I get a list of all messages in Telegram group via the Bot API?
body: <p>I have a bot in Telegram, which query can I get a list of all messages in a group or channel?</p>
  
  <p>As I understand, requests like:</p>
  
  <pre><code> https://api.telegram.org/bot_token/getUpdates?chat_id=@chat
  </code></pre>
  
  <p>Let me get only updates, but how can I get a full list of posts using only the Bot API?</p>