EMCustomMessageBody constructor

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

~english Creates a custom message. ~end

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

Implementation

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