Companion

object Companion

Functions

Link copied to clipboard
fun create(message: String, postback: String? = null): OutboundMessage

Creates default instance of OutboundMessage for simple text messages.

fun create(attachments: Iterable<ContentDescriptor>, message: String = "", postback: String? = null): OutboundMessage

Creates default instance of OutboundMessage for attachment messages.

Link copied to clipboard

Creates a default instance of OutboundMessage for reply button actions.

operator fun invoke(message: String, postback: String? = null): OutboundMessage

Creates default instance of OutboundMessage for simple text messages.

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

Creates default instance of OutboundMessage for attachment messages.