Rate this page:

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

Copy URL
fun ConversationConfig(title: 

String?

,
isDirect:

Boolean

,
isPublicJoin:

Boolean

,
isUber:

Boolean

,
participants:

List<ConversationParticipant>?

,
customData:

Map<String, Any>?

):

Parameters

  • title:

    String?

    Optional

    Conversation 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>?

    Optional

    The list of conversation participants

  • customData:

    Map<String, Any>?

    Optional

    The conversation custom data

Methods

toString

Copy URL
fun toString(): 

String

Returns

  • type:

    String

Props

title

Copy URL
var title: 

String?

Conversation title

Returns

  • type:

    String?

isDirect

Copy URL
var isDirect: 

Boolean

Whether a conversation is direct

Returns

  • type:

    Boolean

isPublicJoin

Copy URL
var isPublicJoin: 

Boolean

Whether a conversation is public

Returns

  • type:

    Boolean

isUber

Copy URL
var isUber: 

Boolean

Whether a conversation is uber

Returns

  • type:

    Boolean

participants

Copy URL
var participants: 

List<ConversationParticipant>?

The list of conversation participants

Returns

customData

Copy URL
var customData: 

Map<String, Any>?

The conversation custom data

Returns

  • type:

    Map<String, Any>?