SIGN UP
Navigation

ConversationParticipant

Class that represents participant of a conversation.

Methods

boolean canManageParticipants()

Check if the conversation participant can manage the conversation participants (add, remove, edit access rights), but not conversation moderators

Returns

  • Return:

    boolean

    True if user can manage conversation participants, false otherwise

boolean canWrite()

Check if the conversation participant can write to the conversation

Returns

  • Return:

    boolean

    True if user can write to the conversation, false otherwise

String getUserId()

Get Voximplant user identifier, ex 'username@appname.accname'

Returns

  • Return:

    String

    Voximplant user identifier

void setCanManageParticipants(boolean canManageParticipants)

Change access rights to manage participants in the conversation (add, remove, edit access rights), but not conversation moderators

Parameters

  • canManageParticipants:

    boolean

    True if user can manage conversation participants, false otherwise

void setCanWrite(boolean canWrite)

Change access rights to write to the conversation

Parameters

  • canWrite:

    boolean

    True if user can write to the conversation, false otherwise