View Source ExGram.Model.InlineQueryResultCachedPhoto (ex_gram v0.53.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.

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

Summary

Types

@type t() :: %ExGram.Model.InlineQueryResultCachedPhoto{
  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_file_id: String.t(),
  reply_markup: ExGram.Model.InlineKeyboardMarkup.t() | nil,
  show_caption_above_media: boolean() | nil,
  title: String.t() | nil,
  type: String.t()
}

Functions