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