Struct telegram_bot_ars::types::InlineQueryResultContact
source · pub struct InlineQueryResultContact {
pub id: String,
pub phone_number: String,
pub first_name: String,
pub last_name: String,
pub vcard: String,
pub reply_markup: Option<InlineKeyboardMarkup>,
pub input_message_content: Option<InputMessageContent>,
pub thumb_url: Option<String>,
pub thumb_width: Option<i64>,
pub thumb_height: Option<i64>,
}Fields§
§id: StringUnique identifier for this result, 1-64 Bytes
phone_number: StringContact’s phone number
first_name: StringContact’s first name
last_name: StringContact’s last name
vcard: StringAdditional data about the contact in the form of a vCard, 0-2048 bytes
reply_markup: Option<InlineKeyboardMarkup>Inline keyboard attached to the message
input_message_content: Option<InputMessageContent>Content of the message to be sent
thumb_url: Option<String>Url of the thumbnail for the result
thumb_width: Option<i64>Thumbnail width
thumb_height: Option<i64>Thumbnail height
Trait Implementations§
source§impl Debug for InlineQueryResultContact
impl Debug for InlineQueryResultContact
source§impl From<InlineQueryResultContact> for InlineQueryResult
impl From<InlineQueryResultContact> for InlineQueryResult
source§fn from(contact: InlineQueryResultContact) -> InlineQueryResult
fn from(contact: InlineQueryResultContact) -> InlineQueryResult
Converts to this type from the input type.
source§impl Serialize for InlineQueryResultContact
impl Serialize for InlineQueryResultContact
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more