mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Correctly deserialize Message::thread_id
This commit is contained in:
parent
b7c34f8bdb
commit
6a2f5d7f2f
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ pub struct Message {
|
||||||
/// Unique identifier of a message thread to which the message belongs; for
|
/// Unique identifier of a message thread to which the message belongs; for
|
||||||
/// supergroups only.
|
/// supergroups only.
|
||||||
// FIXME: MessageThreadId or such
|
// FIXME: MessageThreadId or such
|
||||||
|
#[serde(rename = "message_thread_id")]
|
||||||
pub thread_id: Option<i32>,
|
pub thread_id: Option<i32>,
|
||||||
|
|
||||||
/// Date the message was sent in Unix time.
|
/// Date the message was sent in Unix time.
|
||||||
|
|
Loading…
Reference in a new issue