1
0
Fork 0

fix: adjust signature of BaseSession.on_correct()

This commit is contained in:
nicoco 2023-12-21 22:21:54 +01:00
parent 677fffa0c2
commit 2c92f06d68
1 changed files with 6 additions and 1 deletions

View File

@ -384,7 +384,12 @@ class Session(BaseSession[str, Recipient]):
self.whatsapp.SendMessage(message)
async def on_correct(
self, c: Recipient, text: str, legacy_msg_id: str, thread=None
self,
c: Recipient,
text: str,
legacy_msg_id: str,
thread=None,
link_previews=(),
):
"""
Request correction (aka editing) for a given WhatsApp message.