Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Add method to set the History TTL - #1384

Open
AkkiaS7 wants to merge 7 commits into
pyrogram:masterfrom
AkkiaS7:history-ttl
Open

AkkiaS7 wants to merge 7 commits into
pyrogram:masterfrom
AkkiaS7:history-ttl

Conversation

@AkkiaS7

@AkkiaS7 AkkiaS7 commented Jan 3, 2024

Copy link
Copy Markdown

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
@AkkiaS7
AkkiaS7 marked this pull request as draft January 7, 2024 14:15
@AkkiaS7
AkkiaS7 marked this pull request as ready for review January 7, 2024 14:15

This branch has not been deployed

No deployments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants