View Source ExGram.Model.InlineQueryResultPhoto (ex_gram v0.53.0)
Represents a link to a photo. By default, this photo will be sent by the user with optional caption. Alternatively, you can use input_message_content to send a message with the specified content instead of the photo.
Check the documentation of this model in https://core.telegram.org/bots/api#inlinequeryresultphoto
Summary
Types
@type t() :: %ExGram.Model.InlineQueryResultPhoto{ caption: String.t() | nil, caption_entities: [ExGram.Model.MessageEntity.t()] | nil, description: String.t() | nil, id: String.t(), input_message_content: ExGram.Model.InputMessageContent.t() | nil, parse_mode: String.t() | nil, photo_height: integer() | nil, photo_url: String.t(), photo_width: integer() | nil, reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | nil, show_caption_above_media: boolean() | nil, thumbnail_url: String.t(), title: String.t() | nil, type: String.t() }