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