View Source ExGram.Model.InlineQueryResultContact (ex_gram v0.51.0)

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.

Check the documentation of this model in https://core.telegram.org/bots/api#inlinequeryresultcontact

Summary

Types

@type t() :: %ExGram.Model.InlineQueryResultContact{
  first_name: String.t(),
  id: String.t(),
  input_message_content: ExGram.Model.InputMessageContent.t() | nil,
  last_name: String.t() | nil,
  phone_number: String.t(),
  reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | nil,
  thumbnail_height: integer() | nil,
  thumbnail_url: String.t() | nil,
  thumbnail_width: integer() | nil,
  type: String.t(),
  vcard: String.t() | nil
}

Functions