Struct telegram_typings::InlineQueryResultContact [] [src]

pub struct InlineQueryResultContact {
    pub type_tl: String,
    pub id: String,
    pub phone_number: String,
    pub first_name: String,
    pub last_name: Option<String>,
    pub reply_markup: Option<Box<InlineKeyboardMarkup>>,
    pub input_message_content: Option<Box<InputMessageContent>>,
    pub thumb_url: Option<String>,
    pub thumb_width: Option<i64>,
    pub thumb_height: Option<i64>,
}

Represents a contact with a phone number. By default, this contact will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the contact.

Fields

Type of the result, must be contact

Unique identifier for this result, 1-64 Bytes

Contact's phone number

Contact's first name

Contact's last name

Inline keyboard attached to the message See https://core.telegram.org/bots/api/bots#inline-keyboards-and-on-the-fly-updating

Content of the message to be sent instead of the contact

Url of the thumbnail for the result

Thumbnail width

Thumbnail height

Trait Implementations

impl Debug for InlineQueryResultContact
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for InlineQueryResultContact
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations