mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-18 15:20:42 +01:00
Type Hinting Fix for Message.effective_attachment
(#3294)
This commit is contained in:
parent
eb818da93f
commit
210f9afd66
1 changed files with 2 additions and 1 deletions
|
@ -660,10 +660,11 @@ class Message(TelegramObject):
|
||||||
def effective_attachment(
|
def effective_attachment(
|
||||||
self,
|
self,
|
||||||
) -> Union[
|
) -> Union[
|
||||||
|
Animation,
|
||||||
|
Audio,
|
||||||
Contact,
|
Contact,
|
||||||
Dice,
|
Dice,
|
||||||
Document,
|
Document,
|
||||||
Animation,
|
|
||||||
Game,
|
Game,
|
||||||
Invoice,
|
Invoice,
|
||||||
Location,
|
Location,
|
||||||
|
|
Loading…
Reference in a new issue