Builder

class Builder

Properties

Link copied to clipboard

The type of one-time password for OTP buttons.

Link copied to clipboard

The phone number in E.164 format for CALL-type buttons.

Link copied to clipboard

List of supported applications for this button type.

Link copied to clipboard
var text: String?

The text displayed on the button (maximum 40 characters).

Link copied to clipboard
var type: String?

The type of button (for example, QUICK_REPLY, CALL, or URL).

Link copied to clipboard
var url: String?

The URL for URL-type buttons.

Link copied to clipboard

When true, indicates acceptance of zero-tap terms for the button.