Class LiveChatModeratorsResource
The "liveChatModerators" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class LiveChatModeratorsResource
Constructors
LiveChatModeratorsResource(IClientService)
Constructs a new resource.
Declaration
public LiveChatModeratorsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Delete(String)
Removes a chat moderator.
Declaration
public virtual LiveChatModeratorsResource.DeleteRequest Delete(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | The id parameter identifies the chat moderator to remove. The value uniquely identifies both the moderator and the chat. |
Returns
| Type | Description |
|---|---|
| LiveChatModeratorsResource.DeleteRequest |
Insert(LiveChatModerator, String)
Adds a new moderator for the chat.
Declaration
public virtual LiveChatModeratorsResource.InsertRequest Insert(LiveChatModerator body, string part)
Parameters
| Type | Name | Description |
|---|---|---|
| LiveChatModerator | body | The body of the request. |
| System.String | part | The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response returns. Set the parameter value to snippet. |
Returns
| Type | Description |
|---|---|
| LiveChatModeratorsResource.InsertRequest |
List(String, String)
Lists moderators for a live chat.
Declaration
public virtual LiveChatModeratorsResource.ListRequest List(string liveChatId, string part)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | liveChatId | The liveChatId parameter specifies the YouTube live chat for which the API should return moderators. |
| System.String | part | The part parameter specifies the liveChatModerator resource parts that the API response will include. Supported values are id and snippet. |
Returns
| Type | Description |
|---|---|
| LiveChatModeratorsResource.ListRequest |