Companion

object Companion

Functions

Link copied to clipboard
@JvmName(name = "create")
operator fun invoke(message: String, postback: String? = null): OutboundMessage

Creates default instance of OutboundMessage for simple text messages.

@JvmName(name = "create")
operator fun invoke(attachments: Iterable<ContentDescriptor>, message: String = "", postback: String? = null): OutboundMessage

Creates default instance of OutboundMessage for attachment messages.