mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-15 18:42:23 +03:00
Mention hash parameter
parent
c704a448de
commit
b141079076
|
@ -44,4 +44,6 @@ 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 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!
|
||||||
|
|
||||||
|
Note that some requests have a "hash" parameter. This is **not** your `api_hash`! It likely isn't your self-user `.access_hash` either. It's a special hash used by Telegram to only send a difference of new data that you don't already have with that request, so you can leave it to 0, and it should work (which means no hash is known yet).
|
Loading…
Reference in New Issue
Block a user