diff --git a/crates/teloxide-core/src/types/message_id.rs b/crates/teloxide-core/src/types/message_id.rs index 31cbd20c..c9c405ae 100644 --- a/crates/teloxide-core/src/types/message_id.rs +++ b/crates/teloxide-core/src/types/message_id.rs @@ -1,7 +1,7 @@ use serde::{Deserialize, Serialize}; /// A unique message identifier. -#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)] +#[derive(Clone, Copy, Debug, derive_more::Display, PartialEq, Eq, Hash, Serialize, Deserialize)] #[serde(from = "MessageIdRaw", into = "MessageIdRaw")] pub struct MessageId(pub i32);