Add target_user and target_type to Invite objects

This commit is contained in:
sudosnok
2021-04-22 04:30:35 +01:00
committed by GitHub
parent f4165755a9
commit 67abfea61a
3 changed files with 38 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ __all__ = (
'ExpireBehaviour',
'ExpireBehavior',
'StickerType',
'InviteTarget',
'VideoQualityMode',
)
@@ -426,6 +427,11 @@ class StickerType(Enum):
apng = 2
lottie = 3
class InviteTarget(Enum):
unknown = 0
stream = 1
embedded_application = 2
class InteractionType(Enum):
ping = 1
application_command = 2