Modifier and Type | Class and Description |
---|---|
class |
YouTube.LiveChatMessages.Delete |
class |
YouTube.LiveChatMessages.Insert |
class |
YouTube.LiveChatMessages.List |
Constructor and Description |
---|
LiveChatMessages() |
Modifier and Type | Method and Description |
---|---|
YouTube.LiveChatMessages.Delete |
delete(String id)
Deletes a chat message.
|
YouTube.LiveChatMessages.Insert |
insert(List<String> part,
LiveChatMessage content)
Inserts a new resource into this collection.
|
YouTube.LiveChatMessages.List |
list(String liveChatId,
List<String> part)
Retrieves a list of resources, possibly filtered.
|
public YouTube.LiveChatMessages.Delete delete(String id) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.id
- IOException
public YouTube.LiveChatMessages.Insert insert(List<String> part, LiveChatMessage content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.content
- the LiveChatMessage
IOException
public YouTube.LiveChatMessages.List list(String liveChatId, List<String> part) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.liveChatId
- The id of the live chat for which comments should be returned.part
- The *part* parameter specifies the liveChatComment resource parts that the API response will
include. Supported values are id and snippet.IOException
Copyright © 2011–2021 Google. All rights reserved.