Merge pull request #64 from teloxide/madiacontact-contact-patch

Make MediaContact::contact public
This commit is contained in:
Waffle Lapkin 2021-03-16 14:51:22 +03:00 committed by GitHub
commit 1d48a1158a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -319,7 +319,7 @@ pub struct MediaAudio {
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct MediaContact {
/// Message is a shared contact, information about the contact.
contact: Contact,
pub contact: Contact,
}
#[serde_with_macros::skip_serializing_none]