LiveChatModerators
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
liveChatModerator
资源表示 YouTube 实时聊天的管理员。聊天管理员可以将用户加入聊天黑名单,移除消息以及对实时聊天执行其他管理操作。
方法
该 API 支持 liveChatModerators
资源的以下方法。所有请求都必须获得该实时聊天频道所有者的授权。
- list
- 列出实时聊天的管理员。
立即试用。
- 插入
- 为聊天添加新的管理员。
立即试用。
- delete
- 移除聊天管理员。
立即试用。
属性
下表定义了此资源中显示的属性:
属性 |
kind |
string
标识 API 资源类型。值为 youtube#liveChatModerator 。 |
etag |
etag
此资源的 Etag。 |
id |
string
YouTube 分配给唯一标识管理员的 ID。 |
snippet |
object
snippet 对象包含审核员的详细信息。 |
snippet.moderatorDetails |
object
此对象包含有关管理员的详细信息。 |
snippet.moderatorDetails.channelId |
string
管理员的 YouTube 频道 ID。 |
snippet.moderatorDetails.channelUrl |
string
管理员的 YouTube 频道网址。 |
snippet.moderatorDetails.displayName |
string
管理员的 YouTube 频道的显示名。 |
snippet.moderatorDetails.profileImageUrl |
string
管理员的 YouTube 频道的头像网址。 |
snippet.liveChatId |
string
管理员有权管理的实时聊天的 ID。与广播关联的实时聊天 ID 会在 liveBroadcast 资源的 snippet.liveChatId 属性中返回。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-02-22。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2023-02-22。"],[[["`liveChatModerator` resources represent individuals with the authority to manage a YouTube live chat, including banning/unbanning users and removing messages."],["The API provides methods to list, add, and delete moderators for a live chat, requiring authorization from the live chat's channel owner."],["The `liveChatModerator` resource includes properties like `moderatorDetails`, `liveChatId`, `kind`, `etag`, and `id`, providing comprehensive information about each moderator."],["The `moderatorDetails` section of the resource provides specific information about the moderator, such as their channel ID, URL, display name, and profile image URL."]]],["`liveChatModerator` resources manage YouTube live chat moderators. Moderators can ban/unban users and remove messages. The API methods include: `list` to view moderators, `insert` to add new ones, and `delete` to remove them. Each moderator resource contains properties like `kind`, `etag`, and `id`, alongside `snippet` details such as `moderatorDetails` (including `channelId`, `channelUrl`, `displayName`, and `profileImageUrl`) and the associated `liveChatId`. All requests require authorization from the live chat's channel owner.\n"]]