execute abstract method
Executes webhook.
wait
- waits for server confirmation of message send before response,
and returns the created message body (defaults to false; when false a message that is not save does not return an error)
threadId
is the id of thread in the channel to send to.
If threadName
is specified, this will create a thread in the forum channel with the given name - this is only available for forum channels.
Implementation
Future<IMessage?> execute(MessageBuilder builder, {bool wait = true, Snowflake? threadId, String? threadName, String? avatarUrl, String? username});