MessageBaseResponseSchema constructor
const
MessageBaseResponseSchema({
- required String id,
- required String channelId,
- required UserPartialResponse author,
- required MessageBaseResponseSchemaTypeType 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, - MessageReferenceResponse? messageReference,
- List<
MessageSnapshotResponse> ? messageSnapshots, - String? nonce,
- MessageCallResponse? call,
Implementation
const MessageBaseResponseSchema({
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,
});