ExGram.Model.InputRichBlockDetails (ex_gram v0.69.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. Pass True if the content of the block is visible by default

Summary

Types

t()

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

Functions

decode_as()