InputMessageReadMetric#
- class pyrogram.raw.types.InputMessageReadMetric#
Read metric for a single message exposure, describing how long the message was visible in the chat viewport.
Constructor of
InputMessageReadMetric.- Details:
Layer:
227ID:
402B4495
- Parameters:
msg_id (
int32-bit) – ID of the messageview_id (
int64-bit) – Random non-zero 64-bit ID generated for this exposuretime_in_view_ms (
int32-bit) – Total exposure time in milliseconds of at least one pixel of the message, after the 300 ms entry grace periodactive_time_in_view_ms (
int32-bit) – Part of time_in_view_ms accumulated while the user is activeheight_to_viewport_ratio_permille (
int32-bit) – round(max_message_height * 1000 / max_viewport_height), may exceed 1000 when the message is taller than the viewportseen_range_ratio_permille (
int32-bit) – round(max_seen_vertical_range * 1000 / max_message_height), clamped to the 0–1000 range