MessageParam constructor

const MessageParam({
  1. required String text,
  2. MessageAttachmentsParam? attachments,
})

Returns the new instance of MessageParam.

Implementation

const MessageParam({
  required this.text,
  this.attachments,
});