NIM SDK API  9.0.0
Public Member Functions | Public Attributes | List of all members
nim::IMImage Struct Reference

图片消息附件 More...

#include <nim_talk_helper.h>

Inheritance diagram for nim::IMImage:
nim::IMFile

Public Member Functions

 IMImage ()
 
std::string ToJsonString () const
 组装Json Value字符串 More...
 
- Public Member Functions inherited from nim::IMFile
 IMFile ()
 
std::string ToJsonString (nim_cpp_wrapper_util::Json::Value &attach) const
 组装Json Value字符串 More...
 
std::string ToJsonString () const
 组装Json Value字符串 More...
 

Public Attributes

int width_
 
int height_
 
- Public Attributes inherited from nim::IMFile
std::string md5_
 
int64_t size_
 
std::string url_
 
std::string display_name_
 
std::string file_extension_
 
std::string msg_attachment_tag_
 

Detailed Description

图片消息附件

Constructor & Destructor Documentation

◆ IMImage()

nim::IMImage::IMImage ( )
inline

构造函数

Member Function Documentation

◆ ToJsonString()

std::string nim::IMImage::ToJsonString ( ) const
inline

组装Json Value字符串

Returns
string Json Value字符串

Member Data Documentation

◆ height_

int nim::IMImage::height_

图片高度

◆ width_

int nim::IMImage::width_

图片宽度


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