ExGram.Model.RichBlockDocument (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 (optional): Optional. Caption of the block

Summary

Types

t()

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

Functions

decode_as()