Package ai.tock.bot.connector.media
Interface MediaMessage
-
- All Implemented Interfaces:
public interface MediaMessageA message that contains more than simple text and ca be (optionally) transformed by Connector to ConnectorMessage.
-
-
Method Summary
Modifier and Type Method Description BooleancheckValidity()Returns true if the media is valid. GenericMessagetoGenericMessage()Returns a GenericMessage view of this MediaMessage if supported. -
-
Method Detail
-
checkValidity
Boolean checkValidity()
Returns true if the media is valid.
-
toGenericMessage
GenericMessage toGenericMessage()
Returns a GenericMessage view of this MediaMessage if supported.
-
-
-
-