SendMessagePostData constructor
const
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,
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;