Advanced integration

Messaging metadata

See Messaging Metadata Developer Documentation for more details.

To learn more about Messaging Metadata, see Introduction to Messaging Metadata.

Get Unread Message Count API

'GetUnreadMessageCount()` gets the total number of unread messages the end user has.

The following snippet shows how to retrieve the unread message count.

// Get the unread message countint unreadMessageCount = await ZendeskMessaging.Instance.GetUnreadMessageCount();

Note: The SDK must be initialized before using this method. See Initialize the SDK for more details.