DeleteHistory¶
-
class
pyrogram.raw.functions.messages.
DeleteHistory
¶ Deletes communication history.
- Details
Layer:
122
ID:
0x1c015b09
- Parameters
peer (
InputPeer
) – User or chat, communication history of which will be deleted.max_id (
int
32-bit
) – Maximum ID of message to delete.just_clear (
bool
, optional) – Just clear history for the current user, without actually removing messages for every chat user.revoke (
bool
, optional) – Whether to delete the message history for all chat participants.
- Returns
messages.AffectedHistory
– Object contains info on affected part of communication history with the user or in a chat.