| Chat SDK for Unity and Windows v1.3.2
    | 
 
  
| Public 成员函数 | |
| VoiceBody (string localPath, string displayName, int duration, long fileSize=0) | |
| Public 属性 | |
| int | Duration | 
| 额外继承的成员函数 | 
音频消息体。
| AgoraChat.MessageBody.VoiceBody.VoiceBody | ( | string | localPath, | 
| string | displayName, | ||
| int | duration, | ||
| long | fileSize = 0 | ||
| ) | 
音频消息体构造方法。
| localPath | 音频消息的本地路径。 | 
| displayName | 音频消息的显示名称。 | 
| duration | 音频时长,单位为秒。 | 
| fileSize | 音频文件大小,单位为字节。 | 
| int AgoraChat.MessageBody.VoiceBody.Duration | 
音频时长,单位为秒。