mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-12 09:02:24 +03:00
Fix typo? https://core.telegram.org/api/layers max layer is 18 for now
parent
5023be2fe5
commit
bbd7a48f25
|
@ -46,7 +46,7 @@ result = client(SendMessageRequest(peer, 'Hello there!'))
|
|||
# __call__ is an alias for client.invoke(request). Both will work
|
||||
```
|
||||
|
||||
Message sent! Of course, this is only an example. There are over 240 methods available as of layer 71, and you can use every single of them as you wish. Remember to use the right types! To sum up:
|
||||
Message sent! Of course, this is only an example. There are over 240 methods available as of layer 17, and you can use every single of them as you wish. Remember to use the right types! To sum up:
|
||||
```python
|
||||
result = client(SendMessageRequest(
|
||||
client.get_input_entity('username'), 'Hello there!'
|
||||
|
|
Loading…
Reference in New Issue
Block a user