Add summary

Lonami 2017-10-25 13:31:07 +02:00
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