Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

messages.getHistory #20

Open
shabanovtg opened this issue Mar 21, 2024 · 1 comment
Open

messages.getHistory #20

shabanovtg opened this issue Mar 21, 2024 · 1 comment

Comments

@shabanovtg
Copy link

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

@MKRhere
Copy link
Member

MKRhere commented Mar 21, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants