Interface WebhookMessageAction<T>

All Superinterfaces:
AllowedMentions<WebhookMessageAction<T>>, RestAction<T>

public interface WebhookMessageAction<T> extends RestAction<T>, AllowedMentions<WebhookMessageAction<T>>
Extension of a default RestAction that allows setting message information before sending!

This is available as return type of all sendMessage/sendFile methods in WebhookClient.

When this RestAction has been executed all provided files will be closed.
Note that the garbage collector also frees opened file streams when it finalizes the stream object.

Since:
4.3.0
See Also: