Show / Hide Table of Contents

Class LiveChatBansResource

The "liveChatBans" collection of methods.

Inheritance
System.Object
LiveChatBansResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class LiveChatBansResource

Constructors

LiveChatBansResource(IClientService)

Constructs a new resource.

Declaration
public LiveChatBansResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Delete(String)

Removes a chat ban.

Declaration
public virtual LiveChatBansResource.DeleteRequest Delete(string id)
Parameters
Type Name Description
System.String id

The id parameter identifies the chat ban to remove. The value uniquely identifies both the ban and the chat.

Returns
Type Description
LiveChatBansResource.DeleteRequest

Insert(LiveChatBan, String)

Adds a new ban to the chat.

Declaration
public virtual LiveChatBansResource.InsertRequest Insert(LiveChatBan body, string part)
Parameters
Type Name Description
LiveChatBan 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
LiveChatBansResource.InsertRequest
Back to top