View Source Telegex.Type.InlineQueryResultPhoto (Telegex v1.8.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.

Summary

Types

@type t() :: %Telegex.Type.InlineQueryResultPhoto{
  caption: String.t() | nil,
  caption_entities: [Telegex.Type.MessageEntity.t()] | nil,
  description: String.t() | nil,
  id: String.t(),
  input_message_content: Telegex.Type.InputMessageContent.t() | nil,
  parse_mode: String.t() | nil,
  photo_height: integer() | nil,
  photo_url: String.t(),
  photo_width: integer() | nil,
  reply_markup: Telegex.Type.InlineKeyboardMarkup.t() | nil,
  show_caption_above_media: boolean() | nil,
  thumbnail_url: String.t(),
  title: String.t() | nil,
  type: String.t()
}