TDLib v0.0.2 TDLib.Method.ViewMessages View Source
This method should be called if messages are being viewed by the user. Many useful activities depend on whether the messages are currently being viewed or not (e.g., marking messages as read, incrementing a view counter, updating a view counter, removing deleted messages in supergroups and channels).
Returns object_ptr
Name | Type | Description |
---|---|---|
chat_id | string | Chat identifier. |
message_ids | string[] | The identifiers of the messages being viewed. |
force_read | bool | True, if messages in closed chats should be marked as read. |
More details on telegram’s documentation.