RcsSuggestedAction
A suggested action displayed to the RCS message recipient. Can be a reply, open URL, dial phone, show location, request location, or create calendar event.
Inheritors
Types
A suggested action that creates a calendar event on the user's device.
A suggested action that initiates a phone call to the specified number.
A suggested action that opens a URL in the user's browser or a webview.
A suggested reply that sends predefined text and postback data when tapped.
A suggested action that requests the user's current location.
A suggested action that shows a location on a map.
Functions
Casts this RcsSuggestedAction as a CreateCalendarEvent and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsCreateCalendarEventAction value. Throws an exception if the RcsSuggestedAction is not a CreateCalendarEvent.
Casts this RcsSuggestedAction as a CreateCalendarEvent and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsCreateCalendarEventAction value. Returns null if the RcsSuggestedAction is not a CreateCalendarEvent.
Casts this RcsSuggestedAction as a DialPhone and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsDialPhoneAction value. Throws an exception if the RcsSuggestedAction is not a DialPhone.
Casts this RcsSuggestedAction as a DialPhone and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsDialPhoneAction value. Returns null if the RcsSuggestedAction is not a DialPhone.
Casts this RcsSuggestedAction as a OpenUrl and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsOpenUrlAction value. Throws an exception if the RcsSuggestedAction is not a OpenUrl.
Casts this RcsSuggestedAction as a OpenUrl and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsOpenUrlAction value. Returns null if the RcsSuggestedAction is not a OpenUrl.
Casts this RcsSuggestedAction as a Reply and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsReplyAction value. Throws an exception if the RcsSuggestedAction is not a Reply.
Casts this RcsSuggestedAction as a Reply and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsReplyAction value. Returns null if the RcsSuggestedAction is not a Reply.
Casts this RcsSuggestedAction as a RequestLocation and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsRequestLocationAction value. Throws an exception if the RcsSuggestedAction is not a RequestLocation.
Casts this RcsSuggestedAction as a RequestLocation and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsRequestLocationAction value. Returns null if the RcsSuggestedAction is not a RequestLocation.
Casts this RcsSuggestedAction as a ShowLocation and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsShowLocationAction value. Throws an exception if the RcsSuggestedAction is not a ShowLocation.
Casts this RcsSuggestedAction as a ShowLocation and retrieves its aws.sdk.kotlin.services.pinpointsmsvoicev2.model.RcsShowLocationAction value. Returns null if the RcsSuggestedAction is not a ShowLocation.