Struct tg_botapi::methods::SendVoice [−][src]
pub struct SendVoice {
pub chat_id: ChatId,
pub voice: InputFile,
pub caption: Option<String>,
pub parse_mode: ParseMode,
pub duration: Option<i64>,
pub disable_notification: Option<bool>,
pub reply_to_message_id: Option<i64>,
pub reply_markup: Option<ReplyMarkup>,
}
Fields
chat_id: ChatId
voice: InputFile
caption: Option<String>
parse_mode: ParseMode
duration: Option<i64>
disable_notification: Option<bool>
reply_to_message_id: Option<i64>
reply_markup: Option<ReplyMarkup>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SendVoice
impl UnwindSafe for SendVoice
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more