|
typedef void(* | nim_session_change_cb_func) (int rescode, const char *result, int total_unread_counts, const char *json_extension, const void *user_data) |
|
typedef void(* | nim_session_multi_change_cb_func) (int rescode, const char *result, int total_unread_counts, const void *user_data) |
|
typedef void(* | nim_session_delete_session_roaming_cb_func) (int rescode, const char *to_type, const char *id, const void *user_data) |
|
typedef void(* | nim_session_query_recent_session_cb_func) (int total_unread_count, const char *result, const char *json_extension, const void *user_data) |
|
typedef void(* | nim_session_query_sessiondata_by_id_cb_func) (int rescode, const char *result, const void *user_data) |
|
typedef int(* | nim_session_badge_count_cb_func) (const char *json_extension, const void *user_data) |
|
typedef void(* | nim_session_query_stick_top_session_list_cb_func) (int rescode, const char *result, const void *user_data) |
|
typedef void(* | nim_session_set_to_stick_top_cb_func) (int rescode, const char *stick_session, const void *user_data) |
|
typedef void(* | nim_session_cancel_stick_top_cb_func) (int rescode, const char *session_id, enum NIMSessionType to_type, const void *user_data) |
|
typedef void(* | nim_session_update_stick_top_cb_func) (int rescode, const char *stick_session, const void *user_data) |
|
typedef void(* | nim_session_set_to_stick_top_notify_cb_func) (const char *stick_session, const void *user_data) |
|
typedef void(* | nim_session_cancel_stick_top_notify_cb_func) (const char *session_id, enum NIMSessionType to_type, const void *user_data) |
|
typedef void(* | nim_session_update_stick_top_notify_cb_func) (const char *stick_session, const void *user_data) |
|
typedef void(* | nim_session_query_session_hasmore_roammsg_cb_func) (int rescode, const SessionRoamMsgHasMoreTagInfo *tag_info, const void *user_data) |
|
typedef void(* | nim_session_query_all_session_hasmore_roammsg_cb_func) (int rescode, const SessionRoamMsgHasMoreTagInfo *tag_info_list, int size, const void *user_data) |
|
typedef void(* | nim_session_update_session_hasmore_roammsg_cb_func) (int rescode, const void *user_data) |
|
typedef void(* | nim_session_delete_session_hasmore_roammsg_cb_func) (int rescode, const void *user_data) |
|
|
|
static const char * | kNIMSessionListCount = "count" |
| int, 会话列表项数量
|
|
static const char * | kNIMSessionListUnreadCount = "unread_counts" |
| int, 总未读数
|
|
static const char * | kNIMSessionListContent = "content" |
| json object (Keys as follows), 会话列表项内容
|
|
static const char * | kNIMSessionId = "id" |
| string, 会话id
|
|
static const char * | kNIMSessionType = "type" |
| int, 会话类型(见NIMSessionType 个人0 群组1 超大群5 etc)
|
|
static const char * | kNIMSessionUnreadCount = "unread_count" |
| int, 本地消息历史中该会话未读消息数量
|
|
static const char * | kNIMSessionCommand = "command" |
| int, 会话项操作命令NIMSessionCommand
|
|
static const char * | kNIMSessionMsgClientID = "msg_client_id" |
| string, 本地消息历史中该会话最后一条消息的客户端ID唯一标识,即消息uuid
|
|
static const char * | kNIMSessionMsgFromAccount = "msg_from_account" |
| string, 本地消息历史中该会话最后一条消息的发送方帐号
|
|
static const char * | kNIMSessionMsgTime = "msg_time" |
| long, 本地消息历史中该会话最后一条消息的时间
|
|
static const char * | kNIMSessionMsgType = "msg_type" |
| int, 本地消息历史中该会话最后一条消息的类型 见NIMMessageType
|
|
static const char * | kNIMSessionMsgBody = "msg_body" |
| string, 本地消息历史中该会话最后一条消息的内容
|
|
static const char * | kNIMSessionMsgAttach = "msg_attach" |
| string, 本地消息历史中该会话最后一条消息的attach
|
|
static const char * | kNIMSessionMsgStatus = "msg_status" |
| int, 本地消息历史中该会话最后一条消息的状态,见NIMMsgLogStatus
|
|
static const char * | kNIMSessionMsgSubStatus = "msg_sub_status" |
| int, 本地消息历史中该会话最后一条消息的子状态,见NIMMsgLogSubStatus
|
|
static const char * | kNIMSessionLastUpdatedMsg = "last_updated_msg" |
| bool, (批量)消息变更或增加时是否是最后一条变更的信息
|
|
static const char * | kNIMSessionOnTop = "top" |
| bool, 是否置顶
|
|
static const char * | kNIMSessionExtendedData = "extend_data" |
| string, 本地扩展字段, 限4096
|
|
static const char * | kNIMSessionRobotFlag = "robot_session" |
| bool, 是否为机器人会话, 默认为false
|
|
static const char * | kNIMSessionStickTopInfo = "stick_top_info" |
| json object, 置顶信息 (v7.6.0添加),该置顶信息会进行多端同步,不建议再使用 kNIMSessionOnTop
|
|
|
static const char * | kNIMSessionRoamMsgHasMoreId = "id" |
| string, 会话id
|
|
static const char * | kNIMSessionRoamMsgHasMoreType = "type" |
| int, 会话类型(见NIMSessionType 个人0 群组1 超大群5 etc)
|
|
static const char * | kNIMSessionRoamMsgHasMoreMsgServerID = "msg_server_id" |
| string, 界定消息的服务端ID
|
|
static const char * | kNIMSessionRoamMsgHasMoreMsgTime = "msg_time" |
| uint64_t, 最早一条漫游消息的时间戳
|
|
|
static const char * | kNIMSessionStickTopInfoTop = "top" |
| bool, 是否置顶
|
|
static const char * | kNIMSessionStickTopInfoSessionId = "id" |
| string, 会话id
|
|
static const char * | kNIMSessionStickTopInfoType = "type" |
| int, 会话类型(见NIMSessionType 个人0 群组1 超大群5 etc)
|
|
static const char * | kNIMSessionStickTopInfoExt = "ext" |
| string, 扩展字段
|
|
static const char * | kNIMSessionStickTopInfoCreateTime = "create_time" |
| uint64_t 设置置顶的时间戳
|
|
static const char * | kNIMSessionStickTopInfoUpdateTime = "update_time" |
| uint64_t 更新置顶的时间戳
|
|
static const char * | kNIMSessionStickTopSessionData = "session_data" |
| json object 会话信息
|
|
|
static const char * | kNIMSessionUnReadCountSessionType = "type" |
| enum NIMSessionType, 会话类型
|
|
static const char * | kNIMSessionUnReadCountSessionId = "id" |
| string, 会话id
|
|