Raw.channels.DeleteMessages
Delete messages in a channel/supergroup
channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector<int> = messages.AffectedMessages;
export namespace Raw {
export namespace channels {
export class DeleteMessages {
constructor(params: { channel: Raw.TypeInputChannel; id: Array<number> }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x84c1fd4e
Property
channel
: Raw.TypeInputChannelChannel/supergroup
id
: Array of numberIds of messages to delete
Results
Raw.messages.TypeAffectedMessages