Closed
Description
Both of current costructors has required field inputMessageContent
or wrapped for same reasons messageText
The thing is
input_message_content | InputMessageContent | Optional. Content of the message to be sent instead of the video. This field is required if InlineQueryResultVideo is used to send an HTML-page as a result (e.g., a YouTube video).
so there's no option to actually send video from inline right now.
Using both of available constructors, choosen inline result replacing with messageText instead of video
Suggested resolution: one simple ( and I believe it should be the main) constructor with only neccessary arguments
public InlineQueryResultVideo(String id, String videoUrl, String mimeType, String thumbUrl, String title) {
super("video", id);
this.video_url = videoUrl;
this.mime_type = mimeType;
this.thumbnail_url = thumbUrl;
this.title = title;
}
Metadata
Metadata
Assignees
Labels
No labels