MessageEntityFormattedDate
- class pyrogram.raw.types.MessageEntityFormattedDate
Telegram API type.
Constructor of
MessageEntity.- Details:
Layer:
223ID:
904AC7C7
- Parameters:
offset (
int32-bit) – N/Alength (
int32-bit) – N/Adate (
int32-bit) – N/Arelative (
bool, optional) – N/Ashort_time (
bool, optional) – N/Along_time (
bool, optional) – N/Ashort_date (
bool, optional) – N/Along_date (
bool, optional) – N/Aday_of_week (
bool, optional) – N/A
TL Schema
messageEntityFormattedDate#904ac7c7
flags:#
relative:flags.0?true
short_time:flags.1?true
long_time:flags.2?true
short_date:flags.3?true
long_date:flags.4?true
day_of_week:flags.5?true
offset:int
length:int
date:int
= MessageEntity
Parameter Tree
MessageEntityFormattedDate
├── relative →
true (optional)├── short_time →
true (optional)├── long_time →
true (optional)├── short_date →
true (optional)├── long_date →
true (optional)├── day_of_week →
true (optional)├── offset →
int├── length →
int└── date →
intExample
MessageEntityFormattedDate(
offset=0,
length=0,
date=0,
)