跳到主要内容

get_last_recv_message_id

获取社交服用户在指定聊天房间里最近拖取的聊天消息的id(记录在社交服用户的临时数据中)

声明

int get_last_recv_message_id(object user, string room_id)

参数

参数名描述
user用户对象(User实例对象)
room_id聊天房间id

返回值

最近拖取的聊天消息的id

使用方式

返回文档