Package ai.tock.bot.connector.media
Interface MediaMessageDescriptor
-
- All Implemented Interfaces:
public interface MediaMessageDescriptorDescriptor of MediaMessage.
-
-
Method Summary
Modifier and Type Method Description abstract MediaMessagetoMessage(BotBus bus)Creates a MediaMessage for the specified BotBus. BooleancheckValidity()Returns true if the media is valid. abstract MediaMessageTypegetType()The type of message. -
-
Method Detail
-
toMessage
abstract MediaMessage toMessage(BotBus bus)
Creates a MediaMessage for the specified BotBus.
-
checkValidity
Boolean checkValidity()
Returns true if the media is valid.
-
getType
abstract MediaMessageType getType()
The type of message.
-
-
-
-