HistoryTrait
trait HistoryTrait (View source)
历史记录
Methods
array
historyQuerySessionMsg(string $from, string $to, string $begintime, string $endtime = null, int $limit = 100, int $reverse = 2, string $type = null)
单聊云端历史消息查询
array
historyQueryTeamMsg(string $tid, string $accid, string $begintime, string $endtime = null, int $limit = 100, int $reverse = 2, string $type = null)
群聊云端历史消息查询
array
historyQueryChatroomMsg(int $roomid, string $accid, string $timetag, int $limit = 100, int $reverse = 2, string $type = null)
聊天室云端历史消息查询 此接口有频控限制,每分钟可调用不超过1200次
bool|array
historyDeleteHistoryMessage(int $roomid, string $fromAcc, int $msgTimetag)
删除聊天室云端历史消息
array
historyQueryUserEvents(string $accid, string $begintime, string $endtime, int $limit = 100, int $reverse = 2)
用户登录登出事件记录查询 跟据时间段查询用户的登录登出记录,每次最多返回100条。 不提供分页支持,第三方需要跟据时间段来查询。
array|bool
historyDeleteMediaFile(int $channelid)
删除音视频/白板服务器录制文件
array
historyQueryBroadcastMsg(int $broadcastId = 0, int $limit = 100, int $type = 1)
批量查询广播消息
array
historyQueryBroadcastMsgById(int $broadcastId)
查询单条广播消息
Details
at line 39
array
historyQuerySessionMsg(string $from, string $to, string $begintime, string $endtime = null, int $limit = 100, int $reverse = 2, string $type = null)
单聊云端历史消息查询
at line 69
array
historyQueryTeamMsg(string $tid, string $accid, string $begintime, string $endtime = null, int $limit = 100, int $reverse = 2, string $type = null)
群聊云端历史消息查询
at line 100
array
historyQueryChatroomMsg(int $roomid, string $accid, string $timetag, int $limit = 100, int $reverse = 2, string $type = null)
聊天室云端历史消息查询 此接口有频控限制,每分钟可调用不超过1200次
at line 125
bool|array
historyDeleteHistoryMessage(int $roomid, string $fromAcc, int $msgTimetag)
删除聊天室云端历史消息
at line 151
array
historyQueryUserEvents(string $accid, string $begintime, string $endtime, int $limit = 100, int $reverse = 2)
用户登录登出事件记录查询 跟据时间段查询用户的登录登出记录,每次最多返回100条。 不提供分页支持,第三方需要跟据时间段来查询。
at line 173
array|bool
historyDeleteMediaFile(int $channelid)
删除音视频/白板服务器录制文件
at line 190
array
historyQueryBroadcastMsg(int $broadcastId = 0, int $limit = 100, int $type = 1)
批量查询广播消息
at line 210
array
historyQueryBroadcastMsgById(int $broadcastId)
查询单条广播消息