Turn UserUpdate attributes into properties

This aids discoverability, makes them lazily-loaded,
and in general is more consistent and easier to extend.
This commit is contained in:
Lonami Exo
2019-07-04 10:17:40 +02:00
parent 7285b156f4
commit 99b15b916c
2 changed files with 191 additions and 116 deletions

View File

@@ -126,9 +126,6 @@ UserUpdate
Occurs whenever a user goes online, starts typing, etc.
A lot of fields are attributes and not properties, so they
are not shown here. Please refer to its full documentation.
Full documentation for the `UserUpdate
<telethon.events.userupdate.UserUpdate>`.
@@ -144,6 +141,25 @@ Full documentation for the `UserUpdate
get_user
get_input_user
typing
uploading
recording
playing
cancel
geo
audio
round
video
contact
document
photo
last_seen
until
online
recently
within_weeks
within_months
CallbackQuery
=============