LiveChatModerators
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
liveChatModerator
資源代表 YouTube 聊天室的主持人。即時通訊管理員可將使用者停權或解除停權狀態、移除訊息,以及執行其他的聊天室管理動作。
方法
這個 API 支援下列 liveChatModerators
資源的方法。所有請求均須由聊天室頻道的擁有者授權。
- list
- 列出聊天室管理員。
立即試用。
- 插入
- 新增即時通訊的管理員。
立即試用。
- 刪除
- 移除即時通訊管理員。
立即試用。
屬性
下表定義此資源中顯示的屬性:
屬性 |
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 屬性中傳回。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間: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"]],["上次更新時間: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"]]