UpdatePinnedMessages

class pyrogram.raw.types.UpdatePinnedMessages

Some messages were pinned in a chat

Constructor of Update.

Details:
  • Layer: 194

  • ID: ED85EAB5

Parameters:
  • peer (Peer) – Peer

  • messages (List of int 32-bit) – Message IDs

  • pts (int 32-bit) – Event count after generation

  • pts_count (int 32-bit) – Number of events that were generated

  • pinned (bool, optional) – Whether the messages were pinned or unpinned