Input$DirectMessageInput constructor
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,
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,
});