MessageResponseSchemaReferencedMessage constructor
const
MessageResponseSchemaReferencedMessage({
- required String id,
- required String channelId,
- required UserPartialResponse author,
- required MessageResponseSchemaReferencedMessageTypeType type,
- required MessageFlags flags,
- required String content,
- required DateTime timestamp,
- required bool pinned,
- required bool mentionEveryone,
- required bool tts,
- required List<
UserPartialResponse> mentions, - required List<
String> mentionRoles, - SnowflakeType? webhookId,
- DateTime? editedTimestamp,
- List<
MessageChannelMentionResponse> ? mentionChannels, - List<
UserPartialResponse> ? users, - List<
MessageEmbedResponse> ? embeds, - List<
MessageAttachmentResponse> ? attachments, - List<
MessageStickerResponse> ? stickers, - List<
SnowflakeType> ? nsfwEmojis, - List<
MessageReactionResponse> ? reactions, - MessageResponseSchemaReferencedMessageMessageReference? messageReference,
- List<
MessageSnapshotResponse> ? messageSnapshots, - String? nonce,
- MessageResponseSchemaReferencedMessageCall? call,
Implementation
const MessageResponseSchemaReferencedMessage({
required this.id,
required this.channelId,
required this.author,
required this.type,
required this.flags,
required this.content,
required this.timestamp,
required this.pinned,
required this.mentionEveryone,
required this.tts,
required this.mentions,
required this.mentionRoles,
this.webhookId,
this.editedTimestamp,
this.mentionChannels,
this.users,
this.embeds,
this.attachments,
this.stickers,
this.nsfwEmojis,
this.reactions,
this.messageReference,
this.messageSnapshots,
this.nonce,
this.call,
});