Uses of Interface
org.javacord.api.entity.channel.ServerTextChannel
-
-
Uses of ServerTextChannel in org.javacord.api
Methods in org.javacord.api that return types with arguments of type ServerTextChannel Modifier and Type Method Description default Optional<ServerTextChannel>DiscordApi. getServerTextChannelById(long id)Gets a server text channel by its id.default Optional<ServerTextChannel>DiscordApi. getServerTextChannelById(String id)Gets a server text channel by its id.Collection<ServerTextChannel>DiscordApi. getServerTextChannels()Gets a collection with all server text channels of the bot.default Collection<ServerTextChannel>DiscordApi. getServerTextChannelsByName(String name)Gets a collection with all server text channels with the given name.default Collection<ServerTextChannel>DiscordApi. getServerTextChannelsByNameIgnoreCase(String name)Gets a collection with all server text channels with the given name. -
Uses of ServerTextChannel in org.javacord.api.entity.channel
Methods in org.javacord.api.entity.channel that return types with arguments of type ServerTextChannel Modifier and Type Method Description default Optional<ServerTextChannel>Channel. asServerTextChannel()Gets the channel as server text channel.CompletableFuture<ServerTextChannel>ServerTextChannelBuilder. create()Creates the server text channel.default Optional<ServerTextChannel>ServerTextChannel. getCurrentCachedInstance()default CompletableFuture<ServerTextChannel>ServerTextChannel. getLatestInstance()Constructors in org.javacord.api.entity.channel with parameters of type ServerTextChannel Constructor Description ServerTextChannelUpdater(ServerTextChannel channel)Creates a new server text channel updater. -
Uses of ServerTextChannel in org.javacord.api.entity.channel.internal
Methods in org.javacord.api.entity.channel.internal that return types with arguments of type ServerTextChannel Modifier and Type Method Description CompletableFuture<ServerTextChannel>ServerTextChannelBuilderDelegate. create()Creates the server text channel. -
Uses of ServerTextChannel in org.javacord.api.entity.message
Methods in org.javacord.api.entity.message that return types with arguments of type ServerTextChannel Modifier and Type Method Description default List<ServerTextChannel>Message. getMentionedChannels()Gets a list with all channels mentioned in this message.default Optional<ServerTextChannel>Message. getServerTextChannel()Gets the server text channel of the message. -
Uses of ServerTextChannel in org.javacord.api.entity.server
Methods in org.javacord.api.entity.server that return types with arguments of type ServerTextChannel Modifier and Type Method Description Optional<ServerTextChannel>Server. getModeratorsOnlyChannel()Gets the moderators-only channel (sometimes also called "public updates channel").Optional<ServerTextChannel>Server. getRulesChannel()Gets the rules channel.Optional<ServerTextChannel>Server. getSystemChannel()Gets the system channel of the server.default Optional<ServerTextChannel>Server. getTextChannelById(long id)Gets a text channel by its id.default Optional<ServerTextChannel>Server. getTextChannelById(String id)Gets a text channel by its id.List<ServerTextChannel>Server. getTextChannels()Gets a sorted list (by position) with all text channels of the server.default List<ServerTextChannel>Server. getTextChannelsByName(String name)Gets a sorted list (by position) with all text channels with the given name.default List<ServerTextChannel>Server. getTextChannelsByNameIgnoreCase(String name)Gets a sorted list (by position) with all text channels with the given name.Methods in org.javacord.api.entity.server with parameters of type ServerTextChannel Modifier and Type Method Description default CompletableFuture<Void>Server. setModeratorsOnlyChannel(ServerTextChannel moderatorsOnlyChannel)Updates the moderators-only channel of the server.ServerUpdaterServerUpdater. setModeratorsOnlyChannel(ServerTextChannel moderatorsOnlyChannel)Queues the moderators-only channel to be updated.default CompletableFuture<Void>Server. setRulesChannel(ServerTextChannel rulesChannel)Updates the rules channel of the server.ServerUpdaterServerUpdater. setRulesChannel(ServerTextChannel rulesChannel)Queues the rules channel to be updated.default CompletableFuture<Void>Server. setSystemChannel(ServerTextChannel systemChannel)Updates the system channel of the server.ServerUpdaterServerUpdater. setSystemChannel(ServerTextChannel systemChannel)Queues the system channel to be updated. -
Uses of ServerTextChannel in org.javacord.api.entity.server.internal
Methods in org.javacord.api.entity.server.internal with parameters of type ServerTextChannel Modifier and Type Method Description voidServerUpdaterDelegate. setModeratorsOnlyChannel(ServerTextChannel moderatorsOnlyChannel)Queues the moderators-only channel to be updated.voidServerUpdaterDelegate. setRulesChannel(ServerTextChannel rulesChannel)Queues the rules channel to be updated.voidServerUpdaterDelegate. setSystemChannel(ServerTextChannel systemChannel)Queues the system channel to be updated. -
Uses of ServerTextChannel in org.javacord.api.entity.webhook
Methods in org.javacord.api.entity.webhook with parameters of type ServerTextChannel Modifier and Type Method Description WebhookUpdaterWebhookUpdater. setChannel(ServerTextChannel channel)Queues the channel to be updated.default CompletableFuture<Webhook>Webhook. updateChannel(ServerTextChannel channel)Updates the channel of the webhook.Constructors in org.javacord.api.entity.webhook with parameters of type ServerTextChannel Constructor Description WebhookBuilder(ServerTextChannel channel)Creates a new webhook builder. -
Uses of ServerTextChannel in org.javacord.api.entity.webhook.internal
Methods in org.javacord.api.entity.webhook.internal with parameters of type ServerTextChannel Modifier and Type Method Description voidWebhookUpdaterDelegate. setChannel(ServerTextChannel channel)Queues the channel to be updated. -
Uses of ServerTextChannel in org.javacord.api.event.channel
Methods in org.javacord.api.event.channel that return types with arguments of type ServerTextChannel Modifier and Type Method Description default Optional<ServerTextChannel>TextChannelEvent. getServerTextChannel()Gets the channel of the event as a server text channel. -
Uses of ServerTextChannel in org.javacord.api.event.channel.server.text
Methods in org.javacord.api.event.channel.server.text that return ServerTextChannel Modifier and Type Method Description ServerTextChannelServerTextChannelEvent. getChannel() -
Uses of ServerTextChannel in org.javacord.api.event.server
Methods in org.javacord.api.event.server that return types with arguments of type ServerTextChannel Modifier and Type Method Description Optional<ServerTextChannel>ServerChangeModeratorsOnlyChannelEvent. getNewModeratorsOnlyChannel()Gets the new moderators-only channel of the server.Optional<ServerTextChannel>ServerChangeRulesChannelEvent. getNewRulesChannel()Gets the new rules channel of the server.Optional<ServerTextChannel>ServerChangeSystemChannelEvent. getNewSystemChannel()Gets the new system channel of the server.Optional<ServerTextChannel>ServerChangeModeratorsOnlyChannelEvent. getOldModeratorsOnlyChannel()Gets the old moderators-only channel of the server.Optional<ServerTextChannel>ServerChangeRulesChannelEvent. getOldRulesChannel()Gets the old rules channel of the server.Optional<ServerTextChannel>ServerChangeSystemChannelEvent. getOldSystemChannel()Gets the old system channel of the server. -
Uses of ServerTextChannel in org.javacord.api.util.internal
Methods in org.javacord.api.util.internal with parameters of type ServerTextChannel Modifier and Type Method Description static ServerTextChannelUpdaterDelegateDelegateFactory. createServerTextChannelUpdaterDelegate(ServerTextChannel channel)Creates a new server text channel updater delegate.ServerTextChannelUpdaterDelegateDelegateFactoryDelegate. createServerTextChannelUpdaterDelegate(ServerTextChannel channel)Creates a new server text channel updater delegate.static WebhookBuilderDelegateDelegateFactory. createWebhookBuilderDelegate(ServerTextChannel channel)Creates a new webhook builder delegate.WebhookBuilderDelegateDelegateFactoryDelegate. createWebhookBuilderDelegate(ServerTextChannel channel)Creates a new webhook builder delegate.
-