InAppFormField

A class represents a form field.

A class represents a form field.

EntriesValueDescription
MESSAGEmessageIndicates that the message is a normal message.
MESSAGE_DELETEDmessageDeletedIndicates that the message is a delete message.
DELIVERY_RECEIPTdeliveryReceiptIndicates that the message is a delivery receipt.
READ_RECEIPTreadReceiptIndicates that the message is a read receipt.
REPUBLISHrepublishIndicates that the message is a republish message.
ALERTalertIndicates that the message is an alert message.
TYPING_STARTtypingStartIndicates that the message is a typing start message.
TYPING_STOPtypingStopIndicates that the message is a typing stop message.
THREAD_UPDATEthreadUpdateIndicates that the message is a thread update message.
CLICKED_RECEIPTclickedReceiptIndicates that the message is a thread delete message.

Companion Functions

fromValue

Converts a string to the corresponding InAppMessageType.

Syntax: fun fromValue(value: String): InAppMessageType?

Return: The InAppMessageType corresponding to the given string value. null if no matching message type is found.

Parameters

ParametersTypeDescription
valueStringThe string represents the message type.