SendMessagePostData constructor

const SendMessagePostData({
  1. @JsonKey(name: 'attachment_ids') required List<int> attachmentIds,
  2. @JsonKey(name: 'attachment_tokens') required List<int> attachmentTokens,
  3. required String body,
  4. @JsonKey(name: 'message_type') required String messageType,
  5. @JsonKey(name: 'partner_ids') required List<int> partnerIds,
  6. @JsonKey(name: 'subtype_xmlid') required String subtypeXmlid,
})

Implementation

const factory SendMessagePostData({
  @JsonKey(name: 'attachment_ids') required List<int> attachmentIds,
  @JsonKey(name: 'attachment_tokens') required List<int> attachmentTokens,
  required String body,
  @JsonKey(name: 'message_type') required String messageType,
  @JsonKey(name: 'partner_ids') required List<int> partnerIds,
  @JsonKey(name: 'subtype_xmlid') required String subtypeXmlid,
}) = _SendMessagePostData;