set_chat_state_async


Description:

public async bool set_chat_state_async (ChannelChatState state) throws Error

Set the local state on channel this to state.

Once the state has been set, callback will be called. You can then call set_chat_state_async.end to get the result of the operation.

Parameters:

this

a TextChannel

state

a ChannelChatState to set

callback

a callback to call when the chat state has been set

user_data

data to pass to callback