AgoraRtmChannelAttribute Class Reference

Inherits from NSObject
Declared in AgoraRtmKit.h

Overview

A data structure holding an RTM channel attribute and its value.

  key

The key of channel attribute. Must be visible characters and not exceed 32 Bytes.

@property (nonatomic, copy, nonnull) NSString *key

Declared In

AgoraRtmKit.h

  value

The value of the channel attribute. Must not exceed 8 KB in length.

@property (nonatomic, copy, nonnull) NSString *value

Declared In

AgoraRtmKit.h

  lastUpdateUserId

The ID of the user who makes the latest update to the channel attribute.

@property (nonatomic, copy, nonnull) NSString *lastUpdateUserId

Declared In

AgoraRtmKit.h

  lastUpdateTs

Timestamp of when the channel attribute was last updated in milliseconds.

@property (nonatomic, assign, readonly) long long lastUpdateTs

Declared In

AgoraRtmKit.h