Builder
Class to create an instance of ConversationConfig.
Constructors
Builder
Methods
customData
- ()customData:(Map<String, Any>?
)customData Specifies the custom data of the conversation (up to 5kb).
The custom data can be later changed via Conversation.customData.
Parameters
customData:
Map<String, Any>?
OptionalThe conversation's custom data
Returns
type:
isDirect
- ()isDirect:(Boolean
)isDirect Sets the conversation to be direct or not.
A direct conversation cannot be uber and/or public.
Parameters
isDirect:
Boolean
Whether to set the conversation to direct
Returns
type:
isPublicJoin
- ()isPublicJoin:(Boolean
)isPublicJoin Sets the conversation to be public or not.
It can be later changed via Conversation.isPublicJoin.
A public conversation cannot be direct.
Parameters
isPublicJoin:
Boolean
Whether anyone can join the conversation by UUID
Returns
type:
isUber
- ()isUber:(Boolean
)isUber Sets the conversation to be uber or not.
Users in a uber conversation are not able to retrieve messages that are posted to the conversation after they quit.
A uber conversation cannot be direct.
Parameters
isUber:
Boolean
Whether the conversation restricts access to messages
Returns
type:
participants
- ()participants:(List<ConversationParticipant>?
)participants Sets the conversation participants.
The participants list can be later changed via:
Parameters
participants:
List<ConversationParticipant>?
OptionalList of participants
Returns
type:
title
- ()title:(String?
)title Sets the conversation title.
It can be later changed via Conversation.title.
Parameters
title:
String?
OptionalConversationCore title
Returns
type: