sync function with layer 138

This commit is contained in:
Shrimadhav U K 2022-02-05 22:38:33 +05:30 committed by GitHub
parent 5144dd78c3
commit e6d62a65d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -743,7 +743,8 @@ async def send_reaction(
self: 'TelegramClient',
entity: 'hints.EntityLike',
message: 'hints.MessageIDLike',
reaction: typing.Optional[str] = None
reaction: typing.Optional[str] = None,
big: bool = False
):
message = utils.get_message_id(message) or 0
if not reaction:
@ -758,6 +759,7 @@ async def send_reaction(
)
).value.value
request = _tl.fn.messages.SendReaction(
big=big,
peer=entity,
msg_id=message,
reaction=reaction