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: ChatThe chat in which the change occured.
from: UserThe user who caused the change.
date: i64Timestamp when this change occured.
before: MemberPrevious information about the member.
after: MemberNew 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