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

小视频消息附件 More...

#include <nim_talk_helper.h>

Inheritance diagram for nim::IMVideo:
nim::IMFile

Public Member Functions

 IMVideo ()
 
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 duration_
 
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

◆ IMVideo()

nim::IMVideo::IMVideo ( )
inline

构造函数

Member Function Documentation

◆ ToJsonString()

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

组装Json Value字符串

Returns
string Json Value字符串

Member Data Documentation

◆ duration_

int nim::IMVideo::duration_

视频时长

◆ height_

int nim::IMVideo::height_

视频画面高度

◆ width_

int nim::IMVideo::width_

视频画面宽度


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