SendMessageParams constructor
SendMessageParams({})
Implementation
factory SendMessageParams({
required int channelId,
required String body,
required Map<String, dynamic> context,
List<int> attachmentIds = const [],
}) =>
SendMessageParams._(
context: context,
postData: SendMessagePostData(
attachmentIds: attachmentIds,
attachmentTokens: [],
body: body,
messageType: 'comment',
partnerIds: [],
subtypeXmlid: 'mail.mt_comment',
),
threadId: channelId,
threadModel: 'mail.channel',
);