Update constructor

Update({
  1. required int updateId,
  2. Message? message,
  3. Message? editedMessage,
  4. Message? channelPost,
  5. Message? editedChannelPost,
  6. InlineQuery? inlineQuery,
  7. ChosenInlineResult? chosenInlineResult,
  8. CallbackQuery? callbackQuery,
  9. ShippingQuery? shippingQuery,
  10. PreCheckoutQuery? preCheckoutQuery,
  11. Poll? poll,
  12. PollAnswer? pollAnswer,
  13. ChatMemberUpdated? myChatMember,
  14. ChatMemberUpdated? chatMember,
  15. ChatJoinRequest? chatJoinRequest,
})

Basic constructor

Implementation

Update({
  required this.updateId,
  this.message,
  this.editedMessage,
  this.channelPost,
  this.editedChannelPost,
  this.inlineQuery,
  this.chosenInlineResult,
  this.callbackQuery,
  this.shippingQuery,
  this.preCheckoutQuery,
  this.poll,
  this.pollAnswer,
  this.myChatMember,
  this.chatMember,
  this.chatJoinRequest,
});