Class LiveChatModeratorsResource
The "liveChatModerators" collection of methods.
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)
Deletes a chat moderator.
Declaration
public virtual LiveChatModeratorsResource.DeleteRequest Delete(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id |
|
Returns
Type | Description |
---|---|
LiveChatModeratorsResource.DeleteRequest |
Insert(LiveChatModerator, Repeatable<string>)
Inserts a new resource into this collection.
Declaration
public virtual LiveChatModeratorsResource.InsertRequest Insert(LiveChatModerator body, Repeatable<string> part)
Parameters
Type | Name | Description |
---|---|---|
LiveChatModerator | body | The body of the request. |
Repeatable<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, Repeatable<string>)
Retrieves a list of resources, possibly filtered.
Declaration
public virtual LiveChatModeratorsResource.ListRequest List(string liveChatId, Repeatable<string> part)
Parameters
Type | Name | Description |
---|---|---|
string | liveChatId | The id of the live chat for which moderators should be returned. |
Repeatable<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 |