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

Expand description

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

Trait Implementations

Performs the conversion.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.