SendMessageViewMetrics constructor
const
SendMessageViewMetrics({})
Informs TDLib about details of a message view by the user from a chat, a message thread or a forum topic history. The method must be called if the message wasn't seen for more than 300 milliseconds, the viewport was destroyed, or the total view duration exceeded 5 minutes
Implementation
const SendMessageViewMetrics({
required this.chatId,
required this.messageId,
required this.timeInViewMs,
required this.activeTimeInViewMs,
required this.heightToViewportRatioPerMille,
required this.seenRangeRatioPerMille,
});