Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Commit

Permalink
More changes for Bot API 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alissonlauffer committed Nov 5, 2020
1 parent 7c1eefc commit 1ecc5b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions amanobot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ def sendDocument(self, chat_id, document,
thumb=None,
caption=None,
parse_mode=None,
disable_content_type_detection=None,
disable_notification=None,
reply_to_message_id=None,
reply_markup=None):
Expand Down
4 changes: 3 additions & 1 deletion amanobot/namedtuple.py
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,9 @@ def UpdateArray(data):
'media',
'thumb',
'caption',
'parse_mode'
'parse_mode',
_Field('caption_entities', constructor=MessageEntity),
'disable_content_type_detection'
])

# incoming
Expand Down

0 comments on commit 1ecc5b5

Please sign in to comment.