Class GroupChannelUpdater



  • public class GroupChannelUpdater
    extends Object
    This class can be used to update group channels.
    • Constructor Detail

      • GroupChannelUpdater

        public GroupChannelUpdater​(GroupChannel channel)
        Creates a new group channel updater.
        Parameters:
        channel - The channel to update.
    • Method Detail

      • setName

        public GroupChannelUpdater setName​(String name)
        Queues the name to be updated.
        Parameters:
        name - The new name of the channel.
        Returns:
        The current instance in order to chain call methods.
      • update

        public CompletableFuture<Void> update​()
        Performs the queued updates.
        Returns:
        A future to check if the update was successful.