Update constructor
const
Update({
- required int updateId,
- Message? message,
- Message? editedMessage,
- Message? channelPost,
- Message? editedChannelPost,
- InlineQuery? inlineQuery,
- ChosenInlineResult? chosenInlineResult,
- CallbackQuery? callbackQuery,
- ShippingQuery? shippingQuery,
- PreCheckoutQuery? preCheckoutQuery,
- Poll? poll,
- PollAnswer? pollAnswer,
- ChatMemberUpdated? myChatMember,
- ChatMemberUpdated? chatMember,
- ChatJoinRequest? chatJoinRequest,
- MessageReactionUpdated? messageReaction,
- MessageReactionCountUpdated? messageReactionCount,
- ChatBoostUpdated? chatBoost,
- ChatBoostRemoved? removedChatBoost,
- BusinessConnection? businessConnection,
- Message? businessMessage,
- Message? editedBusinessMessage,
- BusinessMessagesDeleted? deletedBusinessMessages,
- PaidMediaPurchased? purchasedPaidMedia,
Update Constructor
Implementation
const 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,
this.messageReaction,
this.messageReactionCount,
this.chatBoost,
this.removedChatBoost,
this.businessConnection,
this.businessMessage,
this.editedBusinessMessage,
this.deletedBusinessMessages,
this.purchasedPaidMedia,
});