#import <AgoraChatMessageStatistics.h>
@header AgoraChatMessageStatistics.h @abstract The message traffic statistics model. 
- 作者
- Hyphenate 
- 版本
- 3.00 The message traffic statistics. 
◆ attachmentSize
  
  | 
        
          | - (NSUInteger) attachmentSize |  | readnonatomicassign | 
 
The amount of traffic for the message attachment.
The traffic is measured in bytes. 
 
 
◆ chatType
  
  | 
        
          | - (AgoraChatType) chatType |  | readnonatomicassign | 
 
 
◆ direction
  
  | 
        
          | - (AgoraChatMessageDirection) direction |  | readnonatomicassign | 
 
The message direction:
- Send: Messages sent by the current user;
- Receive: Messages received by the current user.
 
 
◆ from
The user ID of the message sender. 
 
 
◆ messageId
The message ID, which is the unique identifier of the message. 
 
 
◆ messageSize
  
  | 
        
          | - (NSUInteger) messageSize |  | readnonatomicassign | 
 
The amount of traffic for the message body.
The traffic is measured in bytes. 
 
 
◆ thumbnailSize
  
  | 
        
          | - (NSUInteger) thumbnailSize |  | readnonatomicassign | 
 
The amount of traffic for the thumbnail.
The traffic is measured in bytes. 
 
 
◆ timestamp
The Unix timestamp for the Chat server receiving the message.
The Unix timestamp is in the unit of millisecond. 
 
 
◆ to
The user ID of the message recipient. 
 
 
◆ type
  
  | 
        
          | - (AgoraChatMessageBodyType) type |  | readnonatomicassign | 
 
 
该类的文档由以下文件生成: