Class LiveChatMessagesResource
The "liveChatMessages" collection of methods.
Inherited Members
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 |
|
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 |
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 |
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 |