Type Hinting Fix for Message.effective_attachment (#3294)

This commit is contained in:
Harshil 2022-10-18 00:08:53 +05:30 committed by GitHub
parent eb818da93f
commit 210f9afd66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -660,10 +660,11 @@ class Message(TelegramObject):
def effective_attachment(
self,
) -> Union[
Animation,
Audio,
Contact,
Dice,
Document,
Animation,
Game,
Invoice,
Location,