Skip to content

Commit

Permalink
fix type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
z44d committed Jul 11, 2024
1 parent 8aa8b7e commit 296170b
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions tgram/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -3611,8 +3611,22 @@ def __init__(
chat: "Chat",
from_user: "User",
date: "int",
old_chat_member: "ChatMember",
new_chat_member: "ChatMember",
old_chat_member: Union[
"ChatMemberOwner",
"ChatMemberAdministrator",
"ChatMemberMember",
"ChatMemberRestricted",
"ChatMemberBanned",
"ChatMemberLeft",
],
new_chat_member: Union[
"ChatMemberOwner",
"ChatMemberAdministrator",
"ChatMemberMember",
"ChatMemberRestricted",
"ChatMemberBanned",
"ChatMemberLeft",
],
invite_link: "ChatInviteLink" = None,
via_join_request: "bool" = None,
via_chat_folder_invite_link: "bool" = None,
Expand Down

0 comments on commit 296170b

Please sign in to comment.