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_tl: String
Type of the result, must be contact
id: String
Unique identifier for this result, 1-64 Bytes
phone_number: String
Contact's phone number
first_name: String
Contact's first name
last_name: Option<String>
Contact's last name
reply_markup: Option<Box<InlineKeyboardMarkup>>
Inline keyboard attached to the message See https://core.telegram.org/bots/api/bots#inline-keyboards-and-on-the-fly-updating
input_message_content: Option<Box<InputMessageContent>>
Content of the message to be sent instead of the contact
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
impl Debug for InlineQueryResultContact
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for InlineQueryResultContact
[src]
fn clone(&self) -> InlineQueryResultContact
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more