Package ai.tock.bot.connector.web
Class WebMessage
-
- All Implemented Interfaces:
-
ai.tock.bot.connector.ConnectorMessage,ai.tock.bot.connector.ConnectorMessageProvider,ai.tock.bot.connector.SerializableConnectorMessage,ai.tock.bot.connector.web.WebConnectorMessage,ai.tock.bot.connector.web.send.WebMessageContract
public final class WebMessage implements WebMessageContract, WebConnectorMessage
-
-
Field Summary
Fields Modifier and Type Field Description private final ConnectorTypeconnectorTypeprivate final Stringtextprivate final List<Button>buttonsprivate final WebCardcardprivate final WebCarouselcarouselprivate final WebWidgetwidgetprivate final WebImageimageprivate final Stringversionprivate final WebDeepLinkdeepLinkprivate final List<Footnote>footnotes
-
Constructor Summary
Constructors Constructor Description WebMessage(WebMessageContent content)WebMessage(String text, List<Button> buttons, WebCard card, WebCarousel carousel, WebWidget widget, WebImage image, String version, WebDeepLink deepLink, List<Footnote> footnotes)
-
Method Summary
Modifier and Type Method Description ConnectorTypegetConnectorType()StringgetText()List<Button>getButtons()WebCardgetCard()WebCarouselgetCarousel()WebWidgetgetWidget()WebImagegetImage()StringgetVersion()WebDeepLinkgetDeepLink()List<Footnote>getFootnotes()GenericMessagetoGenericMessage()-
-
Method Detail
-
getConnectorType
ConnectorType getConnectorType()
-
getButtons
List<Button> getButtons()
-
getCard
WebCard getCard()
-
getCarousel
WebCarousel getCarousel()
-
getWidget
WebWidget getWidget()
-
getImage
WebImage getImage()
-
getVersion
String getVersion()
-
getDeepLink
WebDeepLink getDeepLink()
-
getFootnotes
List<Footnote> getFootnotes()
-
toGenericMessage
GenericMessage toGenericMessage()
-
-
-
-