◐ Shell
clean mode source ↗

Add method to set the History TTL by ColinShark · Pull Request #681 · 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.

delivrance

`set_history_ttl` -> `set_chat_history_ttl` in all occurences
(Still the original name ha!)

delivrance