maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult authorizationState(
- UpdateAuthorizationState value
- TResult newMessage(
- UpdateNewMessage value
- TResult messageSendAcknowledged()?,
- TResult messageSendSucceeded()?,
- TResult messageSendFailed(
- UpdateMessageSendFailed value
- TResult messageContent(
- UpdateMessageContent value
- TResult messageEphemeralContent()?,
- TResult messageEdited(
- UpdateMessageEdited value
- TResult messageIsPinned(
- UpdateMessageIsPinned value
- TResult messageInteractionInfo()?,
- TResult messageContentOpened()?,
- TResult messageMentionRead(
- UpdateMessageMentionRead value
- TResult messageUnreadReactions()?,
- TResult messageContainsUnreadPollVotes()?,
- TResult messageFactCheck(
- UpdateMessageFactCheck value
- TResult messageSuggestedPostInfo()?,
- TResult messageLiveLocationViewed()?,
- TResult videoPublished(
- UpdateVideoPublished value
- TResult newChat(
- UpdateNewChat value
- TResult chatTitle(
- UpdateChatTitle value
- TResult chatPhoto(
- UpdateChatPhoto value
- TResult chatAccentColors(
- UpdateChatAccentColors value
- TResult chatPermissions(
- UpdateChatPermissions value
- TResult chatLastMessage(
- UpdateChatLastMessage value
- TResult chatPosition(
- UpdateChatPosition value
- TResult chatAddedToList(
- UpdateChatAddedToList value
- TResult chatRemovedFromList()?,
- TResult chatReadInbox(
- UpdateChatReadInbox value
- TResult chatReadOutbox(
- UpdateChatReadOutbox value
- TResult chatActionBar(
- UpdateChatActionBar value
- TResult chatBusinessBotManageBar()?,
- TResult chatAvailableReactions()?,
- TResult chatDraftMessage(
- UpdateChatDraftMessage value
- TResult chatEmojiStatus(
- UpdateChatEmojiStatus value
- TResult chatMessageSender(
- UpdateChatMessageSender value
- TResult chatMessageAutoDeleteTime()?,
- TResult chatNotificationSettings()?,
- TResult chatPendingJoinRequests()?,
- TResult chatReplyMarkup(
- UpdateChatReplyMarkup value
- TResult chatBackground(
- UpdateChatBackground value
- TResult chatTheme(
- UpdateChatTheme value
- TResult chatUnreadMentionCount()?,
- TResult chatUnreadReactionCount()?,
- TResult chatUnreadPollVoteCount()?,
- TResult chatVideoChat(
- UpdateChatVideoChat value
- TResult chatDefaultDisableNotification()?,
- TResult chatHasProtectedContent()?,
- TResult chatIsTranslatable(
- UpdateChatIsTranslatable value
- TResult chatIsMarkedAsUnread()?,
- TResult chatViewAsTopics(
- UpdateChatViewAsTopics value
- TResult chatBlockList(
- UpdateChatBlockList value
- TResult chatHasScheduledMessages()?,
- TResult chatHasWelcomeMessages()?,
- TResult chatFolders(
- UpdateChatFolders value
- TResult chatOnlineMemberCount()?,
- TResult savedMessagesTopic(
- UpdateSavedMessagesTopic value
- TResult savedMessagesTopicCount()?,
- TResult directMessagesChatTopic()?,
- TResult topicMessageCount(
- UpdateTopicMessageCount value
- TResult quickReplyShortcut(
- UpdateQuickReplyShortcut value
- TResult quickReplyShortcutDeleted()?,
- TResult quickReplyShortcuts()?,
- TResult quickReplyShortcutMessages()?,
- TResult chatWelcomeMessages()?,
- TResult forumTopicInfo(
- UpdateForumTopicInfo value
- TResult forumTopic(
- UpdateForumTopic value
- TResult scopeNotificationSettings()?,
- TResult reactionNotificationSettings()?,
- TResult notification(
- UpdateNotification value
- TResult notificationGroup(
- UpdateNotificationGroup value
- TResult activeNotifications()?,
- TResult havePendingNotifications()?,
- TResult deleteMessages(
- UpdateDeleteMessages value
- TResult chatAction(
- UpdateChatAction value
- TResult pendingMessage(
- UpdatePendingMessage value
- TResult stopMessageDraft(
- UpdateStopMessageDraft value
- TResult community(
- UpdateCommunity value
- TResult userStatus(
- UpdateUserStatus value
- TResult user(
- UpdateUser value
- TResult basicGroup(
- UpdateBasicGroup value
- TResult supergroup(
- UpdateSupergroup value
- TResult secretChat(
- UpdateSecretChat value
- TResult userFullInfo(
- UpdateUserFullInfo value
- TResult basicGroupFullInfo(
- UpdateBasicGroupFullInfo value
- TResult supergroupFullInfo(
- UpdateSupergroupFullInfo value
- TResult communityFullInfo(
- UpdateCommunityFullInfo value
- TResult serviceNotification()?,
- TResult newOauthRequest(
- UpdateNewOauthRequest value
- TResult file(
- UpdateFile value
- TResult fileGenerationStart()?,
- TResult fileGenerationStop(
- UpdateFileGenerationStop value
- TResult fileDownloads(
- UpdateFileDownloads value
- TResult fileAddedToDownloads()?,
- TResult fileDownload(
- UpdateFileDownload value
- TResult fileRemovedFromDownloads()?,
- TResult applicationVerificationRequired()?,
- TResult applicationRecaptchaVerificationRequired()?,
- TResult call(
- UpdateCall value
- TResult groupCall(
- UpdateGroupCall value
- TResult groupCallParticipant()?,
- TResult groupCallParticipants()?,
- TResult groupCallVerificationState()?,
- TResult newGroupCallMessage()?,
- TResult newGroupCallPaidReaction()?,
- TResult groupCallMessageSendFailed()?,
- TResult groupCallMessagesDeleted()?,
- TResult liveStoryTopDonors(
- UpdateLiveStoryTopDonors value
- TResult newCallSignalingData()?,
- TResult giftAuctionState(
- UpdateGiftAuctionState value
- TResult activeGiftAuctions(
- UpdateActiveGiftAuctions value
- TResult userPrivacySettingRules()?,
- TResult unreadMessageCount(
- UpdateUnreadMessageCount value
- TResult unreadChatCount(
- UpdateUnreadChatCount value
- TResult chatJoinResult(
- UpdateChatJoinResult value
- TResult story(
- UpdateStory value
- TResult storyDeleted(
- UpdateStoryDeleted value
- TResult storyPostSucceeded(
- UpdateStoryPostSucceeded value
- TResult storyPostFailed(
- UpdateStoryPostFailed value
- TResult chatActiveStories(
- UpdateChatActiveStories value
- TResult storyListChatCount(
- UpdateStoryListChatCount value
- TResult storyStealthMode(
- UpdateStoryStealthMode value
- TResult allowedBotUsernamePremiumSuffixes()?,
- TResult trustedMiniAppBots(
- UpdateTrustedMiniAppBots value
- TResult option(
- UpdateOption value
- TResult stickerSet(
- UpdateStickerSet value
- TResult installedStickerSets()?,
- TResult trendingStickerSets()?,
- TResult recentStickers(
- UpdateRecentStickers value
- TResult favoriteStickers(
- UpdateFavoriteStickers value
- TResult savedAnimations(
- UpdateSavedAnimations value
- TResult savedNotificationSounds()?,
- TResult defaultBackground(
- UpdateDefaultBackground value
- TResult emojiChatThemes(
- UpdateEmojiChatThemes value
- TResult accentColors(
- UpdateAccentColors value
- TResult profileAccentColors()?,
- TResult webBrowserSettings(
- UpdateWebBrowserSettings value
- TResult languagePackStrings()?,
- TResult connectionState(
- UpdateConnectionState value
- TResult webProxyCarrierOpened()?,
- TResult webProxyCarrierData()?,
- TResult webProxyCarrierClosed()?,
- TResult freezeState(
- UpdateFreezeState value
- TResult ageVerificationParameters()?,
- TResult termsOfService(
- UpdateTermsOfService value
- TResult unconfirmedSession(
- UpdateUnconfirmedSession value
- TResult attachmentMenuBots(
- UpdateAttachmentMenuBots value
- TResult webAppMessageSent(
- UpdateWebAppMessageSent value
- TResult activeEmojiReactions()?,
- TResult availableMessageEffects()?,
- TResult defaultReactionType()?,
- TResult defaultPaidReactionType()?,
- TResult savedMessagesTags(
- UpdateSavedMessagesTags value
- TResult activeLiveLocationMessages()?,
- TResult ownedStarCount(
- UpdateOwnedStarCount value
- TResult ownedGramCount(
- UpdateOwnedGramCount value
- TResult tonWalletState(
- UpdateTonWalletState value
- TResult tonWalletGaslessTransfersInfo()?,
- TResult tonWalletTonConnectSession()?,
- TResult tonWalletTonConnectSessionDisconnectRequired()?,
- TResult chatRevenueAmount(
- UpdateChatRevenueAmount value
- TResult starRevenueStatus(
- UpdateStarRevenueStatus value
- TResult gramRevenueStatus(
- UpdateGramRevenueStatus value
- TResult speechRecognitionTrial()?,
- TResult speechRecognitionInFile()?,
- TResult groupCallMessageLevels()?,
- TResult diceEmojis(
- UpdateDiceEmojis value
- TResult stakeDiceState(
- UpdateStakeDiceState value
- TResult animatedEmojiMessageClicked()?,
- TResult animationSearchParameters()?,
- TResult textCompositionStyles()?,
- TResult suggestedActions(
- UpdateSuggestedActions value
- TResult speedLimitNotification()?,
- TResult contactCloseBirthdays()?,
- TResult autosaveSettings(
- UpdateAutosaveSettings value
- TResult businessConnection(
- UpdateBusinessConnection value
- TResult newBusinessMessage(
- UpdateNewBusinessMessage value
- TResult businessMessageEdited()?,
- TResult businessMessagesDeleted()?,
- TResult newInlineQuery(
- UpdateNewInlineQuery value
- TResult newChosenInlineResult()?,
- TResult newGuestQuery(
- UpdateNewGuestQuery value
- TResult newCallbackQuery(
- UpdateNewCallbackQuery value
- TResult newInlineCallbackQuery()?,
- TResult newBusinessCallbackQuery()?,
- TResult newWidgetQuery(
- UpdateNewWidgetQuery value
- TResult newInlineWidgetQuery()?,
- TResult newWidgetCopyQuery(
- UpdateNewWidgetCopyQuery value
- TResult newShippingQuery(
- UpdateNewShippingQuery value
- TResult newPreCheckoutQuery()?,
- TResult newCustomEvent(
- UpdateNewCustomEvent value
- TResult newCustomQuery(
- UpdateNewCustomQuery value
- TResult userSubscription(
- UpdateUserSubscription value
- TResult poll(
- UpdatePoll value
- TResult pollAnswer(
- UpdatePollAnswer value
- TResult managedBot(
- UpdateManagedBot value
- TResult chatMember(
- UpdateChatMember value
- TResult newChatJoinRequest(
- UpdateNewChatJoinRequest value
- TResult chatBoost(
- UpdateChatBoost value
- TResult messageReaction(
- UpdateMessageReaction value
- TResult messageReactions(
- UpdateMessageReactions value
- TResult paidMediaPurchased(
- UpdatePaidMediaPurchased value
- required TResult orElse(),
Implementation
TResult maybeMap<TResult extends Object?>({
TResult Function(UpdateAuthorizationState value)? authorizationState,
TResult Function(UpdateNewMessage value)? newMessage,
TResult Function(UpdateMessageSendAcknowledged value)?
messageSendAcknowledged,
TResult Function(UpdateMessageSendSucceeded value)? messageSendSucceeded,
TResult Function(UpdateMessageSendFailed value)? messageSendFailed,
TResult Function(UpdateMessageContent value)? messageContent,
TResult Function(UpdateMessageEphemeralContent value)?
messageEphemeralContent,
TResult Function(UpdateMessageEdited value)? messageEdited,
TResult Function(UpdateMessageIsPinned value)? messageIsPinned,
TResult Function(UpdateMessageInteractionInfo value)?
messageInteractionInfo,
TResult Function(UpdateMessageContentOpened value)? messageContentOpened,
TResult Function(UpdateMessageMentionRead value)? messageMentionRead,
TResult Function(UpdateMessageUnreadReactions value)?
messageUnreadReactions,
TResult Function(UpdateMessageContainsUnreadPollVotes value)?
messageContainsUnreadPollVotes,
TResult Function(UpdateMessageFactCheck value)? messageFactCheck,
TResult Function(UpdateMessageSuggestedPostInfo value)?
messageSuggestedPostInfo,
TResult Function(UpdateMessageLiveLocationViewed value)?
messageLiveLocationViewed,
TResult Function(UpdateVideoPublished value)? videoPublished,
TResult Function(UpdateNewChat value)? newChat,
TResult Function(UpdateChatTitle value)? chatTitle,
TResult Function(UpdateChatPhoto value)? chatPhoto,
TResult Function(UpdateChatAccentColors value)? chatAccentColors,
TResult Function(UpdateChatPermissions value)? chatPermissions,
TResult Function(UpdateChatLastMessage value)? chatLastMessage,
TResult Function(UpdateChatPosition value)? chatPosition,
TResult Function(UpdateChatAddedToList value)? chatAddedToList,
TResult Function(UpdateChatRemovedFromList value)? chatRemovedFromList,
TResult Function(UpdateChatReadInbox value)? chatReadInbox,
TResult Function(UpdateChatReadOutbox value)? chatReadOutbox,
TResult Function(UpdateChatActionBar value)? chatActionBar,
TResult Function(UpdateChatBusinessBotManageBar value)?
chatBusinessBotManageBar,
TResult Function(UpdateChatAvailableReactions value)?
chatAvailableReactions,
TResult Function(UpdateChatDraftMessage value)? chatDraftMessage,
TResult Function(UpdateChatEmojiStatus value)? chatEmojiStatus,
TResult Function(UpdateChatMessageSender value)? chatMessageSender,
TResult Function(UpdateChatMessageAutoDeleteTime value)?
chatMessageAutoDeleteTime,
TResult Function(UpdateChatNotificationSettings value)?
chatNotificationSettings,
TResult Function(UpdateChatPendingJoinRequests value)?
chatPendingJoinRequests,
TResult Function(UpdateChatReplyMarkup value)? chatReplyMarkup,
TResult Function(UpdateChatBackground value)? chatBackground,
TResult Function(UpdateChatTheme value)? chatTheme,
TResult Function(UpdateChatUnreadMentionCount value)?
chatUnreadMentionCount,
TResult Function(UpdateChatUnreadReactionCount value)?
chatUnreadReactionCount,
TResult Function(UpdateChatUnreadPollVoteCount value)?
chatUnreadPollVoteCount,
TResult Function(UpdateChatVideoChat value)? chatVideoChat,
TResult Function(UpdateChatDefaultDisableNotification value)?
chatDefaultDisableNotification,
TResult Function(UpdateChatHasProtectedContent value)?
chatHasProtectedContent,
TResult Function(UpdateChatIsTranslatable value)? chatIsTranslatable,
TResult Function(UpdateChatIsMarkedAsUnread value)? chatIsMarkedAsUnread,
TResult Function(UpdateChatViewAsTopics value)? chatViewAsTopics,
TResult Function(UpdateChatBlockList value)? chatBlockList,
TResult Function(UpdateChatHasScheduledMessages value)?
chatHasScheduledMessages,
TResult Function(UpdateChatHasWelcomeMessages value)?
chatHasWelcomeMessages,
TResult Function(UpdateChatFolders value)? chatFolders,
TResult Function(UpdateChatOnlineMemberCount value)? chatOnlineMemberCount,
TResult Function(UpdateSavedMessagesTopic value)? savedMessagesTopic,
TResult Function(UpdateSavedMessagesTopicCount value)?
savedMessagesTopicCount,
TResult Function(UpdateDirectMessagesChatTopic value)?
directMessagesChatTopic,
TResult Function(UpdateTopicMessageCount value)? topicMessageCount,
TResult Function(UpdateQuickReplyShortcut value)? quickReplyShortcut,
TResult Function(UpdateQuickReplyShortcutDeleted value)?
quickReplyShortcutDeleted,
TResult Function(UpdateQuickReplyShortcuts value)? quickReplyShortcuts,
TResult Function(UpdateQuickReplyShortcutMessages value)?
quickReplyShortcutMessages,
TResult Function(UpdateChatWelcomeMessages value)? chatWelcomeMessages,
TResult Function(UpdateForumTopicInfo value)? forumTopicInfo,
TResult Function(UpdateForumTopic value)? forumTopic,
TResult Function(UpdateScopeNotificationSettings value)?
scopeNotificationSettings,
TResult Function(UpdateReactionNotificationSettings value)?
reactionNotificationSettings,
TResult Function(UpdateNotification value)? notification,
TResult Function(UpdateNotificationGroup value)? notificationGroup,
TResult Function(UpdateActiveNotifications value)? activeNotifications,
TResult Function(UpdateHavePendingNotifications value)?
havePendingNotifications,
TResult Function(UpdateDeleteMessages value)? deleteMessages,
TResult Function(UpdateChatAction value)? chatAction,
TResult Function(UpdatePendingMessage value)? pendingMessage,
TResult Function(UpdateStopMessageDraft value)? stopMessageDraft,
TResult Function(UpdateCommunity value)? community,
TResult Function(UpdateUserStatus value)? userStatus,
TResult Function(UpdateUser value)? user,
TResult Function(UpdateBasicGroup value)? basicGroup,
TResult Function(UpdateSupergroup value)? supergroup,
TResult Function(UpdateSecretChat value)? secretChat,
TResult Function(UpdateUserFullInfo value)? userFullInfo,
TResult Function(UpdateBasicGroupFullInfo value)? basicGroupFullInfo,
TResult Function(UpdateSupergroupFullInfo value)? supergroupFullInfo,
TResult Function(UpdateCommunityFullInfo value)? communityFullInfo,
TResult Function(UpdateServiceNotification value)? serviceNotification,
TResult Function(UpdateNewOauthRequest value)? newOauthRequest,
TResult Function(UpdateFile value)? file,
TResult Function(UpdateFileGenerationStart value)? fileGenerationStart,
TResult Function(UpdateFileGenerationStop value)? fileGenerationStop,
TResult Function(UpdateFileDownloads value)? fileDownloads,
TResult Function(UpdateFileAddedToDownloads value)? fileAddedToDownloads,
TResult Function(UpdateFileDownload value)? fileDownload,
TResult Function(UpdateFileRemovedFromDownloads value)?
fileRemovedFromDownloads,
TResult Function(UpdateApplicationVerificationRequired value)?
applicationVerificationRequired,
TResult Function(UpdateApplicationRecaptchaVerificationRequired value)?
applicationRecaptchaVerificationRequired,
TResult Function(UpdateCall value)? call,
TResult Function(UpdateGroupCall value)? groupCall,
TResult Function(UpdateGroupCallParticipant value)? groupCallParticipant,
TResult Function(UpdateGroupCallParticipants value)? groupCallParticipants,
TResult Function(UpdateGroupCallVerificationState value)?
groupCallVerificationState,
TResult Function(UpdateNewGroupCallMessage value)? newGroupCallMessage,
TResult Function(UpdateNewGroupCallPaidReaction value)?
newGroupCallPaidReaction,
TResult Function(UpdateGroupCallMessageSendFailed value)?
groupCallMessageSendFailed,
TResult Function(UpdateGroupCallMessagesDeleted value)?
groupCallMessagesDeleted,
TResult Function(UpdateLiveStoryTopDonors value)? liveStoryTopDonors,
TResult Function(UpdateNewCallSignalingData value)? newCallSignalingData,
TResult Function(UpdateGiftAuctionState value)? giftAuctionState,
TResult Function(UpdateActiveGiftAuctions value)? activeGiftAuctions,
TResult Function(UpdateUserPrivacySettingRules value)?
userPrivacySettingRules,
TResult Function(UpdateUnreadMessageCount value)? unreadMessageCount,
TResult Function(UpdateUnreadChatCount value)? unreadChatCount,
TResult Function(UpdateChatJoinResult value)? chatJoinResult,
TResult Function(UpdateStory value)? story,
TResult Function(UpdateStoryDeleted value)? storyDeleted,
TResult Function(UpdateStoryPostSucceeded value)? storyPostSucceeded,
TResult Function(UpdateStoryPostFailed value)? storyPostFailed,
TResult Function(UpdateChatActiveStories value)? chatActiveStories,
TResult Function(UpdateStoryListChatCount value)? storyListChatCount,
TResult Function(UpdateStoryStealthMode value)? storyStealthMode,
TResult Function(UpdateAllowedBotUsernamePremiumSuffixes value)?
allowedBotUsernamePremiumSuffixes,
TResult Function(UpdateTrustedMiniAppBots value)? trustedMiniAppBots,
TResult Function(UpdateOption value)? option,
TResult Function(UpdateStickerSet value)? stickerSet,
TResult Function(UpdateInstalledStickerSets value)? installedStickerSets,
TResult Function(UpdateTrendingStickerSets value)? trendingStickerSets,
TResult Function(UpdateRecentStickers value)? recentStickers,
TResult Function(UpdateFavoriteStickers value)? favoriteStickers,
TResult Function(UpdateSavedAnimations value)? savedAnimations,
TResult Function(UpdateSavedNotificationSounds value)?
savedNotificationSounds,
TResult Function(UpdateDefaultBackground value)? defaultBackground,
TResult Function(UpdateEmojiChatThemes value)? emojiChatThemes,
TResult Function(UpdateAccentColors value)? accentColors,
TResult Function(UpdateProfileAccentColors value)? profileAccentColors,
TResult Function(UpdateWebBrowserSettings value)? webBrowserSettings,
TResult Function(UpdateLanguagePackStrings value)? languagePackStrings,
TResult Function(UpdateConnectionState value)? connectionState,
TResult Function(UpdateWebProxyCarrierOpened value)? webProxyCarrierOpened,
TResult Function(UpdateWebProxyCarrierData value)? webProxyCarrierData,
TResult Function(UpdateWebProxyCarrierClosed value)? webProxyCarrierClosed,
TResult Function(UpdateFreezeState value)? freezeState,
TResult Function(UpdateAgeVerificationParameters value)?
ageVerificationParameters,
TResult Function(UpdateTermsOfService value)? termsOfService,
TResult Function(UpdateUnconfirmedSession value)? unconfirmedSession,
TResult Function(UpdateAttachmentMenuBots value)? attachmentMenuBots,
TResult Function(UpdateWebAppMessageSent value)? webAppMessageSent,
TResult Function(UpdateActiveEmojiReactions value)? activeEmojiReactions,
TResult Function(UpdateAvailableMessageEffects value)?
availableMessageEffects,
TResult Function(UpdateDefaultReactionType value)? defaultReactionType,
TResult Function(UpdateDefaultPaidReactionType value)?
defaultPaidReactionType,
TResult Function(UpdateSavedMessagesTags value)? savedMessagesTags,
TResult Function(UpdateActiveLiveLocationMessages value)?
activeLiveLocationMessages,
TResult Function(UpdateOwnedStarCount value)? ownedStarCount,
TResult Function(UpdateOwnedGramCount value)? ownedGramCount,
TResult Function(UpdateTonWalletState value)? tonWalletState,
TResult Function(UpdateTonWalletGaslessTransfersInfo value)?
tonWalletGaslessTransfersInfo,
TResult Function(UpdateTonWalletTonConnectSession value)?
tonWalletTonConnectSession,
TResult Function(UpdateTonWalletTonConnectSessionDisconnectRequired value)?
tonWalletTonConnectSessionDisconnectRequired,
TResult Function(UpdateChatRevenueAmount value)? chatRevenueAmount,
TResult Function(UpdateStarRevenueStatus value)? starRevenueStatus,
TResult Function(UpdateGramRevenueStatus value)? gramRevenueStatus,
TResult Function(UpdateSpeechRecognitionTrial value)?
speechRecognitionTrial,
TResult Function(UpdateSpeechRecognitionInFile value)?
speechRecognitionInFile,
TResult Function(UpdateGroupCallMessageLevels value)?
groupCallMessageLevels,
TResult Function(UpdateDiceEmojis value)? diceEmojis,
TResult Function(UpdateStakeDiceState value)? stakeDiceState,
TResult Function(UpdateAnimatedEmojiMessageClicked value)?
animatedEmojiMessageClicked,
TResult Function(UpdateAnimationSearchParameters value)?
animationSearchParameters,
TResult Function(UpdateTextCompositionStyles value)? textCompositionStyles,
TResult Function(UpdateSuggestedActions value)? suggestedActions,
TResult Function(UpdateSpeedLimitNotification value)?
speedLimitNotification,
TResult Function(UpdateContactCloseBirthdays value)? contactCloseBirthdays,
TResult Function(UpdateAutosaveSettings value)? autosaveSettings,
TResult Function(UpdateBusinessConnection value)? businessConnection,
TResult Function(UpdateNewBusinessMessage value)? newBusinessMessage,
TResult Function(UpdateBusinessMessageEdited value)? businessMessageEdited,
TResult Function(UpdateBusinessMessagesDeleted value)?
businessMessagesDeleted,
TResult Function(UpdateNewInlineQuery value)? newInlineQuery,
TResult Function(UpdateNewChosenInlineResult value)? newChosenInlineResult,
TResult Function(UpdateNewGuestQuery value)? newGuestQuery,
TResult Function(UpdateNewCallbackQuery value)? newCallbackQuery,
TResult Function(UpdateNewInlineCallbackQuery value)?
newInlineCallbackQuery,
TResult Function(UpdateNewBusinessCallbackQuery value)?
newBusinessCallbackQuery,
TResult Function(UpdateNewWidgetQuery value)? newWidgetQuery,
TResult Function(UpdateNewInlineWidgetQuery value)? newInlineWidgetQuery,
TResult Function(UpdateNewWidgetCopyQuery value)? newWidgetCopyQuery,
TResult Function(UpdateNewShippingQuery value)? newShippingQuery,
TResult Function(UpdateNewPreCheckoutQuery value)? newPreCheckoutQuery,
TResult Function(UpdateNewCustomEvent value)? newCustomEvent,
TResult Function(UpdateNewCustomQuery value)? newCustomQuery,
TResult Function(UpdateUserSubscription value)? userSubscription,
TResult Function(UpdatePoll value)? poll,
TResult Function(UpdatePollAnswer value)? pollAnswer,
TResult Function(UpdateManagedBot value)? managedBot,
TResult Function(UpdateChatMember value)? chatMember,
TResult Function(UpdateNewChatJoinRequest value)? newChatJoinRequest,
TResult Function(UpdateChatBoost value)? chatBoost,
TResult Function(UpdateMessageReaction value)? messageReaction,
TResult Function(UpdateMessageReactions value)? messageReactions,
TResult Function(UpdatePaidMediaPurchased value)? paidMediaPurchased,
required TResult Function() orElse,
}) {
switch (getConstructor()) {
case UpdateAuthorizationState.constructor:
if (authorizationState != null) {
return authorizationState.call(this as UpdateAuthorizationState);
}
break;
case UpdateNewMessage.constructor:
if (newMessage != null) {
return newMessage.call(this as UpdateNewMessage);
}
break;
case UpdateMessageSendAcknowledged.constructor:
if (messageSendAcknowledged != null) {
return messageSendAcknowledged
.call(this as UpdateMessageSendAcknowledged);
}
break;
case UpdateMessageSendSucceeded.constructor:
if (messageSendSucceeded != null) {
return messageSendSucceeded.call(this as UpdateMessageSendSucceeded);
}
break;
case UpdateMessageSendFailed.constructor:
if (messageSendFailed != null) {
return messageSendFailed.call(this as UpdateMessageSendFailed);
}
break;
case UpdateMessageContent.constructor:
if (messageContent != null) {
return messageContent.call(this as UpdateMessageContent);
}
break;
case UpdateMessageEphemeralContent.constructor:
if (messageEphemeralContent != null) {
return messageEphemeralContent
.call(this as UpdateMessageEphemeralContent);
}
break;
case UpdateMessageEdited.constructor:
if (messageEdited != null) {
return messageEdited.call(this as UpdateMessageEdited);
}
break;
case UpdateMessageIsPinned.constructor:
if (messageIsPinned != null) {
return messageIsPinned.call(this as UpdateMessageIsPinned);
}
break;
case UpdateMessageInteractionInfo.constructor:
if (messageInteractionInfo != null) {
return messageInteractionInfo
.call(this as UpdateMessageInteractionInfo);
}
break;
case UpdateMessageContentOpened.constructor:
if (messageContentOpened != null) {
return messageContentOpened.call(this as UpdateMessageContentOpened);
}
break;
case UpdateMessageMentionRead.constructor:
if (messageMentionRead != null) {
return messageMentionRead.call(this as UpdateMessageMentionRead);
}
break;
case UpdateMessageUnreadReactions.constructor:
if (messageUnreadReactions != null) {
return messageUnreadReactions
.call(this as UpdateMessageUnreadReactions);
}
break;
case UpdateMessageContainsUnreadPollVotes.constructor:
if (messageContainsUnreadPollVotes != null) {
return messageContainsUnreadPollVotes
.call(this as UpdateMessageContainsUnreadPollVotes);
}
break;
case UpdateMessageFactCheck.constructor:
if (messageFactCheck != null) {
return messageFactCheck.call(this as UpdateMessageFactCheck);
}
break;
case UpdateMessageSuggestedPostInfo.constructor:
if (messageSuggestedPostInfo != null) {
return messageSuggestedPostInfo
.call(this as UpdateMessageSuggestedPostInfo);
}
break;
case UpdateMessageLiveLocationViewed.constructor:
if (messageLiveLocationViewed != null) {
return messageLiveLocationViewed
.call(this as UpdateMessageLiveLocationViewed);
}
break;
case UpdateVideoPublished.constructor:
if (videoPublished != null) {
return videoPublished.call(this as UpdateVideoPublished);
}
break;
case UpdateNewChat.constructor:
if (newChat != null) {
return newChat.call(this as UpdateNewChat);
}
break;
case UpdateChatTitle.constructor:
if (chatTitle != null) {
return chatTitle.call(this as UpdateChatTitle);
}
break;
case UpdateChatPhoto.constructor:
if (chatPhoto != null) {
return chatPhoto.call(this as UpdateChatPhoto);
}
break;
case UpdateChatAccentColors.constructor:
if (chatAccentColors != null) {
return chatAccentColors.call(this as UpdateChatAccentColors);
}
break;
case UpdateChatPermissions.constructor:
if (chatPermissions != null) {
return chatPermissions.call(this as UpdateChatPermissions);
}
break;
case UpdateChatLastMessage.constructor:
if (chatLastMessage != null) {
return chatLastMessage.call(this as UpdateChatLastMessage);
}
break;
case UpdateChatPosition.constructor:
if (chatPosition != null) {
return chatPosition.call(this as UpdateChatPosition);
}
break;
case UpdateChatAddedToList.constructor:
if (chatAddedToList != null) {
return chatAddedToList.call(this as UpdateChatAddedToList);
}
break;
case UpdateChatRemovedFromList.constructor:
if (chatRemovedFromList != null) {
return chatRemovedFromList.call(this as UpdateChatRemovedFromList);
}
break;
case UpdateChatReadInbox.constructor:
if (chatReadInbox != null) {
return chatReadInbox.call(this as UpdateChatReadInbox);
}
break;
case UpdateChatReadOutbox.constructor:
if (chatReadOutbox != null) {
return chatReadOutbox.call(this as UpdateChatReadOutbox);
}
break;
case UpdateChatActionBar.constructor:
if (chatActionBar != null) {
return chatActionBar.call(this as UpdateChatActionBar);
}
break;
case UpdateChatBusinessBotManageBar.constructor:
if (chatBusinessBotManageBar != null) {
return chatBusinessBotManageBar
.call(this as UpdateChatBusinessBotManageBar);
}
break;
case UpdateChatAvailableReactions.constructor:
if (chatAvailableReactions != null) {
return chatAvailableReactions
.call(this as UpdateChatAvailableReactions);
}
break;
case UpdateChatDraftMessage.constructor:
if (chatDraftMessage != null) {
return chatDraftMessage.call(this as UpdateChatDraftMessage);
}
break;
case UpdateChatEmojiStatus.constructor:
if (chatEmojiStatus != null) {
return chatEmojiStatus.call(this as UpdateChatEmojiStatus);
}
break;
case UpdateChatMessageSender.constructor:
if (chatMessageSender != null) {
return chatMessageSender.call(this as UpdateChatMessageSender);
}
break;
case UpdateChatMessageAutoDeleteTime.constructor:
if (chatMessageAutoDeleteTime != null) {
return chatMessageAutoDeleteTime
.call(this as UpdateChatMessageAutoDeleteTime);
}
break;
case UpdateChatNotificationSettings.constructor:
if (chatNotificationSettings != null) {
return chatNotificationSettings
.call(this as UpdateChatNotificationSettings);
}
break;
case UpdateChatPendingJoinRequests.constructor:
if (chatPendingJoinRequests != null) {
return chatPendingJoinRequests
.call(this as UpdateChatPendingJoinRequests);
}
break;
case UpdateChatReplyMarkup.constructor:
if (chatReplyMarkup != null) {
return chatReplyMarkup.call(this as UpdateChatReplyMarkup);
}
break;
case UpdateChatBackground.constructor:
if (chatBackground != null) {
return chatBackground.call(this as UpdateChatBackground);
}
break;
case UpdateChatTheme.constructor:
if (chatTheme != null) {
return chatTheme.call(this as UpdateChatTheme);
}
break;
case UpdateChatUnreadMentionCount.constructor:
if (chatUnreadMentionCount != null) {
return chatUnreadMentionCount
.call(this as UpdateChatUnreadMentionCount);
}
break;
case UpdateChatUnreadReactionCount.constructor:
if (chatUnreadReactionCount != null) {
return chatUnreadReactionCount
.call(this as UpdateChatUnreadReactionCount);
}
break;
case UpdateChatUnreadPollVoteCount.constructor:
if (chatUnreadPollVoteCount != null) {
return chatUnreadPollVoteCount
.call(this as UpdateChatUnreadPollVoteCount);
}
break;
case UpdateChatVideoChat.constructor:
if (chatVideoChat != null) {
return chatVideoChat.call(this as UpdateChatVideoChat);
}
break;
case UpdateChatDefaultDisableNotification.constructor:
if (chatDefaultDisableNotification != null) {
return chatDefaultDisableNotification
.call(this as UpdateChatDefaultDisableNotification);
}
break;
case UpdateChatHasProtectedContent.constructor:
if (chatHasProtectedContent != null) {
return chatHasProtectedContent
.call(this as UpdateChatHasProtectedContent);
}
break;
case UpdateChatIsTranslatable.constructor:
if (chatIsTranslatable != null) {
return chatIsTranslatable.call(this as UpdateChatIsTranslatable);
}
break;
case UpdateChatIsMarkedAsUnread.constructor:
if (chatIsMarkedAsUnread != null) {
return chatIsMarkedAsUnread.call(this as UpdateChatIsMarkedAsUnread);
}
break;
case UpdateChatViewAsTopics.constructor:
if (chatViewAsTopics != null) {
return chatViewAsTopics.call(this as UpdateChatViewAsTopics);
}
break;
case UpdateChatBlockList.constructor:
if (chatBlockList != null) {
return chatBlockList.call(this as UpdateChatBlockList);
}
break;
case UpdateChatHasScheduledMessages.constructor:
if (chatHasScheduledMessages != null) {
return chatHasScheduledMessages
.call(this as UpdateChatHasScheduledMessages);
}
break;
case UpdateChatHasWelcomeMessages.constructor:
if (chatHasWelcomeMessages != null) {
return chatHasWelcomeMessages
.call(this as UpdateChatHasWelcomeMessages);
}
break;
case UpdateChatFolders.constructor:
if (chatFolders != null) {
return chatFolders.call(this as UpdateChatFolders);
}
break;
case UpdateChatOnlineMemberCount.constructor:
if (chatOnlineMemberCount != null) {
return chatOnlineMemberCount
.call(this as UpdateChatOnlineMemberCount);
}
break;
case UpdateSavedMessagesTopic.constructor:
if (savedMessagesTopic != null) {
return savedMessagesTopic.call(this as UpdateSavedMessagesTopic);
}
break;
case UpdateSavedMessagesTopicCount.constructor:
if (savedMessagesTopicCount != null) {
return savedMessagesTopicCount
.call(this as UpdateSavedMessagesTopicCount);
}
break;
case UpdateDirectMessagesChatTopic.constructor:
if (directMessagesChatTopic != null) {
return directMessagesChatTopic
.call(this as UpdateDirectMessagesChatTopic);
}
break;
case UpdateTopicMessageCount.constructor:
if (topicMessageCount != null) {
return topicMessageCount.call(this as UpdateTopicMessageCount);
}
break;
case UpdateQuickReplyShortcut.constructor:
if (quickReplyShortcut != null) {
return quickReplyShortcut.call(this as UpdateQuickReplyShortcut);
}
break;
case UpdateQuickReplyShortcutDeleted.constructor:
if (quickReplyShortcutDeleted != null) {
return quickReplyShortcutDeleted
.call(this as UpdateQuickReplyShortcutDeleted);
}
break;
case UpdateQuickReplyShortcuts.constructor:
if (quickReplyShortcuts != null) {
return quickReplyShortcuts.call(this as UpdateQuickReplyShortcuts);
}
break;
case UpdateQuickReplyShortcutMessages.constructor:
if (quickReplyShortcutMessages != null) {
return quickReplyShortcutMessages
.call(this as UpdateQuickReplyShortcutMessages);
}
break;
case UpdateChatWelcomeMessages.constructor:
if (chatWelcomeMessages != null) {
return chatWelcomeMessages.call(this as UpdateChatWelcomeMessages);
}
break;
case UpdateForumTopicInfo.constructor:
if (forumTopicInfo != null) {
return forumTopicInfo.call(this as UpdateForumTopicInfo);
}
break;
case UpdateForumTopic.constructor:
if (forumTopic != null) {
return forumTopic.call(this as UpdateForumTopic);
}
break;
case UpdateScopeNotificationSettings.constructor:
if (scopeNotificationSettings != null) {
return scopeNotificationSettings
.call(this as UpdateScopeNotificationSettings);
}
break;
case UpdateReactionNotificationSettings.constructor:
if (reactionNotificationSettings != null) {
return reactionNotificationSettings
.call(this as UpdateReactionNotificationSettings);
}
break;
case UpdateNotification.constructor:
if (notification != null) {
return notification.call(this as UpdateNotification);
}
break;
case UpdateNotificationGroup.constructor:
if (notificationGroup != null) {
return notificationGroup.call(this as UpdateNotificationGroup);
}
break;
case UpdateActiveNotifications.constructor:
if (activeNotifications != null) {
return activeNotifications.call(this as UpdateActiveNotifications);
}
break;
case UpdateHavePendingNotifications.constructor:
if (havePendingNotifications != null) {
return havePendingNotifications
.call(this as UpdateHavePendingNotifications);
}
break;
case UpdateDeleteMessages.constructor:
if (deleteMessages != null) {
return deleteMessages.call(this as UpdateDeleteMessages);
}
break;
case UpdateChatAction.constructor:
if (chatAction != null) {
return chatAction.call(this as UpdateChatAction);
}
break;
case UpdatePendingMessage.constructor:
if (pendingMessage != null) {
return pendingMessage.call(this as UpdatePendingMessage);
}
break;
case UpdateStopMessageDraft.constructor:
if (stopMessageDraft != null) {
return stopMessageDraft.call(this as UpdateStopMessageDraft);
}
break;
case UpdateCommunity.constructor:
if (community != null) {
return community.call(this as UpdateCommunity);
}
break;
case UpdateUserStatus.constructor:
if (userStatus != null) {
return userStatus.call(this as UpdateUserStatus);
}
break;
case UpdateUser.constructor:
if (user != null) {
return user.call(this as UpdateUser);
}
break;
case UpdateBasicGroup.constructor:
if (basicGroup != null) {
return basicGroup.call(this as UpdateBasicGroup);
}
break;
case UpdateSupergroup.constructor:
if (supergroup != null) {
return supergroup.call(this as UpdateSupergroup);
}
break;
case UpdateSecretChat.constructor:
if (secretChat != null) {
return secretChat.call(this as UpdateSecretChat);
}
break;
case UpdateUserFullInfo.constructor:
if (userFullInfo != null) {
return userFullInfo.call(this as UpdateUserFullInfo);
}
break;
case UpdateBasicGroupFullInfo.constructor:
if (basicGroupFullInfo != null) {
return basicGroupFullInfo.call(this as UpdateBasicGroupFullInfo);
}
break;
case UpdateSupergroupFullInfo.constructor:
if (supergroupFullInfo != null) {
return supergroupFullInfo.call(this as UpdateSupergroupFullInfo);
}
break;
case UpdateCommunityFullInfo.constructor:
if (communityFullInfo != null) {
return communityFullInfo.call(this as UpdateCommunityFullInfo);
}
break;
case UpdateServiceNotification.constructor:
if (serviceNotification != null) {
return serviceNotification.call(this as UpdateServiceNotification);
}
break;
case UpdateNewOauthRequest.constructor:
if (newOauthRequest != null) {
return newOauthRequest.call(this as UpdateNewOauthRequest);
}
break;
case UpdateFile.constructor:
if (file != null) {
return file.call(this as UpdateFile);
}
break;
case UpdateFileGenerationStart.constructor:
if (fileGenerationStart != null) {
return fileGenerationStart.call(this as UpdateFileGenerationStart);
}
break;
case UpdateFileGenerationStop.constructor:
if (fileGenerationStop != null) {
return fileGenerationStop.call(this as UpdateFileGenerationStop);
}
break;
case UpdateFileDownloads.constructor:
if (fileDownloads != null) {
return fileDownloads.call(this as UpdateFileDownloads);
}
break;
case UpdateFileAddedToDownloads.constructor:
if (fileAddedToDownloads != null) {
return fileAddedToDownloads.call(this as UpdateFileAddedToDownloads);
}
break;
case UpdateFileDownload.constructor:
if (fileDownload != null) {
return fileDownload.call(this as UpdateFileDownload);
}
break;
case UpdateFileRemovedFromDownloads.constructor:
if (fileRemovedFromDownloads != null) {
return fileRemovedFromDownloads
.call(this as UpdateFileRemovedFromDownloads);
}
break;
case UpdateApplicationVerificationRequired.constructor:
if (applicationVerificationRequired != null) {
return applicationVerificationRequired
.call(this as UpdateApplicationVerificationRequired);
}
break;
case UpdateApplicationRecaptchaVerificationRequired.constructor:
if (applicationRecaptchaVerificationRequired != null) {
return applicationRecaptchaVerificationRequired
.call(this as UpdateApplicationRecaptchaVerificationRequired);
}
break;
case UpdateCall.constructor:
if (call != null) {
return call.call(this as UpdateCall);
}
break;
case UpdateGroupCall.constructor:
if (groupCall != null) {
return groupCall.call(this as UpdateGroupCall);
}
break;
case UpdateGroupCallParticipant.constructor:
if (groupCallParticipant != null) {
return groupCallParticipant.call(this as UpdateGroupCallParticipant);
}
break;
case UpdateGroupCallParticipants.constructor:
if (groupCallParticipants != null) {
return groupCallParticipants
.call(this as UpdateGroupCallParticipants);
}
break;
case UpdateGroupCallVerificationState.constructor:
if (groupCallVerificationState != null) {
return groupCallVerificationState
.call(this as UpdateGroupCallVerificationState);
}
break;
case UpdateNewGroupCallMessage.constructor:
if (newGroupCallMessage != null) {
return newGroupCallMessage.call(this as UpdateNewGroupCallMessage);
}
break;
case UpdateNewGroupCallPaidReaction.constructor:
if (newGroupCallPaidReaction != null) {
return newGroupCallPaidReaction
.call(this as UpdateNewGroupCallPaidReaction);
}
break;
case UpdateGroupCallMessageSendFailed.constructor:
if (groupCallMessageSendFailed != null) {
return groupCallMessageSendFailed
.call(this as UpdateGroupCallMessageSendFailed);
}
break;
case UpdateGroupCallMessagesDeleted.constructor:
if (groupCallMessagesDeleted != null) {
return groupCallMessagesDeleted
.call(this as UpdateGroupCallMessagesDeleted);
}
break;
case UpdateLiveStoryTopDonors.constructor:
if (liveStoryTopDonors != null) {
return liveStoryTopDonors.call(this as UpdateLiveStoryTopDonors);
}
break;
case UpdateNewCallSignalingData.constructor:
if (newCallSignalingData != null) {
return newCallSignalingData.call(this as UpdateNewCallSignalingData);
}
break;
case UpdateGiftAuctionState.constructor:
if (giftAuctionState != null) {
return giftAuctionState.call(this as UpdateGiftAuctionState);
}
break;
case UpdateActiveGiftAuctions.constructor:
if (activeGiftAuctions != null) {
return activeGiftAuctions.call(this as UpdateActiveGiftAuctions);
}
break;
case UpdateUserPrivacySettingRules.constructor:
if (userPrivacySettingRules != null) {
return userPrivacySettingRules
.call(this as UpdateUserPrivacySettingRules);
}
break;
case UpdateUnreadMessageCount.constructor:
if (unreadMessageCount != null) {
return unreadMessageCount.call(this as UpdateUnreadMessageCount);
}
break;
case UpdateUnreadChatCount.constructor:
if (unreadChatCount != null) {
return unreadChatCount.call(this as UpdateUnreadChatCount);
}
break;
case UpdateChatJoinResult.constructor:
if (chatJoinResult != null) {
return chatJoinResult.call(this as UpdateChatJoinResult);
}
break;
case UpdateStory.constructor:
if (story != null) {
return story.call(this as UpdateStory);
}
break;
case UpdateStoryDeleted.constructor:
if (storyDeleted != null) {
return storyDeleted.call(this as UpdateStoryDeleted);
}
break;
case UpdateStoryPostSucceeded.constructor:
if (storyPostSucceeded != null) {
return storyPostSucceeded.call(this as UpdateStoryPostSucceeded);
}
break;
case UpdateStoryPostFailed.constructor:
if (storyPostFailed != null) {
return storyPostFailed.call(this as UpdateStoryPostFailed);
}
break;
case UpdateChatActiveStories.constructor:
if (chatActiveStories != null) {
return chatActiveStories.call(this as UpdateChatActiveStories);
}
break;
case UpdateStoryListChatCount.constructor:
if (storyListChatCount != null) {
return storyListChatCount.call(this as UpdateStoryListChatCount);
}
break;
case UpdateStoryStealthMode.constructor:
if (storyStealthMode != null) {
return storyStealthMode.call(this as UpdateStoryStealthMode);
}
break;
case UpdateAllowedBotUsernamePremiumSuffixes.constructor:
if (allowedBotUsernamePremiumSuffixes != null) {
return allowedBotUsernamePremiumSuffixes
.call(this as UpdateAllowedBotUsernamePremiumSuffixes);
}
break;
case UpdateTrustedMiniAppBots.constructor:
if (trustedMiniAppBots != null) {
return trustedMiniAppBots.call(this as UpdateTrustedMiniAppBots);
}
break;
case UpdateOption.constructor:
if (option != null) {
return option.call(this as UpdateOption);
}
break;
case UpdateStickerSet.constructor:
if (stickerSet != null) {
return stickerSet.call(this as UpdateStickerSet);
}
break;
case UpdateInstalledStickerSets.constructor:
if (installedStickerSets != null) {
return installedStickerSets.call(this as UpdateInstalledStickerSets);
}
break;
case UpdateTrendingStickerSets.constructor:
if (trendingStickerSets != null) {
return trendingStickerSets.call(this as UpdateTrendingStickerSets);
}
break;
case UpdateRecentStickers.constructor:
if (recentStickers != null) {
return recentStickers.call(this as UpdateRecentStickers);
}
break;
case UpdateFavoriteStickers.constructor:
if (favoriteStickers != null) {
return favoriteStickers.call(this as UpdateFavoriteStickers);
}
break;
case UpdateSavedAnimations.constructor:
if (savedAnimations != null) {
return savedAnimations.call(this as UpdateSavedAnimations);
}
break;
case UpdateSavedNotificationSounds.constructor:
if (savedNotificationSounds != null) {
return savedNotificationSounds
.call(this as UpdateSavedNotificationSounds);
}
break;
case UpdateDefaultBackground.constructor:
if (defaultBackground != null) {
return defaultBackground.call(this as UpdateDefaultBackground);
}
break;
case UpdateEmojiChatThemes.constructor:
if (emojiChatThemes != null) {
return emojiChatThemes.call(this as UpdateEmojiChatThemes);
}
break;
case UpdateAccentColors.constructor:
if (accentColors != null) {
return accentColors.call(this as UpdateAccentColors);
}
break;
case UpdateProfileAccentColors.constructor:
if (profileAccentColors != null) {
return profileAccentColors.call(this as UpdateProfileAccentColors);
}
break;
case UpdateWebBrowserSettings.constructor:
if (webBrowserSettings != null) {
return webBrowserSettings.call(this as UpdateWebBrowserSettings);
}
break;
case UpdateLanguagePackStrings.constructor:
if (languagePackStrings != null) {
return languagePackStrings.call(this as UpdateLanguagePackStrings);
}
break;
case UpdateConnectionState.constructor:
if (connectionState != null) {
return connectionState.call(this as UpdateConnectionState);
}
break;
case UpdateWebProxyCarrierOpened.constructor:
if (webProxyCarrierOpened != null) {
return webProxyCarrierOpened
.call(this as UpdateWebProxyCarrierOpened);
}
break;
case UpdateWebProxyCarrierData.constructor:
if (webProxyCarrierData != null) {
return webProxyCarrierData.call(this as UpdateWebProxyCarrierData);
}
break;
case UpdateWebProxyCarrierClosed.constructor:
if (webProxyCarrierClosed != null) {
return webProxyCarrierClosed
.call(this as UpdateWebProxyCarrierClosed);
}
break;
case UpdateFreezeState.constructor:
if (freezeState != null) {
return freezeState.call(this as UpdateFreezeState);
}
break;
case UpdateAgeVerificationParameters.constructor:
if (ageVerificationParameters != null) {
return ageVerificationParameters
.call(this as UpdateAgeVerificationParameters);
}
break;
case UpdateTermsOfService.constructor:
if (termsOfService != null) {
return termsOfService.call(this as UpdateTermsOfService);
}
break;
case UpdateUnconfirmedSession.constructor:
if (unconfirmedSession != null) {
return unconfirmedSession.call(this as UpdateUnconfirmedSession);
}
break;
case UpdateAttachmentMenuBots.constructor:
if (attachmentMenuBots != null) {
return attachmentMenuBots.call(this as UpdateAttachmentMenuBots);
}
break;
case UpdateWebAppMessageSent.constructor:
if (webAppMessageSent != null) {
return webAppMessageSent.call(this as UpdateWebAppMessageSent);
}
break;
case UpdateActiveEmojiReactions.constructor:
if (activeEmojiReactions != null) {
return activeEmojiReactions.call(this as UpdateActiveEmojiReactions);
}
break;
case UpdateAvailableMessageEffects.constructor:
if (availableMessageEffects != null) {
return availableMessageEffects
.call(this as UpdateAvailableMessageEffects);
}
break;
case UpdateDefaultReactionType.constructor:
if (defaultReactionType != null) {
return defaultReactionType.call(this as UpdateDefaultReactionType);
}
break;
case UpdateDefaultPaidReactionType.constructor:
if (defaultPaidReactionType != null) {
return defaultPaidReactionType
.call(this as UpdateDefaultPaidReactionType);
}
break;
case UpdateSavedMessagesTags.constructor:
if (savedMessagesTags != null) {
return savedMessagesTags.call(this as UpdateSavedMessagesTags);
}
break;
case UpdateActiveLiveLocationMessages.constructor:
if (activeLiveLocationMessages != null) {
return activeLiveLocationMessages
.call(this as UpdateActiveLiveLocationMessages);
}
break;
case UpdateOwnedStarCount.constructor:
if (ownedStarCount != null) {
return ownedStarCount.call(this as UpdateOwnedStarCount);
}
break;
case UpdateOwnedGramCount.constructor:
if (ownedGramCount != null) {
return ownedGramCount.call(this as UpdateOwnedGramCount);
}
break;
case UpdateTonWalletState.constructor:
if (tonWalletState != null) {
return tonWalletState.call(this as UpdateTonWalletState);
}
break;
case UpdateTonWalletGaslessTransfersInfo.constructor:
if (tonWalletGaslessTransfersInfo != null) {
return tonWalletGaslessTransfersInfo
.call(this as UpdateTonWalletGaslessTransfersInfo);
}
break;
case UpdateTonWalletTonConnectSession.constructor:
if (tonWalletTonConnectSession != null) {
return tonWalletTonConnectSession
.call(this as UpdateTonWalletTonConnectSession);
}
break;
case UpdateTonWalletTonConnectSessionDisconnectRequired.constructor:
if (tonWalletTonConnectSessionDisconnectRequired != null) {
return tonWalletTonConnectSessionDisconnectRequired
.call(this as UpdateTonWalletTonConnectSessionDisconnectRequired);
}
break;
case UpdateChatRevenueAmount.constructor:
if (chatRevenueAmount != null) {
return chatRevenueAmount.call(this as UpdateChatRevenueAmount);
}
break;
case UpdateStarRevenueStatus.constructor:
if (starRevenueStatus != null) {
return starRevenueStatus.call(this as UpdateStarRevenueStatus);
}
break;
case UpdateGramRevenueStatus.constructor:
if (gramRevenueStatus != null) {
return gramRevenueStatus.call(this as UpdateGramRevenueStatus);
}
break;
case UpdateSpeechRecognitionTrial.constructor:
if (speechRecognitionTrial != null) {
return speechRecognitionTrial
.call(this as UpdateSpeechRecognitionTrial);
}
break;
case UpdateSpeechRecognitionInFile.constructor:
if (speechRecognitionInFile != null) {
return speechRecognitionInFile
.call(this as UpdateSpeechRecognitionInFile);
}
break;
case UpdateGroupCallMessageLevels.constructor:
if (groupCallMessageLevels != null) {
return groupCallMessageLevels
.call(this as UpdateGroupCallMessageLevels);
}
break;
case UpdateDiceEmojis.constructor:
if (diceEmojis != null) {
return diceEmojis.call(this as UpdateDiceEmojis);
}
break;
case UpdateStakeDiceState.constructor:
if (stakeDiceState != null) {
return stakeDiceState.call(this as UpdateStakeDiceState);
}
break;
case UpdateAnimatedEmojiMessageClicked.constructor:
if (animatedEmojiMessageClicked != null) {
return animatedEmojiMessageClicked
.call(this as UpdateAnimatedEmojiMessageClicked);
}
break;
case UpdateAnimationSearchParameters.constructor:
if (animationSearchParameters != null) {
return animationSearchParameters
.call(this as UpdateAnimationSearchParameters);
}
break;
case UpdateTextCompositionStyles.constructor:
if (textCompositionStyles != null) {
return textCompositionStyles
.call(this as UpdateTextCompositionStyles);
}
break;
case UpdateSuggestedActions.constructor:
if (suggestedActions != null) {
return suggestedActions.call(this as UpdateSuggestedActions);
}
break;
case UpdateSpeedLimitNotification.constructor:
if (speedLimitNotification != null) {
return speedLimitNotification
.call(this as UpdateSpeedLimitNotification);
}
break;
case UpdateContactCloseBirthdays.constructor:
if (contactCloseBirthdays != null) {
return contactCloseBirthdays
.call(this as UpdateContactCloseBirthdays);
}
break;
case UpdateAutosaveSettings.constructor:
if (autosaveSettings != null) {
return autosaveSettings.call(this as UpdateAutosaveSettings);
}
break;
case UpdateBusinessConnection.constructor:
if (businessConnection != null) {
return businessConnection.call(this as UpdateBusinessConnection);
}
break;
case UpdateNewBusinessMessage.constructor:
if (newBusinessMessage != null) {
return newBusinessMessage.call(this as UpdateNewBusinessMessage);
}
break;
case UpdateBusinessMessageEdited.constructor:
if (businessMessageEdited != null) {
return businessMessageEdited
.call(this as UpdateBusinessMessageEdited);
}
break;
case UpdateBusinessMessagesDeleted.constructor:
if (businessMessagesDeleted != null) {
return businessMessagesDeleted
.call(this as UpdateBusinessMessagesDeleted);
}
break;
case UpdateNewInlineQuery.constructor:
if (newInlineQuery != null) {
return newInlineQuery.call(this as UpdateNewInlineQuery);
}
break;
case UpdateNewChosenInlineResult.constructor:
if (newChosenInlineResult != null) {
return newChosenInlineResult
.call(this as UpdateNewChosenInlineResult);
}
break;
case UpdateNewGuestQuery.constructor:
if (newGuestQuery != null) {
return newGuestQuery.call(this as UpdateNewGuestQuery);
}
break;
case UpdateNewCallbackQuery.constructor:
if (newCallbackQuery != null) {
return newCallbackQuery.call(this as UpdateNewCallbackQuery);
}
break;
case UpdateNewInlineCallbackQuery.constructor:
if (newInlineCallbackQuery != null) {
return newInlineCallbackQuery
.call(this as UpdateNewInlineCallbackQuery);
}
break;
case UpdateNewBusinessCallbackQuery.constructor:
if (newBusinessCallbackQuery != null) {
return newBusinessCallbackQuery
.call(this as UpdateNewBusinessCallbackQuery);
}
break;
case UpdateNewWidgetQuery.constructor:
if (newWidgetQuery != null) {
return newWidgetQuery.call(this as UpdateNewWidgetQuery);
}
break;
case UpdateNewInlineWidgetQuery.constructor:
if (newInlineWidgetQuery != null) {
return newInlineWidgetQuery.call(this as UpdateNewInlineWidgetQuery);
}
break;
case UpdateNewWidgetCopyQuery.constructor:
if (newWidgetCopyQuery != null) {
return newWidgetCopyQuery.call(this as UpdateNewWidgetCopyQuery);
}
break;
case UpdateNewShippingQuery.constructor:
if (newShippingQuery != null) {
return newShippingQuery.call(this as UpdateNewShippingQuery);
}
break;
case UpdateNewPreCheckoutQuery.constructor:
if (newPreCheckoutQuery != null) {
return newPreCheckoutQuery.call(this as UpdateNewPreCheckoutQuery);
}
break;
case UpdateNewCustomEvent.constructor:
if (newCustomEvent != null) {
return newCustomEvent.call(this as UpdateNewCustomEvent);
}
break;
case UpdateNewCustomQuery.constructor:
if (newCustomQuery != null) {
return newCustomQuery.call(this as UpdateNewCustomQuery);
}
break;
case UpdateUserSubscription.constructor:
if (userSubscription != null) {
return userSubscription.call(this as UpdateUserSubscription);
}
break;
case UpdatePoll.constructor:
if (poll != null) {
return poll.call(this as UpdatePoll);
}
break;
case UpdatePollAnswer.constructor:
if (pollAnswer != null) {
return pollAnswer.call(this as UpdatePollAnswer);
}
break;
case UpdateManagedBot.constructor:
if (managedBot != null) {
return managedBot.call(this as UpdateManagedBot);
}
break;
case UpdateChatMember.constructor:
if (chatMember != null) {
return chatMember.call(this as UpdateChatMember);
}
break;
case UpdateNewChatJoinRequest.constructor:
if (newChatJoinRequest != null) {
return newChatJoinRequest.call(this as UpdateNewChatJoinRequest);
}
break;
case UpdateChatBoost.constructor:
if (chatBoost != null) {
return chatBoost.call(this as UpdateChatBoost);
}
break;
case UpdateMessageReaction.constructor:
if (messageReaction != null) {
return messageReaction.call(this as UpdateMessageReaction);
}
break;
case UpdateMessageReactions.constructor:
if (messageReactions != null) {
return messageReactions.call(this as UpdateMessageReactions);
}
break;
case UpdatePaidMediaPurchased.constructor:
if (paidMediaPurchased != null) {
return paidMediaPurchased.call(this as UpdatePaidMediaPurchased);
}
break;
}
return orElse.call();
}