ExGram.Model.RichTextDateTime (ex_gram v0.67.0)

Copy Markdown View Source

Formatted date and time.

Check the documentation of this model on Telegram Bot API

  • type: Type of the rich text, always "date_time”
  • text: The text
  • unix_time: The Unix time associated with the entity
  • date_time_format: The string that defines the formatting of the date and time. See date-time entity formatting for more details.

Summary

Types

t()

@type t() :: %ExGram.Model.RichTextDateTime{
  date_time_format: String.t(),
  text: ExGram.Model.RichText.t(),
  type: String.t(),
  unix_time: integer()
}

Functions

decode_as()