Struct tg_botapi::methods::SendPoll [−][src]
pub struct SendPoll {
pub chat_id: ChatId,
pub question: String,
pub options: Vec<String>,
pub disable_notification: Option<bool>,
pub reply_to_message_id: Option<i64>,
pub reply_markup: Option<ReplyMarkup>,
}
Fields
chat_id: ChatId
question: String
options: Vec<String>
disable_notification: Option<bool>
reply_to_message_id: Option<i64>
reply_markup: Option<ReplyMarkup>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SendPoll
impl UnwindSafe for SendPoll
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