MadelineProtoDocs/docs/TD_docs/methods/viewMessages.md

991 B

title description image
viewMessages 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 https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Method: viewMessages

Back to methods index

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 Description Required
chat_id int53 Chat identifier Yes
message_ids Array of int53 Identifiers of viewed messages Yes

Return type: Ok