UpdatePinnedMessages

class pyrogram.raw.types.UpdatePinnedMessages

Some messages were pinned in a chat.

Constructor type of Update.

Details
  • Layer: 122

  • ID: 0xed85eab5

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.