mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Update src/core/types/chat.rs
Co-Authored-By: Waffle Lapkin <waffle.lapkin@gmail.com>
This commit is contained in:
parent
5bfe47927d
commit
cc86b2a73d
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ pub struct Chat {
|
|||
#[serde(rename = "chat_id")]
|
||||
pub id: i64,
|
||||
#[serde(flatten)]
|
||||
pub chat_kind: ChatKind,
|
||||
pub kind: ChatKind,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub photo: Option<ChatPhoto>,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue