TTParty Class Reference

Inherits from NSManagedObject
Declared in TTParty.h

Overview

TTParty is an abstract class, inherited by TTUser and TTGroup.

Other Methods

  avatarURL

URL of the TTParty’s avatar.

@property (nullable, nonatomic, retain) NSString *avatarURL

Declared In

TTParty.h

  disabledCapabilities

A set of capabilities that are disabled for this party.

@property (nullable, nonatomic, retain) NSSet<NSString*> *disabledCapabilities

Declared In

TTParty.h

  encryptedDisplayName

encrypted display name.

@property (nullable, nonatomic, retain) NSData *encryptedDisplayName

Declared In

TTParty.h

  displayName

TTParty’s display name.

@property (nullable, nonatomic, retain) NSString *displayName

Declared In

TTParty.h

  hollow

Boolean. YES if all of the party’s details were retrieved from server, NO otherwise.

@property (nullable, nonatomic, retain) NSNumber *hollow

Declared In

TTParty.h

  lastActivityDate

Last active time.

@property (nullable, nonatomic, retain) NSDate *lastActivityDate

Declared In

TTParty.h

  local

YES while object wasn’t updated to server yet, NO otherwise.

@property (nullable, nonatomic, retain) NSNumber *local

Declared In

TTParty.h

  organizationToken

Token of the organization to which this TTParty belongs.

@property (nullable, nonatomic, retain) NSString *organizationToken

Declared In

TTParty.h

  token

Object Token. Internal.

@property (nonnull, nonatomic, retain) NSString *token

Declared In

TTParty.h

  receivedMessages

All TTMessages received by this TTParty.

@property (nullable, nonatomic, retain) NSSet *receivedMessages

Declared In

TTParty.h

  rosterEntries

All TTRosterEntries related to this TTParty.

@property (nullable, nonatomic, retain) NSSet *rosterEntries

Declared In

TTParty.h

  sentMessages

All TTMessages sent by this TTParty.

@property (nullable, nonatomic, retain) NSSet *sentMessages

Declared In

TTParty.h

  metadata

All TTMetadata related to this TTParty.

@property (nullable, nonatomic, retain) NSSet *metadata

Declared In

TTParty.h

  ignoreApiUpdates

Should TTParty ignore any api update.

@property (nonatomic, assign) BOOL ignoreApiUpdates

Declared In

TTParty.h

  isMuted

Is TTParty currently muted on server.

@property (nullable, nonatomic, retain) NSNumber *isMuted

Declared In

TTParty.h

  muteEndTime

If TTParty is currently muted, containes the mute start time

@property (nullable, nonatomic, retain) NSDate *muteEndTime

Declared In

TTParty.h

  service

Indicates if TTParty belongs to any service (like alerts).

@property (nullable, nonatomic, retain) NSString *service

Declared In

TTParty.h

  callLogCaller

Inverse relationship from TTCallLog caller.

@property (nullable, nonatomic, retain) NSSet<TTCallLog*> *callLogCaller

Declared In

TTParty.h

  callLogTarget

Inverse relationship from TTCallLog taget.

@property (nullable, nonatomic, retain) NSSet<TTCallLog*> *callLogTarget

Declared In

TTParty.h

CoreDataGeneratedAccessors Methods

– addMetadataObject:

Add a TTMetadata object to this TTParty.

- (void)addMetadataObject:(TTMetadata *_Nonnull)value

Parameters

value

A TTMetadata object.

Declared In

TTParty.h

– removeMetadataObject:

Remove a TTMetadata object from this TTParty.

- (void)removeMetadataObject:(TTMetadata *_Nonnull)value

Parameters

value

A TTRosterEntry object.

Declared In

TTParty.h

– addMetadata:

Add multiple TTMetadata objects to this TTParty.

- (void)addMetadata:(NSSet *_Nonnull)values

Parameters

values

NSSet of TTMetadata objects.

Declared In

TTParty.h

– removeMetadata:

Remove multiple TTMetadata objects from this TTParty.

- (void)removeMetadata:(NSSet *_Nonnull)values

Parameters

values

NSSet of TTMetadata objects.

Declared In

TTParty.h

– canReceiveCallsWithOrganizationToken:

Is this user available to receive calls?

- (BOOL)canReceiveCallsWithOrganizationToken:(NSString *_Nonnull)orgToken

Declared In

TTParty.h