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