HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback


## User notifications

### Create and post a message

The following example shows how to create and post a notification message.



### Create a custom formatter

The following example shows a formatter that takes a list of messages and joins their contents together.



### Add user notification formatting to a custom formatter

This example adds support for user notification formatting. In this example, it makes the content text blue.



### Retrieve user notifications

The following example shows how to retrieve the 25 latest unread notifications for a particular channel. It uses the formatter from the previous example; therefore, the content in the notifications will have blue text.



### Create a custom provider

The following example shows a custom provider that outputs notifications to the console.



## Subscriptions

This example shows the usage of the subscription service.