send_message_async


Description:

public async bool send_message_async (Message message, MessageSendingFlags flags, out string token) throws Error

Submit a message to the server for sending.

Once the message has been submitted to the sever, callback will be called. You can then call send_message_async.end to get the result of the operation.

Parameters:

this

a TextChannel

message

a ClientMessage

flags

flags affecting how the message is sent

callback

a callback to call when the message has been submitted to the server

user_data

data to pass to callback