FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

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

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

Add method to set the History TTL - #1384

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

Add method to set the History TTL#1384
AkkiaS7 wants to merge 7 commits into
pyrogram:masterfrom
AkkiaS7:history-ttl

Conversation

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 marked this pull request as draft January 7, 2024 14:15
AkkiaS7 marked this pull request as ready for review January 7, 2024 14:15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL