ExGram.Model.RichBlockAnimation (ex_gram v0.67.0)

Copy Markdown View Source

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

Check the documentation of this model on Telegram Bot API

  • type: Type of the block, always "animation”
  • animation: The animation
  • 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.RichBlockAnimation{
  animation: ExGram.Model.Animation.t(),
  caption: ExGram.Model.RichBlockCaption.t() | nil,
  has_spoiler: boolean() | nil,
  type: String.t()
}

Functions

decode_as()