Show / Hide Table of Contents

Class LiveChatMessagesResource

The "liveChatMessages" collection of methods.

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

Constructors

LiveChatMessagesResource(IClientService)

Constructs a new resource.

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

Methods

Delete(string)

Deletes a chat message. A call to this method has a quota cost of 20 units.

Declaration
public virtual LiveChatMessagesResource.DeleteRequest Delete(string id)
Parameters
Type Name Description
string id

null

Returns
Type Description
LiveChatMessagesResource.DeleteRequest

Insert(LiveChatMessage, Repeatable<string>)

Inserts a new resource into this collection. A call to this method has a quota cost of 20 units.

Declaration
public virtual LiveChatMessagesResource.InsertRequest Insert(LiveChatMessage body, Repeatable<string> part)
Parameters
Type Name Description
LiveChatMessage body

The body of the request.

Repeatable<string> part

The part parameter serves two purposes. It identifies the properties that the write operation sets as well as the properties that the API response includes. Set the parameter value to snippet.

Returns
Type Description
LiveChatMessagesResource.InsertRequest

List(string, Repeatable<string>)

Retrieves a list of resources, possibly filtered. A call to this method has a quota cost of 5 units.

Declaration
public virtual LiveChatMessagesResource.ListRequest List(string liveChatId, Repeatable<string> part)
Parameters
Type Name Description
string liveChatId

The ID of the live chat for which messages should be returned.

Repeatable<string> part

The part parameter specifies the liveChatMessage resource parts that the API response includes. Supported values are id, snippet, and authorDetails.

Returns
Type Description
LiveChatMessagesResource.ListRequest

Transition()

Transitions a durable chat event. A call to this method has a quota cost of 20 units.

Declaration
public virtual LiveChatMessagesResource.TransitionRequest Transition()
Returns
Type Description
LiveChatMessagesResource.TransitionRequest
In this article
Back to top Generated by DocFX