[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-70771":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":24,"defaultBranch":25,"hasWiki":23,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},70771,"Telethon","LonamiWebs\u002FTelethon","LonamiWebs","Pure Python 3 MTProto API Telegram client library, for bots too!","https:\u002F\u002Fdocs.telethon.dev",null,"Python",12013,1637,159,1,0,5,16,37,15,44.64,"MIT License",true,false,"v1",[27,28,29,30,31,32,33],"hacktoberfest","library","mtproto","python-library","telegram","telegram-api","telethon","2026-06-12 02:02:43","Moved to https:\u002F\u002Fcodeberg.org\u002FLonami\u002FTelethon. The GitHub repository may be deleted in the future.\n\n----\n\nTelethon\n========\n.. epigraph::\n\n  ⭐️ Thanks **everyone** who has starred the project, it means a lot!\n\n|logo| **Telethon** is an asyncio_ **Python 3**\nMTProto_ library to interact with Telegram_'s API\nas a user or through a bot account (bot API alternative).\n\n.. important::\n\n    If you have code using Telethon before its 1.0 version, you must\n    read `Compatibility and Convenience`_ to learn how to migrate.\n    As with any third-party library for Telegram, be careful not to\n    break `Telegram's ToS`_ or `Telegram can ban the account`_.\n\nWhat is this?\n-------------\n\nTelegram is a popular messaging application. This library is meant\nto make it easy for you to write Python programs that can interact\nwith Telegram. Think of it as a wrapper that has already done the\nheavy job for you, so you can focus on developing an application.\n\n\nInstalling\n----------\n\n.. code-block:: sh\n\n  pip3 install telethon\n\n\nCreating a client\n-----------------\n\n.. code-block:: python\n\n    from telethon import TelegramClient, events, sync\n\n    # These example values won't work. You must get your own api_id and\n    # api_hash from https:\u002F\u002Fmy.telegram.org, under API Development.\n    api_id = 12345\n    api_hash = '0123456789abcdef0123456789abcdef'\n\n    client = TelegramClient('session_name', api_id, api_hash)\n    client.start()\n\n\nDoing stuff\n-----------\n\n.. code-block:: python\n\n    print(client.get_me().stringify())\n\n    client.send_message('username', 'Hello! Talking to you from Telethon')\n    client.send_file('username', '\u002Fhome\u002Fmyself\u002FPictures\u002Fholidays.jpg')\n\n    client.download_profile_photo('me')\n    messages = client.get_messages('username')\n    messages[0].download_media()\n\n    @client.on(events.NewMessage(pattern='(?i)hi|hello'))\n    async def handler(event):\n        await event.respond('Hey!')\n\n\nNext steps\n----------\n\nDo you like how Telethon looks? Check out `Read The Docs`_ for a more\nin-depth explanation, with examples, troubleshooting issues, and more\nuseful information.\n\n.. _asyncio: https:\u002F\u002Fdocs.python.org\u002F3\u002Flibrary\u002Fasyncio.html\n.. _MTProto: https:\u002F\u002Fcore.telegram.org\u002Fmtproto\n.. _Telegram: https:\u002F\u002Ftelegram.org\n.. _Compatibility and Convenience: https:\u002F\u002Fdocs.telethon.dev\u002Fen\u002Fstable\u002Fmisc\u002Fcompatibility-and-convenience.html\n.. _Telegram's ToS: https:\u002F\u002Fcore.telegram.org\u002Fapi\u002Fterms\n.. _Telegram can ban the account: https:\u002F\u002Fdocs.telethon.dev\u002Fen\u002Fstable\u002Fquick-references\u002Ffaq.html#my-account-was-deleted-limited-when-using-the-library\n.. _Read The Docs: https:\u002F\u002Fdocs.telethon.dev\n\n.. |logo| image:: logo.svg\n    :width: 24pt\n    :height: 24pt\n","Telethon 是一个纯 Python 3 的 MTProto API Telegram 客户端库，支持用户和机器人账户。它基于 asyncio 异步框架构建，提供了丰富的功能来与 Telegram API 进行交互，包括发送消息、文件传输、事件监听等。该库设计简洁高效，能够帮助开发者快速实现 Telegram 应用程序的开发。适用于需要通过编程方式与 Telegram 进行交互的各种场景，如自动化消息发送、数据抓取或构建 Telegram 机器人等。MIT 许可证使得 Telethon 成为开源社区中广泛使用的工具之一。",2,"2026-06-11 03:34:07","high_star"]