invoke
Creates default instance of OutboundMessage for simple text messages.
Parameters
message
postback
Optional - see OutboundMessage.postback.
operator fun invoke(attachments: Iterable<ContentDescriptor>, message: String = "", postback: String? = null): OutboundMessage
Creates default instance of OutboundMessage for attachment messages.
Parameters
attachments
see OutboundMessage.attachments, should be non-empty.
message
Optional text message to be sent with attachment.
postback
Optional - see OutboundMessage.postback.