Fix renamed raw API function (#810)
`raw.functions.channels.DeleteUserHistory` to `raw.functions.channels.DeleteParticipantHistory`
This commit is contained in:
parent
bf9e186414
commit
cebecb99c0
@ -42,9 +42,9 @@ class DeleteUserHistory(Scaffold):
|
||||
"""
|
||||
|
||||
r = await self.send(
|
||||
raw.functions.channels.DeleteUserHistory(
|
||||
raw.functions.channels.DeleteParticipantHistory(
|
||||
channel=await self.resolve_peer(chat_id),
|
||||
user_id=await self.resolve_peer(user_id)
|
||||
participant=await self.resolve_peer(user_id)
|
||||
)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user