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

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







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












com.google.api.services.youtube

Class YouTube.LiveChatBans

  • Enclosing class:
    YouTube


    public class YouTube.LiveChatBans
    extends Object
    The "liveChatBans" collection of methods.
    • Constructor Detail

      • LiveChatBans

        public LiveChatBans()
    • Method Detail

      • delete

        public YouTube.LiveChatBans.Delete delete(String id)
                                           throws IOException
        Removes a chat ban. Create a request for the method "liveChatBans.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 identifies the chat ban to remove. The value uniquely identifies both the ban and the chat.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public YouTube.LiveChatBans.Insert insert(String part,
                                                  LiveChatBan content)
                                           throws IOException
        Adds a new ban to the chat. Create a request for the method "liveChatBans.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 in this operation. It identifies the properties that the write operation will set as well as the properties that the API response returns. Set the parameter value to snippet.
        content - the LiveChatBan
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2019 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy