Wrap buttons typehint in Optional

Closes #3762.
This commit is contained in:
Lonami Exo
2022-09-20 18:03:16 +02:00
parent 5a17397fc7
commit 2d4305db76
2 changed files with 3 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ class UploadMethods:
formatting_entities: typing.Optional[typing.List[types.TypeMessageEntity]] = None,
voice_note: bool = False,
video_note: bool = False,
buttons: 'hints.MarkupLike' = None,
buttons: typing.Optional['hints.MarkupLike'] = None,
silent: bool = None,
background: bool = None,
supports_streaming: bool = False,