ExGram.Model.RichBlockSectionHeading (ex_gram v0.67.0)

Copy Markdown View Source

A section heading, corresponding to the HTML tags <h1>, <h2>, <h3>, <h4>, <h5>, or <h6>.

Check the documentation of this model on Telegram Bot API

  • type: Type of the block, always "heading”
  • text: Text of the block
  • size: Relative size of the text font; 1-6, 1 is the largest, 6 is the smallest

Summary

Types

t()

@type t() :: %ExGram.Model.RichBlockSectionHeading{
  size: integer(),
  text: ExGram.Model.RichText.t(),
  type: String.t()
}

Functions

decode_as()