Message constructor

Message({
  1. int? messageID,
  2. int? messageThreadID,
  3. bool? isTopicMessage,
  4. User? from,
  5. DateTime? date,
  6. Chat? chat,
  7. User? forwardFrom,
  8. Chat? forwardFromChat,
  9. int? forwardFromMessageID,
  10. String? forwardSignature,
  11. String? forwardSenderName,
  12. DateTime? forwardDate,
  13. Message? replyToMessage,
  14. TextQuote? quote,
  15. LinkPreviewOptions? linkPreviewOptions,
  16. DateTime? editDate,
  17. String? mediaGroupID,
  18. String? authorSignature,
  19. String? text,
  20. List<MessageEntity>? entities,
  21. List<MessageEntity>? captionEntities,
  22. Audio? audio,
  23. Document? document,
  24. Animation? animation,
  25. Game? game,
  26. List<PhotoSize>? photo,
  27. Sticker? sticker,
  28. Video? video,
  29. Voice? voice,
  30. VideoNote? videoNote,
  31. String? caption,
  32. Contact? contact,
  33. Location? location,
  34. Venue? venue,
  35. Poll? poll,
  36. List<User>? newChatMembers,
  37. User? leftChatMember,
  38. String? newChatTitle,
  39. List<PhotoSize>? newChatPhoto,
  40. bool? deleteChatPhoto,
  41. bool? groupChatCreated,
  42. bool? supergroupChatCreated,
  43. bool? channelChatCreated,
  44. int? migrateToChatID,
  45. int? migrateFromChatID,
  46. Message? pinnedMessage,
  47. Invoice? invoice,
  48. SuccessfulPayment? successfulPayment,
  49. String? connectedWebsite,
  50. PassportData? passportData,
  51. InlineKeyboardMarkup? replyMarkup,
})

Implementation

Message({
  this.messageID,
  this.messageThreadID,
  this.isTopicMessage,
  this.from,
  this.date,
  this.chat,
  this.forwardFrom,
  this.forwardFromChat,
  this.forwardFromMessageID,
  this.forwardSignature,
  this.forwardSenderName,
  this.forwardDate,
  this.replyToMessage,
  this.quote,
  this.linkPreviewOptions,
  this.editDate,
  this.mediaGroupID,
  this.authorSignature,
  this.text,
  this.entities,
  this.captionEntities,
  this.audio,
  this.document,
  this.animation,
  this.game,
  this.photo,
  this.sticker,
  this.video,
  this.voice,
  this.videoNote,
  this.caption,
  this.contact,
  this.location,
  this.venue,
  this.poll,
  this.newChatMembers,
  this.leftChatMember,
  this.newChatTitle,
  this.newChatPhoto,
  this.deleteChatPhoto,
  this.groupChatCreated,
  this.supergroupChatCreated,
  this.channelChatCreated,
  this.migrateToChatID,
  this.migrateFromChatID,
  this.pinnedMessage,
  this.invoice,
  this.successfulPayment,
  this.connectedWebsite,
  this.passportData,
  this.replyMarkup,
});