AgoraRtmMessageType Constants Reference

Declared in AgoraRtmKit.h

AgoraRtmMessageType

Message types.

Definition

typedef NS_ENUM(NSInteger, AgoraRtmMessageType ) {
   AgoraRtmMessageTypeUndefined = 0,
   AgoraRtmMessageTypeText = 1,
   AgoraRtmMessageTypeRaw = 2,
   AgoraRtmMessageTypeFile = 3,
   AgoraRtmMessageTypeImage = 4,
};

Constants

AgoraRtmMessageTypeUndefined

0: Undefined message type.

Declared In AgoraRtmKit.h.

AgoraRtmMessageTypeText

1: A text message.

Declared In AgoraRtmKit.h.

AgoraRtmMessageTypeRaw

2: A raw message.

Declared In AgoraRtmKit.h.

AgoraRtmMessageTypeFile

3: A file message. The size of a file message must be less than 32 KB.

Declared In AgoraRtmKit.h.

AgoraRtmMessageTypeImage

4: An image message. The size of an image message must be less than 32 KB.

Declared In AgoraRtmKit.h.

Declared In

AgoraRtmKit.h