Raw.channels.DeleteHistory
Delete the history of a supergroup
channels.deleteHistory#9baa9647 flags:# for_everyone:flags.0?true channel:InputChannel max_id:int = Updates;
export namespace Raw {
export namespace channels {
export class DeleteHistory {
constructor(params: {
forEveryone?: boolean;
channel: Raw.TypeInputChannel;
maxId: number;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x9baa9647
Property
forEveryone
: boolean or undefinedWhether the history should be deleted for everyone
channel
: Raw.TypeInputChannelSupergroup whose history must be deleted
maxId
: numberId of message up to which the history must be deleted