InAppFormFieldType
Enum class represents different types of form fields.
Enum class representing different types of form fields.
Entries | Value | Description |
---|---|---|
MESSAGE | message | Indicates that the message is a normal message. |
MESSAGE_DELETED | messageDeleted | Indicates that the message is a delete message. |
DELIVERY_RECEIPT | deliveryReceipt | Indicates that the message is a delivery receipt. |
READ_RECEIPT | readReceipt | Indicates that the message is a read receipt. |
REPUBLISH | republish | Indicates that the message is a republish message. |
ALERT | alert | Indicates that the message is an alert message. |
TYPING_START | typingStart | Indicates that the message is a typing start message. |
TYPING_STOP | typingStop | Indicates that the message is a typing stop message. |
THREAD_UPDATE | threadUpdate | Indicates that the message is a thread update message. |
CLICKED_RECEIPT | clickedReceipt | Indicates 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
Parameters | Type | Description |
---|---|---|
value | String | The string represents the message type. |
Updated 8 days ago