[][src]Enum grammers_tl_types::enums::MessageAction

pub enum MessageAction {
    Empty(MessageActionEmpty),
    ChatCreate(MessageActionChatCreate),
    ChatEditTitle(MessageActionChatEditTitle),
    ChatEditPhoto(MessageActionChatEditPhoto),
    ChatDeletePhoto(MessageActionChatDeletePhoto),
    ChatAddUser(MessageActionChatAddUser),
    ChatDeleteUser(MessageActionChatDeleteUser),
    ChatJoinedByLink(MessageActionChatJoinedByLink),
    ChannelCreate(MessageActionChannelCreate),
    ChatMigrateTo(MessageActionChatMigrateTo),
    ChannelMigrateFrom(MessageActionChannelMigrateFrom),
    PinMessage(MessageActionPinMessage),
    HistoryClear(MessageActionHistoryClear),
    GameScore(MessageActionGameScore),
    PaymentSentMe(MessageActionPaymentSentMe),
    PaymentSent(MessageActionPaymentSent),
    PhoneCall(MessageActionPhoneCall),
    ScreenshotTaken(MessageActionScreenshotTaken),
    CustomAction(MessageActionCustomAction),
    BotAllowed(MessageActionBotAllowed),
    SecureValuesSentMe(MessageActionSecureValuesSentMe),
    SecureValuesSent(MessageActionSecureValuesSent),
    ContactSignUp(MessageActionContactSignUp),
}

Variants

Trait Implementations

impl Clone for MessageAction[src]

impl Debug for MessageAction[src]

impl Deserializable for MessageAction[src]

impl From<MessageActionBotAllowed> for MessageAction[src]

impl From<MessageActionChannelCreate> for MessageAction[src]

impl From<MessageActionChannelMigrateFrom> for MessageAction[src]

impl From<MessageActionChatAddUser> for MessageAction[src]

impl From<MessageActionChatCreate> for MessageAction[src]

impl From<MessageActionChatDeletePhoto> for MessageAction[src]

impl From<MessageActionChatDeleteUser> for MessageAction[src]

impl From<MessageActionChatEditPhoto> for MessageAction[src]

impl From<MessageActionChatEditTitle> for MessageAction[src]

impl From<MessageActionChatJoinedByLink> for MessageAction[src]

impl From<MessageActionChatMigrateTo> for MessageAction[src]

impl From<MessageActionContactSignUp> for MessageAction[src]

impl From<MessageActionCustomAction> for MessageAction[src]

impl From<MessageActionEmpty> for MessageAction[src]

impl From<MessageActionGameScore> for MessageAction[src]

impl From<MessageActionHistoryClear> for MessageAction[src]

impl From<MessageActionPaymentSent> for MessageAction[src]

impl From<MessageActionPaymentSentMe> for MessageAction[src]

impl From<MessageActionPhoneCall> for MessageAction[src]

impl From<MessageActionPinMessage> for MessageAction[src]

impl From<MessageActionScreenshotTaken> for MessageAction[src]

impl From<MessageActionSecureValuesSent> for MessageAction[src]

impl From<MessageActionSecureValuesSentMe> for MessageAction[src]

impl PartialEq<MessageAction> for MessageAction[src]

impl Serializable for MessageAction[src]

impl StructuralPartialEq for MessageAction[src]

impl TryFrom<MessageAction> for MessageActionBotAllowed[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionChannelCreate[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionChatMigrateTo[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionContactSignUp[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionCustomAction[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionEmpty[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionGameScore[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionHistoryClear[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionPaymentSent[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionPaymentSentMe[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionPhoneCall[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionPinMessage[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionChannelMigrateFrom[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionScreenshotTaken[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionSecureValuesSent[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionSecureValuesSentMe[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionChatAddUser[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionChatCreate[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionChatDeletePhoto[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionChatDeleteUser[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionChatEditPhoto[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionChatEditTitle[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<MessageAction> for MessageActionChatJoinedByLink[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

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.