ExGram.Model.RichBlockDetails (ex_gram v0.67.0)

Copy Markdown View Source

An expandable block for details disclosure, corresponding to the HTML tag <details>.

Check the documentation of this model on Telegram Bot API

  • type: Type of the block, always "details”
  • summary: Always shown summary of the block
  • blocks: Content of the block
  • is_open (optional): Optional. True, if the content of the block is visible by default

Summary

Types

t()

@type t() :: %ExGram.Model.RichBlockDetails{
  blocks: [ExGram.Model.RichBlock.t()],
  is_open: boolean() | nil,
  summary: ExGram.Model.RichText.t(),
  type: String.t()
}

Functions

decode_as()