TCHMembers Class Reference

Inherits from NSObject
Declared in TCHMembers.h

Overview

Representation of a chat channel’s membership list.

– membersList

Obtain the members of this channel.

- (nonnull NSArray<TCHMember*> *)membersList

Discussion

Obtain the members of this channel.

Declared In

TCHMembers.h

– addByIdentity:completion:

Add specified username to this channel without inviting.

- (void)addByIdentity:(nonnull NSString *)identity completion:(nullable TCHCompletion)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

TCHMembers.h

– inviteByIdentity:completion:

Invite specified username to this channel.

- (void)inviteByIdentity:(nonnull NSString *)identity completion:(nullable TCHCompletion)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

TCHMembers.h

– removeMember:completion:

Remove specified username from this channel.

- (void)removeMember:(nonnull TCHMember *)member completion:(nullable TCHCompletion)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

TCHMembers.h