Agora RTC Objective-C API Reference Refactor

Properties
AgoraRtmMessageEvent Class Reference

Inherits <NSObject>.

## Properties
AgoraRtmChannelType | channelType
NSString * | channelName
NSString * | channelTopic
NSData * | message
NSString * | publisher

## Property Documentation

## ◆ channelType

- (AgoraRtmChannelType) channelType
| readnonatomicassign

Which channel type, messageChannel or streamChannel

## ◆ 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

- (NSData*) message
| readwritenonatomiccopy

The payload

## ◆ publisher

- (NSString*) publisher
| readwritenonatomiccopy

The publisher