{ "info": { "author": "Lonami Exo", "author_email": "totufals@hotmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Communications :: Chat" ], "description": "Telethon\n========\n.. epigraph::\n\n \u2b50\ufe0f Thanks **everyone** who has starred the project, it means a lot!\n\n**Telethon** is Telegram client implementation in **Python 3** which uses\nthe latest available API of Telegram. Remember to use **pip3** to install!\n\nInstalling\n----------\n\n.. code:: sh\n\n pip install telethon\n\n\nCreating a client\n-----------------\n\n.. code:: python\n\n from telethon import TelegramClient\n\n # These example values won't work. You must get your own api_id and\n # api_hash from https://my.telegram.org, under API Development.\n api_id = 12345\n api_hash = '0123456789abcdef0123456789abcdef'\n phone = '+34600000000'\n\n client = TelegramClient('session_name', api_id, api_hash)\n client.connect()\n\n # If you already have a previous 'session_name.session' file, skip this.\n client.sign_in(phone=phone)\n me = client.sign_in(code=77777) # Put whatever code you received here.\n\n\nDoing stuff\n-----------\n\n.. code:: python\n\n print(me.stringify())\n\n client.send_message('username', 'Hello! Talking to you from Telethon')\n client.send_file('username', '/home/myself/Pictures/holidays.jpg')\n\n client.download_profile_photo(me)\n total, messages, senders = client.get_message_history('username')\n client.download_media(messages[0])\n\n\nNext steps\n----------\n\nDo you like how Telethon looks? Check the\n`wiki over GitHub `_ for a\nmore in-depth explanation, with examples, troubleshooting issues, and more\nuseful information.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/LonamiWebs/Telethon/releases", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/LonamiWebs/Telethon", "keywords": "telegram api chat client library messaging mtproto", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "TelethonGoblenusTest", "package_url": "https://pypi.org/project/TelethonGoblenusTest/", "platform": "", "project_url": "https://pypi.org/project/TelethonGoblenusTest/", "project_urls": { "Download": "https://github.com/LonamiWebs/Telethon/releases", "Homepage": "https://github.com/LonamiWebs/Telethon" }, "release_url": "https://pypi.org/project/TelethonGoblenusTest/0.15.5/", "requires_dist": null, "requires_python": "", "summary": "Full-featured Telegram client library for Python 3", "version": "0.15.5" }, "last_serial": 3404159, "releases": { "0.15.5": [ { "comment_text": "", "digests": { "md5": "f41caaebd292cf01f53e5a53bb1205b2", "sha256": "f6765686fc9afa79b37add59f2ada5096114aad9ac09af4220b4196bd401f118" }, "downloads": -1, "filename": "TelethonGoblenusTest-0.15.5.tar.gz", "has_sig": false, "md5_digest": "f41caaebd292cf01f53e5a53bb1205b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 67562, "upload_time": "2017-12-09T21:29:40", "url": "https://files.pythonhosted.org/packages/e0/fe/282bcd2c43e2f9a3402debe3073138012bf99cef3caedd73fc8fdd7766dc/TelethonGoblenusTest-0.15.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f41caaebd292cf01f53e5a53bb1205b2", "sha256": "f6765686fc9afa79b37add59f2ada5096114aad9ac09af4220b4196bd401f118" }, "downloads": -1, "filename": "TelethonGoblenusTest-0.15.5.tar.gz", "has_sig": false, "md5_digest": "f41caaebd292cf01f53e5a53bb1205b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 67562, "upload_time": "2017-12-09T21:29:40", "url": "https://files.pythonhosted.org/packages/e0/fe/282bcd2c43e2f9a3402debe3073138012bf99cef3caedd73fc8fdd7766dc/TelethonGoblenusTest-0.15.5.tar.gz" } ] }