Add Document (core/types.rs)
@@ -95,3 +95,12 @@ pub struct ChatPermissions {
can_invite_users: Option<bool>,
can_pin_messages: Option<bool>,
}
+
+#[derive(Debug, Deserialize)]
+pub struct Document {
+ file_id: String,
+ thumb: Option<PhotoSize>,
+ file_name: Option<String>,
+ mime_type: Option<String>,
+ file_size: Option<i64>,
+}
\ No newline at end of file
