TCHMembers Class Reference

Inherits from NSObject
Declared in TCHMembers.h

Overview

Representation of a chat channel’s membership list.

– membersWithCompletion:

Obtain the members of this channel.

- (void)membersWithCompletion:(nonnull TCHMemberPaginatorCompletion)completion

Parameters

completion

Completion block that will specify the result of the operation and a reference to the first page of members for this channel. If no completion block is specified, no operation will be executed.

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