| com.glia.androidsdk.chat.SingleChoiceAttachment |
Presents the user with the list of options to make a simplified decision for the next interaction. Selected option needs to be sent back to the other party as a regular chat message containing single choice response attachment.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract Optional<String> |
getImageUrl()
URL of an image displayed on top of the choices expressing clear intent of the single choice card
| ||||||||||
| abstract SingleChoiceOption[] |
getOptions()
The options of the single choice message.
| ||||||||||
| abstract String |
getSelectedOption()
The selected option.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.glia.androidsdk.chat.MessageAttachment
| |||||||||||
URL of an image displayed on top of the choices expressing clear intent of the single choice card
The selected option. Only available when an answer has been given to a single choice attachment.