Agora RTC Objective-C API Reference Refactor

Properties
AgoraRtmPublishOptions Class Reference

Inherits <NSObject>.

## Properties
AgoraRtmChannelType | channelType
NSString * | customType
BOOL | storeInHistory

## Property Documentation

## ◆ channelType

- (AgoraRtmChannelType) channelType
| read write nonatomic assign

Which channel type, RTM_CHANNEL_TYPE_USER or RTM_CHANNEL_TYPE_MESSAGE

## ◆ customType

- (NSString*) customType
| read write nonatomic copy

The custom type of the message, up to 32 bytes for customize.

## ◆ storeInHistory

- (BOOL) storeInHistory
| read write nonatomic assign

Whether to store in history, true to enable