Struct tg_botapi::methods::SendPhoto [−][src]
pub struct SendPhoto {
pub chat_id: ChatId,
pub photo: InputFile,
pub caption: Option<String>,
pub parse_mode: ParseMode,
pub disable_notification: Option<bool>,
pub reply_to_message_id: Option<i64>,
pub reply_markup: Option<ReplyMarkup>,
}
Fields
chat_id: ChatId
photo: InputFile
parse_mode: ParseMode
disable_notification: Option<bool>
reply_to_message_id: Option<i64>
reply_markup: Option<ReplyMarkup>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SendPhoto
impl UnwindSafe for SendPhoto
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