Update src/core/types/chat.rs

Co-Authored-By: Waffle Lapkin <waffle.lapkin@gmail.com>
This commit is contained in:
Andrew Andersen 2019-09-07 18:28:06 +03:00 committed by GitHub
parent cc86b2a73d
commit bca625a9b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ pub enum ChatKind {
NonPrivate {
title: Option<String>,
#[serde(flatten)]
non_private_chat_kind: NonPrivateChatKind,
kind: NonPrivateChatKind,
description: Option<String>,
invite_link: Option<String>,
pinned_message: Option<Box<Message>>,