You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
client.send_photo() has a default photo_width parameter of None, which attempts to construct a InputMessagePhoto with None as width, raising a pydantic validation error. A workaround is to pass 0. Same goes for photo_height, added_sticker_file_ids which is None when it should be an empty list.
send_video() and send_audio() have similar issues.
The text was updated successfully, but these errors were encountered:
client.send_photo()
has a defaultphoto_width
parameter ofNone
, which attempts to construct aInputMessagePhoto
withNone
as width, raising a pydantic validation error. A workaround is to pass 0. Same goes forphoto_height
,added_sticker_file_ids
which isNone
when it should be an empty list.send_video()
andsend_audio()
have similar issues.The text was updated successfully, but these errors were encountered: