View Source Telegex.Type.InlineQueryResultCachedPhoto (Telegex v1.8.0)

Represents a link to a photo stored on the Telegram servers. By default, this photo will be sent by the user with an 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.InlineQueryResultCachedPhoto{
  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_file_id: String.t(),
  reply_markup: Telegex.Type.InlineKeyboardMarkup.t() | nil,
  show_caption_above_media: boolean() | nil,
  title: String.t() | nil,
  type: String.t()
}