LibraryTemplateButtonInput - AWS End User Messaging Social

LibraryTemplateButtonInput

Configuration options for customizing buttons in a template from Meta's library.

Contents

otpType

The type of one-time password for OTP buttons.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 25.

Required: No

phoneNumber

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 20.

Required: No

supportedApps

List of supported applications for this button type.

Type: Array of string to string maps

Map Entries: Minimum number of 0 items. Maximum number of 10 items.

Key Length Constraints: Minimum length of 1. Maximum length of 30.

Value Length Constraints: Minimum length of 1. Maximum length of 100.

Required: No

type

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 25.

Required: No

url

The URL with dynamic parameters for URL-type buttons.

Type: String to string map

Map Entries: Minimum number of 0 items. Maximum number of 10 items.

Key Length Constraints: Minimum length of 1. Maximum length of 30.

Value Length Constraints: Minimum length of 1. Maximum length of 400.

Required: No

zeroTapTermsAccepted

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

Type: Boolean

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: