|
| virtual void | SendComment (const std::string &comment, const std::function< void(const std::string &comment_id)> &success_callback, const std::function< void(const ::alibaba::dps::DPSError &error)> &failure_callback)=0 |
| | 发送消息二点接口 More...
|
| |
|
virtual void | MuteAll ()=0 |
| | 禁言全部用户
|
| |
|
virtual void | CancelMuteAll ()=0 |
| | 取消禁言全部用户
|
| |
| virtual void | MuteUser (const std::string &uid)=0 |
| | 禁言某个用户 More...
|
| |
| virtual void | CancelMuteUser (const std::string &)=0 |
| | 取消禁言某个用户 More...
|
| |
| virtual void | SetChatEventListener (const std::shared_ptr<::alibaba::meta::ChatEventListener > &listener)=0 |
| | 设置互动相关的事件回调 More...
|
| |
| virtual void | GetTopicInfo (const std::function< void(const ::alibaba::chat::GetTopicInfoRsp &rsp)> &on_success, const std::function< void(const ::alibaba::dps::DPSError &error)> &on_failure)=0 |
| | 获取互动话题相关信息 More...
|
| |
| virtual void | ListComment (const ::alibaba::chat::ListCommentReq &req, const std::function< void(const ::alibaba::chat::ListCommentRsp &rsp)> &on_success, const std::function< void(const ::alibaba::dps::DPSError &error)> &on_failure)=0 |
| | 获取历史评论 More...
|
| |
| virtual void | ListBanUsers (const std::function< void(const ::alibaba::chat::ListBanCommentUsersRsp &rsp)> &on_success, const std::function< void(const ::alibaba::dps::DPSError &error)> &on_failure)=0 |
| | 获取被禁言用户 More...
|
| |
| virtual void | SendCustomMessage (const alibaba::chat::SendCustomMessageReq &req, const std::function< void(const ::alibaba::chat::SendCustomMessageRsp &rsp)> &on_success, const std::function< void(const ::alibaba::dps::DPSError &error)> &on_failure)=0 |
| | 发送自定义消息 More...
|
| |
| virtual void | SendCustomMessageToUsers (const alibaba::chat::SendCustomMessageToUsersReq &req, const std::function< void(const ::alibaba::chat::SendCustomMessageToUsersRsp &rsp)> &on_success, const std::function< void(const ::alibaba::dps::DPSError &error)> &on_failure)=0 |
| | 发送自定义消息给指定的用户 More...
|
| |
| virtual PluginEnum | GetPluginType ()=0 |
| | 获取插件类型 More...
|
| |
| virtual bool | IsValid ()=0 |
| | 插件是否有效 More...
|
| |
◆ CancelMuteUser()
| virtual void IChat::CancelMuteUser |
( |
const std::string & |
| ) |
|
|
pure virtual |
◆ GetTopicInfo()
| virtual void IChat::GetTopicInfo |
( |
const std::function< void(const ::alibaba::chat::GetTopicInfoRsp &rsp)> & |
on_success, |
|
|
const std::function< void(const ::alibaba::dps::DPSError &error)> & |
on_failure |
|
) |
| |
|
pure virtual |
获取互动话题相关信息
- Parameters
-
| on_success | 成功回调,参考alibaba::chat::GetTopicInfoRsp |
| on_failure | 失败回调 |
◆ ListBanUsers()
| virtual void IChat::ListBanUsers |
( |
const std::function< void(const ::alibaba::chat::ListBanCommentUsersRsp &rsp)> & |
on_success, |
|
|
const std::function< void(const ::alibaba::dps::DPSError &error)> & |
on_failure |
|
) |
| |
|
pure virtual |
获取被禁言用户
- Parameters
-
| req | 请求参数, 参考alibaba::chat::ListBanCommentUsersReq |
| on_success | 成功回调,参考alibaba::chat::ListBanCommentUsersRsp |
| on_failure | 失败回调 |
◆ ListComment()
获取历史评论
- Parameters
-
| req | 请求参数, 参考alibaba::chat::ListCommentReq |
| on_success | 成功回调,参考alibaba::chat::ListCommentRsp |
| on_failure | 失败回调 |
◆ MuteUser()
| virtual void IChat::MuteUser |
( |
const std::string & |
uid | ) |
|
|
pure virtual |
◆ SendComment()
| virtual void IChat::SendComment |
( |
const std::string & |
comment, |
|
|
const std::function< void(const std::string &comment_id)> & |
success_callback, |
|
|
const std::function< void(const ::alibaba::dps::DPSError &error)> & |
failure_callback |
|
) |
| |
|
pure virtual |
◆ SendCustomMessage()
发送自定义消息
- Parameters
-
| req | 请求参数, 参考alibaba::chat::SendCustomMessageReq |
| on_success | 成功回调,参考alibaba::chat::SendCustomMessageRsp |
| on_failure | 失败回调 |
◆ SendCustomMessageToUsers()
发送自定义消息给指定的用户
- Parameters
-
| req | 请求参数, 参考alibaba::chat::SendCustomMessageToUsersReq |
| on_success | 成功回调,参考alibaba::chat::SendCustomMessageToUsersRsp |
| on_failure | 失败回调 |
◆ SetChatEventListener()
设置互动相关的事件回调
- Parameters
-
| listener | 监听实现类,参考alibaba::meta::ChatEventListener |
The documentation for this class was generated from the following file: