RichTextDateTime¶
- class pyrogram.types.RichTextDateTime[source]¶
Formatted date and time.
- Parameters:
text (
RichText) – The text.date (
datetime.datetime) – The date associated with the entity.date_time_format (
str, optional) – The string that defines the formatting of the date and time. See date-time entity formatting for more details.