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

Public Member Functions

 QChatAudioAttach (const std::string &raw_data)
 QChatAudioAttach (const NIMQChatAudioAttach &c_param)
const NIMQChatAudioAttach ToCParam () const
void SetRawData (const std::string &raw_data)
std::string GetRawData () const override
- Public Member Functions inherited from nim_qchat::QChatFileAttach
 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

uint64_t duration = 0
- Public Attributes inherited from nim_qchat::QChatFileAttach
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::QChatAudioAttach::GetRawData ( ) const

Reimplemented from nim_qchat::QChatFileAttach.

◆ SetRawData()

void nim_qchat::QChatAudioAttach::SetRawData ( const std::string &  raw_data)

Reimplemented from nim_qchat::QChatFileAttach.

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