ChatCustomMessageBody constructor

ChatCustomMessageBody({
  1. required String event,
  2. Map<String, String>? params,
})

~english Creates a custom message. ~end

~chinese 自定义消息体类。 ~end

Implementation

ChatCustomMessageBody({
  required this.event,
  this.params,
}) : super(type: MessageType.CUSTOM);