NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
nim::QChatFileAttach结构体 参考

#include <nim_qchat_message_cpp_def.h>

类 nim::QChatFileAttach 继承关系图:
nim::IQChatAttachInterface nim::QChatAudioAttach nim::QChatImageAttach nim::QChatVideoAttach

Public 成员函数

 QChatFileAttach ()=default
 
 QChatFileAttach (const std::string &raw_data)
 
 QChatFileAttach (const NIMQChatFileAttach &c_param)
 
NIMQChatFileAttach ToCParam () const
 
void SetRawData (const std::string &raw_data) override
 
std::string GetRawData () const override
 
void ProcessFileFields (nim_cpp_wrapper_util::Json::Value &values) const
 
bool IsFileBased () const override
 
- Public 成员函数 继承自 nim::IQChatAttachInterface
 IQChatAttachInterface ()=default
 
virtual ~IQChatAttachInterface ()
 

Public 属性

std::string name
 
std::string file_path
 
std::string hash
 
std::string download_url
 
std::string extension
 

构造及析构函数说明

◆ QChatFileAttach() [1/3]

nim::QChatFileAttach::QChatFileAttach ( )
default

◆ QChatFileAttach() [2/3]

nim::QChatFileAttach::QChatFileAttach ( const std::string & raw_data)
inline

◆ QChatFileAttach() [3/3]

nim::QChatFileAttach::QChatFileAttach ( const NIMQChatFileAttach & c_param)
inline

成员函数说明

◆ GetRawData()

std::string nim::QChatFileAttach::GetRawData ( ) const
inlineoverridevirtual

◆ IsFileBased()

bool nim::QChatFileAttach::IsFileBased ( ) const
inlineoverridevirtual

◆ ProcessFileFields()

void nim::QChatFileAttach::ProcessFileFields ( nim_cpp_wrapper_util::Json::Value & values) const
inline

◆ SetRawData()

void nim::QChatFileAttach::SetRawData ( const std::string & raw_data)
inlineoverridevirtual

◆ ToCParam()

NIMQChatFileAttach nim::QChatFileAttach::ToCParam ( ) const
inline

类成员变量说明

◆ download_url

std::string nim::QChatFileAttach::download_url

◆ extension

std::string nim::QChatFileAttach::extension

◆ file_path

std::string nim::QChatFileAttach::file_path

◆ hash

std::string nim::QChatFileAttach::hash

◆ name

std::string nim::QChatFileAttach::name

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