Resource: LiveChatModerator
A liveChatModerator resource represents a moderator for a YouTube live chat. A chat moderator has the ability to ban or unban users from a chat, remove messages, and perform other administrative actions for the live chat.
| JSON representation |
|---|
{ "kind": string, "etag": string, "id": string, "snippet": { "moderatorDetails": { "channelId": string, "channelUrl": string, "displayName": string, "profileImageUrl": string }, "liveChatId": string } } |
| Fields | |
|---|---|
kind |
Output only. Identifies what kind of resource this is. Value: the fixed string |
etag |
Output only. Etag of this resource. |
id |
Output only. The ID that YouTube assigns to uniquely identify the moderator for a specific live chat. Pass this value to |
snippet |
Required. The |
snippet.moderatorDetails |
Required. Details about the moderator. In |
snippet.moderatorDetails.channelId |
The YouTube channel ID. |
snippet.moderatorDetails.channelUrl |
The channel's URL. |
snippet.moderatorDetails.displayName |
The channel's display name. |
snippet.moderatorDetails.profileImageUrl |
The channel's avatar URL. |
snippet.liveChatId |
Required. Input only. The ID of a live chat on the channel that the moderator has privileges to administer. The moderator role applies to all live chats on that channel. The live chat ID associated with a broadcast is returned in the liveBroadcast resource's Specify this property in |
Methods |
|
|---|---|
|
Removes a moderator from a live chat. |
|
Adds a standard moderator to a live chat. |
|
Lists standard moderators for a live chat. |