mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
This commit is contained in:
parent
2cf6b22a69
commit
b3103183d7
1 changed files with 1 additions and 1 deletions
|
|
@ -309,6 +309,7 @@ class MediaGroup(base.TelegramObject):
|
|||
width=width, height=height, duration=duration,
|
||||
parse_mode=parse_mode)
|
||||
self.attach(animation)
|
||||
'''
|
||||
|
||||
def attach_audio(self, audio: base.InputFile,
|
||||
thumb: typing.Union[base.InputFile, base.String] = None,
|
||||
|
|
@ -351,7 +352,6 @@ class MediaGroup(base.TelegramObject):
|
|||
if not isinstance(document, InputMedia):
|
||||
document = InputMediaDocument(media=document, thumb=thumb, caption=caption, parse_mode=parse_mode)
|
||||
self.attach(document)
|
||||
'''
|
||||
|
||||
def attach_photo(self, photo: typing.Union[InputMediaPhoto, base.InputFile],
|
||||
caption: base.String = None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue