conogram/entities/chat_member_left.rs
1use serde::{Deserialize, Serialize};
2
3use crate::entities::user::User;
4
5/// Represents a [chat member](https://core.telegram.org/bots/api/#chatmember) that isn't currently a member of the chat, but may join it themselves.
6///
7/// API Reference: [link](https://core.telegram.org/bots/api/#chatmemberleft)
8#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
9pub struct ChatMemberLeft {
10 /// Information about the user
11 pub user: User,
12}
13
14// Divider: all content below this line will be preserved after code regen