Raw.messages.DiscardEncryption

Raw.messages.DiscardEncryption

Cancels a request for creation and/or delete info on secret chat.

messages.discardEncryption#f393aea0 flags:# delete_history:flags.0?true chat_id:int = Bool;
export namespace Raw {
  export namespace messages {
    export class DiscardEncryption {
      constructor(params: { deleteHistory?: boolean; chatId: number }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0xf393aea0

Property

  • deleteHistory : boolean or undefined

    Whether to delete the entire chat history for the other user as well

  • chatId : number

    Secret chat id

Results

boolean