Raw.messages.ToggleSavedDialogPin
Pin or unpin a saved message dialog.
messages.toggleSavedDialogPin#ac81bbde flags:# pinned:flags.0?true peer:InputDialogPeer = Bool;
export namespace Raw {
export namespace messages {
export class ToggleSavedDialogPin {
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: 0xac81bbde
Property
pinned
: boolean or undefinedWhether to pin or unpin the dialog
peer
: Raw.TypeInputDialogPeerThe dialog to pin