Skip to content

bug: send_video ignores caption and other opts when sending by file_id #30

@Kotazver

Description

@Kotazver

Hi! I found a bug in api.send_video function. When sending a video, the caption field is ignored by Telegram because it's being sent in the query parameters (first table of api.request), while the video itself is sent as multipart/form-data (second table). According to Telegram Bot API, when using multipart/form-data, all parameters should be included in the multipart body.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions