From 8036a6cc27f2e078fa1674afb62b38ae03e384ad Mon Sep 17 00:00:00 2001 From: Devesh Pal Date: Sun, 23 Jan 2022 10:36:30 +0000 Subject: [PATCH] add new added missing attributes --- telethon/types/_custom/message.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/telethon/types/_custom/message.py b/telethon/types/_custom/message.py index 2b2e5c06..00dc61c6 100644 --- a/telethon/types/_custom/message.py +++ b/telethon/types/_custom/message.py @@ -189,6 +189,10 @@ class Message(ChatGetter, SenderGetter): The number of times this message has been forwarded. """) + noforwards = _fwd('noforwards', """ + does the message was sent with noforwards restriction. + """) + replies = _fwd('replies', """ The number of times another message has replied to this message. """) @@ -212,6 +216,10 @@ class Message(ChatGetter, SenderGetter): If the list is `None`, this message has not been restricted. """) + reactions = _fwd('reactions', """ + emoji reactions attached to the message. + """) + ttl_period = _fwd('ttl_period', """ The Time To Live period configured for this message. The message should be erased from wherever it's stored (memory, a