pub struct Updated {
pub chat: Chat,
pub from: User,
pub date: i64,
pub before: Member,
pub after: Member,
pub invite_link: Option<InviteLink>,
}
Expand description
Represents changes about a chat member’s status.
See ChatMemberUpdated
from Bot API docs.
Fields§
§chat: Chat
The chat in which the change occured.
from: User
The user who caused the change.
date: i64
Timestamp when this change occured.
before: Member
Previous information about the member.
after: Member
New information about the member.
invite_link: Option<InviteLink>
The invite link which the user used to join the chat.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Updated
impl<'de> Deserialize<'de> for Updated
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more