tock / ai.tock.bot.connector.twitter.model.outcoming / DirectMessageOutcomingEvent / Builder

Builder

class Builder (source)

Constructors

<init>

Builder(target: Recipient, senderId: String, text: String)

Properties

options

var options: List<Option>

optionsWithoutDescription

var optionsWithoutDescription: List<OptionWithoutDescription>

senderId

val senderId: String

sourceAppId

var sourceAppId: String?

target

val target: Recipient

text

val text: String

Functions

build

fun build(): DirectMessageOutcomingEvent

withOptions

fun withOptions(vararg options: Option): Builder
fun withOptions(vararg optionsWithoutDescription: OptionWithoutDescription): Builder

withSourceAppId

fun withSourceAppId(sourceAppId: String): Builder