MadelineProto/docs/TD_docs/methods/viewMessages.md

24 lines
932 B
Markdown
Raw Normal View History

---
title: viewMessages
description: Messages are viewed by the user. Many useful activities depends on message being viewed. For example, marking messages as read, incrementing of view counter, updating of view counter, removing of deleted messages in channels
---
## Method: viewMessages
[Back to methods index](index.md)
2017-06-06 18:39:21 +02:00
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Messages are viewed by the user. Many useful activities depends on message being viewed. For example, marking messages as read, incrementing of view counter, updating of view counter, removing of deleted messages in channels
### Parameters:
| Name | Type | Required | Description |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|-------------|
2018-03-20 16:42:05 +01:00
|chat\_id|[CLICK ME int53](../types/int53.md) | Yes|Chat identifier|
|message\_ids|Array of [CLICK ME int53](../types/int53.md) | Yes|Identifiers of viewed messages|
### Return type: [Ok](../types/Ok.md)