messages.reportReadMetrics #

Report viewport read metrics for visible messages, indicating how long each message stayed in the chat viewport, see here » for more info on the full flow.

Layer 223

Method schema is available as of layer 224. Switch »

Parameters #

NameTypeDescription
peerInputPeerPeer where the messages are located
metricsVector<InputMessageReadMetric>List of read metrics for individual messages

Result #

Bool

Only users can use this method #

Views and read metrics #

Clients should report read state, message views and music listens using a specific set of methods.