Struct telbot_types::chat::ChatMemberUpdated[][src]

pub struct ChatMemberUpdated {
    pub chat: Chat,
    pub from: User,
    pub date: u64,
    pub old_chat_member: ChatMember,
    pub new_chat_member: ChatMember,
    pub invite_link: Option<ChatInviteLink>,
}
Expand description

This object represents changes in the status of a chat member.

Fields

chat: Chat

Chat the user belongs to

from: User

Performer of the action, which resulted in the change

date: u64

Date the change was done in Unix time

old_chat_member: ChatMember

Previous information about the chat member

new_chat_member: ChatMember

New information about the chat member

invite_link: Option<ChatInviteLink>

Chat invite link, which was used by the user to join the chat; for joining by invite link events only.

Trait Implementations

Deserialize this value from the given Serde deserializer. 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 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.