All Downloads are FREE. Search and download functionalities are using the official Maven repository.

connector.SampleConnectorResponse.kt Maven / Gradle / Ivy

package ai.tock.bot.open.data.connector

import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonInclude
import com.fasterxml.jackson.annotation.JsonInclude.Include.NON_EMPTY
import ai.tock.bot.connector.ConnectorMessage
import ai.tock.bot.connector.ConnectorType

data class SampleButton(val title: String, val payload: String? = null)

@JsonInclude(NON_EMPTY)
data class SampleMessage(val text: String, val buttons: List = emptyList()) : ConnectorMessage {
    @get:JsonIgnore
    override val connectorType: ConnectorType = sampleRestConnectorType
}

internal data class SampleConnectorResponse(val responses: List)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy