mirror of
				https://github.com/LonamiWebs/Telethon.git
				synced 2025-10-31 07:57:38 +03:00 
			
		
		
		
	Update README.rst
This commit is contained in:
		
							parent
							
								
									c367aa9bc9
								
							
						
					
					
						commit
						5d66b4d554
					
				
							
								
								
									
										12
									
								
								README.rst
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								README.rst
									
									
									
									
									
								
							|  | @ -3,6 +3,10 @@ Telethon | ||||||
| **Telethon** is Telegram client implementation in Python which uses the latest available API of Telegram. | **Telethon** is Telegram client implementation in Python which uses the latest available API of Telegram. | ||||||
| The project's **core only** is based on TLSharp, a C# Telegram client implementation. | The project's **core only** is based on TLSharp, a C# Telegram client implementation. | ||||||
| 
 | 
 | ||||||
|  | Before opening an issue about how to use the library, **please** make sure you have read and followed | ||||||
|  | the steps mentioned under `Using Telethon`_! A lot of people ask simple questions which will only | ||||||
|  | be answered as "please see the ``README.rst``". And you should use the search before posting an issue, too. | ||||||
|  | 
 | ||||||
| .. contents:: Table of contents | .. contents:: Table of contents | ||||||
| 
 | 
 | ||||||
| Why Telethon? | Why Telethon? | ||||||
|  | @ -72,9 +76,9 @@ If you've installed Telethon via pip, launch an interactive python3 session and | ||||||
|   >>> client = InteractiveTelegramClient('sessionid', '+34600000000', |   >>> client = InteractiveTelegramClient('sessionid', '+34600000000', | ||||||
|   ...     api_id=12345, api_hash='0123456789abcdef0123456789abcdef') |   ...     api_id=12345, api_hash='0123456789abcdef0123456789abcdef') | ||||||
| 
 | 
 | ||||||
|   ┌─────────────────────────────────────────────┐ |   ================== | ||||||
|   │               Initialization                │ |   = Initialization = | ||||||
|   └─────────────────────────────────────────────┘ |   ================== | ||||||
|   Initializing interactive example... |   Initializing interactive example... | ||||||
|   Connecting to Telegram servers... |   Connecting to Telegram servers... | ||||||
|   >>> client.run() |   >>> client.run() | ||||||
|  | @ -85,6 +89,8 @@ corresponding values (your ``api_id``, ``api_hash`` and phone number in internat | ||||||
| 
 | 
 | ||||||
| Then, simply run ``python3 try_telethon.py`` to start the interactive example. | Then, simply run ``python3 try_telethon.py`` to start the interactive example. | ||||||
| 
 | 
 | ||||||
|  | .. _Using Telethon: | ||||||
|  | 
 | ||||||
| Using Telethon | Using Telethon | ||||||
| ============== | ============== | ||||||
| If you really want to learn how to use Telethon, it is **highly adviced** that | If you really want to learn how to use Telethon, it is **highly adviced** that | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user