ExGram.Model.InputRichBlockPhoto (ex_gram v0.69.0)

Copy Markdown View Source

A block with a photo, corresponding to the HTML tag <img>.

Check the documentation of this model on Telegram Bot API

  • type: Type of the block, always "photo”
  • photo: The photo. Caption is ignored.
  • caption (optional): Optional. Caption of the block

Summary

Types

t()

@type t() :: %ExGram.Model.InputRichBlockPhoto{
  caption: ExGram.Model.RichBlockCaption.t() | nil,
  photo: ExGram.Model.InputMediaPhoto.t(),
  type: String.t()
}

Functions

decode_as()