Update constructor
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,
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,
});