Uses of Interface
org.javacord.api.entity.channel.ServerChannel
-
-
Uses of ServerChannel in org.javacord.api
Methods in org.javacord.api that return types with arguments of type ServerChannel Modifier and Type Method Description default java.util.Optional<ServerChannel>DiscordApi. getServerChannelById(long id)Gets a server channel by its id.default java.util.Optional<ServerChannel>DiscordApi. getServerChannelById(java.lang.String id)Gets a server channel by its id.java.util.Set<ServerChannel>DiscordApi. getServerChannels()Gets all server channels of the bot.default java.util.Set<ServerChannel>DiscordApi. getServerChannelsByName(java.lang.String name)Gets all server channels with the given name.default java.util.Set<ServerChannel>DiscordApi. getServerChannelsByNameIgnoreCase(java.lang.String name)Gets all server channels with the given name. -
Uses of ServerChannel in org.javacord.api.entity.auditlog
Methods in org.javacord.api.entity.auditlog that return types with arguments of type ServerChannel Modifier and Type Method Description default java.util.Optional<ServerChannel>AuditLogEntryTarget. asChannel()Gets the target as channel. -
Uses of ServerChannel in org.javacord.api.entity.channel
Subinterfaces of ServerChannel in org.javacord.api.entity.channel Modifier and Type Interface Description interfaceChannelCategoryThis class represents a channel category.interfaceRegularServerChannelinterfaceServerForumChannelThis class represents a server forum channel.interfaceServerStageVoiceChannelinterfaceServerTextChannelThis class represents a server text channel.interfaceServerThreadChannelThis class represents a channel thread.interfaceServerVoiceChannelThis class represents a server voice channel.interfaceUnknownRegularServerChannelThis class represents an unknown regular server channel.interfaceUnknownServerChannelThis class represents an unknown server channel.Methods in org.javacord.api.entity.channel that return types with arguments of type ServerChannel Modifier and Type Method Description default java.util.Optional<ServerChannel>Channel. asServerChannel()Gets the channel as server channel.default java.util.Optional<? extends ServerChannel>ServerChannel. getCurrentCachedInstance()default java.util.concurrent.CompletableFuture<? extends ServerChannel>ServerChannel. getLatestInstance()default java.util.List<ServerChannel>ChannelCategory. getVisibleChannels(User user)Gets a sorted (by position) list with all channels in this category the given user can see.Constructors in org.javacord.api.entity.channel with parameters of type ServerChannel Constructor Description ServerChannelUpdater(ServerChannel serverChannel)Creates a new server channel updater. -
Uses of ServerChannel in org.javacord.api.entity.message
Methods in org.javacord.api.entity.message that return types with arguments of type ServerChannel Modifier and Type Method Description default java.util.List<ServerChannel>Message. getMentionedChannels()Gets all channels mentioned in this message. -
Uses of ServerChannel in org.javacord.api.entity.server
Methods in org.javacord.api.entity.server that return types with arguments of type ServerChannel Modifier and Type Method Description java.util.Optional<ServerChannel>Server. getChannelById(long id)Gets a channel by its id.default java.util.Optional<ServerChannel>Server. getChannelById(java.lang.String id)Gets a channel by its id.java.util.List<ServerChannel>Server. getChannels()Gets a sorted list (by position) with all channels of the server.default java.util.List<ServerChannel>Server. getChannelsByName(java.lang.String name)Gets a sorted list (by position) with all channels with the given name.default java.util.List<ServerChannel>Server. getChannelsByNameIgnoreCase(java.lang.String name)Gets a sorted list (by position) with all channels with the given name.java.util.Set<ServerChannel>Server. getUnorderedChannels()Gets an unordered collection with all channels in the server.default java.util.List<ServerChannel>Server. getVisibleChannels(User user)Gets a sorted (by position) list with all channels of this server the given user can see. -
Uses of ServerChannel in org.javacord.api.entity.server.invite
Methods in org.javacord.api.entity.server.invite that return types with arguments of type ServerChannel Modifier and Type Method Description java.util.Optional<ServerChannel>Invite. getChannel()Gets the channel of the invite.Constructors in org.javacord.api.entity.server.invite with parameters of type ServerChannel Constructor Description InviteBuilder(ServerChannel channel)Creates a new invite builder. -
Uses of ServerChannel in org.javacord.api.event.channel.server
Methods in org.javacord.api.event.channel.server that return ServerChannel Modifier and Type Method Description ServerChannelServerChannelEvent. getChannel() -
Uses of ServerChannel in org.javacord.api.interaction
Methods in org.javacord.api.interaction that return types with arguments of type ServerChannel Modifier and Type Method Description default java.util.Optional<ServerChannel>SlashCommandInteractionOptionsProvider. getArgumentChannelValueByIndex(int index)Gets the channel value of an argument at the specified index.default java.util.Optional<ServerChannel>SlashCommandInteractionOptionsProvider. getArgumentChannelValueByName(java.lang.String name)Gets the channel value of an argument having the specified name.java.util.Optional<ServerChannel>ApplicationCommandPermissions. getChannel()Gets the channel that these permissions affect, if it is a single channel.java.util.Optional<ServerChannel>SlashCommandInteractionOption. getChannelValue()Gets the channel value of this option.java.util.List<ServerChannel>SelectMenuInteraction. getSelectedChannels()Gets the selected channels. -
Uses of ServerChannel in org.javacord.api.util.internal
Methods in org.javacord.api.util.internal with parameters of type ServerChannel Modifier and Type Method Description static InviteBuilderDelegateDelegateFactory. createInviteBuilderDelegate(ServerChannel channel)Creates a new invite builder delegate.InviteBuilderDelegateDelegateFactoryDelegate. createInviteBuilderDelegate(ServerChannel channel)Creates a new invite builder delegate.static ServerChannelUpdaterDelegateDelegateFactory. createServerChannelUpdaterDelegate(ServerChannel channel)Creates a new server channel updater delegate.ServerChannelUpdaterDelegateDelegateFactoryDelegate. createServerChannelUpdaterDelegate(ServerChannel channel)Creates a new server channel updater delegate.
-