ExGram.Model.InputRichBlockDocument (ex_gram v0.70.0)

Copy Markdown View Source

A block with a general file, corresponding to the custom HTML tag <tg-document>.

Check the documentation of this model on Telegram Bot API

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

Summary

Types

t()

@type t() :: %ExGram.Model.InputRichBlockDocument{
  caption: ExGram.Model.RichBlockCaption.t() | nil,
  document: ExGram.Model.InputMediaDocument.t(),
  type: String.t()
}

Functions

decode_as()