Struct frankenstein::api_params::SendVideoParams [−][src]
pub struct SendVideoParams {Show 14 fields
pub chat_id: ChatId,
pub video: File,
pub duration: Option<u32>,
pub width: Option<u32>,
pub height: Option<u32>,
pub thumb: Option<File>,
pub caption: Option<String>,
pub parse_mode: Option<String>,
pub caption_entities: Option<Vec<MessageEntity>>,
pub supports_streaming: Option<bool>,
pub disable_notification: Option<bool>,
pub reply_to_message_id: Option<i32>,
pub allow_sending_without_reply: Option<bool>,
pub reply_markup: Option<ReplyMarkup>,
}
Fields
chat_id: ChatId
video: File
duration: Option<u32>
width: Option<u32>
height: Option<u32>
thumb: Option<File>
parse_mode: Option<String>
supports_streaming: Option<bool>
disable_notification: Option<bool>
reply_to_message_id: Option<i32>
allow_sending_without_reply: Option<bool>
reply_markup: Option<ReplyMarkup>
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SendVideoParams
impl Send for SendVideoParams
impl Sync for SendVideoParams
impl Unpin for SendVideoParams
impl UnwindSafe for SendVideoParams
Blanket Implementations
Mutably borrows from an owned value. Read more