on Before Send User Message
protected open fun onBeforeSendUserMessage(@NonNull params: UserMessageCreateParams)
Content copied to clipboard
It will be called before sending message. If you want add more data, you can override this and set the data.
Parameters
params
Params of user message. Refer to UserMessageCreateParams. since 1.0.4