markAllMentionsAsRead
Mark all mentions in a chat as read. USER-ONLY
Parameters
The identifier of the chat.
topicId?: number
If specified, only mentions in that topic will be marked as read.
Result
void
Syntax
// Required parameters only.
await client.markAllMentionsAsRead(chatId);
// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.markAllMentionsAsRead(chatId, { topicId });