UpdatePinnedChannelMessages

class pyrogram.raw.types.UpdatePinnedChannelMessages

Messages were pinned/unpinned in a channel/supergroup.

Constructor type of Update.

Details
  • Layer: 122

  • ID: 0x8588878b

Parameters
  • channel_id (int 32-bit) – Channel ID.

  • messages (List of int 32-bit) – Messages.

  • 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.