diff --git a/telethon/_client/messages.py b/telethon/_client/messages.py index c2f7ff89..067243ee 100644 --- a/telethon/_client/messages.py +++ b/telethon/_client/messages.py @@ -755,10 +755,11 @@ async def send_reaction( entity: 'hints.DialogLike', message: 'hints.MessageIDLike', reaction: typing.Optional[str] = None, - big: bool = False + big: bool = False, + use_default: bool = False ): message = utils.get_message_id(message) or 0 - if not reaction: + if not reaction and use_default: get_default_request = _tl.fn.help.GetAppConfig() app_config = await self(get_default_request) reaction = ( diff --git a/telethon/types/_custom/message.py b/telethon/types/_custom/message.py index 8a8460fa..afb474bc 100644 --- a/telethon/types/_custom/message.py +++ b/telethon/types/_custom/message.py @@ -1251,7 +1251,7 @@ class Message(ChatGetter, SenderGetter): return await self._client.unpin_message( await self.get_input_chat(), self.id) - async def react(self, reaction=None): + async def react(self, reaction=None, big=False, use_default=False): """ Reacts on the given message. Shorthand for `telethon.client.messages.MessageMethods.send_reaction` @@ -1261,7 +1261,9 @@ class Message(ChatGetter, SenderGetter): return await self._client.send_reaction( await self.get_input_chat(), self.id, - reaction + reaction, + big, + use_default ) # endregion Public Methods