diff --git a/src/core/types.rs b/src/core/types.rs index bd9b6a68..3e085379 100644 --- a/src/core/types.rs +++ b/src/core/types.rs @@ -9,3 +9,20 @@ pub struct User { username: Option, language_code: Option, } + +#[derive(Debug, Deserialize)] +pub struct Chat { + id: i64, + chat_type: String, + title: Option, + username:Option, + first_name: Option, + last_name: Option, + photo: Option, + description: Option, + invite_link: Option, + pinned_message: Option, + permissions: Option, + sticker_set_name: Option, + can_set_sticker_set: Option, +} \ No newline at end of file