stories.TogglePinned

class pyrogram.raw.functions.stories.TogglePinned

Pin or unpin one or more stories

Details:
  • Layer: 187

  • ID: 9A75A1EF

Parameters:
  • peer (InputPeer) – Peer where to pin or unpin stories

  • id (List of int 32-bit) – IDs of stories to pin or unpin

  • pinned (bool) – Whether to pin or unpin the stories

Returns:

List of int 32-bit