StaticGramBot API

RichTextDateTime

Formatted date and time.

Поля

typeString
Type of the rich text, always “date_time”
The text
unix_timeInteger
The Unix time associated with the entity
The string that defines the formatting of the date and time. See date-time entity formatting for more details.

Минимальный JSON

JSON
{
  "type": "date_time",
  "text": {
    "type": "bold",
    "text": {}
  },
  "unix_time": 1,
  "date_time_format": "..."
}

Где используется

Типы

Описания методов и типов взяты из официальной документации Telegram Bot API (Bot API 10.3). Адрес API: https://api.staticgram.top