pub struct InputBotInlineMessageMediaInvoice {
pub title: String,
pub description: String,
pub photo: Option<InputWebDocument>,
pub invoice: Invoice,
pub payload: Vec<u8>,
pub provider: String,
pub provider_data: DataJson,
pub reply_markup: Option<ReplyMarkup>,
}Expand description
Read inputBotInlineMessageMediaInvoice docs.
Generated from the following TL definition:
inputBotInlineMessageMediaInvoice#d7e78225 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON reply_markup:flags.2?ReplyMarkup = InputBotInlineMessageFields§
§title: String§description: String§photo: Option<InputWebDocument>§invoice: Invoice§payload: Vec<u8>§provider: String§provider_data: DataJson§reply_markup: Option<ReplyMarkup>Trait Implementations§
Source§impl Clone for InputBotInlineMessageMediaInvoice
impl Clone for InputBotInlineMessageMediaInvoice
Source§fn clone(&self) -> InputBotInlineMessageMediaInvoice
fn clone(&self) -> InputBotInlineMessageMediaInvoice
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<InputBotInlineMessageMediaInvoice> for InputBotInlineMessage
impl From<InputBotInlineMessageMediaInvoice> for InputBotInlineMessage
Source§fn from(x: InputBotInlineMessageMediaInvoice) -> Self
fn from(x: InputBotInlineMessageMediaInvoice) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputBotInlineMessageMediaInvoice
impl Identifiable for InputBotInlineMessageMediaInvoice
Source§const CONSTRUCTOR_ID: u32 = 3622273573
const CONSTRUCTOR_ID: u32 = 3622273573
The unique identifier for the type.
Source§impl PartialEq for InputBotInlineMessageMediaInvoice
impl PartialEq for InputBotInlineMessageMediaInvoice
Source§fn eq(&self, other: &InputBotInlineMessageMediaInvoice) -> bool
fn eq(&self, other: &InputBotInlineMessageMediaInvoice) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InputBotInlineMessageMediaInvoice
Auto Trait Implementations§
impl Freeze for InputBotInlineMessageMediaInvoice
impl RefUnwindSafe for InputBotInlineMessageMediaInvoice
impl Send for InputBotInlineMessageMediaInvoice
impl Sync for InputBotInlineMessageMediaInvoice
impl Unpin for InputBotInlineMessageMediaInvoice
impl UnsafeUnpin for InputBotInlineMessageMediaInvoice
impl UnwindSafe for InputBotInlineMessageMediaInvoice
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more