René's URL Explorer Experiment


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

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:508b1223-4c5c-3f40-ec33-9eade8b3a353
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE794:3DD152:1F59FF1:28AA86C:6974A334
html-safe-nonce9274d6d09576e964c28ed0ce3008db745c8ae7caf57406869537546e59b85298
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzk0OjNERDE1MjoxRjU5RkYxOjI4QUE4NkM6Njk3NEEzMzQiLCJ2aXNpdG9yX2lkIjoiNDA0NjQxMTg1ODEwNzk5OTAyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac691a25f4e603679223576731f6c07126780159c6ab08969f946283741abd304a
hovercard-subject-tagpull_request:644259902
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/pyrogram/pyrogram/681/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9047928205b0fe293e0ccea62e9edb2c27fb224eb09e708a4f8455848689c71e/pyrogram/pyrogram/pull/681
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9047928205b0fe293e0ccea62e9edb2c27fb224eb09e708a4f8455848689c71e/pyrogram/pyrogram/pull/681
og:image:altapp.set_history_ttl(chat_id, period) to automatically delete messages after either a day (86400) or a week (604800). 0 to disable.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameColinShark
hostnamegithub.com
expected-hostnamegithub.com
None4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f
turbo-cache-controlno-preview
go-importgithub.com/pyrogram/pyrogram git https://github.com/pyrogram/pyrogram.git
octolytics-dimension-user_id34474300
octolytics-dimension-user_loginpyrogram
octolytics-dimension-repository_id113971228
octolytics-dimension-repository_nwopyrogram/pyrogram
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id113971228
octolytics-dimension-repository_network_root_nwopyrogram/pyrogram
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release488b30e96dfd057fbbe44c6665ccbc030b729dde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pyrogram/pyrogram/pull/681#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpyrogram%2Fpyrogram%2Fpull%2F681
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpyrogram%2Fpyrogram%2Fpull%2F681
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=pyrogram%2Fpyrogram
Reloadhttps://github.com/pyrogram/pyrogram/pull/681
Reloadhttps://github.com/pyrogram/pyrogram/pull/681
Reloadhttps://github.com/pyrogram/pyrogram/pull/681
pyrogram https://github.com/pyrogram
pyrogramhttps://github.com/pyrogram/pyrogram
Notifications https://github.com/login?return_to=%2Fpyrogram%2Fpyrogram
Fork 1.6k https://github.com/login?return_to=%2Fpyrogram%2Fpyrogram
Star 4.6k https://github.com/login?return_to=%2Fpyrogram%2Fpyrogram
Code https://github.com/pyrogram/pyrogram
Pull requests 61 https://github.com/pyrogram/pyrogram/pulls
Actions https://github.com/pyrogram/pyrogram/actions
Security 0 https://github.com/pyrogram/pyrogram/security
Insights https://github.com/pyrogram/pyrogram/pulse
Code https://github.com/pyrogram/pyrogram
Pull requests https://github.com/pyrogram/pyrogram/pulls
Actions https://github.com/pyrogram/pyrogram/actions
Security https://github.com/pyrogram/pyrogram/security
Insights https://github.com/pyrogram/pyrogram/pulse
ColinSharkhttps://github.com/ColinShark
pyrogram:masterhttps://github.com/pyrogram/pyrogram/tree/master
ColinShark:history-ttlhttps://github.com/ColinShark/pyrogram/tree/history-ttl
Add method to set the History TTL https://github.com/pyrogram/pyrogram/pull/681#top
ColinSharkhttps://github.com/ColinShark
pyrogram:masterhttps://github.com/pyrogram/pyrogram/tree/master
ColinShark:history-ttlhttps://github.com/ColinShark/pyrogram/tree/history-ttl
Conversation 9 https://github.com/pyrogram/pyrogram/pull/681
Commits 6 https://github.com/pyrogram/pyrogram/pull/681/commits
Checks 0 https://github.com/pyrogram/pyrogram/pull/681/checks
Files changed https://github.com/pyrogram/pyrogram/pull/681/files
Please reload this pagehttps://github.com/pyrogram/pyrogram/pull/681
https://github.co/hiddenchars
https://github.com/pyrogram/pyrogram/pull/{{ revealButtonHref }}
https://github.com/ColinShark
ColinSharkhttps://github.com/ColinShark
May 13, 2021https://github.com/pyrogram/pyrogram/pull/681#issue-891382343
Please reload this pagehttps://github.com/pyrogram/pyrogram/pull/681
https://github.com/ColinShark
Add method to set the History TTLhttps://github.com/pyrogram/pyrogram/pull/681/commits/31c5b919910c4808863801100f471d376e5f0d54
31c5b91https://github.com/pyrogram/pyrogram/pull/681/commits/31c5b919910c4808863801100f471d376e5f0d54
https://github.com/delivrance
delivrancehttps://github.com/delivrance
May 14, 2021 https://github.com/pyrogram/pyrogram/pull/681#pullrequestreview-659931934
View reviewed changes https://github.com/pyrogram/pyrogram/pull/681/files/31c5b919910c4808863801100f471d376e5f0d54
pyrogram/methods/chats/set_history_ttl.pyhttps://github.com/pyrogram/pyrogram/pull/681/files/31c5b919910c4808863801100f471d376e5f0d54#diff-213c74963cf64406c4a59cf0c9b4471684aa158c4180c25f8cd1b661f27240c8
Please reload this pagehttps://github.com/pyrogram/pyrogram/pull/681
pyrogram/methods/chats/set_history_ttl.pyhttps://github.com/pyrogram/pyrogram/pull/681/files/31c5b919910c4808863801100f471d376e5f0d54#diff-213c74963cf64406c4a59cf0c9b4471684aa158c4180c25f8cd1b661f27240c8
Please reload this pagehttps://github.com/pyrogram/pyrogram/pull/681
pyrogram/methods/chats/set_history_ttl.pyhttps://github.com/pyrogram/pyrogram/pull/681/files/31c5b919910c4808863801100f471d376e5f0d54#diff-213c74963cf64406c4a59cf0c9b4471684aa158c4180c25f8cd1b661f27240c8
Please reload this pagehttps://github.com/pyrogram/pyrogram/pull/681
pyrogram/types/messages_and_media/message.pyhttps://github.com/pyrogram/pyrogram/pull/681/files/31c5b919910c4808863801100f471d376e5f0d54#diff-2062b779582d99fd277ded4cc8a0091bf16c209f382082685c144a992b8dda85
Please reload this pagehttps://github.com/pyrogram/pyrogram/pull/681
pyrogram/types/messages_and_media/message.pyhttps://github.com/pyrogram/pyrogram/pull/681/files/31c5b919910c4808863801100f471d376e5f0d54#diff-2062b779582d99fd277ded4cc8a0091bf16c209f382082685c144a992b8dda85
Please reload this pagehttps://github.com/pyrogram/pyrogram/pull/681
https://github.com/delivrance
delivrancehttps://github.com/delivrance
May 14, 2021https://github.com/pyrogram/pyrogram/pull/681#issuecomment-841308462
Please reload this pagehttps://github.com/pyrogram/pyrogram/pull/681
ColinSharkhttps://github.com/ColinShark
May 14, 2021 17:55https://github.com/pyrogram/pyrogram/pull/681#commits-pushed-bf58825
https://github.com/ColinShark
Addressing requested changeshttps://github.com/pyrogram/pyrogram/pull/681/commits/bf5882579e0b99963663a6023c1ad6855f061ba6
bf58825https://github.com/pyrogram/pyrogram/pull/681/commits/bf5882579e0b99963663a6023c1ad6855f061ba6
https://github.com/ColinShark
Add bound method Chat.set_history_ttl()https://github.com/pyrogram/pyrogram/pull/681/commits/6bc0329a384fae922db8ba8c2493c5aff7804953
6bc0329https://github.com/pyrogram/pyrogram/pull/681/commits/6bc0329a384fae922db8ba8c2493c5aff7804953
https://github.com/delivrance
Update set_chat_history_ttl.pyhttps://github.com/pyrogram/pyrogram/pull/681/commits/583ffc7c0e597bd2df6df2bb59d136bc61b6c6b4
583ffc7https://github.com/pyrogram/pyrogram/pull/681/commits/583ffc7c0e597bd2df6df2bb59d136bc61b6c6b4
https://github.com/delivrance
Update message.pyhttps://github.com/pyrogram/pyrogram/pull/681/commits/8e641352fb5c015a0dc4e6d6f285289873aae9fe
8e64135https://github.com/pyrogram/pyrogram/pull/681/commits/8e641352fb5c015a0dc4e6d6f285289873aae9fe
https://github.com/delivrance
Update chat.pyhttps://github.com/pyrogram/pyrogram/pull/681/commits/72e656edecd57e9135d1c4b348d60796b9cef749
72e656ehttps://github.com/pyrogram/pyrogram/pull/681/commits/72e656edecd57e9135d1c4b348d60796b9cef749
https://github.com/delivrance
delivrancehttps://github.com/delivrance
May 15, 2021 https://github.com/pyrogram/pyrogram/pull/681#pullrequestreview-660309799
View reviewed changes https://github.com/pyrogram/pyrogram/pull/681/files/8e641352fb5c015a0dc4e6d6f285289873aae9fe
pyrogram/types/messages_and_media/message.pyhttps://github.com/pyrogram/pyrogram/pull/681/files/8e641352fb5c015a0dc4e6d6f285289873aae9fe#diff-2062b779582d99fd277ded4cc8a0091bf16c209f382082685c144a992b8dda85
delivrancehttps://github.com/delivrance
May 15, 2021https://github.com/pyrogram/pyrogram/pull/681#discussion_r632900678
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/pyrogram/pyrogram/pull/681
delivrancehttps://github.com/delivrance
May 15, 2021https://github.com/pyrogram/pyrogram/pull/681#discussion_r632900883
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/pyrogram/pyrogram/pull/681
https://github.com/AkkiaS7
AkkiaS7https://github.com/AkkiaS7
Jan 3, 2024 https://github.com/pyrogram/pyrogram/pull/681#ref-pullrequest-2064564036
Add method to set the History TTL #1384 https://github.com/pyrogram/pyrogram/pull/1384
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpyrogram%2Fpyrogram%2Fpull%2F681
https://github.com/delivrance
delivrance https://github.com/delivrance
https://github.com/pyrogram/pyrogram/pull/681/files/8e641352fb5c015a0dc4e6d6f285289873aae9fe
Please reload this pagehttps://github.com/pyrogram/pyrogram/pull/681
https://github.com/ColinShark
https://github.com/delivrance
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.