DmMessage constructor

DmMessage(
  1. Snowflake id,
  2. String content,
  3. bool tts,
  4. List<EmbedBuilder> embeds,
  5. bool allowMentions,
  6. PartialMessage<PartialChannel>? reference,
  7. ComponentBuilder components,
  8. List<MessageStickerItem> stickers,
  9. dynamic payload,
  10. List<MessageAttachment> attachments,
  11. int? flags,
  12. bool pinned,
  13. Snowflake? _guildId,
  14. Snowflake channelId,
  15. MessageReactionManager<PartialChannel, PartialMessage<PartialChannel>> reactions,
  16. String timestamp,
  17. String? editedTimestamp,
  18. User author,
)

Implementation

DmMessage(
  super.id,
  super.content,
  super.tts,
  super.embeds,
  super.allowMentions,
  super.reference,
  super.components,
  super.stickers,
  super.payload,
  super.attachments,
  super.flags,
  super.pinned,
  super._guildId,
  super.channelId,
  super.reactions,
  super.timestamp,
  super.editedTimestamp,
  this.author,
);