SuggestedAction |
SuggestedAction.clone() |
|
SuggestedAction |
Suggestion.getAction() |
Users can tap a suggested action to initiate the corresponding native action on the device.
|
SuggestedAction |
SuggestedAction.set(java.lang.String fieldName,
java.lang.Object value) |
|
SuggestedAction |
SuggestedAction.setCreateCalendarEventAction(CreateCalendarEventAction createCalendarEventAction) |
Opens the user's default calendar app and starts the new calendar event flow with the agent-
specified event data pre-filled.
|
SuggestedAction |
SuggestedAction.setDialAction(DialAction dialAction) |
Opens the user's default dialer app with the agent-specified phone number filled in.
|
SuggestedAction |
SuggestedAction.setFallbackUrl(java.lang.String fallbackUrl) |
(Optional) Fallback URL to use if a client doesn't support a suggested action.
|
SuggestedAction |
SuggestedAction.setOpenUrlAction(OpenUrlAction openUrlAction) |
Opens the user's default web browser app to the given URL.
|
SuggestedAction |
SuggestedAction.setPaymentRequestAction(PaymentRequestAction paymentRequestAction) |
Sends a payment request from the agent to the user.
|
SuggestedAction |
SuggestedAction.setPostbackData(java.lang.String postbackData) |
Payload (base64 encoded) that will be sent to the agent in the user event that results when the
user taps the suggested action
|
SuggestedAction |
SuggestedAction.setShareLocationAction(ShareLocationAction shareLocationAction) |
Opens the RCS app's location chooser so the user can pick a location to send to the agent.
|
SuggestedAction |
SuggestedAction.setText(java.lang.String text) |
Text that is shown in the suggested action.
|
SuggestedAction |
SuggestedAction.setViewLocationAction(ViewLocationAction viewLocationAction) |
Opens the user's default map app and selects the agent-specified location or searches around
the user's location given an agent-specified query.
|