ToggleDialogPin

class pyrogram.raw.functions.messages.ToggleDialogPin

Pin/unpin a dialog.

Details
  • Layer: 126

  • ID: 0xa731e257

Parameters
  • peer (InputDialogPeer) – The dialog to pin.

  • pinned (bool, optional) – Whether to pin or unpin the dialog.

Returns

bool – Primitive type.