InboxButton
@objc(SFMCSdkInboxButton)
public protocol InboxButton
Immutable button metadata delivered with an inbox message.
-
Stable identifier assigned to the button.
Declaration
Swift
var id: String { get } -
Index supplied with the button payload.
Declaration
Swift
var index: Int { get } -
Text displayed on the button.
Declaration
Swift
var text: String { get } -
Action performed when the button is selected.
Declaration
Swift
var action: InboxAction { get }
InboxButton Protocol Reference