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.

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.

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 will set as well as the properties that the API response will include. Set the parameter value to snippet.

Returns
Type Description
LiveChatMessagesResource.InsertRequest

List(string, Repeatable<string>)

Retrieves a list of resources, possibly filtered.

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 comments should be returned.

Repeatable<string> part

The part parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id, snippet, and authorDetails.

Returns
Type Description
LiveChatMessagesResource.ListRequest

Transition()

Transition a durable chat event.

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