TTRosterEntry Class Reference
| Inherits from | NSManagedObject |
|---|---|
| Declared in | TTRosterEntry.h |
Overview
A TTRosterEntry is a conversation. The conversation may have several properties which are detailed below. A TTRosterEntry must always have a target, which can be a TTUser or a TTGroup (both inherit from TTParty).
avatarUrl
URL of the TTRosterEntry’s avatar.
@property (nullable, nonatomic, retain) NSString *avatarUrlDeclared In
TTRosterEntry.h
conversationHash
Conversation hash. Can be used to retrieve related objects, such as TTMessages.
@property (nullable, nonatomic, retain) NSString *conversationHashDeclared In
TTRosterEntry.h
encryptedDisplayName
Display name of the roster entry.
@property (nullable, nonatomic, retain) NSData *encryptedDisplayNameDeclared In
TTRosterEntry.h
displayName
Display name of the roster entry.
@property (nullable, nonatomic, retain) NSString *displayNameDeclared In
TTRosterEntry.h
ignoreApiUpdate
When set to YES, TTRosterEntry can only be deleted locally. Default is NO.
@property (nullable, nonatomic, retain) NSNumber *ignoreApiUpdateDeclared In
TTRosterEntry.h
organizationToken
Organization token of the TTOrganization to which the TTRosterEntry belongs to.
@property (nullable, nonatomic, retain) NSString *organizationTokenDeclared In
TTRosterEntry.h
timestamp
Latest message received or sent for this TTRosterEntry. Epoch format.
@property (nullable, nonatomic, retain) NSNumber *timestampDeclared In
TTRosterEntry.h
token
TTRosterEntry token. Internal, use conversationHash instead.
@property (nullable, nonatomic, retain) NSString *tokenDeclared In
TTRosterEntry.h
title
When set to YES, TTRosterEntry can only be deleted locally. Default is NO.
@property (nullable, nonatomic, retain) NSString *titleDeclared In
TTRosterEntry.h
department
When set to YES, TTRosterEntry can only be deleted locally. Default is NO.
@property (nullable, nonatomic, retain) NSString *departmentDeclared In
TTRosterEntry.h
latestMessage
Latest TTMessage related to this TTRosterEntry.
@property (nullable, nonatomic, retain) TTMessage *latestMessageDeclared In
TTRosterEntry.h
organization
TTOrganization related to this TTRosterEntry.
@property (nullable, nonatomic, retain) TTOrganization *organizationDeclared In
TTRosterEntry.h
dnd
Do not disturb state
@property (nullable, nonatomic, retain) NSNumber *dndDeclared In
TTRosterEntry.h
dndText
Do not disturb text
@property (nullable, nonatomic, retain) NSString *dndTextDeclared In
TTRosterEntry.h
priority
Indicates if the Roster has a higher priorty (common scenarios will be unread priority messages or escalation groups).
@property (nullable, nonatomic, retain) NSNumber *priorityDeclared In
TTRosterEntry.h
hasUnreadPriorityMessage
Indicates if the Roster has unread priority messages.
@property (nullable, nonatomic, retain) NSNumber *hasUnreadPriorityMessageDeclared In
TTRosterEntry.h
autoforward
Convenience getter for autoforwardReceiver is non-empty, when autoforward is enabled.
@property (readonly) BOOL autoforwardDeclared In
TTRosterEntry.h
service
Indicates if the Roster belongs to any service (like alerts).
@property (nullable, nonatomic, retain) NSString *serviceDeclared In
TTRosterEntry.h