ChannelPinMessageResponse constructor

const ChannelPinMessageResponse({
  1. required String id,
  2. required String channelId,
  3. required UserPartialResponse author,
  4. required ChannelPinMessageResponseTypeType type,
  5. required MessageFlags flags,
  6. required String content,
  7. required DateTime timestamp,
  8. required bool pinned,
  9. required bool mentionEveryone,
  10. required bool tts,
  11. required List<UserPartialResponse> mentions,
  12. required List<String> mentionRoles,
  13. SnowflakeType? webhookId,
  14. DateTime? editedTimestamp,
  15. List<MessageChannelMentionResponse>? mentionChannels,
  16. List<UserPartialResponse>? users,
  17. List<MessageEmbedResponse>? embeds,
  18. List<MessageAttachmentResponse>? attachments,
  19. List<MessageStickerResponse>? stickers,
  20. List<SnowflakeType>? nsfwEmojis,
  21. MessageReferenceResponse? messageReference,
  22. List<MessageSnapshotResponse>? messageSnapshots,
  23. String? nonce,
  24. 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,
});