diff --git a/telethon/types/_custom/message.py b/telethon/types/_custom/message.py index d0db2220..8640f70c 100644 --- a/telethon/types/_custom/message.py +++ b/telethon/types/_custom/message.py @@ -1265,9 +1265,11 @@ class Message(ChatGetter, SenderGetter): await self.get_input_chat(), self.id) async def react(self, reaction=None): - # TODO Constantly checking if client is a bit annoying, - # maybe just make it illegal to call messages from raw API? - # That or figure out a way to always set it directly. + """ + Reacts on the given message. Shorthand for + `telethon.client.messages.MessageMethods.send_reaction` + with both ``entity`` and ``message`` already set. + """ if self._client: return await self._client.send_reaction( await self.get_input_chat(),