Skip to content

Commit

Permalink
Issue #215: "TypeError: __init__() got an unexpected keyword argument…
Browse files Browse the repository at this point in the history
… 'reply_to_msg_id'" in command - "telegram-upload --directories "recursive" --album"
  • Loading branch information
Nekmo committed Aug 4, 2023
1 parent 7f67a30 commit f2ab00f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions telegram_upload/client/telegram_upload_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ def forward_to(self, message, destinations):
async def _send_album_media(self, entity, media):
entity = await self.get_input_entity(entity)
request = functions.messages.SendMultiMediaRequest(
entity, reply_to_msg_id=None, multi_media=media,
silent=None, schedule_date=None, clear_draft=None
entity, multi_media=media, silent=None, schedule_date=None, clear_draft=None
)
result = await self(request)

Expand Down

0 comments on commit f2ab00f

Please sign in to comment.