RichTextDateTime
Formatted date and time.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the rich text, always “date_time” |
text | RichText | required | The text |
unix_time | number | required | The Unix time associated with the entity |
date_time_format | string | required | The string that defines the formatting of the date and time. See date-time entity formatting for more details. |
import
import type { RichTextDateTime } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#richtextdatetime