ChannelPinResponseMessage constructor
const
ChannelPinResponseMessage({
- required String id,
- required String channelId,
- required UserPartialResponse author,
- required ChannelPinResponseMessageTypeType 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, - ChannelPinResponseMessageMessageReference? messageReference,
- List<
MessageSnapshotResponse> ? messageSnapshots, - String? nonce,
- ChannelPinResponseMessageCall? call,
Implementation
const ChannelPinResponseMessage({
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,
});