onBeforeSendUserMessage

open fun onBeforeSendUserMessage(@NonNull params: UserMessageCreateParams)

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.2.2