All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.youtube.YouTube.LiveChatMessages.html Maven / Gradle / Ivy







YouTube.LiveChatMessages (YouTube Data API v3-rev20190415-1.28.0)












com.google.api.services.youtube

Class YouTube.LiveChatMessages

  • Enclosing class:
    YouTube


    public class YouTube.LiveChatMessages
    extends Object
    The "liveChatMessages" collection of methods.
    • Constructor Detail

      • LiveChatMessages

        public LiveChatMessages()
    • Method Detail

      • delete

        public YouTube.LiveChatMessages.Delete delete(String id)
                                               throws IOException
        Deletes a chat message. Create a request for the method "liveChatMessages.delete". This request holds the parameters needed by the youtube server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        id - The id parameter specifies the YouTube chat message ID of the resource that is being deleted.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public YouTube.LiveChatMessages.Insert insert(String part,
                                                      LiveChatMessage content)
                                               throws IOException
        Adds a message to a live chat. Create a request for the method "liveChatMessages.insert". This request holds the parameters needed by the youtube server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        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
        Returns:
        the request
        Throws:
        IOException
      • list

        public YouTube.LiveChatMessages.List list(String liveChatId,
                                                  String part)
                                           throws IOException
        Lists live chat messages for a specific chat. Create a request for the method "liveChatMessages.list". This request holds the parameters needed by the youtube server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        liveChatId - The liveChatId parameter specifies the ID of the chat whose messages will be returned.
        part - The part parameter specifies the liveChatComment resource parts that the API response will include. Supported values are id and snippet.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2019 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy