Rich messages

RichTextDateTime

Formatted date and time.

fields

fieldtyperequireddescription
typestringrequiredType of the rich text, always “date_time”
textRichTextrequiredThe text
unix_timenumberrequiredThe Unix time associated with the entity
date_time_formatstringrequiredThe string that defines the formatting of the date and time. See date-time entity formatting for more details.

import

types.ts
import type { RichTextDateTime } from "@yaebal/types";

used by

types