NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
v2::V2NIMMessageFileAttachment结构体 参考

#include <v2_nim_def_struct.hpp>

类 v2::V2NIMMessageFileAttachment 继承关系图:
v2::V2NIMMessageAttachment v2::V2NIMMessageAudioAttachment v2::V2NIMMessageImageAttachment v2::V2NIMMessageVideoAttachment

Public 成员函数

 V2NIMMessageFileAttachment ()
 
- Public 成员函数 继承自 v2::V2NIMMessageAttachment
virtual ~V2NIMMessageAttachment ()=default
 

Public 属性

uint64_t size {0}
 文件大小
 
nstd::string md5
 文件 md5
 
nstd::string url
 文件 url
 
nstd::string name
 文件显示名称
 
nstd::string path
 文件本地路径
 
nstd::string ext
 文件扩展名
 
nstd::string sceneName {V2NIM_STORAGE_SCENE_NAME_DEFAULT_IM}
 文件存储场景
 
V2NIMMessageAttachmentUploadState uploadState {V2NIM_MESSAGE_ATTACHMENT_UPLOAD_STATE_UNKNOWN}
 附件上传状态
 
- Public 属性 继承自 v2::V2NIMMessageAttachment
nstd::string raw
 附件内容
 
V2NIMMessageAttachmentType attachmentType {V2NIM_MESSAGE_ATTACHMENT_TYPE_UNIVERSAL}
 

构造及析构函数说明

◆ V2NIMMessageFileAttachment()

v2::V2NIMMessageFileAttachment::V2NIMMessageFileAttachment ( )
inline

类成员变量说明

◆ ext

nstd::string v2::V2NIMMessageFileAttachment::ext

文件扩展名

◆ md5

nstd::string v2::V2NIMMessageFileAttachment::md5

文件 md5

◆ name

nstd::string v2::V2NIMMessageFileAttachment::name

文件显示名称

◆ path

nstd::string v2::V2NIMMessageFileAttachment::path

文件本地路径

◆ sceneName

nstd::string v2::V2NIMMessageFileAttachment::sceneName {V2NIM_STORAGE_SCENE_NAME_DEFAULT_IM}

文件存储场景

◆ size

uint64_t v2::V2NIMMessageFileAttachment::size {0}

文件大小

◆ uploadState

附件上传状态

◆ url

nstd::string v2::V2NIMMessageFileAttachment::url

文件 url


该结构体的文档由以下文件生成: