ExGram.Model.InputRichBlockAudio (ex_gram v0.69.0)

Copy Markdown View Source

A block with a music file, corresponding to the HTML tag <audio>.

Check the documentation of this model on Telegram Bot API

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

Summary

Types

t()

@type t() :: %ExGram.Model.InputRichBlockAudio{
  audio: ExGram.Model.InputMediaAudio.t(),
  caption: ExGram.Model.RichBlockCaption.t() | nil,
  type: String.t()
}

Functions

decode_as()