Agora RTC Objective-C API Reference  Refactor
Properties
AgoraRtmMessageEvent Class Reference

Inherits <NSObject>.

Properties

AgoraRtmChannelType channelType
 
NSString * channelName
 
NSString * channelTopic
 
AgoraRtmMessagemessage
 
NSString * publisher
 
NSString * customType
 
unsigned long long timestamp
 

Property Documentation

◆ channelType

- (AgoraRtmChannelType) channelType
readwritenonatomicassign

Which channel type

◆ channelName

- (NSString*) channelName
readwritenonatomiccopy

The channel to which the message was published

◆ channelTopic

- (NSString*) channelTopic
readwritenonatomiccopy

If the channelType is stChannel, which topic the message come from. only for stChannel type

◆ message

- (AgoraRtmMessage*) message
readwritenonatomiccopy

The payload

◆ publisher

- (NSString*) publisher
readwritenonatomiccopy

The publisher

◆ customType

- (NSString*) customType
readwritenonatomiccopy

The publisher

◆ timestamp

- (unsigned long long) timestamp
readwritenonatomicassign

RTM server UTC time