net.polyv.live.v1.service.chat
接口 ILiveChatRoomService

所有已知实现类:
LiveChatRoomServiceImpl

public interface ILiveChatRoomService

直播签到管理


方法摘要
 LiveBadWordResponse addBadWord(LiveBadWordRequest liveBadWordRequest)
          批量导入频道严禁词,API地址:https://dev.polyv.net/2017/liveproduct/zblts/addforbiddenwords/
 List<String> addBannedIP(LiveChatBannedIPRequest liveChatBannedIPRequest)
          设置聊天室禁言ip,API地址:https://dev.polyv.net/2017/liveproduct/zblts/addbannedip/
 Boolean cleanChannelAllMsg(LiveCleanChannelAllMsgRequest liveCleanChannelAllMsgRequest)
          删除频道聊天记录,API地址:https://dev.polyv.net/2017/liveproduct/zblts/cleanchat/
 Boolean delBanned(LiveDelBannedDataRequest liveDelBannedDataRequest)
          删除禁言IP/严禁词,API地址:https://dev.polyv.net/2017/liveproduct/zblts/delbanned/
 Boolean delChatSingleMsg(LiveChatDelSingleMsgRequest liveChatDelSingleMsgRequest)
          删除单条聊天记录,API地址:https://dev.polyv.net/2017/liveproduct/zblts/delchat/
 List<String> getAccountBadworkList(LiveGetAccountBadWordRequest liveGetAccountBadWordRequest)
          查询账号严禁词列表,API地址:https://dev.polyv.net/2019/liveproduct/zblts/user-badword-list/
 List<String> getBannedList(LiveGetBannedListRequest liveGetBannedListRequest)
          查询频道禁言列表,API地址:https://dev.polyv.net/2019/liveproduct/zblts/get-banned-list/
 List<String> getChannelBadworkList(LiveGetBadwordIPRequest liveGetBadwordIPRequest)
          查询频道严禁词/禁言IP列表,API地址:https://dev.polyv.net/2019/liveproduct/zblts/get-channel-badwords/
 LiveGetChatAdminDataResponse getChatAdminData(LiveGetChatAdminDataRequest liveGetChatAdminDataRequest)
          查询聊天室管理员信息,API地址:https://dev.polyv.net/2017/liveproduct/zblts/get-chat-admin/
 List<LiveGetConsultingRecordResponse> getConsultingRecord(LiveGetConsultingRecordRequest liveGetConsultingRecordRequest)
          查询咨询提问记录,API地址:https://dev.polyv.net/2018/liveproduct/zblts/getquestion/
 List<LiveGetHistoryChatMsgResponse> getHistoryChatMsg(LiveGetHistoryChatMsgRequest liveGetHistoryChatMsgRequest)
          查询历史聊天信息,API地址:https://dev.polyv.net/2019/liveproduct/zblts/get-channel-badwords/
 List<LiveKickedListResponse> getKickedList(LiveKickedListRequest liveKickedListRequest)
          查询频道踢人列表,API地址:https://dev.polyv.net/2019/liveproduct/zblts/list-kicked/
 List<LiveGetQuestionStatisticalResponse> getQuestionStatistical(LiveGetQuestionStatisticalRequest liveGetQuestionStatisticalRequest)
          查询频道的问答统计结果,API地址:https://dev.polyv.net/2018/liveproduct/zblts/get-question-result/
 LiveSendChatMsgResponse sendChatMsg(LiveSendChatMsgRequest liveSendChatMsgRequest)
          通过HTTP接口发送聊天消息请求实体,API地址:https://dev.polyv.net/2019/liveproduct/zblts/send-admin-msg/
 Boolean setChannelTeacherMsg(LiveSetTeacherDataRequest liveSetTeacherDataRequest)
          设置讲师信息,API地址:https://dev.polyv.net/2019/liveproduct/zblts/update-channel-teacher/
 Boolean setChatAdminData(LiveSetChatAdminDataRequest liveSetChatAdminDataRequest)
          设置聊天室管理员信息,API地址:https://dev.polyv.net/2017/liveproduct/zblts/set-chat-admin/
 

方法详细信息

sendChatMsg

LiveSendChatMsgResponse sendChatMsg(LiveSendChatMsgRequest liveSendChatMsgRequest)
                                    throws IOException,
                                           NoSuchAlgorithmException
通过HTTP接口发送聊天消息请求实体,API地址:https://dev.polyv.net/2019/liveproduct/zblts/send-admin-msg/

参数:
liveSendChatMsgRequest - 查询签到结果请求实体
返回:
响应实体
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

setChannelTeacherMsg

Boolean setChannelTeacherMsg(LiveSetTeacherDataRequest liveSetTeacherDataRequest)
                             throws IOException,
                                    NoSuchAlgorithmException
设置讲师信息,API地址:https://dev.polyv.net/2019/liveproduct/zblts/update-channel-teacher/

参数:
liveSetTeacherDataRequest - 设置讲师信息请求实体
返回:
响应实体
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

addBannedIP

List<String> addBannedIP(LiveChatBannedIPRequest liveChatBannedIPRequest)
                         throws IOException,
                                NoSuchAlgorithmException
设置聊天室禁言ip,API地址:https://dev.polyv.net/2017/liveproduct/zblts/addbannedip/

参数:
liveChatBannedIPRequest - 设置聊天室禁言ip请求实体
返回:
当前账号下所有禁言IP列表
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

addBadWord

LiveBadWordResponse addBadWord(LiveBadWordRequest liveBadWordRequest)
                               throws IOException,
                                      NoSuchAlgorithmException
批量导入频道严禁词,API地址:https://dev.polyv.net/2017/liveproduct/zblts/addforbiddenwords/

参数:
liveBadWordRequest - 批量导入频道严禁词请求实体
返回:
响应实体
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

getBannedList

List<String> getBannedList(LiveGetBannedListRequest liveGetBannedListRequest)
                           throws IOException,
                                  NoSuchAlgorithmException
查询频道禁言列表,API地址:https://dev.polyv.net/2019/liveproduct/zblts/get-banned-list/

参数:
liveGetBannedListRequest - 查询频道禁言列表请求实体
返回:
当前账号下所有禁言IP列表
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

getKickedList

List<LiveKickedListResponse> getKickedList(LiveKickedListRequest liveKickedListRequest)
                                           throws IOException,
                                                  NoSuchAlgorithmException
查询频道踢人列表,API地址:https://dev.polyv.net/2019/liveproduct/zblts/list-kicked/

参数:
liveKickedListRequest - 查询频道踢人列表请求实体
返回:
当前账号下所有禁言IP列表
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

delBanned

Boolean delBanned(LiveDelBannedDataRequest liveDelBannedDataRequest)
                  throws IOException,
                         NoSuchAlgorithmException
删除禁言IP/严禁词,API地址:https://dev.polyv.net/2017/liveproduct/zblts/delbanned/

参数:
liveDelBannedDataRequest - 删除禁言IP/严禁词请求实体
返回:
当前账号下所有禁言IP列表
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

getChannelBadworkList

List<String> getChannelBadworkList(LiveGetBadwordIPRequest liveGetBadwordIPRequest)
                                   throws IOException,
                                          NoSuchAlgorithmException
查询频道严禁词/禁言IP列表,API地址:https://dev.polyv.net/2019/liveproduct/zblts/get-channel-badwords/

参数:
liveGetBadwordIPRequest - 查询频道严禁词/禁言IP列表请求实体
返回:
禁言IP 或者 禁言词
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

getAccountBadworkList

List<String> getAccountBadworkList(LiveGetAccountBadWordRequest liveGetAccountBadWordRequest)
                                   throws IOException,
                                          NoSuchAlgorithmException
查询账号严禁词列表,API地址:https://dev.polyv.net/2019/liveproduct/zblts/user-badword-list/

参数:
liveGetAccountBadWordRequest - 查询账号严禁词列表请求实体
返回:
禁言词列表
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

cleanChannelAllMsg

Boolean cleanChannelAllMsg(LiveCleanChannelAllMsgRequest liveCleanChannelAllMsgRequest)
                           throws IOException,
                                  NoSuchAlgorithmException
删除频道聊天记录,API地址:https://dev.polyv.net/2017/liveproduct/zblts/cleanchat/

参数:
liveCleanChannelAllMsgRequest - 删除频道聊天记录请求实体
返回:
频道号
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 签名异常

getChatAdminData

LiveGetChatAdminDataResponse getChatAdminData(LiveGetChatAdminDataRequest liveGetChatAdminDataRequest)
                                              throws IOException,
                                                     NoSuchAlgorithmException
查询聊天室管理员信息,API地址:https://dev.polyv.net/2017/liveproduct/zblts/get-chat-admin/

参数:
liveGetChatAdminDataRequest - 查询聊天室管理员信息请求实体
返回:
频道号
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 签名异常

getHistoryChatMsg

List<LiveGetHistoryChatMsgResponse> getHistoryChatMsg(LiveGetHistoryChatMsgRequest liveGetHistoryChatMsgRequest)
                                                      throws IOException,
                                                             NoSuchAlgorithmException
查询历史聊天信息,API地址:https://dev.polyv.net/2019/liveproduct/zblts/get-channel-badwords/

参数:
liveGetHistoryChatMsgRequest - 查询历史聊天信息请求实体
返回:
想要实体列表
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

delChatSingleMsg

Boolean delChatSingleMsg(LiveChatDelSingleMsgRequest liveChatDelSingleMsgRequest)
                         throws IOException,
                                NoSuchAlgorithmException
删除单条聊天记录,API地址:https://dev.polyv.net/2017/liveproduct/zblts/delchat/

参数:
liveChatDelSingleMsgRequest - 删除单条聊天记录请求实体
返回:
是否成功
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 签名异常

setChatAdminData

Boolean setChatAdminData(LiveSetChatAdminDataRequest liveSetChatAdminDataRequest)
                         throws IOException,
                                NoSuchAlgorithmException
设置聊天室管理员信息,API地址:https://dev.polyv.net/2017/liveproduct/zblts/set-chat-admin/

参数:
liveSetChatAdminDataRequest - 设置聊天室管理员信息请求实体
返回:
是否成功
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 签名异常

getConsultingRecord

List<LiveGetConsultingRecordResponse> getConsultingRecord(LiveGetConsultingRecordRequest liveGetConsultingRecordRequest)
                                                          throws IOException,
                                                                 NoSuchAlgorithmException
查询咨询提问记录,API地址:https://dev.polyv.net/2018/liveproduct/zblts/getquestion/

参数:
liveGetConsultingRecordRequest - 查询咨询提问记录请求实体
返回:
实体列表
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常

getQuestionStatistical

List<LiveGetQuestionStatisticalResponse> getQuestionStatistical(LiveGetQuestionStatisticalRequest liveGetQuestionStatisticalRequest)
                                                                throws IOException,
                                                                       NoSuchAlgorithmException
查询频道的问答统计结果,API地址:https://dev.polyv.net/2018/liveproduct/zblts/get-question-result/

参数:
liveGetQuestionStatisticalRequest - 查询频道的问答统计结果请求实体
返回:
想要实体列表
抛出:
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 异常


Copyright © 2020. All Rights Reserved.