SIGN UP

ConversationConfig

Methods

createBuilder

ConversationConfig.ConversationConfigBuilder createBuilder()

Create a builder for the ConversationConfig object.

Returns

getCustomData

Map<String,Object> getCustomData()

Get the custom data

Returns

  • Return:

    Map<String,Object>

getParticipants

List<ConversationParticipant> getParticipants()

Get the list of conversation participants

Returns

getTitle

String getTitle()

Get the title

Returns

  • Return:

    String

    title

isDirect

boolean isDirect()

Check if a conversation is configured as direct or not.

There can be only 2 participants in a direct conversation which is unique and the only one for these participants. There can't be more than 1 direct conversation for the same 2 users.

If one of these users tries to create a new direct conversation with the same participant via IMessenger.createConversation(ConversationConfig, IMessengerCompletionHandler), the method will return the UUID of the already existing direct conversation.

A direct conversation can't be uber and/or public.

Returns

  • Return:

    boolean

isPublicJoin

boolean isPublicJoin()

Check if a conversation is configured as public or not.

If true, any user can join the conversation via IMessenger.joinConversation(String, IMessengerCompletionHandler) by specifying its UUID. Use the IMessenger.getPublicConversations(IMessengerCompletionHandler) method to retrieve all public conversations' UUIDs.

A public conversation can't be direct.

Returns

  • Return:

    boolean

isUber

boolean isUber()

Check if a conversation is configured as uber or not.

Users in a uber conversation will not be able to retrieve messages that were sent to the conversation after they quit.

A uber conversation can't be direct.

Returns

  • Return:

    boolean