UNNotification.Body
-------------------

Queries the body of the notification.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [UNNotification](component_UNNotification.md) | [7.2](newinversion72.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "UNNotification.Body"; UNNotificationRef ) 

**MBS**( **"UNNotification.Body";** /\* Queries the body of the notification. \*/  
**$UNNotificationRef**) /\* The reference number of the notification.e.g. $Notification \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| UNNotificationRef | The reference number of the notification. | $Notification |

### Result

Returns text or error.

### Description

Queries the body of the notification.  
### Examples

Test body property:

 # Create a new notification   
Set Variable \[$notification ; Value:MBS ("[UNNotification.New](UNNotificationNew.md)")\]  
\# set a body   
Set Variable \[$r ; Value:MBS ("[UNNotification.SetBody](UNNotificationSetBody.md)"; $notification ; "Hello World")\]  
\# and query back   
Set Variable \[$value ; Value:MBS ("UNNotification.Body"; $notification )\]  
\# free memory   
Set Variable \[$r ; Value:MBS ("[UNNotification.Release](UNNotificationRelease.md)"; $notification )\]  
### See also

- [UNNotification.Badge](UNNotificationBadge.md)
- [UNNotification.Date](UNNotificationDate.md)
- [UNNotification.List](UNNotificationList.md)
- [UNNotification.New](UNNotificationNew.md)
- [UNNotification.Release](UNNotificationRelease.md)
- [UNNotification.SetBody](UNNotificationSetBody.md)
- [UNNotification.Title](UNNotificationTitle.md)
- [UNNotification.Type](UNNotificationType.md)

This function is free to use.

Created 15th April 2017 , last changed 17th April 2017

  
[UNNotification.Badge](UNNotificationBadge.md) - [UNNotification.CategoryIdentifier](UNNotificationCategoryIdentifier.md)

[HTML Version](UNNotificationBody.shtml)