messages.GetMessagesViews#

class pyrogram.raw.functions.messages.GetMessagesViews#

Get and increase the view counter of a message sent or forwarded from a channel.

Details:
  • Layer: 158

  • ID: 5784D3E1

Parameters:
  • peer (InputPeer) – Peer where the message was found.

  • id (List of int 32-bit) – ID of message.

  • increment (bool) – Whether to mark the message as viewed and increment the view counter.

Returns:

messages.MessageViews