Struct telegram_typings::InputMediaVideo
[−]
[src]
pub struct InputMediaVideo { pub type_tl: String, pub media: String, pub caption: Option<String>, pub width: Option<i64>, pub height: Option<i64>, pub duration: Option<i64>, }
Represents a video to be sent.
Fields
type_tl: String
Type of the result, must be video
media: String
File to send. Pass a file_id to send a file that exists on the Telegram
servers (recommended), pass an HTTP URL for Telegram to get a file from
the Internet, or pass "attach://
Caption of the video to be sent, 0-200 characters
width: Option<i64>
Video width
height: Option<i64>
Video height
duration: Option<i64>
Video duration
Trait Implementations
impl Debug for InputMediaVideo
[src]
impl Clone for InputMediaVideo
[src]
fn clone(&self) -> InputMediaVideo
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more