tock / ai.tock.bot.connector.twitter.model / MessageData

MessageData

data class MessageData (source)

Constructors

<init>

MessageData(text: String, entities: Entities? = null, ctas: List<CTA>? = null, attachment: Attachment? = null, quickReply: QuickReply? = null, quickReplyResponse: QuickReplyResponse? = null)

Properties

attachment

val attachment: Attachment?

ctas

val ctas: List<CTA>?

entities

val entities: Entities?

quickReply

val quickReply: QuickReply?

quickReplyResponse

val quickReplyResponse: QuickReplyResponse?

text

val text: String

Functions

toGenericMessage

fun toGenericMessage(): GenericMessage