RcsOpenUrlAction
A suggested action that opens a URL in the recipient's browser or an in-app webview.
Contents
- PostbackData
-
The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Required: Yes
- Text
-
The display text of the action. Maximum 25 characters.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 25.
Required: Yes
- Url
-
The URL to open. Must start with https://. Maximum 2048 characters.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
https://\S+Required: Yes
- Application
-
How to open the URL. BROWSER opens in the device's default browser. WEBVIEW opens in an in-app webview.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 50.
Pattern:
[A-Z_]+Required: No
- WebviewViewMode
-
The display mode of the webview. Valid values are FULL, HALF, and TALL. Only applicable when Application is WEBVIEW.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 50.
Pattern:
[A-Z_]+Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: