diff --git a/src/core/types.rs b/src/core/types.rs index 1a4468c7..7143d846 100644 --- a/src/core/types.rs +++ b/src/core/types.rs @@ -27,6 +27,57 @@ pub struct Chat { can_set_sticker_set: Option, } +#[derive(Debug, Deserialize)] +pub struct Message { + message_id: i64, + from: Option, + date: i64, + chat: Chat, + forward_from: Option, + forward_from_chat: Option, + forward_from_message_id: Option, + forward_signature: Option, + forward_sender_name: Option, + forward_date: Option, + reply_to_message: Option, + edit_date: Option, + media_group_id: Option, + author_signature: Option, + text: Option, + entities: Option>, + caption_entities: Option>, + audio: Option