AVDMessage Class Reference

Inherits from NSObject
Declared in AVDMessage.h
AVDMessage.mm

Overview

* 聊天消息结构.

*

* 聊天消息定义了一次传输聊天的信息。

  fromId

< 消息时间戳,对应用层是本地时间,传输中用GMT时间

@property (nonatomic, strong, readonly) AVDUserId fromId

Discussion

< 消息时间戳,对应用层是本地时间,传输中用GMT时间

Declared In

AVDMessage.h

  fromName

< 消息发送者Id

@property (nonatomic, strong, readonly) NSString *fromName

Discussion

< 消息发送者Id

Declared In

AVDMessage.h

  message

< 消息发送者名

@property (nonatomic, strong, readonly) NSString *message

Discussion

< 消息发送者名

Declared In

AVDMessage.h

– initWithFromId:fromName:message:

< 消息内容

- (instancetype)initWithFromId:(NSString *)fromId fromName:(NSString *)fromName message:(NSString *)message

Discussion

< 消息内容

Declared In

AVDMessage.h