ExGram.Model.RichBlockTableCell (ex_gram v0.67.0)

Copy Markdown View Source

Cell in a table.

Check the documentation of this model on Telegram Bot API

  • align: Horizontal cell content alignment. Currently, must be one of "left”, "center”, or "right”.
  • valign: Vertical cell content alignment. Currently, must be one of "top”, "middle”, or "bottom”.
  • text (optional): Optional. Text in the cell. If omitted, then the cell is invisible.
  • is_header (optional): Optional. True, if the cell is a header cell
  • colspan (optional): Optional. The number of columns the cell spans if it is bigger than 1
  • rowspan (optional): Optional. The number of rows the cell spans if it is bigger than 1

Summary

Types

t()

@type t() :: %ExGram.Model.RichBlockTableCell{
  align: String.t(),
  colspan: integer() | nil,
  is_header: boolean() | nil,
  rowspan: integer() | nil,
  text: ExGram.Model.RichText.t() | nil,
  valign: String.t()
}

Functions

decode_as()