Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
tdlib
/
td
Public
Notifications
You must be signed in to change notification settings
Fork
2.1k
Star
9k
Code
Issues
64
Pull requests
11
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
td
example
python
tdjson_example.py
on
master
User selector
All users
All time
Commit history
Commits on May 18, 2026
fix(python example): keep tdlib log callback alive to prevent ctypes GC crash
Show description for e0943d0
giorka
authored and
levlam
committed
e0943d0
View commit details
Copy full SHA for e0943d0
View code at this point
Browse repository at this point
Commits on Dec 31, 2025
Update copyright year.
levlam
committed
4d06d1b
View commit details
Copy full SHA for 4d06d1b
View code at this point
Browse repository at this point
Commits on Apr 23, 2025
Improve Python example.
AYMENJD
authored and
levlam
committed
971684a
View commit details
Copy full SHA for 971684a
View code at this point
Browse repository at this point
Commits on Apr 21, 2025
Handle authorizationStateWaitPremiumPurchase in examples.
levlam
committed
d3ffed9
View commit details
Copy full SHA for d3ffed9
View code at this point
Browse repository at this point
Commits on Apr 12, 2025
Minor improvements.
levlam
committed
6271c88
View commit details
Copy full SHA for 6271c88
View code at this point
Browse repository at this point
Update tdjson_example.py to a new clean structure. (#3276)
Show description for daa638a
9v2
authored
daa638a
View commit details
Copy full SHA for daa638a
View code at this point
Browse repository at this point
Commits on Dec 31, 2024
Update copyright year.
levlam
committed
f1917d0
View commit details
Copy full SHA for f1917d0
View code at this point
Browse repository at this point
Commits on Jan 11, 2024
Remove setTdlibParameters.enable_storage_optimizer/ignore_file_names parameters in favor of "use_storage_optimizer" and "ignore_file_names" options.
levlam
committed
5623740
View commit details
Copy full SHA for 5623740
View code at this point
Browse repository at this point
Commits on Jan 1, 2024
Update copyright year.
levlam
committed
d963044
View commit details
Copy full SHA for d963044
View code at this point
Browse repository at this point
Commits on Dec 10, 2023
Use tdjson.dll only on Windows.
levlam
committed
1a50ec4
View commit details
Copy full SHA for 1a50ec4
View code at this point
Browse repository at this point
Use full path for tdjson.dll in Python example.
levlam
committed
0b1a185
View commit details
Copy full SHA for 0b1a185
View code at this point
Browse repository at this point
Commits on Feb 4, 2023
Fix checkAuthenticationEmailCode in Python example.
AYMENJD
authored and
levlam
committed
7f8c3e8
View commit details
Copy full SHA for 7f8c3e8
View code at this point
Browse repository at this point
Commits on Jan 12, 2023
Remove some getAuthorizationState usages.
levlam
committed
75bdc62
View commit details
Copy full SHA for 75bdc62
View code at this point
Browse repository at this point
Commits on Dec 31, 2022
Update copyright year.
levlam
committed
cf19848
View commit details
Copy full SHA for cf19848
View code at this point
Browse repository at this point
Commits on Sep 8, 2022
Update Python example.
levlam
committed
a81d376
View commit details
Copy full SHA for a81d376
View code at this point
Browse repository at this point
Commits on Sep 7, 2022
Inline tdlibParameters in setTdlibParameters.
levlam
committed
f6a2ecd
View commit details
Copy full SHA for f6a2ecd
View code at this point
Browse repository at this point
Remove separate authorizationStateWaitEncryptionKey.
levlam
committed
287cceb
View commit details
Copy full SHA for 287cceb
View code at this point
Browse repository at this point
Commits on Jan 1, 2022
Update copyright year.
levlam
committed
8085779
View commit details
Copy full SHA for 8085779
View code at this point
Browse repository at this point
Commits on Dec 28, 2021
Use only basic ASCII in Python example.
levlam
committed
cbc7149
View commit details
Copy full SHA for cbc7149
View code at this point
Browse repository at this point
Use a decorator in the Python example instead of explicit cast.
levlam
committed
bfd2c6a
View commit details
Copy full SHA for bfd2c6a
View code at this point
Browse repository at this point
Commits on Dec 27, 2021
Set log message callback only for fatal messages in Python example.
levlam
committed
84b1d32
View commit details
Copy full SHA for 84b1d32
View code at this point
Browse repository at this point
Commits on Nov 18, 2021
Update python example: Use sys.exit for quitting
Show description for 505fed0
sebix
authored and
levlam
committed
505fed0
View commit details
Copy full SHA for 505fed0
View code at this point
Browse repository at this point
Commits on May 18, 2021
Python example: use td_set_log_message_callback instead of td_set_fatal_error_callback.
levlam
committed
e31ec28
View commit details
Copy full SHA for e31ec28
View code at this point
Browse repository at this point
Commits on Jan 1, 2021
Update copyright year.
levlam
committed
52c1da0
View commit details
Copy full SHA for 52c1da0
View code at this point
Browse repository at this point
Commits on Nov 14, 2020
Rename create_client to create_client_id.
levlam
committed
5eea5b7
View commit details
Copy full SHA for 5eea5b7
View code at this point
Browse repository at this point
Fix fatal error handler in Python example.
levlam
committed
21f6ddc
View commit details
Copy full SHA for 21f6ddc
View code at this point
Browse repository at this point
Commits on Nov 13, 2020
Python example: encode strings to UTF-8 before printing to mitigate possible encoding errors.
levlam
committed
583a8f4
View commit details
Copy full SHA for 583a8f4
View code at this point
Browse repository at this point
Use new JSON interface in Python example.
levlam
committed
0e82497
View commit details
Copy full SHA for 0e82497
View code at this point
Browse repository at this point
Commits on Jun 19, 2020
Automatically detect operating system version.
Show description for 0877d7f
levlam
committed
0877d7f
View commit details
Copy full SHA for 0877d7f
View code at this point
Browse repository at this point
Commits on Mar 24, 2020
Fix checkDatabaseEncryptionKey usage in examples.
Show description for 5f5d335
levlam
committed
5f5d335
View commit details
Copy full SHA for 5f5d335
View code at this point
Browse repository at this point
Commits on Jan 1, 2020
Update copyright year.
Show description for 80c3567
levlam
committed
80c3567
View commit details
Copy full SHA for 80c3567
View code at this point
Browse repository at this point
Commits on Jul 16, 2019
Add separate authorizationStateWaitRegistration.
Show description for b1347c3
levlam
committed
b1347c3
View commit details
Copy full SHA for b1347c3
View code at this point
Browse repository at this point
Commits on May 23, 2019
Fix spelling in the Python example.
Show description for bf3e0b8
levlam
committed
bf3e0b8
View commit details
Copy full SHA for bf3e0b8
View code at this point
Browse repository at this point
Commits on May 14, 2019
Minor fixes.
Show description for acc17b8
levlam
committed
acc17b8
View commit details
Copy full SHA for acc17b8
View code at this point
Browse repository at this point
Commits on Apr 30, 2019
Remove deprecated functions for log managing from Python example.
Show description for fca3eac
levlam
committed
fca3eac
View commit details
Copy full SHA for fca3eac
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.