CreateMessage constructor

CreateMessage({
  1. required String channelId,
  2. String? referMessageId,
  3. String? text,
  4. List<FileInfo>? media,
  5. MessageArticle? article,
  6. FileInfo? audio,
  7. List<FileInfo>? attachment,
})

Implementation

CreateMessage({
  required this.channelId,
  this.referMessageId,
  this.text,
  this.media,
  this.article,
  this.audio,
  this.attachment,
});