Skip to content

RcsOpenUrlAction

Source code in docs_src/capo_pinpoint_sms_voice_v2/types/rcs_open_url_action.py
class RcsOpenUrlAction(TypedDict, closed=True):
    text: "capo_pinpoint_sms_voice_v2.types.rcs_suggested_action_text.RcsSuggestedActionText"
    """<p>The display text of the action. Maximum 25 characters.</p>"""
    postback_data: "capo_pinpoint_sms_voice_v2.types.rcs_postback_data.RcsPostbackData"
    """<p>The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.</p>"""
    url: "capo_pinpoint_sms_voice_v2.types.rcs_open_url_value.RcsOpenUrlValue"
    """<p>The URL to open. Must start with https://. Maximum 2048 characters.</p>"""
    application: NotRequired["str"]
    """<p>How to open the URL. BROWSER opens in the device's default browser. WEBVIEW opens in an in-app webview.</p>"""
    webview_view_mode: NotRequired["str"]
    """<p>The display mode of the webview. Valid values are FULL, HALF, and TALL. Only applicable when Application is WEBVIEW.</p>"""

application instance-attribute

application: NotRequired[str]

How to open the URL. BROWSER opens in the device's default browser. WEBVIEW opens in an in-app webview.

postback_data instance-attribute

postback_data: RcsPostbackData

The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.

text instance-attribute

The display text of the action. Maximum 25 characters.

url instance-attribute

The URL to open. Must start with https://. Maximum 2048 characters.

webview_view_mode instance-attribute

webview_view_mode: NotRequired[str]

The display mode of the webview. Valid values are FULL, HALF, and TALL. Only applicable when Application is WEBVIEW.