mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 22:34:52 +00:00
Fix renamed raw API function (#810)
`raw.functions.channels.DeleteUserHistory` to `raw.functions.channels.DeleteParticipantHistory`
This commit is contained in:
parent
bf9e186414
commit
cebecb99c0
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue