Skip to content

RcsShowLocationAction

Source code in docs_src/capo_pinpoint_sms_voice_v2/types/rcs_show_location_action.py
class RcsShowLocationAction(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>"""
    latitude: "float"
    """<p>The latitude of the location. Valid values are -90 to 90.</p>"""
    longitude: "float"
    """<p>The longitude of the location. Valid values are -180 to 180.</p>"""
    label: NotRequired[
        "capo_pinpoint_sms_voice_v2.types.rcs_location_label.RcsLocationLabel"
    ]
    """<p>An optional label for the location pin. Maximum 100 characters.</p>"""

label instance-attribute

label: NotRequired[RcsLocationLabel]

An optional label for the location pin. Maximum 100 characters.

latitude instance-attribute

latitude: float

The latitude of the location. Valid values are -90 to 90.

longitude instance-attribute

longitude: float

The longitude of the location. Valid values are -180 to 180.

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.