mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 21:46:55 +01:00
24 lines
918 B
Markdown
24 lines
918 B
Markdown
---
|
|
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)
|
|
|
|
|
|
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
|
|
|
|
### Params:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|chat\_id|[InputPeer](../types/InputPeer.md) | Yes|Chat identifier|
|
|
|message\_ids|Array of [int53](../types/int53.md) | Yes|Identifiers of viewed messages|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|