InboxCardButton

class InboxCardButton(val title: String, val action: InboxCardButton.Action)

An inline CTA button rendered inside a rich inbox card, mirroring the iOS PushwooshInboxButton contract. Buttons arrive from the server inside actionParams["buttons"] (at the root, inside u as a dict, or inside u as a JSON-encoded string) and are decoded by decode.

Constructors

Link copied to clipboard
constructor(title: String, action: InboxCardButton.Action)

Types

Link copied to clipboard
sealed class Action
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard