Raw.messages.ToggleDialogPin

Raw.messages.ToggleDialogPin

Pin/unpin a dialog

messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool;
export namespace Raw {
  export namespace messages {
    export class ToggleDialogPin {
      constructor(params: { pinned?: boolean; peer: Raw.TypeInputDialogPeer }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0xa731e257

Property

Results

boolean