Title: Add method to set the History TTL by ColinShark · Pull Request #681 · pyrogram/pyrogram · GitHub
Open Graph Title: Add method to set the History TTL by ColinShark · Pull Request #681 · pyrogram/pyrogram
X Title: Add method to set the History TTL by ColinShark · Pull Request #681 · pyrogram/pyrogram
Description: app.set_history_ttl(chat_id, period) to automatically delete messages after either a day (86400) or a week (604800). 0 to disable.
Open Graph Description: app.set_history_ttl(chat_id, period) to automatically delete messages after either a day (86400) or a week (604800). 0 to disable.
X Description: app.set_history_ttl(chat_id, period) to automatically delete messages after either a day (86400) or a week (604800). 0 to disable.
Opengraph URL: https://github.com/pyrogram/pyrogram/pull/681
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:508b1223-4c5c-3f40-ec33-9eade8b3a353 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E794:3DD152:1F59FF1:28AA86C:6974A334 |
| html-safe-nonce | 9274d6d09576e964c28ed0ce3008db745c8ae7caf57406869537546e59b85298 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzk0OjNERDE1MjoxRjU5RkYxOjI4QUE4NkM6Njk3NEEzMzQiLCJ2aXNpdG9yX2lkIjoiNDA0NjQxMTg1ODEwNzk5OTAyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 691a25f4e603679223576731f6c07126780159c6ab08969f946283741abd304a |
| hovercard-subject-tag | pull_request:644259902 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/pyrogram/pyrogram/681/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/9047928205b0fe293e0ccea62e9edb2c27fb224eb09e708a4f8455848689c71e/pyrogram/pyrogram/pull/681 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9047928205b0fe293e0ccea62e9edb2c27fb224eb09e708a4f8455848689c71e/pyrogram/pyrogram/pull/681 |
| og:image:alt | app.set_history_ttl(chat_id, period) to automatically delete messages after either a day (86400) or a week (604800). 0 to disable. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ColinShark |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/pyrogram/pyrogram git https://github.com/pyrogram/pyrogram.git |
| octolytics-dimension-user_id | 34474300 |
| octolytics-dimension-user_login | pyrogram |
| octolytics-dimension-repository_id | 113971228 |
| octolytics-dimension-repository_nwo | pyrogram/pyrogram |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 113971228 |
| octolytics-dimension-repository_network_root_nwo | pyrogram/pyrogram |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width