countUnreadMentionsForUser

Counts messages in which user is mentioned. The method relies on the Channel.messages list and doesn't do any API call. Therefore, the count might be not reliable as it relies on the local data.

Return

Number of messages containing unread user mention.

Parameters

user

The User object for which unread mentions are counted.