NIM PC Cross Platform SDK
nim_qchat::QChatFileAttach Struct Reference
Inheritance diagram for nim_qchat::QChatFileAttach:
nim_qchat::IQChatAttachInterface nim_qchat::QChatAudioAttach nim_qchat::QChatImageAttach nim_qchat::QChatVideoAttach

Public Member Functions

 QChatFileAttach (const std::string &raw_data)
 
 QChatFileAttach (const NIMQChatFileAttach &c_param)
 
const NIMQChatFileAttach ToCParam () const
 
void SetRawData (const std::string &raw_data)
 
std::string GetRawData () const override
 
void ProcessFileFields (nim_cpp_wrapper_util::Json::Value &values) const
 
bool IsFileBased () const override
 
virtual void SetRawData (const std::string &raw_data)
 
virtual std::string GetRawData () const
 
virtual bool IsFileBased () const
 

Public Attributes

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

Member Function Documentation

◆ GetRawData()

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

Reimplemented from nim_qchat::IQChatAttachInterface.

◆ IsFileBased()

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

Reimplemented from nim_qchat::IQChatAttachInterface.

◆ SetRawData()

void nim_qchat::QChatFileAttach::SetRawData ( const std::string &  raw_data)
inlinevirtual

Reimplemented from nim_qchat::IQChatAttachInterface.


The documentation for this struct was generated from the following file: