Attributes
open class Attributes
Content copied to clipboard
Attributes representation, can be set to Conversation, User, Participant or Message.
Constructors
Attributes
Link copied to clipboard
open fun Attributes()
Content copied to clipboard
Create NULL attributes.
Attributes
Link copied to clipboard
open fun Attributes(object: JSONObject)
Content copied to clipboard
Initialize attributes with a JSONObject.
Attributes
Link copied to clipboard
open fun Attributes(array: JSONArray)
Content copied to clipboard
Initialize attributes with a JSONArray.
Attributes
Link copied to clipboard
Initialize attributes with a String.
Attributes
Link copied to clipboard
Initialize attributes with a Number.
Attributes
Link copied to clipboard
Initialize attributes with a boolean value.
Functions
get Boolean
Link copied to clipboard
get JSONArray
Link copied to clipboard
open fun getJSONArray(): JSONArray
Content copied to clipboard
Returns JSONArray stored in attributes if getType of attributes is ARRAY, otherwise returns null.
get JSONObject
Link copied to clipboard
open fun getJSONObject(): JSONObject
Content copied to clipboard
Returns JSONObject stored in attributes if getType of attributes is OBJECT, otherwise returns null.
Properties
DEFAULT
Link copied to clipboard