mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-12-01 13:53:45 +03:00
Add summary
parent
7bea7a6ad1
commit
8016ff381e
|
@ -46,7 +46,12 @@ 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!
|
||||
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:
|
||||
```python
|
||||
result = client(SendMessageRequest(
|
||||
client.get_input_entity('username'), 'Hello there!'
|
||||
))
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user