tock / ai.tock.bot.connector.twitter.model.outcoming / Tweet

Tweet

data class Tweet : TwitterPublicConnectorMessage (source)

Constructors

<init>

Tweet(text: String, dmRecipientID: String? = null, welcomeMessageID: String? = null, defaultMessage: String? = null)

Properties

defaultMessage

val defaultMessage: String?

dmRecipientID

val dmRecipientID: String?

text

val text: String

welcomeMessageID

val welcomeMessageID: String?

Functions

toGenericMessage

Transforms this message into a generic GenericMessage.

fun toGenericMessage(): GenericMessage?

Extension Functions

asGenericMessage

fun ConnectorMessage.asGenericMessage(assertionCreator: Assert<GenericMessage>.() -> Unit): Unit

findTransactionDecisionValueV3

Return a GATransactionDecisionValueV3 if available.

fun ConnectorMessage.findTransactionDecisionValueV3(): GATransactionDecisionValueV3?

findTransactionRequirementsCheckResultV3

Return a GATransactionRequirementsCheckResultV3 if available.

fun ConnectorMessage.findTransactionRequirementsCheckResultV3(): GATransactionRequirementsCheckResultV3?