Fix renamed raw API function (#810)

`raw.functions.channels.DeleteUserHistory` to `raw.functions.channels.DeleteParticipantHistory`
This commit is contained in:
Abir Hasan 2021-12-13 18:20:55 +06:00 committed by GitHub
parent bf9e186414
commit cebecb99c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,9 +42,9 @@ class DeleteUserHistory(Scaffold):
""" """
r = await self.send( r = await self.send(
raw.functions.channels.DeleteUserHistory( raw.functions.channels.DeleteParticipantHistory(
channel=await self.resolve_peer(chat_id), channel=await self.resolve_peer(chat_id),
user_id=await self.resolve_peer(user_id) participant=await self.resolve_peer(user_id)
) )
) )