TWMMembers Class Reference

Inherits from NSObject
Declared in TWMMembers.h

Overview

Representation of an IP Messaging channel’s membership list.

– allObjects

Obtain an array of members of this channel.

- (NSArray<TWMMember*> *)allObjects

Return Value

An array of TWMMember objects representing the membership of the channel.

Discussion

Obtain an array of members of this channel.

Declared In

TWMMembers.h

– addByIdentity:completion:

Add specified username to this channel without inviting.

- (void)addByIdentity:(NSString *)identity completion:(TWMCompletion)completion

Parameters

identity

The username to add to this channel.

completion

Completion block that will specify the result of the operation.

Discussion

Add specified username to this channel without inviting.

Declared In

TWMMembers.h

– inviteByIdentity:completion:

Invite specified username to this channel.

- (void)inviteByIdentity:(NSString *)identity completion:(TWMCompletion)completion

Parameters

identity

The username to invite to this channel.

completion

Completion block that will specify the result of the operation.

Discussion

Invite specified username to this channel.

Declared In

TWMMembers.h

– removeMember:completion:

Remove specified username from this channel.

- (void)removeMember:(TWMMember *)member completion:(TWMCompletion)completion

Parameters

member

The member to remove from this channel.

completion

Completion block that will specify the result of the operation.

Discussion

Remove specified username from this channel.

Declared In

TWMMembers.h