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 method to set the History TTL #1384

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

Conversation

AkkiaS7
Copy link

@AkkiaS7 AkkiaS7 commented Jan 3, 2024

Renamed function names as requested by the original PR: #681
Thanks @ColinShark @delivrance

ColinShark and others added 7 commits May 13, 2021 23:12
`app.set_history_ttl(chat_id, period)` to automatically delete messages
after either a day or a week. 0 to disable.
`set_history_ttl` -> `set_chat_history_ttl` in all occurences
(Still the original name ha!)
# Conflicts:
#	pyrogram/methods/chats/__init__.py
#	pyrogram/types/messages_and_media/message.py
#	pyrogram/types/user_and_chats/chat.py
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