telegramx.js

RichTextDateTime

interface

Formatted date and time.

Declaration

interface RichTextDateTime 

Properties

date_time_format: string;

The string that defines the formatting of the date and time. See date-time entity formatting for more details.

textproperty#
text: RichText;

The text

typeproperty#
type: 'date_time';

Type of the rich text, always "date_time"

unix_timeproperty#
unix_time: number;

The Unix time associated with the entity