Skip to main content

@wildix/xbees-conversations-client > MarkUnreadInput

MarkUnreadInput interface

Signature:

export interface MarkUnreadInput 

Properties

Property

Modifiers

Type

Description

channelId

string

The unique identifier of the channel whose messages are to be marked as unread.

force?

boolean

(Optional) A flag that indicates whether the system should replace the oldest marked unread channel with a new one if the limit of unread marked channels is reached. If the force option is specified as false and the user already has the maximum limit of unread marked channels, then the system will respond with an error.

messageId?

string

(Optional) A Message ID in the channel from which to calculate the amount of unread messages.

userId?

string

(Optional) The unique identifier of the user when a service token is used.