feathers-studio/telegraf-docs

messages.getHistory

shabanovtg opened this issue · 1 comments

How I can get history messages, when I added bot to channel?

No, you cannot. This method is from the MTProto API (for user accounts) and not the Bot API (https://core.telegram.org/bots/api). Bots cannot access get message history. They can only listen for new messages.