Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Fix type hint for InputMediaVideo’s thumb attribute - #1262

Open
rojvv wants to merge 2 commits into
pyrogram:masterfrom
rojvv:patch-1
Open

rojvv wants to merge 2 commits into
pyrogram:masterfrom
rojvv:patch-1

Conversation

@rojvv

@rojvv rojvv commented Apr 26, 2023

Copy link
Copy Markdown
Contributor

The thumb attribute can also be a BinaryIO as it is passed to a method in a position that can also accept a BinaryIO.

rojvv and others added 2 commits April 26, 2023 20:51
The thumb attribute can also be a `BinaryIO` as it is [passed](https://github.com/pyrogram/pyrogram/blob/master/pyrogram/methods/messages/send_media_group.py#L165) to a method in a position that can also accept a `BinaryIO`.

Co-authored-by: Davide Galilei <DavideGalilei+43778739@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant