ExGram.Model.InputRichBlockListItem (ex_gram v0.69.0)

Copy Markdown View Source

An item of a list to be sent.

Check the documentation of this model on Telegram Bot API

  • blocks: The content of the item
  • has_checkbox (optional): Optional. Pass True if the item has a checkbox
  • is_checked (optional): Optional. Pass True if the item has a checked checkbox
  • value (optional): Optional. For ordered lists, the numeric value of the item label
  • type (optional): Optional. For ordered lists, the type of the item label; must be one of "a” for lowercase letters, "A” for uppercase letters, "i” for lowercase Roman numerals, "I” for uppercase Roman numerals, or "1” for decimal numbers

Summary

Types

t()

@type t() :: %ExGram.Model.InputRichBlockListItem{
  blocks: [ExGram.Model.InputRichBlock.t()],
  has_checkbox: boolean() | nil,
  is_checked: boolean() | nil,
  type: String.t() | nil,
  value: integer() | nil
}

Functions

decode_as()