Correctly deserialize Message::thread_id

This commit is contained in:
Maybe Waffle 2023-02-01 16:57:10 +04:00
parent b7c34f8bdb
commit 6a2f5d7f2f

View file

@ -26,6 +26,7 @@ pub struct Message {
/// Unique identifier of a message thread to which the message belongs; for
/// supergroups only.
// FIXME: MessageThreadId or such
#[serde(rename = "message_thread_id")]
pub thread_id: Option<i32>,
/// Date the message was sent in Unix time.