ConversationConfig
This API is in beta and subject to change.
Configuration either to create a new conversation or restore a previously created conversation:
Constructors
ConversationConfig
fun ConversationConfig(title: String?
, isDirect: Boolean
, isPublicJoin: Boolean
, isUber: Boolean
, participants: List<ConversationParticipant>?
, customData: Map<String, Any>?
):
Parameters
title:
String?
OptionalConversation title
isDirect:
Boolean
Whether a conversation is direct
isPublicJoin:
Boolean
Whether a conversation is public
isUber:
Boolean
Whether a conversation is uber
participants:
List<ConversationParticipant>?
OptionalThe list of conversation participants
customData:
Map<String, Any>?
OptionalThe conversation custom data
Methods
toString
fun toString(): String
Returns
type:
String
Props
title
var title: String?
Conversation title
Returns
type:
String?
isDirect
var isDirect: Boolean
Whether a conversation is direct
Returns
type:
Boolean
isPublicJoin
var isPublicJoin: Boolean
Whether a conversation is public
Returns
type:
Boolean
isUber
var isUber: Boolean
Whether a conversation is uber
Returns
type:
Boolean
participants
var participants: List<ConversationParticipant>?
The list of conversation participants
Returns
type:
List<ConversationParticipant>?
customData
var customData: Map<String, Any>?
The conversation custom data
Returns
type:
Map<String, Any>?