Sending a rich content notification through Notification Hubs
In the last section of this chapter, we will talk a bit about another type of notification that is called a rich content notification. Sometimes, you may wish to send something more than plain text. In Notification Hubs, it is possible to send—for example—an image to enhance the look and feel of an application.
Please note that receiving rich content notifications requires making changes on the client side. We will not cover that in this chapter but, at the end of it, you will find a link where such an operation is described in detail.
Creating and sending a rich content notification
To create and send a rich content notification, you will need the following two things:
- A model of a notification
- The notification payload and content
The idea is to send it in a way that will enable a client application to fetch rich content and handle it on its side. In fact, the simplest way to do...