NotificationResponseButton.Constructor(caption As String, identifier As String)

From Xojo Documentation

Constructor

NotificationResponseButton.Constructor(caption As String, identifier As String)

New in 2020r2

Creates a new NotificationResponseButton and sets its caption and identifier to the values passed.