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

add min_id & max_id support in [messages.getHistory] #1059

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kkwilllo
Copy link

According to the official document (https://core.telegram.org/method/messages.getHistory)

max_id: Can be used to only return results with ID strictly smaller than max_id (e.g. message ID)
min_id: Can be used to only return results with ID strictly greater than min_id(e.g. message ID)

so added these parameters accordingly

@Kacnep89
Copy link

Kacnep89 commented Nov 16, 2022

This is a very necessary functionality. Why hasn't it been added yet?

@kkwilllo
Copy link
Author

This is a very necessary functionality. Why hasn't it been added yet?

@delivrance

@RaphxelS
Copy link

RaphxelS commented Sep 3, 2023

would really like this too

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

Successfully merging this pull request may close these issues.

None yet

3 participants