ExGram.Model.InlineQueryResultPhoto (ex_gram v0.40.0) View Source
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
Link to this section Summary
Link to this section Types
Specs
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,
thumbnail_url: String.t(),
title: String.t() | nil,
type: String.t()
}