ExGram.Model.RichBlockVideo (ex_gram v0.67.0)

Copy Markdown View Source

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

Check the documentation of this model on Telegram Bot API

  • type: Type of the block, always "video”
  • video: The video
  • has_spoiler (optional): Optional. True, if the media preview is covered by a spoiler animation
  • caption (optional): Optional. Caption of the block

Summary

Types

t()

@type t() :: %ExGram.Model.RichBlockVideo{
  caption: ExGram.Model.RichBlockCaption.t() | nil,
  has_spoiler: boolean() | nil,
  type: String.t(),
  video: ExGram.Model.Video.t()
}

Functions

decode_as()