InAppMessageType
Enum class represents different types of in-app messages.
The Enum class represents different types of in-app messages.
Entries | Value | Description |
---|---|---|
MESSAGE | message | It indicates that the message is normal. |
MESSAGE_DELETED | messageDeleted | It indicates that the message is deleted. |
DELIVERY_RECEIPT | deliveryReceipt | It indicates that the message is a delivery receipt. |
READ_RECEIPT | readReceipt | It indicates that the message is a read receipt. |
REPUBLISH | republish | It indicates that the message is republished. |
ALERT | alert | It indicates that the message is an alert message. |
TYPING_START | typingStart | It indicates that the message is a typing start message. |
TYPING_STOP | typingStop | It indicates that the message is a typing stop message. |
THREAD_UPDATE | threadUpdate | It indicates that the message is a thread updated. |
CLICKED_RECEIPT | clickedReceipt | It 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