UserNotification.hasActionButton
--------------------------------

Queries whether notification has an action button.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [UserNotification](component_UserNotification.md) | [2.8](newinversion28.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "UserNotification.hasActionButton"; UserNotificationReference ) 

**MBS**( **"UserNotification.hasActionButton";** /\* Queries whether notification has an action button. \*/  
**$UserNotificationReference**) /\* An user notification reference.e.g. $ref \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| UserNotificationReference | An user notification reference. | $ref |

### Result

Returns 0 or 1.

### Description

Queries whether notification has an action button.  
### See also

- [UserNotification.GetActionButtonTitle](UserNotificationGetActionButtonTitle.md)
- [UserNotification.HasReplyButton](UserNotificationHasReplyButton.md)
- [UserNotification.SetActionButtonTitle](UserNotificationSetActionButtonTitle.md)
- [UserNotification.SetHasActionButton](UserNotificationSetHasActionButton.md)

This function is free to use.

Created 18th August 2014 , last changed 18th August 2014

  
[UserNotification.deliveredNotifications](UserNotificationdeliveredNotifications.md) - [UserNotification.isPresented](UserNotificationisPresented.md)

[HTML Version](UserNotificationhasActionButton.shtml)