Input$DirectMessageInput constructor

Input$DirectMessageInput({
  1. String? text,
  2. String? gif,
  3. String? sticker,
  4. Input$CustomMessageInput? custom,
  5. Input$MessageMediaInput? media,
  6. Input$LonLatInput? location,
  7. List<String>? seenBy,
  8. required String receiver,
  9. Input$TargetACIInput? target,
  10. Enum$MessageGroupTypeEnum? type,
})

Implementation

factory Input$DirectMessageInput({
  String? text,
  String? gif,
  String? sticker,
  Input$CustomMessageInput? custom,
  Input$MessageMediaInput? media,
  Input$LonLatInput? location,
  List<String>? seenBy,
  required String receiver,
  Input$TargetACIInput? target,
  Enum$MessageGroupTypeEnum? type,
}) =>
    Input$DirectMessageInput._({
      if (text != null) r'text': text,
      if (gif != null) r'gif': gif,
      if (sticker != null) r'sticker': sticker,
      if (custom != null) r'custom': custom,
      if (media != null) r'media': media,
      if (location != null) r'location': location,
      if (seenBy != null) r'seenBy': seenBy,
      r'receiver': receiver,
      if (target != null) r'target': target,
      if (type != null) r'type': type,
    });