Uses of Interface
org.javacord.api.entity.webhook.Webhook
-
-
Uses of Webhook in org.javacord.api
Methods in org.javacord.api that return types with arguments of type Webhook Modifier and Type Method Description java.util.concurrent.CompletableFuture<Webhook>DiscordApi. getWebhookById(long id)Gets a webhook by its id. -
Uses of Webhook in org.javacord.api.entity.auditlog
Methods in org.javacord.api.entity.auditlog that return types with arguments of type Webhook Modifier and Type Method Description default java.util.Optional<Webhook>AuditLogEntryTarget. asWebhook()Gets the target as webhook.java.util.Set<Webhook>AuditLog. getInvolvedWebhooks()Gets all webhooks, which can be found in this audit log. -
Uses of Webhook in org.javacord.api.entity.channel
Methods in org.javacord.api.entity.channel that return types with arguments of type Webhook Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.util.List<Webhook>>TextChannel. getAllIncomingWebhooks()Gets all incoming webhooks in this channel, they are not guaranteed to have an accessible token.java.util.concurrent.CompletableFuture<java.util.List<Webhook>>TextChannel. getWebhooks()Gets all webhooks in this channel. -
Uses of Webhook in org.javacord.api.entity.message
Methods in org.javacord.api.entity.message that return types with arguments of type Webhook Modifier and Type Method Description default java.util.Optional<java.util.concurrent.CompletableFuture<Webhook>>MessageAuthor. asWebhook()Gets the author as a webhook. -
Uses of Webhook in org.javacord.api.entity.server
Methods in org.javacord.api.entity.server that return types with arguments of type Webhook Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.util.List<Webhook>>Server. getAllIncomingWebhooks()Gets all incoming webhooks in this server, they are not guaranteed to have an accessible token.java.util.concurrent.CompletableFuture<java.util.List<Webhook>>Server. getWebhooks()Gets all webhooks in this server. -
Uses of Webhook in org.javacord.api.entity.webhook
Subinterfaces of Webhook in org.javacord.api.entity.webhook Modifier and Type Interface Description interfaceIncomingWebhookThis class represents a webhook you can send messages to.Methods in org.javacord.api.entity.webhook that return types with arguments of type Webhook Modifier and Type Method Description default java.util.concurrent.CompletableFuture<Webhook>IncomingWebhook. getLatestInstance()default java.util.concurrent.CompletableFuture<Webhook>Webhook. getLatestInstance()default java.util.concurrent.CompletableFuture<Webhook>Webhook. removeAvatar()Removes the avatar of the webhook.java.util.concurrent.CompletableFuture<Webhook>WebhookUpdater. update()Performs the queued updates.default java.util.concurrent.CompletableFuture<Webhook>Webhook. updateAvatar(byte[] avatar)Updates the avatar of the webhook.default java.util.concurrent.CompletableFuture<Webhook>Webhook. updateAvatar(byte[] avatar, java.lang.String fileType)Updates the avatar of the webhook.default java.util.concurrent.CompletableFuture<Webhook>Webhook. updateAvatar(java.awt.image.BufferedImage avatar)Updates the avatar of the webhook.default java.util.concurrent.CompletableFuture<Webhook>Webhook. updateAvatar(java.awt.image.BufferedImage avatar, java.lang.String fileType)Updates the avatar of the webhook.default java.util.concurrent.CompletableFuture<Webhook>Webhook. updateAvatar(java.io.File avatar)Updates the avatar of the webhook.default java.util.concurrent.CompletableFuture<Webhook>Webhook. updateAvatar(java.io.InputStream avatar)Updates the avatar of the webhook.default java.util.concurrent.CompletableFuture<Webhook>Webhook. updateAvatar(java.io.InputStream avatar, java.lang.String fileType)Updates the avatar of the webhook.default java.util.concurrent.CompletableFuture<Webhook>Webhook. updateAvatar(java.net.URL avatar)Updates the avatar of the webhook.default java.util.concurrent.CompletableFuture<Webhook>Webhook. updateAvatar(Icon avatar)Updates the avatar of the webhook.default java.util.concurrent.CompletableFuture<Webhook>Webhook. updateChannel(ServerTextChannel channel)Updates the channel of the webhook.default java.util.concurrent.CompletableFuture<Webhook>Webhook. updateName(java.lang.String name)Updates the name of the webhook.Constructors in org.javacord.api.entity.webhook with parameters of type Webhook Constructor Description WebhookUpdater(Webhook webhook)Creates a new webhook updater. -
Uses of Webhook in org.javacord.api.entity.webhook.internal
Methods in org.javacord.api.entity.webhook.internal that return types with arguments of type Webhook Modifier and Type Method Description java.util.concurrent.CompletableFuture<Webhook>WebhookUpdaterDelegate. update()Performs the queued updates. -
Uses of Webhook in org.javacord.api.util.internal
Methods in org.javacord.api.util.internal with parameters of type Webhook Modifier and Type Method Description static WebhookUpdaterDelegateDelegateFactory. createWebhookUpdaterDelegate(Webhook webhook)Creates a new webhook updater delegate.WebhookUpdaterDelegateDelegateFactoryDelegate. createWebhookUpdaterDelegate(Webhook webhook)Creates a new webhook updater delegate.
-