MessageMetaArray

class MessageMetaArray @JvmOverloads constructor(val key: String, value: List<String> = emptyList())

Represents meta array of BaseMessage. Meta array contains key(String), value(List<String>).

Since

3.0.99

Constructors

Link copied to clipboard
constructor(key: String, value: List<String> = emptyList())

Properties

Link copied to clipboard
val key: String

The meta array key

Link copied to clipboard

Functions

Link copied to clipboard

Add new value to meta array value. If meta array value contains given data, it will be ignored.

fun addValue(value: List<String>)

Add new value list to meta array value. If meta array value contains given data, it will be ignored.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Remove value from meta array.

Link copied to clipboard
open override fun toString(): String