Inherits from NSObject
Declared in Bit6Message.h

Overview

A Bit6Message object represents a message sent or received by the user.

Properties

attachFileType

Gets the attachment type of the sender as a value of the Bit6MessageFileType enumeration.

@property (nonatomic, readonly) Bit6MessageFileType attachFileType

Declared In

Bit6Message.h

attachmentType

The remote url for the sender’s full attachment.

@property (nullable, nonatomic, readonly) NSString *attachmentType

Declared In

Bit6Message.h

audioDuration

Gets the length of the audio file attached to the sender.

@property (nonatomic, readonly) double audioDuration

Discussion

Note: You should check if the sender has an audio file attached by using the Bit6Message.attachFileType property.

Declared In

Bit6Message.h

callDuration

Gets the length of the call. This property should be used only if self.type == Bit6MessageType_Call.

@property (nullable, nonatomic, readonly) NSNumber *callDuration

Declared In

Bit6Message.h

callStatus

Call status as a value of the Bit6MessageCallStatus enumeration. This property should be used only if self.type == Bit6MessageType_Call.

@property (nonatomic, readonly) Bit6MessageCallStatus callStatus

Declared In

Bit6Message.h

content

The text content of the sender.

@property (nullable, nonatomic, readonly, copy) NSString *content

Declared In

Bit6Message.h

conversation

The conversation the sender belongs to.

@property (nullable, nonatomic, readonly) Bit6Conversation *conversation

Declared In

Bit6Message.h

created

The creation timestamp of the sender.

@property (nonnull, nonatomic, copy, readonly) NSNumber *created

Declared In

Bit6Message.h

incoming

YES if this is an incoming message.

@property (nonatomic, readonly) BOOL incoming

Declared In

Bit6Message.h

location

Location attached to the message if available, or kCLLocationCoordinate2DInvalid if not.

@property (nonatomic, readonly) CLLocationCoordinate2D location

Declared In

Bit6Message.h

other

Gets the other person address as a Bit6Address object.

@property (nullable, nonatomic, readonly, copy) Bit6Address *other

Declared In

Bit6Message.h

pathForFullAttachment

The path for the sender’s full attachment.

@property (nullable, nonatomic, readonly) NSString *pathForFullAttachment

Declared In

Bit6Message.h

pathForThumbnailAttachment

The path for the sender’s full attachment.

@property (nullable, nonatomic, readonly) NSString *pathForThumbnailAttachment

Declared In

Bit6Message.h

remoteURLForFullAttachment

The remote url for the sender’s full attachment.

@property (nullable, nonatomic, readonly) NSURL *remoteURLForFullAttachment

Declared In

Bit6Message.h

remoteURLForThumbnailAttachment

The remote url for the sender’s thumbnail attachment.

@property (nullable, nonatomic, readonly) NSURL *remoteURLForThumbnailAttachment

Declared In

Bit6Message.h

status

Sender status as a value of the Bit6MessageStatus enumeration.

@property (nonatomic, readonly) Bit6MessageStatus status

Declared In

Bit6Message.h

statusForFullAttachment

The status for the sender’s full attachment as a value of the Bit6MessageAttachmentStatus enumeration.

@property (nonatomic, readonly) Bit6MessageAttachmentStatus statusForFullAttachment

Declared In

Bit6Message.h

statusForThumbnailAttachment

The status for the sender’s thumbnail attachment as a value of the Bit6MessageAttachmentStatus enumeration.

@property (nonatomic, readonly) Bit6MessageAttachmentStatus statusForThumbnailAttachment

Declared In

Bit6Message.h

type

Sender type as a value of the Bit6MessageType enumeration.

@property (nonatomic, readonly) Bit6MessageType type

Declared In

Bit6Message.h

updated

The last updated timestamp of the sender.

@property (nullable, nonatomic, copy, readonly) NSNumber *updated

Declared In

Bit6Message.h

Instance Methods

callHasChannel:

Determine if the call had the specific channel. This method should be used only if self.type == Bit6MessageType_Call.

- (BOOL)callHasChannel:(Bit6MessageCallChannel)channel

Parameters

channel

Channel to look for in the call.

Return Value

true if the call had the specific channel.

Declared In

Bit6Message.h