Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix type hint for InputMediaVideo’s thumb attribute #1262

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Apr 26, 2023

  1. Fix type hint for InputMediaVideo’s thumb attribute

    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 <[email protected]>
    roj1512 and Davide Galilei committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    7d6cecb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a9dc18b View commit details
    Browse the repository at this point in the history