pyrofork: method: send_invoice: Message._parse is coroutine

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
RabbitFoRed 2024-07-06 15:14:32 +07:00 committed by wulan17
parent 83543da3e6
commit 48cf8bcb23
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5

View file

@ -188,7 +188,7 @@ class SendInvoice:
raw.types.UpdateNewChannelMessage
)
):
return types.Message._parse(
return await types.Message._parse(
self,
i.message,
users={i.id: i for i in r.users},