TCHMember Class Reference

Inherits from NSObject
Declared in TCHMember.h

Overview

Representation of a Member on a chat channel.

  identity

The identity for this member.

@property (nonatomic, strong, readonly) NSString *identity

Discussion

The identity for this member.

Declared In

TCHMember.h

  lastConsumedMessageIndex

Index of the last Message the Member has consumed in this Channel.

@property (nonatomic, copy, readonly) NSNumber *lastConsumedMessageIndex

Discussion

Index of the last Message the Member has consumed in this Channel.

Declared In

TCHMember.h

  lastConsumptionTimestamp

Timestamp the last consumption updated for the Member in this Channel.

@property (nonatomic, copy, readonly) NSString *lastConsumptionTimestamp

Discussion

Timestamp the last consumption updated for the Member in this Channel.

Declared In

TCHMember.h

  lastConsumptionTimestampAsDate

Timestamp the last consumption updated for the Member in this Channel as an NSDate.

@property (nonatomic, strong, readonly) NSDate *lastConsumptionTimestampAsDate

Discussion

Timestamp the last consumption updated for the Member in this Channel as an NSDate.

Declared In

TCHMember.h

– userDescriptorWithCompletion:

Obtain a static snapshot of the user descriptor object for this member.

- (void)userDescriptorWithCompletion:(TCHUserDescriptorCompletion)completion

Parameters

completion

Completion block that will specify the result of the operation and the user descriptor.

Discussion

Obtain a static snapshot of the user descriptor object for this member.

Declared In

TCHMember.h

– subscribedUserWithCompletion:

Obtain a subscribed user object for the member. If no current subscription exists for this user, this will fetch the user and subscribe them. The least recently used user object will be unsubscribed if you reach your instance’s user subscription limit.

- (void)subscribedUserWithCompletion:(TCHUserCompletion)completion

Parameters

completion

Completion block that will specify the result of the operation and the newly subscribed user.

Discussion

Obtain a subscribed user object for the member. If no current subscription exists for this user, this will fetch the user and subscribe them. The least recently used user object will be unsubscribed if you reach your instance’s user subscription limit.

Declared In

TCHMember.h