[][src]Enum rust_tdlib::types::PushMessageContent

Contains content of a push message notification

Variants

An animation message (GIF-style).

An audio message

A newly created basic group

New chat members were invited to a group

A chat photo was edited

A chat title was edited

A chat member was deleted

A new member joined the chat by invite link

A message with a user contact

A contact has registered with Telegram

A document message (a general file)

A message with a game

A new high score was achieved in a game

A general message with hidden content

A message with an invoice from a bot

A message with a location

A media album

A forwarded messages

A photo message

A message with a poll

A screenshot of a message in the chat has been taken

A message with a sticker

A text message

A video message

A video note message

A voice note message

Implementations

impl PushMessageContent[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

Trait Implementations

impl AsRef<PushMessageContent> for PushMessageContent[src]

impl Clone for PushMessageContent[src]

impl Debug for PushMessageContent[src]

impl Default for PushMessageContent[src]

impl<'de> Deserialize<'de> for PushMessageContent[src]

impl RObject for PushMessageContent[src]

impl Serialize for PushMessageContent[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,