Uses of Interface
org.javacord.api.entity.channel.TextChannel
-
-
Uses of TextChannel in org.javacord.api
Methods in org.javacord.api that return types with arguments of type TextChannel Modifier and Type Method Description default java.util.Optional<TextChannel>DiscordApi. getTextChannelById(long id)Gets a text channel by its id.default java.util.Optional<TextChannel>DiscordApi. getTextChannelById(java.lang.String id)Gets a text channel by its id.java.util.Set<TextChannel>DiscordApi. getTextChannels()Gets all text channels of the bot.default java.util.Set<TextChannel>DiscordApi. getTextChannelsByName(java.lang.String name)Gets all text channels with the given name.default java.util.Set<TextChannel>DiscordApi. getTextChannelsByNameIgnoreCase(java.lang.String name)Gets all text channels with the given name.Methods in org.javacord.api with parameters of type TextChannel Modifier and Type Method Description default java.util.concurrent.CompletableFuture<Message>DiscordApi. getMessageById(long id, TextChannel channel)Gets a message by its id, if it exists and belongs to the given channel.default java.util.concurrent.CompletableFuture<Message>DiscordApi. getMessageById(java.lang.String id, TextChannel channel)Gets a message by its id, if it exists and belongs to the given channel. -
Uses of TextChannel in org.javacord.api.entity.channel
Subinterfaces of TextChannel in org.javacord.api.entity.channel Modifier and Type Interface Description interfacePrivateChannelThis class represents a private channel.interfaceServerTextChannelThis class represents a server text channel.interfaceServerThreadChannelThis class represents a channel thread.Methods in org.javacord.api.entity.channel that return types with arguments of type TextChannel Modifier and Type Method Description default java.util.Optional<TextChannel>Channel. asTextChannel()Gets the channel as text channel.default java.util.Optional<? extends TextChannel>TextChannel. getCurrentCachedInstance()default java.util.concurrent.CompletableFuture<? extends TextChannel>TextChannel. getLatestInstance() -
Uses of TextChannel in org.javacord.api.entity.message
Methods in org.javacord.api.entity.message that return TextChannel Modifier and Type Method Description TextChannelMessage. getChannel()Gets the text channel of the message.Methods in org.javacord.api.entity.message that return types with arguments of type TextChannel Modifier and Type Method Description default java.util.Optional<TextChannel>MessageReference. getChannel()Gets the server of the message reference.Methods in org.javacord.api.entity.message with parameters of type TextChannel Modifier and Type Method Description java.util.concurrent.CompletableFuture<Message>MessageBuilder. send(TextChannel channel)Sends the message. -
Uses of TextChannel in org.javacord.api.entity.message.internal
Methods in org.javacord.api.entity.message.internal with parameters of type TextChannel Modifier and Type Method Description java.util.concurrent.CompletableFuture<Message>MessageBuilderBaseDelegate. send(TextChannel channel)Sends the message. -
Uses of TextChannel in org.javacord.api.entity.webhook
Methods in org.javacord.api.entity.webhook that return types with arguments of type TextChannel Modifier and Type Method Description java.util.Optional<TextChannel>Webhook. getChannel()Gets the channel of the webhook. -
Uses of TextChannel in org.javacord.api.event.channel
Methods in org.javacord.api.event.channel that return TextChannel Modifier and Type Method Description TextChannelTextChannelEvent. getChannel() -
Uses of TextChannel in org.javacord.api.interaction
Methods in org.javacord.api.interaction that return types with arguments of type TextChannel Modifier and Type Method Description java.util.Optional<TextChannel>InteractionBase. getChannel()Gets the channel that this interaction was sent from.
-