messages.UnpinAllMessages#

class pyrogram.raw.functions.messages.UnpinAllMessages#

Unpin all pinned messages.

Details:
  • Layer: 158

  • ID: EE22B9A8

Parameters:
  • peer (InputPeer) – Chat where to unpin.

  • top_msg_id (int 32-bit, optional) – Forum topic where to unpin.

Returns:

messages.AffectedHistory