mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-12 09:02:24 +03:00
Update to layer 73
parent
bbd7a48f25
commit
4b071188c3
|
@ -46,7 +46,7 @@ result = client(SendMessageRequest(peer, 'Hello there!'))
|
||||||
# __call__ is an alias for client.invoke(request). Both will work
|
# __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 17, 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 nearly 250 methods available as of layer 73, and you can use every single of them as you wish. Remember to use the right types! To sum up:
|
||||||
```python
|
```python
|
||||||
result = client(SendMessageRequest(
|
result = client(SendMessageRequest(
|
||||||
client.get_input_entity('username'), 'Hello there!'
|
client.get_input_entity('username'), 'Hello there!'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user