8#ifndef NIM_SDK_DLL_EXPORT_HEADERS_SESSION_ONLINE_SERVICE_DEF_H_
9#define NIM_SDK_DLL_EXPORT_HEADERS_SESSION_ONLINE_SERVICE_DEF_H_
void(* nim_session_online_service_session_changed_cb_func)(const char *session_info, const void *user_data)
Definition: nim_session_online_service_def.h:56
static const char * kMINSessionOLSRVQueryListMinTimestamp
uint64_t 最小时间戳
Definition: nim_session_online_service_def.h:77
static const char * kMINSessionOLSRVUpdateEXT
string 扩展字段,可自定义
Definition: nim_session_online_service_def.h:103
static const char * kMINSessionOLSRVDeleteType
int 会话类型
Definition: nim_session_online_service_def.h:108
void(* nim_session_online_service_delete_session_cb_func)(int rescode, const void *user_data)
Definition: nim_session_online_service_def.h:48
static const char * kMINSessionOLSRVDeleteID
string 会话ID
Definition: nim_session_online_service_def.h:110
static const char * kMINSessionOLSRVInfoEXT
string 扩展字段,可自定义
Definition: nim_session_online_service_def.h:66
static const char * kMINSessionOLSRVQueryListHasMore
bool 结果集是否完整 如果为"false" 可以根据上一请求的 MaxTimestamp 再次发起增时请求
Definition: nim_session_online_service_def.h:85
static const char * kMINSessionOLSRVQueryListNeedLastMsg
bool 结果中是否需要返回最近一条消息,缺省true
Definition: nim_session_online_service_def.h:81
static const char * kMINSessionOLSRVQueryID
string 会话ID
Definition: nim_session_online_service_def.h:94
void(* nim_session_online_service_update_session_cb_func)(int rescode, const void *user_data)
Definition: nim_session_online_service_def.h:40
static const char * kMINSessionOLSRVInfoLastMSG
string 最后一条消息的相关数据 json格式,
Definition: nim_session_online_service_def.h:68
static const char * kMINSessionOLSRVQueryListLimit
int,获取的最多记录数量,最大100,缺省100
Definition: nim_session_online_service_def.h:83
static const char * kMINSessionOLSRVInfoLastMSGType
int 最后一条消息的类型 0表示普通消息,1表示消息撤回通知
Definition: nim_session_online_service_def.h:70
static const char * kMINSessionOLSRVUpdateID
string 会话ID
Definition: nim_session_online_service_def.h:101
static const char * kMINSessionOLSRVInfoType
int 会话类型
Definition: nim_session_online_service_def.h:60
void(* nim_session_online_service_query_session_cb_func)(int rescode, const char *result, const void *user_data)
Definition: nim_session_online_service_def.h:32
void(* nim_session_online_service_query_session_list_cb_func)(int rescode, const char *result, const void *user_data)
Definition: nim_session_online_service_def.h:23
static const char * kMINSessionOLSRVQueryType
int 会话类型
Definition: nim_session_online_service_def.h:92
static const char * kMINSessionOLSRVInfoID
string 会话ID
Definition: nim_session_online_service_def.h:62
static const char * kMINSessionOLSRVInfoUpdateT
uint64_t 会话最后更新时间
Definition: nim_session_online_service_def.h:64
static const char * kMINSessionOLSRVQueryListInfos
array 查询到的会话列表
Definition: nim_session_online_service_def.h:87
static const char * kMINSessionOLSRVQueryListRESCode
int 查询结果错误码 200成功
Definition: nim_session_online_service_def.h:75
static const char * kMINSessionOLSRVQueryListMaxTimestamp
uint64_t 最大时间戳,翻页时使用
Definition: nim_session_online_service_def.h:79
static const char * kMINSessionOLSRVUpdateType
int 会话类型
Definition: nim_session_online_service_def.h:99
NIM SDK 及 NIM ChatRoom SDK 公用头文件