◐ Shell
clean mode source ↗

Add method to set the History TTL by AkkiaS7 · Pull Request #1384 · pyrogram/pyrogram

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

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

Conversation

`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 ready for review

January 7, 2024 14:15