messages.ToggleSavedDialogPin

class pyrogram.raw.functions.messages.ToggleSavedDialogPin

Pin or unpin a saved message dialog ยป.

Details:
  • Layer: 194

  • ID: AC81BBDE

Parameters:
  • peer (InputDialogPeer) โ€“ The dialog to pin

  • pinned (bool, optional) โ€“ Whether to pin or unpin the dialog

Returns:

bool