Interface IMentionAgent
Namespace: SuperOffice.WebApi.Agents Assembly: SuperOffice.WebApi.dll Agent used for getting, marking read, and deleting @-mentionsImplements
IAgentBase, IDisposableMethods
DeleteMentionsAsync(int[], RequestOptions)
Delete mentions by idParameters
mentionIds int[]
Ids of mention rows to delete
requestOptions RequestOptions
Override language/culture codes on this request.
Returns
Task This method has no return valueGetMentionsCreatedByMeAsync(RequestOptions)
Get the @-mentions the current associate created (tagged someone else)Parameters
requestOptions RequestOptions
Override language/culture codes on this request.
Returns
Task<Mention[]> The current associate’s created mentions, most-recent-firstGetMyMentionsAsync(bool, RequestOptions)
Get the current associate’s @-mentionsParameters
unreadOnly bool
When true, only unread mentions are returned
requestOptions RequestOptions
Override language/culture codes on this request.
Returns
Task<Mention[]> The current associate’s mentions, most-recent-firstGetMyMentionsUnreadCountAsync(RequestOptions)
Get the current associate’s unread @-mention countParameters
requestOptions RequestOptions
Override language/culture codes on this request.
Returns
Task<int> The current associate’s unread mention countMarkMentionsAsReadAsync(int[], RequestOptions)
Mark mentions as readParameters
mentionIds int[]
Ids of the mentions to mark read
requestOptions RequestOptions
Override language/culture codes on this request.
Returns
Task This method has no return valueUpdateMentionSnippetsAsync(int, int[], RequestOptions)
Insert-missing and refresh-existing mention rows for a saved messageParameters
messageId int
The message the mentions belong to
mentionedAssociateIds int[]
The colleagues mentioned in the message’s current content
requestOptions RequestOptions
Override language/culture codes on this request.