InputMessageContent.contact constructor
const
InputMessageContent.contact({})
Represents the content of a contact message to be sent as the result of an inline query.
Implementation
const factory InputMessageContent.contact({
/// Contact's phone number
@JsonKey(name: 'phone_number') required final String phoneNumber,
/// Contact's first name
@JsonKey(name: 'first_name') required final String firstName,
/// Optional. Contact's last name
@JsonKey(name: 'last_name') final String? lastName,
/// Optional. Additional data about the contact in the form of a
/// [vCard](https://en.wikipedia.org/wiki/VCard), 0-2048 bytes
@JsonKey(name: 'vcard') final String? vcard,
}) = InputContactMessageContent;