messages.ToggleDialogPin#
- class pyrogram.raw.functions.messages.ToggleDialogPin#
Pin/unpin a dialog
- Details:
Layer:
214ID:
A731E257
- Parameters:
peer (
InputDialogPeer) – The dialog to pinpinned (
bool, optional) – Whether to pin or unpin the dialog
- Returns:
bool