messages.readDiscussion

Mark a thread as read

 Method schema is available as of layer 119. Switch ยป

Parameters

Name Type Description
peer InputPeer Group ID
msg_id int ID of message that started the thread
read_max_id int ID up to which thread messages were read

Result

Bool

Possible errors

Code Type Description
400 CHAT_ID_INVALID The provided chat id is invalid.
400 MSG_ID_INVALID Invalid message ID provided.
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

Threads

Telegram allows commenting on a channel post or on a generic supergroup message, thanks to message threads.