[][src]Struct grammers_tl_types::functions::messages::SendMedia

pub struct SendMedia {
    pub silent: bool,
    pub background: bool,
    pub clear_draft: bool,
    pub peer: InputPeer,
    pub reply_to_msg_id: Option<i32>,
    pub media: InputMedia,
    pub message: String,
    pub random_id: i64,
    pub reply_markup: Option<ReplyMarkup>,
    pub entities: Option<Vec<MessageEntity>>,
    pub schedule_date: Option<i32>,
}

Fields

silent: boolbackground: boolclear_draft: boolpeer: InputPeerreply_to_msg_id: Option<i32>media: InputMediamessage: Stringrandom_id: i64reply_markup: Option<ReplyMarkup>entities: Option<Vec<MessageEntity>>schedule_date: Option<i32>

Trait Implementations

impl Clone for SendMedia[src]

impl Debug for SendMedia[src]

impl Identifiable for SendMedia[src]

impl PartialEq<SendMedia> for SendMedia[src]

impl RemoteCall for SendMedia[src]

type Return = Updates

The type of the "return" value coming from the other end of the connection. Read more

impl Serializable for SendMedia[src]

impl StructuralPartialEq for SendMedia[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.