ChatCustomMessageBody constructor

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

Creates a custom message.

Implementation

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