TWMUserInfo Class Reference

Inherits from NSObject
Declared in TWMUserInfo.h

Overview

User information for the current user and other channel members.

  identity

The identity for this user.

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

Discussion

The identity for this user.

Declared In

TWMUserInfo.h

  friendlyName

The friendly name for this user.

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

Discussion

The friendly name for this user.

Declared In

TWMUserInfo.h

– attributes

Return this user’s attributes.

- (NSDictionary<NSString*,id> *)attributes

Return Value

The developer-defined extensible attributes for this user.

Discussion

Return this user’s attributes.

Declared In

TWMUserInfo.h

– setAttributes:completion:

Set this user’s attributes.

- (void)setAttributes:(NSDictionary<NSString*,id> *)attributes completion:(TWMCompletion)completion

Parameters

attributes

The new developer-defined extensible attributes for this user. (Supported types are NSString, NSNumber, NSArray, NSDictionary and NSNull)

completion

Completion block that will specify the result of the operation.

Discussion

Set this user’s attributes.

Declared In

TWMUserInfo.h

– setFriendlyName:completion:

Set this user’s friendly name.

- (void)setFriendlyName:(NSString *)friendlyName completion:(TWMCompletion)completion

Parameters

friendlyName

The new friendly name for this user.

completion

Completion block that will specify the result of the operation.

Discussion

Set this user’s friendly name.

Declared In

TWMUserInfo.h