VIConversationParticipant

Interface that represents participant of a conversation.

Members
canManageParticipants

If ‘true’, user can add, remove and edit access rights for conversation participants (but not conversation moderators)

@property (nonatomic, assign) BOOL canManageParticipants
canWrite

If ‘true’, user can write to the conversation

@property (nonatomic, assign) BOOL canWrite
userId

Voximplant user identifier, ex username@appname.accname

@property (nonatomic, copy, readonly) NSString *userId
–  initWithUserId:canWrite:canManageParticipants:

Initialize conversation participant

- (instancetype)initWithUserId:(NSString *)userId canWrite:(BOOL)canWrite canManageParticipants:(BOOL)canManageParticipants
Parameters
userId

Voximplant user identifier, ex username@appname.accname

canWrite

If ‘true’, user can write to the conversation

canManageParticipants

If ‘true’, user can add, remove and edit access rights for conversation participants (but not conversation moderators)

Return

VIConversationParticipant instance