mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-30 21:33:45 +03:00
Fix typo "probe" (similar to Spanish "probar")
parent
ceff88c6c7
commit
f96474ef3b
|
@ -16,7 +16,7 @@ input('Press <ENTER> to exit...')
|
||||||
client.disconnect()
|
client.disconnect()
|
||||||
```
|
```
|
||||||
|
|
||||||
The `update_object` may be any instance of [`Updates`](https://lonamiwebs.github.io/Telethon/types/updates.html) or even a single [`Update`](https://lonamiwebs.github.io/Telethon/types/update.html), so you have absolute control about which updates you want to handle and which you don't. `isinstance(update_object, SomeClass)` may probe very useful here.
|
The `update_object` may be any instance of [`Updates`](https://lonamiwebs.github.io/Telethon/types/updates.html) or even a single [`Update`](https://lonamiwebs.github.io/Telethon/types/update.html), so you have absolute control about which updates you want to handle and which you don't. `isinstance(update_object, SomeClass)` may prove very useful here.
|
||||||
|
|
||||||
## Note follow-up
|
## Note follow-up
|
||||||
The library currently handles all updates in a **passive** way, so not all updates may be received. This is, all it does is listen to what the server sends. It will **not** run things like [`GetDifferenceRequest`](https://lonamiwebs.github.io/Telethon/methods/updates/get_difference.html) or take into consideration the methods that return more [`Updates`](https://lonamiwebs.github.io/Telethon/types/updates.html).
|
The library currently handles all updates in a **passive** way, so not all updates may be received. This is, all it does is listen to what the server sends. It will **not** run things like [`GetDifferenceRequest`](https://lonamiwebs.github.io/Telethon/methods/updates/get_difference.html) or take into consideration the methods that return more [`Updates`](https://lonamiwebs.github.io/Telethon/types/updates.html).
|
Loading…
Reference in New Issue
Block a user