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

Enable history for new members #305

Open
matushorvath opened this issue May 7, 2023 · 2 comments
Open

Enable history for new members #305

matushorvath opened this issue May 7, 2023 · 2 comments
Labels
blocked This issue is waiting for something else to get unblocked enhancement New feature or request

Comments

@matushorvath
Copy link
Owner

Bot should call toggleSupergroupIsAllHistoryAvailable so new members can see history:
https://core.telegram.org/tdlib/docs/classtd_1_1td__api_1_1toggle_supergroup_is_all_history_available.html

@matushorvath matushorvath added the enhancement New feature or request label May 7, 2023
@matushorvath
Copy link
Owner Author

This does not seem to be currently available in bot API.

@matushorvath matushorvath added the blocked This issue is waiting for something else to get unblocked label May 8, 2023
@matushorvath
Copy link
Owner Author

It is now possible to check for visible history by calling getChat and then inspecting ChatFullInfo.has_visible_history. Not implemented, because it requires an extra getChat call and has few benefits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This issue is waiting for something else to get unblocked enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant