Companion

object Companion

Properties

Link copied to clipboard

The custom field of a message that holds its document.

Link copied to clipboard
const val SUPPORTED_VERSION: Int = 1

The newest version of the ai_ui field this SDK reads.

Functions

Link copied to clipboard
fun from(customData: Map<String, Any?>): AIUIDocument?

Reads the document a message carries in its custom data, or returns null when it carries none this SDK can read.