GetMessagesViews

class pyrogram.raw.functions.messages.GetMessagesViews

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

Details
  • Layer: 126

  • ID: 0x5784d3e1

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 – View, forward counter + info about replies.