@@ -1266,13 +1266,39 @@ export namespace CometChat {
12661266 export function markAsDelivered ( ...args : any ) : any ;
12671267
12681268 /**
1269+ * Mark entire conversation as read for a user or group.
1270+ * @param {string } conversationWith - User ID or Group ID
1271+ * @param {string } conversationType - Conversation type (user or group)
1272+ * @returns {Promise<string> }
1273+ * @memberof CometChat
1274+ */
1275+ export function markConversationAsRead ( conversationWith : string , conversationType : string ) : Promise < string > ;
1276+
1277+ /**
1278+ * Mark entire conversation as delivered for a user or group.
1279+ * @param {string } conversationWith - User ID or Group ID
1280+ * @param {string } conversationType - Receiver type (user or group)
1281+ * @returns {Promise<string> }
1282+ * @memberof CometChat
1283+ */
1284+ export function markConversationAsDelivered ( conversationWith : string , conversationType : string ) : Promise < string > ;
1285+
1286+ /**
1287+ * @deprecated Please use markMessageAsUnread() instead.
12691288 * Mark all the messages after the specified message id as unread.
12701289 * @param {TextMessage | MediaMessage | CustomMessage | BaseMessage | any } message
12711290 * @returns {Promise<string> }
12721291 * @memberof CometChat
12731292 **/
12741293 export function markAsUnread ( message : TextMessage | MediaMessage | CustomMessage | any ) : Promise < string | CometChatException > ;
12751294
1295+ /**
1296+ * Mark all the messages after the specified message id as unread.
1297+ * @param {TextMessage | MediaMessage | CustomMessage | BaseMessage | any } message
1298+ * @returns {Promise<string> }
1299+ * @memberof CometChat
1300+ */
1301+ export function markMessageAsUnread ( message : TextMessage | MediaMessage | CustomMessage | any ) : Promise < Conversation > ;
12761302 /**
12771303 * Send a transient message.
12781304 * @param {string } uid
0 commit comments