Struct tg_botapi::methods::SendInvoice [−][src]
pub struct SendInvoice {Show 20 fields
pub chat_id: i64,
pub title: String,
pub description: String,
pub payload: String,
pub provider_token: String,
pub start_paramater: String,
pub currency: String,
pub prices: Vec<LabeledPrice>,
pub photo_url: Option<String>,
pub photo_size: Option<i64>,
pub photo_width: Option<i64>,
pub photo_height: Option<i64>,
pub need_name: Option<bool>,
pub need_phone_number: Option<bool>,
pub need_email: Option<bool>,
pub need_shipping_address: Option<bool>,
pub is_flexible: Option<bool>,
pub disable_notification: Option<bool>,
pub reply_to_message_id: Option<i64>,
pub reply_markup: Option<InlineKeyboardMarkup>,
}
Fields
chat_id: i64
title: String
description: String
payload: String
provider_token: String
start_paramater: String
currency: String
prices: Vec<LabeledPrice>
photo_url: Option<String>
photo_size: Option<i64>
photo_width: Option<i64>
photo_height: Option<i64>
need_name: Option<bool>
need_phone_number: Option<bool>
need_email: Option<bool>
need_shipping_address: Option<bool>
is_flexible: Option<bool>
disable_notification: Option<bool>
reply_to_message_id: Option<i64>
reply_markup: Option<InlineKeyboardMarkup>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SendInvoice
impl Send for SendInvoice
impl Sync for SendInvoice
impl Unpin for SendInvoice
impl UnwindSafe for SendInvoice
Blanket Implementations
Mutably borrows from an owned value. Read more
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