tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td_api.hpp File Reference
#include "td_api.h"

Go to the source code of this file.

Functions

template<class Base , class T >
bool td::td_api::downcast_call (const Base &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (Object &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (Function &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ActiveStoryState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (AffiliateProgramSortOrder &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (AffiliateType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (AuctionState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (AuthenticationCodeType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (AuthorizationState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (AutosaveSettingsScope &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (BackgroundFill &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (BackgroundType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (BlockList &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (BotCommandScope &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (BotWriteAccessAllowReason &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (BuiltInTheme &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (BusinessAwayMessageSchedule &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (BusinessFeature &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ButtonStyle &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CallDiscardReason &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CallProblem &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CallServerType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CallState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CallbackQueryPayload &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CanPostStoryResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CanSendGiftResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CanSendMessageToUserResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CanTransferOwnershipResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatAction &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatActionBar &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatAvailableReactions &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatBoostSource &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatEventAction &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatList &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatMemberStatus &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatMembersFilter &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatPhotoStickerType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatRevenueTransactionType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatSource &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatStatistics &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatStatisticsObjectType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatTheme &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CheckChatUsernameResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CheckStickerSetNameResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CollectibleItemType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ConnectionState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CraftGiftResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (DateTimeFormattingType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (DateTimePartPrecision &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (DeviceToken &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (DiceStickers &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (DiffEntityType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (EmailAddressAuthentication &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (EmailAddressResetState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (EmojiCategorySource &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (EmojiCategoryType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (EmojiStatusType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (FileType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (FirebaseAuthenticationSettings &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (FirebaseDeviceVerificationParameters &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (GiftForResaleOrder &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (GiftPurchaseOfferState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (GiftResalePrice &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (GiftResaleResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (GiveawayInfo &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (GiveawayParticipantStatus &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (GiveawayPrize &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (GroupCallDataChannel &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (GroupCallVideoQuality &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InlineKeyboardButtonType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InlineQueryResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InlineQueryResultsButtonType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputBackground &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputCall &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputChatPhoto &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputChatTheme &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputCredentials &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputFile &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputGroupCall &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputInlineQueryResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputInvoice &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputMessageContent &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputMessageReplyTo &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputPaidMediaType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputPassportElement &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputPassportElementErrorSource &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputPollType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputStoryAreaType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputStoryContent &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InternalLinkType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InviteGroupCallParticipantResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InviteLinkChatType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (JsonValue &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (KeyboardButtonSource &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (KeyboardButtonType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (LanguagePackStringValue &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (LinkPreviewAlbumMedia &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (LinkPreviewType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (LogStream &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (LoginUrlInfo &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MaskPoint &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageContent &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageEffectType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageFileType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageOrigin &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageReadDate &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageReplyTo &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageSchedulingState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageSelfDestructType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageSender &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageSendingState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageSource &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageTopic &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (NetworkStatisticsEntry &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (NetworkType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (NotificationGroupType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (NotificationSettingsScope &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (NotificationType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (OptionValue &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PageBlock &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PageBlockHorizontalAlignment &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PageBlockVerticalAlignment &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PaidMedia &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PaidReactionType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PassportElement &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PassportElementErrorSource &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PassportElementType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PaymentFormType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PaymentProvider &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PaymentReceiptType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PhoneNumberCodeType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PollType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PollVoteRestrictionReason &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PremiumFeature &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PremiumLimitType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PremiumSource &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PremiumStoryFeature &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ProfileTab &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ProxyType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PublicChatType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PublicForward &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PushMessageContent &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ReactionNotificationSource &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ReactionType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ReactionUnavailabilityReason &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ReplyMarkup &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ReportChatResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ReportReason &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ReportSponsoredResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ReportStoryResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ResendCodeReason &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ResetPasswordResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (RevenueWithdrawalState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (RichText &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SavedMessagesTopicType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SearchMessagesChatTypeFilter &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SearchMessagesFilter &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SecretChatState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SentGift &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SessionType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SettingsSection &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SpeechRecognitionResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StarSubscriptionType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StarTransactionType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StartLiveStoryResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StatisticalGraph &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StickerFormat &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StickerFullType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StickerType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StorePaymentPurpose &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StoreTransaction &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StoryAreaType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StoryContent &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StoryContentType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StoryInteractionType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StoryList &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StoryOrigin &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StoryPrivacySettings &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SuggestedAction &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SuggestedPostPrice &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SuggestedPostRefundReason &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SuggestedPostState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SupergroupMembersFilter &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (TMeUrlType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (TargetChat &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (TelegramPaymentPurpose &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (TextEntityType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (TextParseMode &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ThumbnailFormat &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (TonTransactionType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (TopChatCategory &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (TransactionDirection &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (Update &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (UpgradedGiftAttributeId &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (UpgradedGiftAttributeRarity &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (UpgradedGiftOrigin &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (UserPrivacySetting &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (UserPrivacySettingRule &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (UserStatus &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (UserType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (VectorPathCommand &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (WebAppOpenMode &obj, const T &func)
 

Detailed Description

Contains downcast_call methods for calling a function object on downcasted to the most derived class TDLib API object.

Definition in file td_api.hpp.

Function Documentation

◆ downcast_call() [1/203]

template<class T >
bool td::td_api::downcast_call ( ActiveStoryState obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9089 of file td_api.hpp.

9089 { //-V2008
9090 switch (obj.get_id()) {
9091 case activeStoryStateLive::ID:
9092 func(static_cast<activeStoryStateLive &>(obj));
9093 return true;
9094 case activeStoryStateUnread::ID:
9095 func(static_cast<activeStoryStateUnread &>(obj));
9096 return true;
9097 case activeStoryStateRead::ID:
9098 func(static_cast<activeStoryStateRead &>(obj));
9099 return true;
9100 default:
9101 return false;
9102 }
9103}

◆ downcast_call() [2/203]

template<class T >
bool td::td_api::downcast_call ( AffiliateProgramSortOrder obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9112 of file td_api.hpp.

9112 { //-V2008
9113 switch (obj.get_id()) {
9114 case affiliateProgramSortOrderProfitability::ID:
9115 func(static_cast<affiliateProgramSortOrderProfitability &>(obj));
9116 return true;
9117 case affiliateProgramSortOrderCreationDate::ID:
9118 func(static_cast<affiliateProgramSortOrderCreationDate &>(obj));
9119 return true;
9120 case affiliateProgramSortOrderRevenue::ID:
9121 func(static_cast<affiliateProgramSortOrderRevenue &>(obj));
9122 return true;
9123 default:
9124 return false;
9125 }
9126}

◆ downcast_call() [3/203]

template<class T >
bool td::td_api::downcast_call ( AffiliateType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9135 of file td_api.hpp.

9135 { //-V2008
9136 switch (obj.get_id()) {
9137 case affiliateTypeCurrentUser::ID:
9138 func(static_cast<affiliateTypeCurrentUser &>(obj));
9139 return true;
9140 case affiliateTypeBot::ID:
9141 func(static_cast<affiliateTypeBot &>(obj));
9142 return true;
9143 case affiliateTypeChannel::ID:
9144 func(static_cast<affiliateTypeChannel &>(obj));
9145 return true;
9146 default:
9147 return false;
9148 }
9149}

◆ downcast_call() [4/203]

template<class T >
bool td::td_api::downcast_call ( AuctionState obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9158 of file td_api.hpp.

9158 { //-V2008
9159 switch (obj.get_id()) {
9160 case auctionStateActive::ID:
9161 func(static_cast<auctionStateActive &>(obj));
9162 return true;
9163 case auctionStateFinished::ID:
9164 func(static_cast<auctionStateFinished &>(obj));
9165 return true;
9166 default:
9167 return false;
9168 }
9169}

◆ downcast_call() [5/203]

template<class T >
bool td::td_api::downcast_call ( AuthenticationCodeType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9178 of file td_api.hpp.

9178 { //-V2008
9179 switch (obj.get_id()) {
9180 case authenticationCodeTypeTelegramMessage::ID:
9181 func(static_cast<authenticationCodeTypeTelegramMessage &>(obj));
9182 return true;
9183 case authenticationCodeTypeSms::ID:
9184 func(static_cast<authenticationCodeTypeSms &>(obj));
9185 return true;
9186 case authenticationCodeTypeSmsWord::ID:
9187 func(static_cast<authenticationCodeTypeSmsWord &>(obj));
9188 return true;
9189 case authenticationCodeTypeSmsPhrase::ID:
9190 func(static_cast<authenticationCodeTypeSmsPhrase &>(obj));
9191 return true;
9192 case authenticationCodeTypeCall::ID:
9193 func(static_cast<authenticationCodeTypeCall &>(obj));
9194 return true;
9195 case authenticationCodeTypeFlashCall::ID:
9196 func(static_cast<authenticationCodeTypeFlashCall &>(obj));
9197 return true;
9198 case authenticationCodeTypeMissedCall::ID:
9199 func(static_cast<authenticationCodeTypeMissedCall &>(obj));
9200 return true;
9201 case authenticationCodeTypeFragment::ID:
9202 func(static_cast<authenticationCodeTypeFragment &>(obj));
9203 return true;
9204 case authenticationCodeTypeFirebaseAndroid::ID:
9205 func(static_cast<authenticationCodeTypeFirebaseAndroid &>(obj));
9206 return true;
9207 case authenticationCodeTypeFirebaseIos::ID:
9208 func(static_cast<authenticationCodeTypeFirebaseIos &>(obj));
9209 return true;
9210 default:
9211 return false;
9212 }
9213}

◆ downcast_call() [6/203]

template<class T >
bool td::td_api::downcast_call ( AuthorizationState obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9222 of file td_api.hpp.

9222 { //-V2008
9223 switch (obj.get_id()) {
9224 case authorizationStateWaitTdlibParameters::ID:
9225 func(static_cast<authorizationStateWaitTdlibParameters &>(obj));
9226 return true;
9227 case authorizationStateWaitPhoneNumber::ID:
9228 func(static_cast<authorizationStateWaitPhoneNumber &>(obj));
9229 return true;
9230 case authorizationStateWaitPremiumPurchase::ID:
9231 func(static_cast<authorizationStateWaitPremiumPurchase &>(obj));
9232 return true;
9233 case authorizationStateWaitEmailAddress::ID:
9234 func(static_cast<authorizationStateWaitEmailAddress &>(obj));
9235 return true;
9236 case authorizationStateWaitEmailCode::ID:
9237 func(static_cast<authorizationStateWaitEmailCode &>(obj));
9238 return true;
9239 case authorizationStateWaitCode::ID:
9240 func(static_cast<authorizationStateWaitCode &>(obj));
9241 return true;
9242 case authorizationStateWaitOtherDeviceConfirmation::ID:
9243 func(static_cast<authorizationStateWaitOtherDeviceConfirmation &>(obj));
9244 return true;
9245 case authorizationStateWaitRegistration::ID:
9246 func(static_cast<authorizationStateWaitRegistration &>(obj));
9247 return true;
9248 case authorizationStateWaitPassword::ID:
9249 func(static_cast<authorizationStateWaitPassword &>(obj));
9250 return true;
9251 case authorizationStateReady::ID:
9252 func(static_cast<authorizationStateReady &>(obj));
9253 return true;
9254 case authorizationStateLoggingOut::ID:
9255 func(static_cast<authorizationStateLoggingOut &>(obj));
9256 return true;
9257 case authorizationStateClosing::ID:
9258 func(static_cast<authorizationStateClosing &>(obj));
9259 return true;
9260 case authorizationStateClosed::ID:
9261 func(static_cast<authorizationStateClosed &>(obj));
9262 return true;
9263 default:
9264 return false;
9265 }
9266}

◆ downcast_call() [7/203]

template<class T >
bool td::td_api::downcast_call ( AutosaveSettingsScope obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9275 of file td_api.hpp.

9275 { //-V2008
9276 switch (obj.get_id()) {
9277 case autosaveSettingsScopePrivateChats::ID:
9278 func(static_cast<autosaveSettingsScopePrivateChats &>(obj));
9279 return true;
9280 case autosaveSettingsScopeGroupChats::ID:
9281 func(static_cast<autosaveSettingsScopeGroupChats &>(obj));
9282 return true;
9283 case autosaveSettingsScopeChannelChats::ID:
9284 func(static_cast<autosaveSettingsScopeChannelChats &>(obj));
9285 return true;
9286 case autosaveSettingsScopeChat::ID:
9287 func(static_cast<autosaveSettingsScopeChat &>(obj));
9288 return true;
9289 default:
9290 return false;
9291 }
9292}

◆ downcast_call() [8/203]

template<class T >
bool td::td_api::downcast_call ( BackgroundFill obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9301 of file td_api.hpp.

9301 { //-V2008
9302 switch (obj.get_id()) {
9303 case backgroundFillSolid::ID:
9304 func(static_cast<backgroundFillSolid &>(obj));
9305 return true;
9306 case backgroundFillGradient::ID:
9307 func(static_cast<backgroundFillGradient &>(obj));
9308 return true;
9309 case backgroundFillFreeformGradient::ID:
9310 func(static_cast<backgroundFillFreeformGradient &>(obj));
9311 return true;
9312 default:
9313 return false;
9314 }
9315}

◆ downcast_call() [9/203]

template<class T >
bool td::td_api::downcast_call ( BackgroundType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9324 of file td_api.hpp.

9324 { //-V2008
9325 switch (obj.get_id()) {
9326 case backgroundTypeWallpaper::ID:
9327 func(static_cast<backgroundTypeWallpaper &>(obj));
9328 return true;
9329 case backgroundTypePattern::ID:
9330 func(static_cast<backgroundTypePattern &>(obj));
9331 return true;
9332 case backgroundTypeFill::ID:
9333 func(static_cast<backgroundTypeFill &>(obj));
9334 return true;
9335 case backgroundTypeChatTheme::ID:
9336 func(static_cast<backgroundTypeChatTheme &>(obj));
9337 return true;
9338 default:
9339 return false;
9340 }
9341}

◆ downcast_call() [10/203]

template<class T >
bool td::td_api::downcast_call ( BlockList obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9350 of file td_api.hpp.

9350 { //-V2008
9351 switch (obj.get_id()) {
9352 case blockListMain::ID:
9353 func(static_cast<blockListMain &>(obj));
9354 return true;
9355 case blockListStories::ID:
9356 func(static_cast<blockListStories &>(obj));
9357 return true;
9358 default:
9359 return false;
9360 }
9361}

◆ downcast_call() [11/203]

template<class T >
bool td::td_api::downcast_call ( BotCommandScope obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9370 of file td_api.hpp.

9370 { //-V2008
9371 switch (obj.get_id()) {
9372 case botCommandScopeDefault::ID:
9373 func(static_cast<botCommandScopeDefault &>(obj));
9374 return true;
9375 case botCommandScopeAllPrivateChats::ID:
9376 func(static_cast<botCommandScopeAllPrivateChats &>(obj));
9377 return true;
9378 case botCommandScopeAllGroupChats::ID:
9379 func(static_cast<botCommandScopeAllGroupChats &>(obj));
9380 return true;
9381 case botCommandScopeAllChatAdministrators::ID:
9382 func(static_cast<botCommandScopeAllChatAdministrators &>(obj));
9383 return true;
9384 case botCommandScopeChat::ID:
9385 func(static_cast<botCommandScopeChat &>(obj));
9386 return true;
9387 case botCommandScopeChatAdministrators::ID:
9388 func(static_cast<botCommandScopeChatAdministrators &>(obj));
9389 return true;
9390 case botCommandScopeChatMember::ID:
9391 func(static_cast<botCommandScopeChatMember &>(obj));
9392 return true;
9393 default:
9394 return false;
9395 }
9396}

◆ downcast_call() [12/203]

template<class T >
bool td::td_api::downcast_call ( BotWriteAccessAllowReason obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9405 of file td_api.hpp.

9405 { //-V2008
9406 switch (obj.get_id()) {
9407 case botWriteAccessAllowReasonConnectedWebsite::ID:
9408 func(static_cast<botWriteAccessAllowReasonConnectedWebsite &>(obj));
9409 return true;
9410 case botWriteAccessAllowReasonAddedToAttachmentMenu::ID:
9411 func(static_cast<botWriteAccessAllowReasonAddedToAttachmentMenu &>(obj));
9412 return true;
9413 case botWriteAccessAllowReasonLaunchedWebApp::ID:
9414 func(static_cast<botWriteAccessAllowReasonLaunchedWebApp &>(obj));
9415 return true;
9416 case botWriteAccessAllowReasonAcceptedRequest::ID:
9417 func(static_cast<botWriteAccessAllowReasonAcceptedRequest &>(obj));
9418 return true;
9419 default:
9420 return false;
9421 }
9422}

◆ downcast_call() [13/203]

template<class T >
bool td::td_api::downcast_call ( BuiltInTheme obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9431 of file td_api.hpp.

9431 { //-V2008
9432 switch (obj.get_id()) {
9433 case builtInThemeClassic::ID:
9434 func(static_cast<builtInThemeClassic &>(obj));
9435 return true;
9436 case builtInThemeDay::ID:
9437 func(static_cast<builtInThemeDay &>(obj));
9438 return true;
9439 case builtInThemeNight::ID:
9440 func(static_cast<builtInThemeNight &>(obj));
9441 return true;
9442 case builtInThemeTinted::ID:
9443 func(static_cast<builtInThemeTinted &>(obj));
9444 return true;
9445 case builtInThemeArctic::ID:
9446 func(static_cast<builtInThemeArctic &>(obj));
9447 return true;
9448 default:
9449 return false;
9450 }
9451}

◆ downcast_call() [14/203]

template<class T >
bool td::td_api::downcast_call ( BusinessAwayMessageSchedule obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9460 of file td_api.hpp.

9460 { //-V2008
9461 switch (obj.get_id()) {
9462 case businessAwayMessageScheduleAlways::ID:
9463 func(static_cast<businessAwayMessageScheduleAlways &>(obj));
9464 return true;
9465 case businessAwayMessageScheduleOutsideOfOpeningHours::ID:
9466 func(static_cast<businessAwayMessageScheduleOutsideOfOpeningHours &>(obj));
9467 return true;
9468 case businessAwayMessageScheduleCustom::ID:
9469 func(static_cast<businessAwayMessageScheduleCustom &>(obj));
9470 return true;
9471 default:
9472 return false;
9473 }
9474}

◆ downcast_call() [15/203]

template<class T >
bool td::td_api::downcast_call ( BusinessFeature obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9483 of file td_api.hpp.

9483 { //-V2008
9484 switch (obj.get_id()) {
9485 case businessFeatureLocation::ID:
9486 func(static_cast<businessFeatureLocation &>(obj));
9487 return true;
9488 case businessFeatureOpeningHours::ID:
9489 func(static_cast<businessFeatureOpeningHours &>(obj));
9490 return true;
9491 case businessFeatureQuickReplies::ID:
9492 func(static_cast<businessFeatureQuickReplies &>(obj));
9493 return true;
9494 case businessFeatureGreetingMessage::ID:
9495 func(static_cast<businessFeatureGreetingMessage &>(obj));
9496 return true;
9497 case businessFeatureAwayMessage::ID:
9498 func(static_cast<businessFeatureAwayMessage &>(obj));
9499 return true;
9500 case businessFeatureAccountLinks::ID:
9501 func(static_cast<businessFeatureAccountLinks &>(obj));
9502 return true;
9503 case businessFeatureStartPage::ID:
9504 func(static_cast<businessFeatureStartPage &>(obj));
9505 return true;
9506 case businessFeatureBots::ID:
9507 func(static_cast<businessFeatureBots &>(obj));
9508 return true;
9509 case businessFeatureEmojiStatus::ID:
9510 func(static_cast<businessFeatureEmojiStatus &>(obj));
9511 return true;
9512 case businessFeatureChatFolderTags::ID:
9513 func(static_cast<businessFeatureChatFolderTags &>(obj));
9514 return true;
9515 case businessFeatureUpgradedStories::ID:
9516 func(static_cast<businessFeatureUpgradedStories &>(obj));
9517 return true;
9518 default:
9519 return false;
9520 }
9521}

◆ downcast_call() [16/203]

template<class T >
bool td::td_api::downcast_call ( ButtonStyle obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9530 of file td_api.hpp.

9530 { //-V2008
9531 switch (obj.get_id()) {
9532 case buttonStyleDefault::ID:
9533 func(static_cast<buttonStyleDefault &>(obj));
9534 return true;
9535 case buttonStylePrimary::ID:
9536 func(static_cast<buttonStylePrimary &>(obj));
9537 return true;
9538 case buttonStyleDanger::ID:
9539 func(static_cast<buttonStyleDanger &>(obj));
9540 return true;
9541 case buttonStyleSuccess::ID:
9542 func(static_cast<buttonStyleSuccess &>(obj));
9543 return true;
9544 default:
9545 return false;
9546 }
9547}

◆ downcast_call() [17/203]

template<class T >
bool td::td_api::downcast_call ( CallbackQueryPayload obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9681 of file td_api.hpp.

9681 { //-V2008
9682 switch (obj.get_id()) {
9683 case callbackQueryPayloadData::ID:
9684 func(static_cast<callbackQueryPayloadData &>(obj));
9685 return true;
9686 case callbackQueryPayloadDataWithPassword::ID:
9687 func(static_cast<callbackQueryPayloadDataWithPassword &>(obj));
9688 return true;
9689 case callbackQueryPayloadGame::ID:
9690 func(static_cast<callbackQueryPayloadGame &>(obj));
9691 return true;
9692 default:
9693 return false;
9694 }
9695}

◆ downcast_call() [18/203]

template<class T >
bool td::td_api::downcast_call ( CallDiscardReason obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9556 of file td_api.hpp.

9556 { //-V2008
9557 switch (obj.get_id()) {
9558 case callDiscardReasonEmpty::ID:
9559 func(static_cast<callDiscardReasonEmpty &>(obj));
9560 return true;
9561 case callDiscardReasonMissed::ID:
9562 func(static_cast<callDiscardReasonMissed &>(obj));
9563 return true;
9564 case callDiscardReasonDeclined::ID:
9565 func(static_cast<callDiscardReasonDeclined &>(obj));
9566 return true;
9567 case callDiscardReasonDisconnected::ID:
9568 func(static_cast<callDiscardReasonDisconnected &>(obj));
9569 return true;
9570 case callDiscardReasonHungUp::ID:
9571 func(static_cast<callDiscardReasonHungUp &>(obj));
9572 return true;
9573 case callDiscardReasonUpgradeToGroupCall::ID:
9574 func(static_cast<callDiscardReasonUpgradeToGroupCall &>(obj));
9575 return true;
9576 default:
9577 return false;
9578 }
9579}

◆ downcast_call() [19/203]

template<class T >
bool td::td_api::downcast_call ( CallProblem obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9588 of file td_api.hpp.

9588 { //-V2008
9589 switch (obj.get_id()) {
9590 case callProblemEcho::ID:
9591 func(static_cast<callProblemEcho &>(obj));
9592 return true;
9593 case callProblemNoise::ID:
9594 func(static_cast<callProblemNoise &>(obj));
9595 return true;
9596 case callProblemInterruptions::ID:
9597 func(static_cast<callProblemInterruptions &>(obj));
9598 return true;
9599 case callProblemDistortedSpeech::ID:
9600 func(static_cast<callProblemDistortedSpeech &>(obj));
9601 return true;
9602 case callProblemSilentLocal::ID:
9603 func(static_cast<callProblemSilentLocal &>(obj));
9604 return true;
9605 case callProblemSilentRemote::ID:
9606 func(static_cast<callProblemSilentRemote &>(obj));
9607 return true;
9608 case callProblemDropped::ID:
9609 func(static_cast<callProblemDropped &>(obj));
9610 return true;
9611 case callProblemDistortedVideo::ID:
9612 func(static_cast<callProblemDistortedVideo &>(obj));
9613 return true;
9614 case callProblemPixelatedVideo::ID:
9615 func(static_cast<callProblemPixelatedVideo &>(obj));
9616 return true;
9617 default:
9618 return false;
9619 }
9620}

◆ downcast_call() [20/203]

template<class T >
bool td::td_api::downcast_call ( CallServerType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9629 of file td_api.hpp.

9629 { //-V2008
9630 switch (obj.get_id()) {
9631 case callServerTypeTelegramReflector::ID:
9632 func(static_cast<callServerTypeTelegramReflector &>(obj));
9633 return true;
9634 case callServerTypeWebrtc::ID:
9635 func(static_cast<callServerTypeWebrtc &>(obj));
9636 return true;
9637 default:
9638 return false;
9639 }
9640}

◆ downcast_call() [21/203]

template<class T >
bool td::td_api::downcast_call ( CallState obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9649 of file td_api.hpp.

9649 { //-V2008
9650 switch (obj.get_id()) {
9651 case callStatePending::ID:
9652 func(static_cast<callStatePending &>(obj));
9653 return true;
9654 case callStateExchangingKeys::ID:
9655 func(static_cast<callStateExchangingKeys &>(obj));
9656 return true;
9657 case callStateReady::ID:
9658 func(static_cast<callStateReady &>(obj));
9659 return true;
9660 case callStateHangingUp::ID:
9661 func(static_cast<callStateHangingUp &>(obj));
9662 return true;
9663 case callStateDiscarded::ID:
9664 func(static_cast<callStateDiscarded &>(obj));
9665 return true;
9666 case callStateError::ID:
9667 func(static_cast<callStateError &>(obj));
9668 return true;
9669 default:
9670 return false;
9671 }
9672}

◆ downcast_call() [22/203]

template<class T >
bool td::td_api::downcast_call ( CanPostStoryResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9704 of file td_api.hpp.

9704 { //-V2008
9705 switch (obj.get_id()) {
9706 case canPostStoryResultOk::ID:
9707 func(static_cast<canPostStoryResultOk &>(obj));
9708 return true;
9709 case canPostStoryResultPremiumNeeded::ID:
9710 func(static_cast<canPostStoryResultPremiumNeeded &>(obj));
9711 return true;
9712 case canPostStoryResultBoostNeeded::ID:
9713 func(static_cast<canPostStoryResultBoostNeeded &>(obj));
9714 return true;
9715 case canPostStoryResultActiveStoryLimitExceeded::ID:
9716 func(static_cast<canPostStoryResultActiveStoryLimitExceeded &>(obj));
9717 return true;
9718 case canPostStoryResultWeeklyLimitExceeded::ID:
9719 func(static_cast<canPostStoryResultWeeklyLimitExceeded &>(obj));
9720 return true;
9721 case canPostStoryResultMonthlyLimitExceeded::ID:
9722 func(static_cast<canPostStoryResultMonthlyLimitExceeded &>(obj));
9723 return true;
9724 case canPostStoryResultLiveStoryIsActive::ID:
9725 func(static_cast<canPostStoryResultLiveStoryIsActive &>(obj));
9726 return true;
9727 default:
9728 return false;
9729 }
9730}

◆ downcast_call() [23/203]

template<class T >
bool td::td_api::downcast_call ( CanSendGiftResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9739 of file td_api.hpp.

9739 { //-V2008
9740 switch (obj.get_id()) {
9741 case canSendGiftResultOk::ID:
9742 func(static_cast<canSendGiftResultOk &>(obj));
9743 return true;
9744 case canSendGiftResultFail::ID:
9745 func(static_cast<canSendGiftResultFail &>(obj));
9746 return true;
9747 default:
9748 return false;
9749 }
9750}

◆ downcast_call() [24/203]

template<class T >
bool td::td_api::downcast_call ( CanSendMessageToUserResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9759 of file td_api.hpp.

9759 { //-V2008
9760 switch (obj.get_id()) {
9761 case canSendMessageToUserResultOk::ID:
9762 func(static_cast<canSendMessageToUserResultOk &>(obj));
9763 return true;
9764 case canSendMessageToUserResultUserHasPaidMessages::ID:
9765 func(static_cast<canSendMessageToUserResultUserHasPaidMessages &>(obj));
9766 return true;
9767 case canSendMessageToUserResultUserIsDeleted::ID:
9768 func(static_cast<canSendMessageToUserResultUserIsDeleted &>(obj));
9769 return true;
9770 case canSendMessageToUserResultUserRestrictsNewChats::ID:
9771 func(static_cast<canSendMessageToUserResultUserRestrictsNewChats &>(obj));
9772 return true;
9773 default:
9774 return false;
9775 }
9776}

◆ downcast_call() [25/203]

template<class T >
bool td::td_api::downcast_call ( CanTransferOwnershipResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9785 of file td_api.hpp.

9785 { //-V2008
9786 switch (obj.get_id()) {
9787 case canTransferOwnershipResultOk::ID:
9788 func(static_cast<canTransferOwnershipResultOk &>(obj));
9789 return true;
9790 case canTransferOwnershipResultPasswordNeeded::ID:
9791 func(static_cast<canTransferOwnershipResultPasswordNeeded &>(obj));
9792 return true;
9793 case canTransferOwnershipResultPasswordTooFresh::ID:
9794 func(static_cast<canTransferOwnershipResultPasswordTooFresh &>(obj));
9795 return true;
9796 case canTransferOwnershipResultSessionTooFresh::ID:
9797 func(static_cast<canTransferOwnershipResultSessionTooFresh &>(obj));
9798 return true;
9799 default:
9800 return false;
9801 }
9802}

◆ downcast_call() [26/203]

template<class T >
bool td::td_api::downcast_call ( ChatAction obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9811 of file td_api.hpp.

9811 { //-V2008
9812 switch (obj.get_id()) {
9813 case chatActionTyping::ID:
9814 func(static_cast<chatActionTyping &>(obj));
9815 return true;
9816 case chatActionRecordingVideo::ID:
9817 func(static_cast<chatActionRecordingVideo &>(obj));
9818 return true;
9819 case chatActionUploadingVideo::ID:
9820 func(static_cast<chatActionUploadingVideo &>(obj));
9821 return true;
9822 case chatActionRecordingVoiceNote::ID:
9823 func(static_cast<chatActionRecordingVoiceNote &>(obj));
9824 return true;
9825 case chatActionUploadingVoiceNote::ID:
9826 func(static_cast<chatActionUploadingVoiceNote &>(obj));
9827 return true;
9828 case chatActionUploadingPhoto::ID:
9829 func(static_cast<chatActionUploadingPhoto &>(obj));
9830 return true;
9831 case chatActionUploadingDocument::ID:
9832 func(static_cast<chatActionUploadingDocument &>(obj));
9833 return true;
9834 case chatActionChoosingSticker::ID:
9835 func(static_cast<chatActionChoosingSticker &>(obj));
9836 return true;
9837 case chatActionChoosingLocation::ID:
9838 func(static_cast<chatActionChoosingLocation &>(obj));
9839 return true;
9840 case chatActionChoosingContact::ID:
9841 func(static_cast<chatActionChoosingContact &>(obj));
9842 return true;
9843 case chatActionStartPlayingGame::ID:
9844 func(static_cast<chatActionStartPlayingGame &>(obj));
9845 return true;
9846 case chatActionRecordingVideoNote::ID:
9847 func(static_cast<chatActionRecordingVideoNote &>(obj));
9848 return true;
9849 case chatActionUploadingVideoNote::ID:
9850 func(static_cast<chatActionUploadingVideoNote &>(obj));
9851 return true;
9852 case chatActionWatchingAnimations::ID:
9853 func(static_cast<chatActionWatchingAnimations &>(obj));
9854 return true;
9855 case chatActionCancel::ID:
9856 func(static_cast<chatActionCancel &>(obj));
9857 return true;
9858 default:
9859 return false;
9860 }
9861}

◆ downcast_call() [27/203]

template<class T >
bool td::td_api::downcast_call ( ChatActionBar obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9870 of file td_api.hpp.

9870 { //-V2008
9871 switch (obj.get_id()) {
9872 case chatActionBarReportSpam::ID:
9873 func(static_cast<chatActionBarReportSpam &>(obj));
9874 return true;
9875 case chatActionBarInviteMembers::ID:
9876 func(static_cast<chatActionBarInviteMembers &>(obj));
9877 return true;
9878 case chatActionBarReportAddBlock::ID:
9879 func(static_cast<chatActionBarReportAddBlock &>(obj));
9880 return true;
9881 case chatActionBarAddContact::ID:
9882 func(static_cast<chatActionBarAddContact &>(obj));
9883 return true;
9884 case chatActionBarSharePhoneNumber::ID:
9885 func(static_cast<chatActionBarSharePhoneNumber &>(obj));
9886 return true;
9887 case chatActionBarJoinRequest::ID:
9888 func(static_cast<chatActionBarJoinRequest &>(obj));
9889 return true;
9890 default:
9891 return false;
9892 }
9893}

◆ downcast_call() [28/203]

template<class T >
bool td::td_api::downcast_call ( ChatAvailableReactions obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9902 of file td_api.hpp.

9902 { //-V2008
9903 switch (obj.get_id()) {
9904 case chatAvailableReactionsAll::ID:
9905 func(static_cast<chatAvailableReactionsAll &>(obj));
9906 return true;
9907 case chatAvailableReactionsSome::ID:
9908 func(static_cast<chatAvailableReactionsSome &>(obj));
9909 return true;
9910 default:
9911 return false;
9912 }
9913}

◆ downcast_call() [29/203]

template<class T >
bool td::td_api::downcast_call ( ChatBoostSource obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9922 of file td_api.hpp.

9922 { //-V2008
9923 switch (obj.get_id()) {
9924 case chatBoostSourceGiftCode::ID:
9925 func(static_cast<chatBoostSourceGiftCode &>(obj));
9926 return true;
9927 case chatBoostSourceGiveaway::ID:
9928 func(static_cast<chatBoostSourceGiveaway &>(obj));
9929 return true;
9930 case chatBoostSourcePremium::ID:
9931 func(static_cast<chatBoostSourcePremium &>(obj));
9932 return true;
9933 default:
9934 return false;
9935 }
9936}

◆ downcast_call() [30/203]

template<class T >
bool td::td_api::downcast_call ( ChatEventAction obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 9945 of file td_api.hpp.

9945 { //-V2008
9946 switch (obj.get_id()) {
9947 case chatEventMessageEdited::ID:
9948 func(static_cast<chatEventMessageEdited &>(obj));
9949 return true;
9950 case chatEventMessageDeleted::ID:
9951 func(static_cast<chatEventMessageDeleted &>(obj));
9952 return true;
9953 case chatEventMessagePinned::ID:
9954 func(static_cast<chatEventMessagePinned &>(obj));
9955 return true;
9956 case chatEventMessageUnpinned::ID:
9957 func(static_cast<chatEventMessageUnpinned &>(obj));
9958 return true;
9959 case chatEventPollStopped::ID:
9960 func(static_cast<chatEventPollStopped &>(obj));
9961 return true;
9962 case chatEventMemberJoined::ID:
9963 func(static_cast<chatEventMemberJoined &>(obj));
9964 return true;
9965 case chatEventMemberJoinedByInviteLink::ID:
9966 func(static_cast<chatEventMemberJoinedByInviteLink &>(obj));
9967 return true;
9968 case chatEventMemberJoinedByRequest::ID:
9969 func(static_cast<chatEventMemberJoinedByRequest &>(obj));
9970 return true;
9971 case chatEventMemberInvited::ID:
9972 func(static_cast<chatEventMemberInvited &>(obj));
9973 return true;
9974 case chatEventMemberLeft::ID:
9975 func(static_cast<chatEventMemberLeft &>(obj));
9976 return true;
9977 case chatEventMemberPromoted::ID:
9978 func(static_cast<chatEventMemberPromoted &>(obj));
9979 return true;
9980 case chatEventMemberRestricted::ID:
9981 func(static_cast<chatEventMemberRestricted &>(obj));
9982 return true;
9983 case chatEventMemberTagChanged::ID:
9984 func(static_cast<chatEventMemberTagChanged &>(obj));
9985 return true;
9986 case chatEventMemberSubscriptionExtended::ID:
9987 func(static_cast<chatEventMemberSubscriptionExtended &>(obj));
9988 return true;
9989 case chatEventAvailableReactionsChanged::ID:
9990 func(static_cast<chatEventAvailableReactionsChanged &>(obj));
9991 return true;
9992 case chatEventBackgroundChanged::ID:
9993 func(static_cast<chatEventBackgroundChanged &>(obj));
9994 return true;
9995 case chatEventDescriptionChanged::ID:
9996 func(static_cast<chatEventDescriptionChanged &>(obj));
9997 return true;
9998 case chatEventEmojiStatusChanged::ID:
9999 func(static_cast<chatEventEmojiStatusChanged &>(obj));
10000 return true;
10001 case chatEventLinkedChatChanged::ID:
10002 func(static_cast<chatEventLinkedChatChanged &>(obj));
10003 return true;
10004 case chatEventLocationChanged::ID:
10005 func(static_cast<chatEventLocationChanged &>(obj));
10006 return true;
10007 case chatEventMessageAutoDeleteTimeChanged::ID:
10008 func(static_cast<chatEventMessageAutoDeleteTimeChanged &>(obj));
10009 return true;
10010 case chatEventPermissionsChanged::ID:
10011 func(static_cast<chatEventPermissionsChanged &>(obj));
10012 return true;
10013 case chatEventPhotoChanged::ID:
10014 func(static_cast<chatEventPhotoChanged &>(obj));
10015 return true;
10016 case chatEventSlowModeDelayChanged::ID:
10017 func(static_cast<chatEventSlowModeDelayChanged &>(obj));
10018 return true;
10019 case chatEventStickerSetChanged::ID:
10020 func(static_cast<chatEventStickerSetChanged &>(obj));
10021 return true;
10022 case chatEventCustomEmojiStickerSetChanged::ID:
10023 func(static_cast<chatEventCustomEmojiStickerSetChanged &>(obj));
10024 return true;
10025 case chatEventTitleChanged::ID:
10026 func(static_cast<chatEventTitleChanged &>(obj));
10027 return true;
10028 case chatEventUsernameChanged::ID:
10029 func(static_cast<chatEventUsernameChanged &>(obj));
10030 return true;
10031 case chatEventActiveUsernamesChanged::ID:
10032 func(static_cast<chatEventActiveUsernamesChanged &>(obj));
10033 return true;
10034 case chatEventAccentColorChanged::ID:
10035 func(static_cast<chatEventAccentColorChanged &>(obj));
10036 return true;
10037 case chatEventProfileAccentColorChanged::ID:
10038 func(static_cast<chatEventProfileAccentColorChanged &>(obj));
10039 return true;
10040 case chatEventHasProtectedContentToggled::ID:
10041 func(static_cast<chatEventHasProtectedContentToggled &>(obj));
10042 return true;
10043 case chatEventInvitesToggled::ID:
10044 func(static_cast<chatEventInvitesToggled &>(obj));
10045 return true;
10046 case chatEventIsAllHistoryAvailableToggled::ID:
10047 func(static_cast<chatEventIsAllHistoryAvailableToggled &>(obj));
10048 return true;
10049 case chatEventHasAggressiveAntiSpamEnabledToggled::ID:
10050 func(static_cast<chatEventHasAggressiveAntiSpamEnabledToggled &>(obj));
10051 return true;
10052 case chatEventSignMessagesToggled::ID:
10053 func(static_cast<chatEventSignMessagesToggled &>(obj));
10054 return true;
10055 case chatEventShowMessageSenderToggled::ID:
10056 func(static_cast<chatEventShowMessageSenderToggled &>(obj));
10057 return true;
10058 case chatEventAutomaticTranslationToggled::ID:
10059 func(static_cast<chatEventAutomaticTranslationToggled &>(obj));
10060 return true;
10061 case chatEventInviteLinkEdited::ID:
10062 func(static_cast<chatEventInviteLinkEdited &>(obj));
10063 return true;
10064 case chatEventInviteLinkRevoked::ID:
10065 func(static_cast<chatEventInviteLinkRevoked &>(obj));
10066 return true;
10067 case chatEventInviteLinkDeleted::ID:
10068 func(static_cast<chatEventInviteLinkDeleted &>(obj));
10069 return true;
10070 case chatEventVideoChatCreated::ID:
10071 func(static_cast<chatEventVideoChatCreated &>(obj));
10072 return true;
10073 case chatEventVideoChatEnded::ID:
10074 func(static_cast<chatEventVideoChatEnded &>(obj));
10075 return true;
10076 case chatEventVideoChatMuteNewParticipantsToggled::ID:
10077 func(static_cast<chatEventVideoChatMuteNewParticipantsToggled &>(obj));
10078 return true;
10079 case chatEventVideoChatParticipantIsMutedToggled::ID:
10080 func(static_cast<chatEventVideoChatParticipantIsMutedToggled &>(obj));
10081 return true;
10082 case chatEventVideoChatParticipantVolumeLevelChanged::ID:
10083 func(static_cast<chatEventVideoChatParticipantVolumeLevelChanged &>(obj));
10084 return true;
10085 case chatEventIsForumToggled::ID:
10086 func(static_cast<chatEventIsForumToggled &>(obj));
10087 return true;
10088 case chatEventForumTopicCreated::ID:
10089 func(static_cast<chatEventForumTopicCreated &>(obj));
10090 return true;
10091 case chatEventForumTopicEdited::ID:
10092 func(static_cast<chatEventForumTopicEdited &>(obj));
10093 return true;
10094 case chatEventForumTopicToggleIsClosed::ID:
10095 func(static_cast<chatEventForumTopicToggleIsClosed &>(obj));
10096 return true;
10097 case chatEventForumTopicToggleIsHidden::ID:
10098 func(static_cast<chatEventForumTopicToggleIsHidden &>(obj));
10099 return true;
10100 case chatEventForumTopicDeleted::ID:
10101 func(static_cast<chatEventForumTopicDeleted &>(obj));
10102 return true;
10103 case chatEventForumTopicPinned::ID:
10104 func(static_cast<chatEventForumTopicPinned &>(obj));
10105 return true;
10106 default:
10107 return false;
10108 }
10109}

◆ downcast_call() [31/203]

template<class T >
bool td::td_api::downcast_call ( ChatList obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10118 of file td_api.hpp.

10118 { //-V2008
10119 switch (obj.get_id()) {
10120 case chatListMain::ID:
10121 func(static_cast<chatListMain &>(obj));
10122 return true;
10123 case chatListArchive::ID:
10124 func(static_cast<chatListArchive &>(obj));
10125 return true;
10126 case chatListFolder::ID:
10127 func(static_cast<chatListFolder &>(obj));
10128 return true;
10129 default:
10130 return false;
10131 }
10132}

◆ downcast_call() [32/203]

template<class T >
bool td::td_api::downcast_call ( ChatMembersFilter obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10173 of file td_api.hpp.

10173 { //-V2008
10174 switch (obj.get_id()) {
10175 case chatMembersFilterContacts::ID:
10176 func(static_cast<chatMembersFilterContacts &>(obj));
10177 return true;
10178 case chatMembersFilterAdministrators::ID:
10179 func(static_cast<chatMembersFilterAdministrators &>(obj));
10180 return true;
10181 case chatMembersFilterMembers::ID:
10182 func(static_cast<chatMembersFilterMembers &>(obj));
10183 return true;
10184 case chatMembersFilterMention::ID:
10185 func(static_cast<chatMembersFilterMention &>(obj));
10186 return true;
10187 case chatMembersFilterRestricted::ID:
10188 func(static_cast<chatMembersFilterRestricted &>(obj));
10189 return true;
10190 case chatMembersFilterBanned::ID:
10191 func(static_cast<chatMembersFilterBanned &>(obj));
10192 return true;
10193 case chatMembersFilterBots::ID:
10194 func(static_cast<chatMembersFilterBots &>(obj));
10195 return true;
10196 default:
10197 return false;
10198 }
10199}

◆ downcast_call() [33/203]

template<class T >
bool td::td_api::downcast_call ( ChatMemberStatus obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10141 of file td_api.hpp.

10141 { //-V2008
10142 switch (obj.get_id()) {
10143 case chatMemberStatusCreator::ID:
10144 func(static_cast<chatMemberStatusCreator &>(obj));
10145 return true;
10146 case chatMemberStatusAdministrator::ID:
10147 func(static_cast<chatMemberStatusAdministrator &>(obj));
10148 return true;
10149 case chatMemberStatusMember::ID:
10150 func(static_cast<chatMemberStatusMember &>(obj));
10151 return true;
10152 case chatMemberStatusRestricted::ID:
10153 func(static_cast<chatMemberStatusRestricted &>(obj));
10154 return true;
10155 case chatMemberStatusLeft::ID:
10156 func(static_cast<chatMemberStatusLeft &>(obj));
10157 return true;
10158 case chatMemberStatusBanned::ID:
10159 func(static_cast<chatMemberStatusBanned &>(obj));
10160 return true;
10161 default:
10162 return false;
10163 }
10164}

◆ downcast_call() [34/203]

template<class T >
bool td::td_api::downcast_call ( ChatPhotoStickerType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10208 of file td_api.hpp.

10208 { //-V2008
10209 switch (obj.get_id()) {
10210 case chatPhotoStickerTypeRegularOrMask::ID:
10211 func(static_cast<chatPhotoStickerTypeRegularOrMask &>(obj));
10212 return true;
10213 case chatPhotoStickerTypeCustomEmoji::ID:
10214 func(static_cast<chatPhotoStickerTypeCustomEmoji &>(obj));
10215 return true;
10216 default:
10217 return false;
10218 }
10219}

◆ downcast_call() [35/203]

template<class T >
bool td::td_api::downcast_call ( ChatRevenueTransactionType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10228 of file td_api.hpp.

10228 { //-V2008
10229 switch (obj.get_id()) {
10230 case chatRevenueTransactionTypeUnsupported::ID:
10231 func(static_cast<chatRevenueTransactionTypeUnsupported &>(obj));
10232 return true;
10233 case chatRevenueTransactionTypeSponsoredMessageEarnings::ID:
10234 func(static_cast<chatRevenueTransactionTypeSponsoredMessageEarnings &>(obj));
10235 return true;
10236 case chatRevenueTransactionTypeSuggestedPostEarnings::ID:
10237 func(static_cast<chatRevenueTransactionTypeSuggestedPostEarnings &>(obj));
10238 return true;
10239 case chatRevenueTransactionTypeFragmentWithdrawal::ID:
10240 func(static_cast<chatRevenueTransactionTypeFragmentWithdrawal &>(obj));
10241 return true;
10242 case chatRevenueTransactionTypeFragmentRefund::ID:
10243 func(static_cast<chatRevenueTransactionTypeFragmentRefund &>(obj));
10244 return true;
10245 default:
10246 return false;
10247 }
10248}

◆ downcast_call() [36/203]

template<class T >
bool td::td_api::downcast_call ( ChatSource obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10257 of file td_api.hpp.

10257 { //-V2008
10258 switch (obj.get_id()) {
10259 case chatSourceMtprotoProxy::ID:
10260 func(static_cast<chatSourceMtprotoProxy &>(obj));
10261 return true;
10262 case chatSourcePublicServiceAnnouncement::ID:
10263 func(static_cast<chatSourcePublicServiceAnnouncement &>(obj));
10264 return true;
10265 default:
10266 return false;
10267 }
10268}

◆ downcast_call() [37/203]

template<class T >
bool td::td_api::downcast_call ( ChatStatistics obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10277 of file td_api.hpp.

10277 { //-V2008
10278 switch (obj.get_id()) {
10279 case chatStatisticsSupergroup::ID:
10280 func(static_cast<chatStatisticsSupergroup &>(obj));
10281 return true;
10282 case chatStatisticsChannel::ID:
10283 func(static_cast<chatStatisticsChannel &>(obj));
10284 return true;
10285 default:
10286 return false;
10287 }
10288}

◆ downcast_call() [38/203]

template<class T >
bool td::td_api::downcast_call ( ChatStatisticsObjectType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10297 of file td_api.hpp.

10297 { //-V2008
10298 switch (obj.get_id()) {
10299 case chatStatisticsObjectTypeMessage::ID:
10300 func(static_cast<chatStatisticsObjectTypeMessage &>(obj));
10301 return true;
10302 case chatStatisticsObjectTypeStory::ID:
10303 func(static_cast<chatStatisticsObjectTypeStory &>(obj));
10304 return true;
10305 default:
10306 return false;
10307 }
10308}

◆ downcast_call() [39/203]

template<class T >
bool td::td_api::downcast_call ( ChatTheme obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10317 of file td_api.hpp.

10317 { //-V2008
10318 switch (obj.get_id()) {
10319 case chatThemeEmoji::ID:
10320 func(static_cast<chatThemeEmoji &>(obj));
10321 return true;
10322 case chatThemeGift::ID:
10323 func(static_cast<chatThemeGift &>(obj));
10324 return true;
10325 default:
10326 return false;
10327 }
10328}

◆ downcast_call() [40/203]

template<class T >
bool td::td_api::downcast_call ( ChatType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10337 of file td_api.hpp.

10337 { //-V2008
10338 switch (obj.get_id()) {
10339 case chatTypePrivate::ID:
10340 func(static_cast<chatTypePrivate &>(obj));
10341 return true;
10342 case chatTypeBasicGroup::ID:
10343 func(static_cast<chatTypeBasicGroup &>(obj));
10344 return true;
10345 case chatTypeSupergroup::ID:
10346 func(static_cast<chatTypeSupergroup &>(obj));
10347 return true;
10348 case chatTypeSecret::ID:
10349 func(static_cast<chatTypeSecret &>(obj));
10350 return true;
10351 default:
10352 return false;
10353 }
10354}

◆ downcast_call() [41/203]

template<class T >
bool td::td_api::downcast_call ( CheckChatUsernameResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10363 of file td_api.hpp.

10363 { //-V2008
10364 switch (obj.get_id()) {
10365 case checkChatUsernameResultOk::ID:
10366 func(static_cast<checkChatUsernameResultOk &>(obj));
10367 return true;
10368 case checkChatUsernameResultUsernameInvalid::ID:
10369 func(static_cast<checkChatUsernameResultUsernameInvalid &>(obj));
10370 return true;
10371 case checkChatUsernameResultUsernameOccupied::ID:
10372 func(static_cast<checkChatUsernameResultUsernameOccupied &>(obj));
10373 return true;
10374 case checkChatUsernameResultUsernamePurchasable::ID:
10375 func(static_cast<checkChatUsernameResultUsernamePurchasable &>(obj));
10376 return true;
10377 case checkChatUsernameResultPublicChatsTooMany::ID:
10378 func(static_cast<checkChatUsernameResultPublicChatsTooMany &>(obj));
10379 return true;
10380 case checkChatUsernameResultPublicGroupsUnavailable::ID:
10381 func(static_cast<checkChatUsernameResultPublicGroupsUnavailable &>(obj));
10382 return true;
10383 default:
10384 return false;
10385 }
10386}

◆ downcast_call() [42/203]

template<class T >
bool td::td_api::downcast_call ( CheckStickerSetNameResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10395 of file td_api.hpp.

10395 { //-V2008
10396 switch (obj.get_id()) {
10397 case checkStickerSetNameResultOk::ID:
10398 func(static_cast<checkStickerSetNameResultOk &>(obj));
10399 return true;
10400 case checkStickerSetNameResultNameInvalid::ID:
10401 func(static_cast<checkStickerSetNameResultNameInvalid &>(obj));
10402 return true;
10403 case checkStickerSetNameResultNameOccupied::ID:
10404 func(static_cast<checkStickerSetNameResultNameOccupied &>(obj));
10405 return true;
10406 default:
10407 return false;
10408 }
10409}

◆ downcast_call() [43/203]

template<class T >
bool td::td_api::downcast_call ( CollectibleItemType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10418 of file td_api.hpp.

10418 { //-V2008
10419 switch (obj.get_id()) {
10420 case collectibleItemTypeUsername::ID:
10421 func(static_cast<collectibleItemTypeUsername &>(obj));
10422 return true;
10423 case collectibleItemTypePhoneNumber::ID:
10424 func(static_cast<collectibleItemTypePhoneNumber &>(obj));
10425 return true;
10426 default:
10427 return false;
10428 }
10429}

◆ downcast_call() [44/203]

template<class T >
bool td::td_api::downcast_call ( ConnectionState obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10438 of file td_api.hpp.

10438 { //-V2008
10439 switch (obj.get_id()) {
10440 case connectionStateWaitingForNetwork::ID:
10441 func(static_cast<connectionStateWaitingForNetwork &>(obj));
10442 return true;
10443 case connectionStateConnectingToProxy::ID:
10444 func(static_cast<connectionStateConnectingToProxy &>(obj));
10445 return true;
10446 case connectionStateConnecting::ID:
10447 func(static_cast<connectionStateConnecting &>(obj));
10448 return true;
10449 case connectionStateUpdating::ID:
10450 func(static_cast<connectionStateUpdating &>(obj));
10451 return true;
10452 case connectionStateReady::ID:
10453 func(static_cast<connectionStateReady &>(obj));
10454 return true;
10455 default:
10456 return false;
10457 }
10458}

◆ downcast_call() [45/203]

template<class Base , class T >
bool td::td_api::downcast_call ( const Base &  obj,
const T &  func 
)

Definition at line 14 of file td_api.hpp.

14 {
15 return downcast_call(const_cast<Base &>(obj), [&](auto &value) { func(std::as_const(value)); });
16}

◆ downcast_call() [46/203]

template<class T >
bool td::td_api::downcast_call ( CraftGiftResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10467 of file td_api.hpp.

10467 { //-V2008
10468 switch (obj.get_id()) {
10469 case craftGiftResultSuccess::ID:
10470 func(static_cast<craftGiftResultSuccess &>(obj));
10471 return true;
10472 case craftGiftResultTooEarly::ID:
10473 func(static_cast<craftGiftResultTooEarly &>(obj));
10474 return true;
10475 case craftGiftResultInvalidGift::ID:
10476 func(static_cast<craftGiftResultInvalidGift &>(obj));
10477 return true;
10478 case craftGiftResultFail::ID:
10479 func(static_cast<craftGiftResultFail &>(obj));
10480 return true;
10481 default:
10482 return false;
10483 }
10484}

◆ downcast_call() [47/203]

template<class T >
bool td::td_api::downcast_call ( DateTimeFormattingType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10493 of file td_api.hpp.

10493 { //-V2008
10494 switch (obj.get_id()) {
10495 case dateTimeFormattingTypeRelative::ID:
10496 func(static_cast<dateTimeFormattingTypeRelative &>(obj));
10497 return true;
10498 case dateTimeFormattingTypeAbsolute::ID:
10499 func(static_cast<dateTimeFormattingTypeAbsolute &>(obj));
10500 return true;
10501 default:
10502 return false;
10503 }
10504}

◆ downcast_call() [48/203]

template<class T >
bool td::td_api::downcast_call ( DateTimePartPrecision obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10513 of file td_api.hpp.

10513 { //-V2008
10514 switch (obj.get_id()) {
10515 case dateTimePartPrecisionNone::ID:
10516 func(static_cast<dateTimePartPrecisionNone &>(obj));
10517 return true;
10518 case dateTimePartPrecisionShort::ID:
10519 func(static_cast<dateTimePartPrecisionShort &>(obj));
10520 return true;
10521 case dateTimePartPrecisionLong::ID:
10522 func(static_cast<dateTimePartPrecisionLong &>(obj));
10523 return true;
10524 default:
10525 return false;
10526 }
10527}

◆ downcast_call() [49/203]

template<class T >
bool td::td_api::downcast_call ( DeviceToken obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10536 of file td_api.hpp.

10536 { //-V2008
10537 switch (obj.get_id()) {
10538 case deviceTokenFirebaseCloudMessaging::ID:
10539 func(static_cast<deviceTokenFirebaseCloudMessaging &>(obj));
10540 return true;
10541 case deviceTokenApplePush::ID:
10542 func(static_cast<deviceTokenApplePush &>(obj));
10543 return true;
10544 case deviceTokenApplePushVoIP::ID:
10545 func(static_cast<deviceTokenApplePushVoIP &>(obj));
10546 return true;
10547 case deviceTokenWindowsPush::ID:
10548 func(static_cast<deviceTokenWindowsPush &>(obj));
10549 return true;
10550 case deviceTokenMicrosoftPush::ID:
10551 func(static_cast<deviceTokenMicrosoftPush &>(obj));
10552 return true;
10553 case deviceTokenMicrosoftPushVoIP::ID:
10554 func(static_cast<deviceTokenMicrosoftPushVoIP &>(obj));
10555 return true;
10556 case deviceTokenWebPush::ID:
10557 func(static_cast<deviceTokenWebPush &>(obj));
10558 return true;
10559 case deviceTokenSimplePush::ID:
10560 func(static_cast<deviceTokenSimplePush &>(obj));
10561 return true;
10562 case deviceTokenUbuntuPush::ID:
10563 func(static_cast<deviceTokenUbuntuPush &>(obj));
10564 return true;
10565 case deviceTokenBlackBerryPush::ID:
10566 func(static_cast<deviceTokenBlackBerryPush &>(obj));
10567 return true;
10568 case deviceTokenTizenPush::ID:
10569 func(static_cast<deviceTokenTizenPush &>(obj));
10570 return true;
10571 case deviceTokenHuaweiPush::ID:
10572 func(static_cast<deviceTokenHuaweiPush &>(obj));
10573 return true;
10574 default:
10575 return false;
10576 }
10577}

◆ downcast_call() [50/203]

template<class T >
bool td::td_api::downcast_call ( DiceStickers obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10586 of file td_api.hpp.

10586 { //-V2008
10587 switch (obj.get_id()) {
10588 case diceStickersRegular::ID:
10589 func(static_cast<diceStickersRegular &>(obj));
10590 return true;
10591 case diceStickersSlotMachine::ID:
10592 func(static_cast<diceStickersSlotMachine &>(obj));
10593 return true;
10594 default:
10595 return false;
10596 }
10597}

◆ downcast_call() [51/203]

template<class T >
bool td::td_api::downcast_call ( DiffEntityType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10606 of file td_api.hpp.

10606 { //-V2008
10607 switch (obj.get_id()) {
10608 case diffEntityTypeInsert::ID:
10609 func(static_cast<diffEntityTypeInsert &>(obj));
10610 return true;
10611 case diffEntityTypeReplace::ID:
10612 func(static_cast<diffEntityTypeReplace &>(obj));
10613 return true;
10614 case diffEntityTypeDelete::ID:
10615 func(static_cast<diffEntityTypeDelete &>(obj));
10616 return true;
10617 default:
10618 return false;
10619 }
10620}

◆ downcast_call() [52/203]

template<class T >
bool td::td_api::downcast_call ( EmailAddressAuthentication obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10629 of file td_api.hpp.

10629 { //-V2008
10630 switch (obj.get_id()) {
10631 case emailAddressAuthenticationCode::ID:
10632 func(static_cast<emailAddressAuthenticationCode &>(obj));
10633 return true;
10634 case emailAddressAuthenticationAppleId::ID:
10635 func(static_cast<emailAddressAuthenticationAppleId &>(obj));
10636 return true;
10637 case emailAddressAuthenticationGoogleId::ID:
10638 func(static_cast<emailAddressAuthenticationGoogleId &>(obj));
10639 return true;
10640 default:
10641 return false;
10642 }
10643}

◆ downcast_call() [53/203]

template<class T >
bool td::td_api::downcast_call ( EmailAddressResetState obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10652 of file td_api.hpp.

10652 { //-V2008
10653 switch (obj.get_id()) {
10654 case emailAddressResetStateAvailable::ID:
10655 func(static_cast<emailAddressResetStateAvailable &>(obj));
10656 return true;
10657 case emailAddressResetStatePending::ID:
10658 func(static_cast<emailAddressResetStatePending &>(obj));
10659 return true;
10660 default:
10661 return false;
10662 }
10663}

◆ downcast_call() [54/203]

template<class T >
bool td::td_api::downcast_call ( EmojiCategorySource obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10672 of file td_api.hpp.

10672 { //-V2008
10673 switch (obj.get_id()) {
10674 case emojiCategorySourceSearch::ID:
10675 func(static_cast<emojiCategorySourceSearch &>(obj));
10676 return true;
10677 case emojiCategorySourcePremium::ID:
10678 func(static_cast<emojiCategorySourcePremium &>(obj));
10679 return true;
10680 default:
10681 return false;
10682 }
10683}

◆ downcast_call() [55/203]

template<class T >
bool td::td_api::downcast_call ( EmojiCategoryType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10692 of file td_api.hpp.

10692 { //-V2008
10693 switch (obj.get_id()) {
10694 case emojiCategoryTypeDefault::ID:
10695 func(static_cast<emojiCategoryTypeDefault &>(obj));
10696 return true;
10697 case emojiCategoryTypeRegularStickers::ID:
10698 func(static_cast<emojiCategoryTypeRegularStickers &>(obj));
10699 return true;
10700 case emojiCategoryTypeEmojiStatus::ID:
10701 func(static_cast<emojiCategoryTypeEmojiStatus &>(obj));
10702 return true;
10703 case emojiCategoryTypeChatPhoto::ID:
10704 func(static_cast<emojiCategoryTypeChatPhoto &>(obj));
10705 return true;
10706 default:
10707 return false;
10708 }
10709}

◆ downcast_call() [56/203]

template<class T >
bool td::td_api::downcast_call ( EmojiStatusType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10718 of file td_api.hpp.

10718 { //-V2008
10719 switch (obj.get_id()) {
10720 case emojiStatusTypeCustomEmoji::ID:
10721 func(static_cast<emojiStatusTypeCustomEmoji &>(obj));
10722 return true;
10723 case emojiStatusTypeUpgradedGift::ID:
10724 func(static_cast<emojiStatusTypeUpgradedGift &>(obj));
10725 return true;
10726 default:
10727 return false;
10728 }
10729}

◆ downcast_call() [57/203]

template<class T >
bool td::td_api::downcast_call ( FileType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10738 of file td_api.hpp.

10738 { //-V2008
10739 switch (obj.get_id()) {
10740 case fileTypeNone::ID:
10741 func(static_cast<fileTypeNone &>(obj));
10742 return true;
10743 case fileTypeAnimation::ID:
10744 func(static_cast<fileTypeAnimation &>(obj));
10745 return true;
10746 case fileTypeAudio::ID:
10747 func(static_cast<fileTypeAudio &>(obj));
10748 return true;
10749 case fileTypeDocument::ID:
10750 func(static_cast<fileTypeDocument &>(obj));
10751 return true;
10752 case fileTypeLivePhotoVideo::ID:
10753 func(static_cast<fileTypeLivePhotoVideo &>(obj));
10754 return true;
10755 case fileTypeNotificationSound::ID:
10756 func(static_cast<fileTypeNotificationSound &>(obj));
10757 return true;
10758 case fileTypePhoto::ID:
10759 func(static_cast<fileTypePhoto &>(obj));
10760 return true;
10761 case fileTypePhotoStory::ID:
10762 func(static_cast<fileTypePhotoStory &>(obj));
10763 return true;
10764 case fileTypeProfilePhoto::ID:
10765 func(static_cast<fileTypeProfilePhoto &>(obj));
10766 return true;
10767 case fileTypeSecret::ID:
10768 func(static_cast<fileTypeSecret &>(obj));
10769 return true;
10770 case fileTypeSecretThumbnail::ID:
10771 func(static_cast<fileTypeSecretThumbnail &>(obj));
10772 return true;
10773 case fileTypeSecure::ID:
10774 func(static_cast<fileTypeSecure &>(obj));
10775 return true;
10776 case fileTypeSelfDestructingLivePhotoVideo::ID:
10777 func(static_cast<fileTypeSelfDestructingLivePhotoVideo &>(obj));
10778 return true;
10779 case fileTypeSelfDestructingPhoto::ID:
10780 func(static_cast<fileTypeSelfDestructingPhoto &>(obj));
10781 return true;
10782 case fileTypeSelfDestructingVideo::ID:
10783 func(static_cast<fileTypeSelfDestructingVideo &>(obj));
10784 return true;
10785 case fileTypeSelfDestructingVideoNote::ID:
10786 func(static_cast<fileTypeSelfDestructingVideoNote &>(obj));
10787 return true;
10788 case fileTypeSelfDestructingVoiceNote::ID:
10789 func(static_cast<fileTypeSelfDestructingVoiceNote &>(obj));
10790 return true;
10791 case fileTypeSticker::ID:
10792 func(static_cast<fileTypeSticker &>(obj));
10793 return true;
10794 case fileTypeThumbnail::ID:
10795 func(static_cast<fileTypeThumbnail &>(obj));
10796 return true;
10797 case fileTypeUnknown::ID:
10798 func(static_cast<fileTypeUnknown &>(obj));
10799 return true;
10800 case fileTypeVideo::ID:
10801 func(static_cast<fileTypeVideo &>(obj));
10802 return true;
10803 case fileTypeVideoNote::ID:
10804 func(static_cast<fileTypeVideoNote &>(obj));
10805 return true;
10806 case fileTypeVideoStory::ID:
10807 func(static_cast<fileTypeVideoStory &>(obj));
10808 return true;
10809 case fileTypeVoiceNote::ID:
10810 func(static_cast<fileTypeVoiceNote &>(obj));
10811 return true;
10812 case fileTypeWallpaper::ID:
10813 func(static_cast<fileTypeWallpaper &>(obj));
10814 return true;
10815 default:
10816 return false;
10817 }
10818}

◆ downcast_call() [58/203]

template<class T >
bool td::td_api::downcast_call ( FirebaseAuthenticationSettings obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10827 of file td_api.hpp.

10827 { //-V2008
10828 switch (obj.get_id()) {
10829 case firebaseAuthenticationSettingsAndroid::ID:
10830 func(static_cast<firebaseAuthenticationSettingsAndroid &>(obj));
10831 return true;
10832 case firebaseAuthenticationSettingsIos::ID:
10833 func(static_cast<firebaseAuthenticationSettingsIos &>(obj));
10834 return true;
10835 default:
10836 return false;
10837 }
10838}

◆ downcast_call() [59/203]

template<class T >
bool td::td_api::downcast_call ( FirebaseDeviceVerificationParameters obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10847 of file td_api.hpp.

10847 { //-V2008
10848 switch (obj.get_id()) {
10849 case firebaseDeviceVerificationParametersSafetyNet::ID:
10850 func(static_cast<firebaseDeviceVerificationParametersSafetyNet &>(obj));
10851 return true;
10852 case firebaseDeviceVerificationParametersPlayIntegrity::ID:
10853 func(static_cast<firebaseDeviceVerificationParametersPlayIntegrity &>(obj));
10854 return true;
10855 default:
10856 return false;
10857 }
10858}

◆ downcast_call() [60/203]

template<class T >
bool td::td_api::downcast_call ( Function obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 6144 of file td_api.hpp.

6144 { //-V2008
6145 switch (obj.get_id()) {
6146 case acceptCall::ID:
6147 func(static_cast<acceptCall &>(obj));
6148 return true;
6149 case acceptOauthRequest::ID:
6150 func(static_cast<acceptOauthRequest &>(obj));
6151 return true;
6152 case acceptTermsOfService::ID:
6153 func(static_cast<acceptTermsOfService &>(obj));
6154 return true;
6155 case activateStoryStealthMode::ID:
6156 func(static_cast<activateStoryStealthMode &>(obj));
6157 return true;
6158 case addBotMediaPreview::ID:
6159 func(static_cast<addBotMediaPreview &>(obj));
6160 return true;
6161 case addChatFolderByInviteLink::ID:
6162 func(static_cast<addChatFolderByInviteLink &>(obj));
6163 return true;
6164 case addChatMember::ID:
6165 func(static_cast<addChatMember &>(obj));
6166 return true;
6167 case addChatMembers::ID:
6168 func(static_cast<addChatMembers &>(obj));
6169 return true;
6170 case addChatToList::ID:
6171 func(static_cast<addChatToList &>(obj));
6172 return true;
6173 case addChecklistTasks::ID:
6174 func(static_cast<addChecklistTasks &>(obj));
6175 return true;
6176 case addContact::ID:
6177 func(static_cast<addContact &>(obj));
6178 return true;
6179 case addCustomServerLanguagePack::ID:
6180 func(static_cast<addCustomServerLanguagePack &>(obj));
6181 return true;
6182 case addFavoriteSticker::ID:
6183 func(static_cast<addFavoriteSticker &>(obj));
6184 return true;
6185 case addFileToDownloads::ID:
6186 func(static_cast<addFileToDownloads &>(obj));
6187 return true;
6188 case addGiftCollectionGifts::ID:
6189 func(static_cast<addGiftCollectionGifts &>(obj));
6190 return true;
6191 case addLocalMessage::ID:
6192 func(static_cast<addLocalMessage &>(obj));
6193 return true;
6194 case addLogMessage::ID:
6195 func(static_cast<addLogMessage &>(obj));
6196 return true;
6197 case addLoginPasskey::ID:
6198 func(static_cast<addLoginPasskey &>(obj));
6199 return true;
6200 case addMessageReaction::ID:
6201 func(static_cast<addMessageReaction &>(obj));
6202 return true;
6203 case addNetworkStatistics::ID:
6204 func(static_cast<addNetworkStatistics &>(obj));
6205 return true;
6206 case addOffer::ID:
6207 func(static_cast<addOffer &>(obj));
6208 return true;
6209 case addPendingLiveStoryReaction::ID:
6210 func(static_cast<addPendingLiveStoryReaction &>(obj));
6211 return true;
6212 case addPendingPaidMessageReaction::ID:
6213 func(static_cast<addPendingPaidMessageReaction &>(obj));
6214 return true;
6215 case addPollOption::ID:
6216 func(static_cast<addPollOption &>(obj));
6217 return true;
6218 case addProfileAudio::ID:
6219 func(static_cast<addProfileAudio &>(obj));
6220 return true;
6221 case addProxy::ID:
6222 func(static_cast<addProxy &>(obj));
6223 return true;
6224 case addQuickReplyShortcutInlineQueryResultMessage::ID:
6225 func(static_cast<addQuickReplyShortcutInlineQueryResultMessage &>(obj));
6226 return true;
6227 case addQuickReplyShortcutMessage::ID:
6228 func(static_cast<addQuickReplyShortcutMessage &>(obj));
6229 return true;
6230 case addQuickReplyShortcutMessageAlbum::ID:
6231 func(static_cast<addQuickReplyShortcutMessageAlbum &>(obj));
6232 return true;
6233 case addRecentSticker::ID:
6234 func(static_cast<addRecentSticker &>(obj));
6235 return true;
6236 case addRecentlyFoundChat::ID:
6237 func(static_cast<addRecentlyFoundChat &>(obj));
6238 return true;
6239 case addSavedAnimation::ID:
6240 func(static_cast<addSavedAnimation &>(obj));
6241 return true;
6242 case addSavedNotificationSound::ID:
6243 func(static_cast<addSavedNotificationSound &>(obj));
6244 return true;
6245 case addStickerToSet::ID:
6246 func(static_cast<addStickerToSet &>(obj));
6247 return true;
6248 case addStoryAlbumStories::ID:
6249 func(static_cast<addStoryAlbumStories &>(obj));
6250 return true;
6251 case allowBotToSendMessages::ID:
6252 func(static_cast<allowBotToSendMessages &>(obj));
6253 return true;
6254 case allowUnpaidMessagesFromUser::ID:
6255 func(static_cast<allowUnpaidMessagesFromUser &>(obj));
6256 return true;
6257 case answerCallbackQuery::ID:
6258 func(static_cast<answerCallbackQuery &>(obj));
6259 return true;
6260 case answerCustomQuery::ID:
6261 func(static_cast<answerCustomQuery &>(obj));
6262 return true;
6263 case answerInlineQuery::ID:
6264 func(static_cast<answerInlineQuery &>(obj));
6265 return true;
6266 case answerPreCheckoutQuery::ID:
6267 func(static_cast<answerPreCheckoutQuery &>(obj));
6268 return true;
6269 case answerShippingQuery::ID:
6270 func(static_cast<answerShippingQuery &>(obj));
6271 return true;
6272 case answerWebAppQuery::ID:
6273 func(static_cast<answerWebAppQuery &>(obj));
6274 return true;
6275 case applyPremiumGiftCode::ID:
6276 func(static_cast<applyPremiumGiftCode &>(obj));
6277 return true;
6278 case approveSuggestedPost::ID:
6279 func(static_cast<approveSuggestedPost &>(obj));
6280 return true;
6281 case assignStoreTransaction::ID:
6282 func(static_cast<assignStoreTransaction &>(obj));
6283 return true;
6284 case banChatMember::ID:
6285 func(static_cast<banChatMember &>(obj));
6286 return true;
6287 case banGroupCallParticipants::ID:
6288 func(static_cast<banGroupCallParticipants &>(obj));
6289 return true;
6290 case blockMessageSenderFromReplies::ID:
6291 func(static_cast<blockMessageSenderFromReplies &>(obj));
6292 return true;
6293 case boostChat::ID:
6294 func(static_cast<boostChat &>(obj));
6295 return true;
6296 case buyGiftUpgrade::ID:
6297 func(static_cast<buyGiftUpgrade &>(obj));
6298 return true;
6299 case canBotSendMessages::ID:
6300 func(static_cast<canBotSendMessages &>(obj));
6301 return true;
6302 case canPostStory::ID:
6303 func(static_cast<canPostStory &>(obj));
6304 return true;
6305 case canPurchaseFromStore::ID:
6306 func(static_cast<canPurchaseFromStore &>(obj));
6307 return true;
6308 case canSendGift::ID:
6309 func(static_cast<canSendGift &>(obj));
6310 return true;
6311 case canSendMessageToUser::ID:
6312 func(static_cast<canSendMessageToUser &>(obj));
6313 return true;
6314 case canTransferOwnership::ID:
6315 func(static_cast<canTransferOwnership &>(obj));
6316 return true;
6317 case cancelDownloadFile::ID:
6318 func(static_cast<cancelDownloadFile &>(obj));
6319 return true;
6320 case cancelPasswordReset::ID:
6321 func(static_cast<cancelPasswordReset &>(obj));
6322 return true;
6323 case cancelPreliminaryUploadFile::ID:
6324 func(static_cast<cancelPreliminaryUploadFile &>(obj));
6325 return true;
6326 case cancelRecoveryEmailAddressVerification::ID:
6327 func(static_cast<cancelRecoveryEmailAddressVerification &>(obj));
6328 return true;
6329 case changeImportedContacts::ID:
6330 func(static_cast<changeImportedContacts &>(obj));
6331 return true;
6332 case changeStickerSet::ID:
6333 func(static_cast<changeStickerSet &>(obj));
6334 return true;
6335 case checkAuthenticationBotToken::ID:
6336 func(static_cast<checkAuthenticationBotToken &>(obj));
6337 return true;
6338 case checkAuthenticationCode::ID:
6339 func(static_cast<checkAuthenticationCode &>(obj));
6340 return true;
6341 case checkAuthenticationEmailCode::ID:
6342 func(static_cast<checkAuthenticationEmailCode &>(obj));
6343 return true;
6344 case checkAuthenticationPasskey::ID:
6345 func(static_cast<checkAuthenticationPasskey &>(obj));
6346 return true;
6347 case checkAuthenticationPassword::ID:
6348 func(static_cast<checkAuthenticationPassword &>(obj));
6349 return true;
6350 case checkAuthenticationPasswordRecoveryCode::ID:
6351 func(static_cast<checkAuthenticationPasswordRecoveryCode &>(obj));
6352 return true;
6353 case checkAuthenticationPremiumPurchase::ID:
6354 func(static_cast<checkAuthenticationPremiumPurchase &>(obj));
6355 return true;
6356 case checkBotUsername::ID:
6357 func(static_cast<checkBotUsername &>(obj));
6358 return true;
6359 case checkChatFolderInviteLink::ID:
6360 func(static_cast<checkChatFolderInviteLink &>(obj));
6361 return true;
6362 case checkChatInviteLink::ID:
6363 func(static_cast<checkChatInviteLink &>(obj));
6364 return true;
6365 case checkChatUsername::ID:
6366 func(static_cast<checkChatUsername &>(obj));
6367 return true;
6368 case checkCreatedPublicChatsLimit::ID:
6369 func(static_cast<checkCreatedPublicChatsLimit &>(obj));
6370 return true;
6371 case checkEmailAddressVerificationCode::ID:
6372 func(static_cast<checkEmailAddressVerificationCode &>(obj));
6373 return true;
6374 case checkLoginEmailAddressCode::ID:
6375 func(static_cast<checkLoginEmailAddressCode &>(obj));
6376 return true;
6377 case checkOauthRequestMatchCode::ID:
6378 func(static_cast<checkOauthRequestMatchCode &>(obj));
6379 return true;
6380 case checkPasswordRecoveryCode::ID:
6381 func(static_cast<checkPasswordRecoveryCode &>(obj));
6382 return true;
6383 case checkPhoneNumberCode::ID:
6384 func(static_cast<checkPhoneNumberCode &>(obj));
6385 return true;
6386 case checkPremiumGiftCode::ID:
6387 func(static_cast<checkPremiumGiftCode &>(obj));
6388 return true;
6389 case checkQuickReplyShortcutName::ID:
6390 func(static_cast<checkQuickReplyShortcutName &>(obj));
6391 return true;
6392 case checkRecoveryEmailAddressCode::ID:
6393 func(static_cast<checkRecoveryEmailAddressCode &>(obj));
6394 return true;
6395 case checkStickerSetName::ID:
6396 func(static_cast<checkStickerSetName &>(obj));
6397 return true;
6398 case checkWebAppFileDownload::ID:
6399 func(static_cast<checkWebAppFileDownload &>(obj));
6400 return true;
6401 case cleanFileName::ID:
6402 func(static_cast<cleanFileName &>(obj));
6403 return true;
6404 case clearAllDraftMessages::ID:
6405 func(static_cast<clearAllDraftMessages &>(obj));
6406 return true;
6407 case clearAutosaveSettingsExceptions::ID:
6408 func(static_cast<clearAutosaveSettingsExceptions &>(obj));
6409 return true;
6410 case clearImportedContacts::ID:
6411 func(static_cast<clearImportedContacts &>(obj));
6412 return true;
6413 case clearRecentEmojiStatuses::ID:
6414 func(static_cast<clearRecentEmojiStatuses &>(obj));
6415 return true;
6416 case clearRecentReactions::ID:
6417 func(static_cast<clearRecentReactions &>(obj));
6418 return true;
6419 case clearRecentStickers::ID:
6420 func(static_cast<clearRecentStickers &>(obj));
6421 return true;
6422 case clearRecentlyFoundChats::ID:
6423 func(static_cast<clearRecentlyFoundChats &>(obj));
6424 return true;
6425 case clearSearchedForTags::ID:
6426 func(static_cast<clearSearchedForTags &>(obj));
6427 return true;
6428 case clickAnimatedEmojiMessage::ID:
6429 func(static_cast<clickAnimatedEmojiMessage &>(obj));
6430 return true;
6431 case clickChatSponsoredMessage::ID:
6432 func(static_cast<clickChatSponsoredMessage &>(obj));
6433 return true;
6434 case clickPremiumSubscriptionButton::ID:
6435 func(static_cast<clickPremiumSubscriptionButton &>(obj));
6436 return true;
6437 case clickVideoMessageAdvertisement::ID:
6438 func(static_cast<clickVideoMessageAdvertisement &>(obj));
6439 return true;
6440 case close::ID:
6441 func(static_cast<close &>(obj));
6442 return true;
6443 case closeChat::ID:
6444 func(static_cast<closeChat &>(obj));
6445 return true;
6446 case closeGiftAuction::ID:
6447 func(static_cast<closeGiftAuction &>(obj));
6448 return true;
6449 case closeSecretChat::ID:
6450 func(static_cast<closeSecretChat &>(obj));
6451 return true;
6452 case closeStory::ID:
6453 func(static_cast<closeStory &>(obj));
6454 return true;
6455 case closeWebApp::ID:
6456 func(static_cast<closeWebApp &>(obj));
6457 return true;
6458 case commitPendingLiveStoryReactions::ID:
6459 func(static_cast<commitPendingLiveStoryReactions &>(obj));
6460 return true;
6461 case commitPendingPaidMessageReactions::ID:
6462 func(static_cast<commitPendingPaidMessageReactions &>(obj));
6463 return true;
6464 case composeTextWithAi::ID:
6465 func(static_cast<composeTextWithAi &>(obj));
6466 return true;
6467 case confirmQrCodeAuthentication::ID:
6468 func(static_cast<confirmQrCodeAuthentication &>(obj));
6469 return true;
6470 case confirmSession::ID:
6471 func(static_cast<confirmSession &>(obj));
6472 return true;
6473 case connectAffiliateProgram::ID:
6474 func(static_cast<connectAffiliateProgram &>(obj));
6475 return true;
6476 case craftGift::ID:
6477 func(static_cast<craftGift &>(obj));
6478 return true;
6479 case createBasicGroupChat::ID:
6480 func(static_cast<createBasicGroupChat &>(obj));
6481 return true;
6482 case createBot::ID:
6483 func(static_cast<createBot &>(obj));
6484 return true;
6485 case createBusinessChatLink::ID:
6486 func(static_cast<createBusinessChatLink &>(obj));
6487 return true;
6488 case createCall::ID:
6489 func(static_cast<createCall &>(obj));
6490 return true;
6491 case createChatFolder::ID:
6492 func(static_cast<createChatFolder &>(obj));
6493 return true;
6494 case createChatFolderInviteLink::ID:
6495 func(static_cast<createChatFolderInviteLink &>(obj));
6496 return true;
6497 case createChatInviteLink::ID:
6498 func(static_cast<createChatInviteLink &>(obj));
6499 return true;
6500 case createChatSubscriptionInviteLink::ID:
6501 func(static_cast<createChatSubscriptionInviteLink &>(obj));
6502 return true;
6503 case createForumTopic::ID:
6504 func(static_cast<createForumTopic &>(obj));
6505 return true;
6506 case createGiftCollection::ID:
6507 func(static_cast<createGiftCollection &>(obj));
6508 return true;
6509 case createGroupCall::ID:
6510 func(static_cast<createGroupCall &>(obj));
6511 return true;
6512 case createInvoiceLink::ID:
6513 func(static_cast<createInvoiceLink &>(obj));
6514 return true;
6515 case createNewBasicGroupChat::ID:
6516 func(static_cast<createNewBasicGroupChat &>(obj));
6517 return true;
6518 case createNewSecretChat::ID:
6519 func(static_cast<createNewSecretChat &>(obj));
6520 return true;
6521 case createNewStickerSet::ID:
6522 func(static_cast<createNewStickerSet &>(obj));
6523 return true;
6524 case createNewSupergroupChat::ID:
6525 func(static_cast<createNewSupergroupChat &>(obj));
6526 return true;
6527 case createPrivateChat::ID:
6528 func(static_cast<createPrivateChat &>(obj));
6529 return true;
6530 case createSecretChat::ID:
6531 func(static_cast<createSecretChat &>(obj));
6532 return true;
6533 case createStoryAlbum::ID:
6534 func(static_cast<createStoryAlbum &>(obj));
6535 return true;
6536 case createSupergroupChat::ID:
6537 func(static_cast<createSupergroupChat &>(obj));
6538 return true;
6539 case createTemporaryPassword::ID:
6540 func(static_cast<createTemporaryPassword &>(obj));
6541 return true;
6542 case createVideoChat::ID:
6543 func(static_cast<createVideoChat &>(obj));
6544 return true;
6545 case declineGroupCallInvitation::ID:
6546 func(static_cast<declineGroupCallInvitation &>(obj));
6547 return true;
6548 case declineOauthRequest::ID:
6549 func(static_cast<declineOauthRequest &>(obj));
6550 return true;
6551 case declineSuggestedPost::ID:
6552 func(static_cast<declineSuggestedPost &>(obj));
6553 return true;
6554 case decryptGroupCallData::ID:
6555 func(static_cast<decryptGroupCallData &>(obj));
6556 return true;
6557 case deleteAccount::ID:
6558 func(static_cast<deleteAccount &>(obj));
6559 return true;
6560 case deleteAllCallMessages::ID:
6561 func(static_cast<deleteAllCallMessages &>(obj));
6562 return true;
6563 case deleteAllRevokedChatInviteLinks::ID:
6564 func(static_cast<deleteAllRevokedChatInviteLinks &>(obj));
6565 return true;
6566 case deleteBotMediaPreviews::ID:
6567 func(static_cast<deleteBotMediaPreviews &>(obj));
6568 return true;
6569 case deleteBusinessChatLink::ID:
6570 func(static_cast<deleteBusinessChatLink &>(obj));
6571 return true;
6572 case deleteBusinessConnectedBot::ID:
6573 func(static_cast<deleteBusinessConnectedBot &>(obj));
6574 return true;
6575 case deleteBusinessMessages::ID:
6576 func(static_cast<deleteBusinessMessages &>(obj));
6577 return true;
6578 case deleteBusinessStory::ID:
6579 func(static_cast<deleteBusinessStory &>(obj));
6580 return true;
6581 case deleteChat::ID:
6582 func(static_cast<deleteChat &>(obj));
6583 return true;
6584 case deleteChatBackground::ID:
6585 func(static_cast<deleteChatBackground &>(obj));
6586 return true;
6587 case deleteChatFolder::ID:
6588 func(static_cast<deleteChatFolder &>(obj));
6589 return true;
6590 case deleteChatFolderInviteLink::ID:
6591 func(static_cast<deleteChatFolderInviteLink &>(obj));
6592 return true;
6593 case deleteChatHistory::ID:
6594 func(static_cast<deleteChatHistory &>(obj));
6595 return true;
6596 case deleteChatMessagesByDate::ID:
6597 func(static_cast<deleteChatMessagesByDate &>(obj));
6598 return true;
6599 case deleteChatMessagesBySender::ID:
6600 func(static_cast<deleteChatMessagesBySender &>(obj));
6601 return true;
6602 case deleteChatReplyMarkup::ID:
6603 func(static_cast<deleteChatReplyMarkup &>(obj));
6604 return true;
6605 case deleteCommands::ID:
6606 func(static_cast<deleteCommands &>(obj));
6607 return true;
6608 case deleteDefaultBackground::ID:
6609 func(static_cast<deleteDefaultBackground &>(obj));
6610 return true;
6611 case deleteDirectMessagesChatTopicHistory::ID:
6612 func(static_cast<deleteDirectMessagesChatTopicHistory &>(obj));
6613 return true;
6614 case deleteDirectMessagesChatTopicMessagesByDate::ID:
6615 func(static_cast<deleteDirectMessagesChatTopicMessagesByDate &>(obj));
6616 return true;
6617 case deleteFile::ID:
6618 func(static_cast<deleteFile &>(obj));
6619 return true;
6620 case deleteForumTopic::ID:
6621 func(static_cast<deleteForumTopic &>(obj));
6622 return true;
6623 case deleteGiftCollection::ID:
6624 func(static_cast<deleteGiftCollection &>(obj));
6625 return true;
6626 case deleteGroupCallMessages::ID:
6627 func(static_cast<deleteGroupCallMessages &>(obj));
6628 return true;
6629 case deleteGroupCallMessagesBySender::ID:
6630 func(static_cast<deleteGroupCallMessagesBySender &>(obj));
6631 return true;
6632 case deleteLanguagePack::ID:
6633 func(static_cast<deleteLanguagePack &>(obj));
6634 return true;
6635 case deleteMessages::ID:
6636 func(static_cast<deleteMessages &>(obj));
6637 return true;
6638 case deletePassportElement::ID:
6639 func(static_cast<deletePassportElement &>(obj));
6640 return true;
6641 case deletePollOption::ID:
6642 func(static_cast<deletePollOption &>(obj));
6643 return true;
6644 case deleteProfilePhoto::ID:
6645 func(static_cast<deleteProfilePhoto &>(obj));
6646 return true;
6647 case deleteQuickReplyShortcut::ID:
6648 func(static_cast<deleteQuickReplyShortcut &>(obj));
6649 return true;
6650 case deleteQuickReplyShortcutMessages::ID:
6651 func(static_cast<deleteQuickReplyShortcutMessages &>(obj));
6652 return true;
6653 case deleteRevokedChatInviteLink::ID:
6654 func(static_cast<deleteRevokedChatInviteLink &>(obj));
6655 return true;
6656 case deleteSavedCredentials::ID:
6657 func(static_cast<deleteSavedCredentials &>(obj));
6658 return true;
6659 case deleteSavedMessagesTopicHistory::ID:
6660 func(static_cast<deleteSavedMessagesTopicHistory &>(obj));
6661 return true;
6662 case deleteSavedMessagesTopicMessagesByDate::ID:
6663 func(static_cast<deleteSavedMessagesTopicMessagesByDate &>(obj));
6664 return true;
6665 case deleteSavedOrderInfo::ID:
6666 func(static_cast<deleteSavedOrderInfo &>(obj));
6667 return true;
6668 case deleteStickerSet::ID:
6669 func(static_cast<deleteStickerSet &>(obj));
6670 return true;
6671 case deleteStory::ID:
6672 func(static_cast<deleteStory &>(obj));
6673 return true;
6674 case deleteStoryAlbum::ID:
6675 func(static_cast<deleteStoryAlbum &>(obj));
6676 return true;
6677 case destroy::ID:
6678 func(static_cast<destroy &>(obj));
6679 return true;
6680 case disableAllSupergroupUsernames::ID:
6681 func(static_cast<disableAllSupergroupUsernames &>(obj));
6682 return true;
6683 case disableProxy::ID:
6684 func(static_cast<disableProxy &>(obj));
6685 return true;
6686 case discardCall::ID:
6687 func(static_cast<discardCall &>(obj));
6688 return true;
6689 case disconnectAffiliateProgram::ID:
6690 func(static_cast<disconnectAffiliateProgram &>(obj));
6691 return true;
6692 case disconnectAllWebsites::ID:
6693 func(static_cast<disconnectAllWebsites &>(obj));
6694 return true;
6695 case disconnectWebsite::ID:
6696 func(static_cast<disconnectWebsite &>(obj));
6697 return true;
6698 case downloadFile::ID:
6699 func(static_cast<downloadFile &>(obj));
6700 return true;
6701 case dropGiftOriginalDetails::ID:
6702 func(static_cast<dropGiftOriginalDetails &>(obj));
6703 return true;
6704 case editBotMediaPreview::ID:
6705 func(static_cast<editBotMediaPreview &>(obj));
6706 return true;
6707 case editBusinessChatLink::ID:
6708 func(static_cast<editBusinessChatLink &>(obj));
6709 return true;
6710 case editBusinessMessageCaption::ID:
6711 func(static_cast<editBusinessMessageCaption &>(obj));
6712 return true;
6713 case editBusinessMessageChecklist::ID:
6714 func(static_cast<editBusinessMessageChecklist &>(obj));
6715 return true;
6716 case editBusinessMessageLiveLocation::ID:
6717 func(static_cast<editBusinessMessageLiveLocation &>(obj));
6718 return true;
6719 case editBusinessMessageMedia::ID:
6720 func(static_cast<editBusinessMessageMedia &>(obj));
6721 return true;
6722 case editBusinessMessageReplyMarkup::ID:
6723 func(static_cast<editBusinessMessageReplyMarkup &>(obj));
6724 return true;
6725 case editBusinessMessageText::ID:
6726 func(static_cast<editBusinessMessageText &>(obj));
6727 return true;
6728 case editBusinessStory::ID:
6729 func(static_cast<editBusinessStory &>(obj));
6730 return true;
6731 case editChatFolder::ID:
6732 func(static_cast<editChatFolder &>(obj));
6733 return true;
6734 case editChatFolderInviteLink::ID:
6735 func(static_cast<editChatFolderInviteLink &>(obj));
6736 return true;
6737 case editChatInviteLink::ID:
6738 func(static_cast<editChatInviteLink &>(obj));
6739 return true;
6740 case editChatSubscriptionInviteLink::ID:
6741 func(static_cast<editChatSubscriptionInviteLink &>(obj));
6742 return true;
6743 case editCustomLanguagePackInfo::ID:
6744 func(static_cast<editCustomLanguagePackInfo &>(obj));
6745 return true;
6746 case editForumTopic::ID:
6747 func(static_cast<editForumTopic &>(obj));
6748 return true;
6749 case editInlineMessageCaption::ID:
6750 func(static_cast<editInlineMessageCaption &>(obj));
6751 return true;
6752 case editInlineMessageLiveLocation::ID:
6753 func(static_cast<editInlineMessageLiveLocation &>(obj));
6754 return true;
6755 case editInlineMessageMedia::ID:
6756 func(static_cast<editInlineMessageMedia &>(obj));
6757 return true;
6758 case editInlineMessageReplyMarkup::ID:
6759 func(static_cast<editInlineMessageReplyMarkup &>(obj));
6760 return true;
6761 case editInlineMessageText::ID:
6762 func(static_cast<editInlineMessageText &>(obj));
6763 return true;
6764 case editMessageCaption::ID:
6765 func(static_cast<editMessageCaption &>(obj));
6766 return true;
6767 case editMessageChecklist::ID:
6768 func(static_cast<editMessageChecklist &>(obj));
6769 return true;
6770 case editMessageLiveLocation::ID:
6771 func(static_cast<editMessageLiveLocation &>(obj));
6772 return true;
6773 case editMessageMedia::ID:
6774 func(static_cast<editMessageMedia &>(obj));
6775 return true;
6776 case editMessageReplyMarkup::ID:
6777 func(static_cast<editMessageReplyMarkup &>(obj));
6778 return true;
6779 case editMessageSchedulingState::ID:
6780 func(static_cast<editMessageSchedulingState &>(obj));
6781 return true;
6782 case editMessageText::ID:
6783 func(static_cast<editMessageText &>(obj));
6784 return true;
6785 case editProxy::ID:
6786 func(static_cast<editProxy &>(obj));
6787 return true;
6788 case editQuickReplyMessage::ID:
6789 func(static_cast<editQuickReplyMessage &>(obj));
6790 return true;
6791 case editStarSubscription::ID:
6792 func(static_cast<editStarSubscription &>(obj));
6793 return true;
6794 case editStory::ID:
6795 func(static_cast<editStory &>(obj));
6796 return true;
6797 case editStoryCover::ID:
6798 func(static_cast<editStoryCover &>(obj));
6799 return true;
6800 case editUserStarSubscription::ID:
6801 func(static_cast<editUserStarSubscription &>(obj));
6802 return true;
6803 case enableProxy::ID:
6804 func(static_cast<enableProxy &>(obj));
6805 return true;
6806 case encryptGroupCallData::ID:
6807 func(static_cast<encryptGroupCallData &>(obj));
6808 return true;
6809 case endGroupCall::ID:
6810 func(static_cast<endGroupCall &>(obj));
6811 return true;
6812 case endGroupCallRecording::ID:
6813 func(static_cast<endGroupCallRecording &>(obj));
6814 return true;
6815 case endGroupCallScreenSharing::ID:
6816 func(static_cast<endGroupCallScreenSharing &>(obj));
6817 return true;
6818 case finishFileGeneration::ID:
6819 func(static_cast<finishFileGeneration &>(obj));
6820 return true;
6821 case fixTextWithAi::ID:
6822 func(static_cast<fixTextWithAi &>(obj));
6823 return true;
6824 case forwardMessages::ID:
6825 func(static_cast<forwardMessages &>(obj));
6826 return true;
6827 case getAccountTtl::ID:
6828 func(static_cast<getAccountTtl &>(obj));
6829 return true;
6830 case getActiveSessions::ID:
6831 func(static_cast<getActiveSessions &>(obj));
6832 return true;
6833 case getAllPassportElements::ID:
6834 func(static_cast<getAllPassportElements &>(obj));
6835 return true;
6836 case getAllStickerEmojis::ID:
6837 func(static_cast<getAllStickerEmojis &>(obj));
6838 return true;
6839 case getAnimatedEmoji::ID:
6840 func(static_cast<getAnimatedEmoji &>(obj));
6841 return true;
6842 case getApplicationConfig::ID:
6843 func(static_cast<getApplicationConfig &>(obj));
6844 return true;
6845 case getApplicationDownloadLink::ID:
6846 func(static_cast<getApplicationDownloadLink &>(obj));
6847 return true;
6848 case getArchiveChatListSettings::ID:
6849 func(static_cast<getArchiveChatListSettings &>(obj));
6850 return true;
6851 case getArchivedStickerSets::ID:
6852 func(static_cast<getArchivedStickerSets &>(obj));
6853 return true;
6854 case getAttachedStickerSets::ID:
6855 func(static_cast<getAttachedStickerSets &>(obj));
6856 return true;
6857 case getAttachmentMenuBot::ID:
6858 func(static_cast<getAttachmentMenuBot &>(obj));
6859 return true;
6860 case getAuthenticationPasskeyParameters::ID:
6861 func(static_cast<getAuthenticationPasskeyParameters &>(obj));
6862 return true;
6863 case getAuthorizationState::ID:
6864 func(static_cast<getAuthorizationState &>(obj));
6865 return true;
6866 case getAutoDownloadSettingsPresets::ID:
6867 func(static_cast<getAutoDownloadSettingsPresets &>(obj));
6868 return true;
6869 case getAutosaveSettings::ID:
6870 func(static_cast<getAutosaveSettings &>(obj));
6871 return true;
6872 case getAvailableChatBoostSlots::ID:
6873 func(static_cast<getAvailableChatBoostSlots &>(obj));
6874 return true;
6875 case getAvailableGifts::ID:
6876 func(static_cast<getAvailableGifts &>(obj));
6877 return true;
6878 case getBackgroundUrl::ID:
6879 func(static_cast<getBackgroundUrl &>(obj));
6880 return true;
6881 case getBankCardInfo::ID:
6882 func(static_cast<getBankCardInfo &>(obj));
6883 return true;
6884 case getBasicGroup::ID:
6885 func(static_cast<getBasicGroup &>(obj));
6886 return true;
6887 case getBasicGroupFullInfo::ID:
6888 func(static_cast<getBasicGroupFullInfo &>(obj));
6889 return true;
6890 case getBlockedMessageSenders::ID:
6891 func(static_cast<getBlockedMessageSenders &>(obj));
6892 return true;
6893 case getBotInfoDescription::ID:
6894 func(static_cast<getBotInfoDescription &>(obj));
6895 return true;
6896 case getBotInfoShortDescription::ID:
6897 func(static_cast<getBotInfoShortDescription &>(obj));
6898 return true;
6899 case getBotMediaPreviewInfo::ID:
6900 func(static_cast<getBotMediaPreviewInfo &>(obj));
6901 return true;
6902 case getBotMediaPreviews::ID:
6903 func(static_cast<getBotMediaPreviews &>(obj));
6904 return true;
6905 case getBotName::ID:
6906 func(static_cast<getBotName &>(obj));
6907 return true;
6908 case getBotSimilarBotCount::ID:
6909 func(static_cast<getBotSimilarBotCount &>(obj));
6910 return true;
6911 case getBotSimilarBots::ID:
6912 func(static_cast<getBotSimilarBots &>(obj));
6913 return true;
6914 case getBotToken::ID:
6915 func(static_cast<getBotToken &>(obj));
6916 return true;
6917 case getBusinessAccountStarAmount::ID:
6918 func(static_cast<getBusinessAccountStarAmount &>(obj));
6919 return true;
6920 case getBusinessChatLinkInfo::ID:
6921 func(static_cast<getBusinessChatLinkInfo &>(obj));
6922 return true;
6923 case getBusinessChatLinks::ID:
6924 func(static_cast<getBusinessChatLinks &>(obj));
6925 return true;
6926 case getBusinessConnectedBot::ID:
6927 func(static_cast<getBusinessConnectedBot &>(obj));
6928 return true;
6929 case getBusinessConnection::ID:
6930 func(static_cast<getBusinessConnection &>(obj));
6931 return true;
6932 case getBusinessFeatures::ID:
6933 func(static_cast<getBusinessFeatures &>(obj));
6934 return true;
6935 case getCallbackQueryAnswer::ID:
6936 func(static_cast<getCallbackQueryAnswer &>(obj));
6937 return true;
6938 case getCallbackQueryMessage::ID:
6939 func(static_cast<getCallbackQueryMessage &>(obj));
6940 return true;
6941 case getChat::ID:
6942 func(static_cast<getChat &>(obj));
6943 return true;
6944 case getChatActiveStories::ID:
6945 func(static_cast<getChatActiveStories &>(obj));
6946 return true;
6947 case getChatAdministrators::ID:
6948 func(static_cast<getChatAdministrators &>(obj));
6949 return true;
6950 case getChatArchivedStories::ID:
6951 func(static_cast<getChatArchivedStories &>(obj));
6952 return true;
6953 case getChatAvailableMessageSenders::ID:
6954 func(static_cast<getChatAvailableMessageSenders &>(obj));
6955 return true;
6956 case getChatAvailablePaidMessageReactionSenders::ID:
6957 func(static_cast<getChatAvailablePaidMessageReactionSenders &>(obj));
6958 return true;
6959 case getChatBoostFeatures::ID:
6960 func(static_cast<getChatBoostFeatures &>(obj));
6961 return true;
6962 case getChatBoostLevelFeatures::ID:
6963 func(static_cast<getChatBoostLevelFeatures &>(obj));
6964 return true;
6965 case getChatBoostLink::ID:
6966 func(static_cast<getChatBoostLink &>(obj));
6967 return true;
6968 case getChatBoostLinkInfo::ID:
6969 func(static_cast<getChatBoostLinkInfo &>(obj));
6970 return true;
6971 case getChatBoostStatus::ID:
6972 func(static_cast<getChatBoostStatus &>(obj));
6973 return true;
6974 case getChatBoosts::ID:
6975 func(static_cast<getChatBoosts &>(obj));
6976 return true;
6977 case getChatEventLog::ID:
6978 func(static_cast<getChatEventLog &>(obj));
6979 return true;
6980 case getChatFolder::ID:
6981 func(static_cast<getChatFolder &>(obj));
6982 return true;
6983 case getChatFolderChatCount::ID:
6984 func(static_cast<getChatFolderChatCount &>(obj));
6985 return true;
6986 case getChatFolderChatsToLeave::ID:
6987 func(static_cast<getChatFolderChatsToLeave &>(obj));
6988 return true;
6989 case getChatFolderDefaultIconName::ID:
6990 func(static_cast<getChatFolderDefaultIconName &>(obj));
6991 return true;
6992 case getChatFolderInviteLinks::ID:
6993 func(static_cast<getChatFolderInviteLinks &>(obj));
6994 return true;
6995 case getChatFolderNewChats::ID:
6996 func(static_cast<getChatFolderNewChats &>(obj));
6997 return true;
6998 case getChatHistory::ID:
6999 func(static_cast<getChatHistory &>(obj));
7000 return true;
7001 case getChatInviteLink::ID:
7002 func(static_cast<getChatInviteLink &>(obj));
7003 return true;
7004 case getChatInviteLinkCounts::ID:
7005 func(static_cast<getChatInviteLinkCounts &>(obj));
7006 return true;
7007 case getChatInviteLinkMembers::ID:
7008 func(static_cast<getChatInviteLinkMembers &>(obj));
7009 return true;
7010 case getChatInviteLinks::ID:
7011 func(static_cast<getChatInviteLinks &>(obj));
7012 return true;
7013 case getChatJoinRequests::ID:
7014 func(static_cast<getChatJoinRequests &>(obj));
7015 return true;
7016 case getChatListsToAddChat::ID:
7017 func(static_cast<getChatListsToAddChat &>(obj));
7018 return true;
7019 case getChatMember::ID:
7020 func(static_cast<getChatMember &>(obj));
7021 return true;
7022 case getChatMessageByDate::ID:
7023 func(static_cast<getChatMessageByDate &>(obj));
7024 return true;
7025 case getChatMessageCalendar::ID:
7026 func(static_cast<getChatMessageCalendar &>(obj));
7027 return true;
7028 case getChatMessageCount::ID:
7029 func(static_cast<getChatMessageCount &>(obj));
7030 return true;
7031 case getChatMessagePosition::ID:
7032 func(static_cast<getChatMessagePosition &>(obj));
7033 return true;
7034 case getChatNotificationSettingsExceptions::ID:
7035 func(static_cast<getChatNotificationSettingsExceptions &>(obj));
7036 return true;
7037 case getChatOwnerAfterLeaving::ID:
7038 func(static_cast<getChatOwnerAfterLeaving &>(obj));
7039 return true;
7040 case getChatPinnedMessage::ID:
7041 func(static_cast<getChatPinnedMessage &>(obj));
7042 return true;
7043 case getChatPostedToChatPageStories::ID:
7044 func(static_cast<getChatPostedToChatPageStories &>(obj));
7045 return true;
7046 case getChatRevenueStatistics::ID:
7047 func(static_cast<getChatRevenueStatistics &>(obj));
7048 return true;
7049 case getChatRevenueTransactions::ID:
7050 func(static_cast<getChatRevenueTransactions &>(obj));
7051 return true;
7052 case getChatRevenueWithdrawalUrl::ID:
7053 func(static_cast<getChatRevenueWithdrawalUrl &>(obj));
7054 return true;
7055 case getChatScheduledMessages::ID:
7056 func(static_cast<getChatScheduledMessages &>(obj));
7057 return true;
7058 case getChatSimilarChatCount::ID:
7059 func(static_cast<getChatSimilarChatCount &>(obj));
7060 return true;
7061 case getChatSimilarChats::ID:
7062 func(static_cast<getChatSimilarChats &>(obj));
7063 return true;
7064 case getChatSparseMessagePositions::ID:
7065 func(static_cast<getChatSparseMessagePositions &>(obj));
7066 return true;
7067 case getChatSponsoredMessages::ID:
7068 func(static_cast<getChatSponsoredMessages &>(obj));
7069 return true;
7070 case getChatStatistics::ID:
7071 func(static_cast<getChatStatistics &>(obj));
7072 return true;
7073 case getChatStoryAlbums::ID:
7074 func(static_cast<getChatStoryAlbums &>(obj));
7075 return true;
7076 case getChatStoryInteractions::ID:
7077 func(static_cast<getChatStoryInteractions &>(obj));
7078 return true;
7079 case getChats::ID:
7080 func(static_cast<getChats &>(obj));
7081 return true;
7082 case getChatsForChatFolderInviteLink::ID:
7083 func(static_cast<getChatsForChatFolderInviteLink &>(obj));
7084 return true;
7085 case getChatsToPostStories::ID:
7086 func(static_cast<getChatsToPostStories &>(obj));
7087 return true;
7088 case getCloseFriends::ID:
7089 func(static_cast<getCloseFriends &>(obj));
7090 return true;
7091 case getCollectibleItemInfo::ID:
7092 func(static_cast<getCollectibleItemInfo &>(obj));
7093 return true;
7094 case getCommands::ID:
7095 func(static_cast<getCommands &>(obj));
7096 return true;
7097 case getConnectedAffiliateProgram::ID:
7098 func(static_cast<getConnectedAffiliateProgram &>(obj));
7099 return true;
7100 case getConnectedAffiliatePrograms::ID:
7101 func(static_cast<getConnectedAffiliatePrograms &>(obj));
7102 return true;
7103 case getConnectedWebsites::ID:
7104 func(static_cast<getConnectedWebsites &>(obj));
7105 return true;
7106 case getContacts::ID:
7107 func(static_cast<getContacts &>(obj));
7108 return true;
7109 case getCountries::ID:
7110 func(static_cast<getCountries &>(obj));
7111 return true;
7112 case getCountryCode::ID:
7113 func(static_cast<getCountryCode &>(obj));
7114 return true;
7115 case getCountryFlagEmoji::ID:
7116 func(static_cast<getCountryFlagEmoji &>(obj));
7117 return true;
7118 case getCreatedPublicChats::ID:
7119 func(static_cast<getCreatedPublicChats &>(obj));
7120 return true;
7121 case getCurrentState::ID:
7122 func(static_cast<getCurrentState &>(obj));
7123 return true;
7124 case getCurrentWeather::ID:
7125 func(static_cast<getCurrentWeather &>(obj));
7126 return true;
7127 case getCustomEmojiReactionAnimations::ID:
7128 func(static_cast<getCustomEmojiReactionAnimations &>(obj));
7129 return true;
7130 case getCustomEmojiStickers::ID:
7131 func(static_cast<getCustomEmojiStickers &>(obj));
7132 return true;
7133 case getDatabaseStatistics::ID:
7134 func(static_cast<getDatabaseStatistics &>(obj));
7135 return true;
7136 case getDeepLinkInfo::ID:
7137 func(static_cast<getDeepLinkInfo &>(obj));
7138 return true;
7139 case getDefaultBackgroundCustomEmojiStickers::ID:
7140 func(static_cast<getDefaultBackgroundCustomEmojiStickers &>(obj));
7141 return true;
7142 case getDefaultChatEmojiStatuses::ID:
7143 func(static_cast<getDefaultChatEmojiStatuses &>(obj));
7144 return true;
7145 case getDefaultChatPhotoCustomEmojiStickers::ID:
7146 func(static_cast<getDefaultChatPhotoCustomEmojiStickers &>(obj));
7147 return true;
7148 case getDefaultEmojiStatuses::ID:
7149 func(static_cast<getDefaultEmojiStatuses &>(obj));
7150 return true;
7151 case getDefaultMessageAutoDeleteTime::ID:
7152 func(static_cast<getDefaultMessageAutoDeleteTime &>(obj));
7153 return true;
7154 case getDefaultProfilePhotoCustomEmojiStickers::ID:
7155 func(static_cast<getDefaultProfilePhotoCustomEmojiStickers &>(obj));
7156 return true;
7157 case getDirectMessagesChatTopic::ID:
7158 func(static_cast<getDirectMessagesChatTopic &>(obj));
7159 return true;
7160 case getDirectMessagesChatTopicHistory::ID:
7161 func(static_cast<getDirectMessagesChatTopicHistory &>(obj));
7162 return true;
7163 case getDirectMessagesChatTopicMessageByDate::ID:
7164 func(static_cast<getDirectMessagesChatTopicMessageByDate &>(obj));
7165 return true;
7166 case getDirectMessagesChatTopicRevenue::ID:
7167 func(static_cast<getDirectMessagesChatTopicRevenue &>(obj));
7168 return true;
7169 case getDisallowedChatEmojiStatuses::ID:
7170 func(static_cast<getDisallowedChatEmojiStatuses &>(obj));
7171 return true;
7172 case getEmojiCategories::ID:
7173 func(static_cast<getEmojiCategories &>(obj));
7174 return true;
7175 case getEmojiReaction::ID:
7176 func(static_cast<getEmojiReaction &>(obj));
7177 return true;
7178 case getEmojiSuggestionsUrl::ID:
7179 func(static_cast<getEmojiSuggestionsUrl &>(obj));
7180 return true;
7181 case getExternalLink::ID:
7182 func(static_cast<getExternalLink &>(obj));
7183 return true;
7184 case getExternalLinkInfo::ID:
7185 func(static_cast<getExternalLinkInfo &>(obj));
7186 return true;
7187 case getFavoriteStickers::ID:
7188 func(static_cast<getFavoriteStickers &>(obj));
7189 return true;
7190 case getFile::ID:
7191 func(static_cast<getFile &>(obj));
7192 return true;
7193 case getFileDownloadedPrefixSize::ID:
7194 func(static_cast<getFileDownloadedPrefixSize &>(obj));
7195 return true;
7196 case getFileExtension::ID:
7197 func(static_cast<getFileExtension &>(obj));
7198 return true;
7199 case getFileMimeType::ID:
7200 func(static_cast<getFileMimeType &>(obj));
7201 return true;
7202 case getForumTopic::ID:
7203 func(static_cast<getForumTopic &>(obj));
7204 return true;
7205 case getForumTopicDefaultIcons::ID:
7206 func(static_cast<getForumTopicDefaultIcons &>(obj));
7207 return true;
7208 case getForumTopicHistory::ID:
7209 func(static_cast<getForumTopicHistory &>(obj));
7210 return true;
7211 case getForumTopicLink::ID:
7212 func(static_cast<getForumTopicLink &>(obj));
7213 return true;
7214 case getForumTopics::ID:
7215 func(static_cast<getForumTopics &>(obj));
7216 return true;
7217 case getGameHighScores::ID:
7218 func(static_cast<getGameHighScores &>(obj));
7219 return true;
7220 case getGiftAuctionAcquiredGifts::ID:
7221 func(static_cast<getGiftAuctionAcquiredGifts &>(obj));
7222 return true;
7223 case getGiftAuctionState::ID:
7224 func(static_cast<getGiftAuctionState &>(obj));
7225 return true;
7226 case getGiftChatThemes::ID:
7227 func(static_cast<getGiftChatThemes &>(obj));
7228 return true;
7229 case getGiftCollections::ID:
7230 func(static_cast<getGiftCollections &>(obj));
7231 return true;
7232 case getGiftUpgradePreview::ID:
7233 func(static_cast<getGiftUpgradePreview &>(obj));
7234 return true;
7235 case getGiftsForCrafting::ID:
7236 func(static_cast<getGiftsForCrafting &>(obj));
7237 return true;
7238 case getGiveawayInfo::ID:
7239 func(static_cast<getGiveawayInfo &>(obj));
7240 return true;
7241 case getGreetingStickers::ID:
7242 func(static_cast<getGreetingStickers &>(obj));
7243 return true;
7244 case getGrossingWebAppBots::ID:
7245 func(static_cast<getGrossingWebAppBots &>(obj));
7246 return true;
7247 case getGroupCall::ID:
7248 func(static_cast<getGroupCall &>(obj));
7249 return true;
7250 case getGroupCallParticipants::ID:
7251 func(static_cast<getGroupCallParticipants &>(obj));
7252 return true;
7253 case getGroupCallStreamSegment::ID:
7254 func(static_cast<getGroupCallStreamSegment &>(obj));
7255 return true;
7256 case getGroupCallStreams::ID:
7257 func(static_cast<getGroupCallStreams &>(obj));
7258 return true;
7259 case getGroupsInCommon::ID:
7260 func(static_cast<getGroupsInCommon &>(obj));
7261 return true;
7262 case getImportedContactCount::ID:
7263 func(static_cast<getImportedContactCount &>(obj));
7264 return true;
7265 case getInactiveSupergroupChats::ID:
7266 func(static_cast<getInactiveSupergroupChats &>(obj));
7267 return true;
7268 case getInlineGameHighScores::ID:
7269 func(static_cast<getInlineGameHighScores &>(obj));
7270 return true;
7271 case getInlineQueryResults::ID:
7272 func(static_cast<getInlineQueryResults &>(obj));
7273 return true;
7274 case getInstalledBackgrounds::ID:
7275 func(static_cast<getInstalledBackgrounds &>(obj));
7276 return true;
7277 case getInstalledStickerSets::ID:
7278 func(static_cast<getInstalledStickerSets &>(obj));
7279 return true;
7280 case getInternalLink::ID:
7281 func(static_cast<getInternalLink &>(obj));
7282 return true;
7283 case getInternalLinkType::ID:
7284 func(static_cast<getInternalLinkType &>(obj));
7285 return true;
7286 case getJsonString::ID:
7287 func(static_cast<getJsonString &>(obj));
7288 return true;
7289 case getJsonValue::ID:
7290 func(static_cast<getJsonValue &>(obj));
7291 return true;
7292 case getKeywordEmojis::ID:
7293 func(static_cast<getKeywordEmojis &>(obj));
7294 return true;
7295 case getLanguagePackInfo::ID:
7296 func(static_cast<getLanguagePackInfo &>(obj));
7297 return true;
7298 case getLanguagePackString::ID:
7299 func(static_cast<getLanguagePackString &>(obj));
7300 return true;
7301 case getLanguagePackStrings::ID:
7302 func(static_cast<getLanguagePackStrings &>(obj));
7303 return true;
7304 case getLinkPreview::ID:
7305 func(static_cast<getLinkPreview &>(obj));
7306 return true;
7307 case getLiveStoryAvailableMessageSenders::ID:
7308 func(static_cast<getLiveStoryAvailableMessageSenders &>(obj));
7309 return true;
7310 case getLiveStoryRtmpUrl::ID:
7311 func(static_cast<getLiveStoryRtmpUrl &>(obj));
7312 return true;
7313 case getLiveStoryStreamer::ID:
7314 func(static_cast<getLiveStoryStreamer &>(obj));
7315 return true;
7316 case getLiveStoryTopDonors::ID:
7317 func(static_cast<getLiveStoryTopDonors &>(obj));
7318 return true;
7319 case getLocalizationTargetInfo::ID:
7320 func(static_cast<getLocalizationTargetInfo &>(obj));
7321 return true;
7322 case getLogStream::ID:
7323 func(static_cast<getLogStream &>(obj));
7324 return true;
7325 case getLogTagVerbosityLevel::ID:
7326 func(static_cast<getLogTagVerbosityLevel &>(obj));
7327 return true;
7328 case getLogTags::ID:
7329 func(static_cast<getLogTags &>(obj));
7330 return true;
7331 case getLogVerbosityLevel::ID:
7332 func(static_cast<getLogVerbosityLevel &>(obj));
7333 return true;
7334 case getLoginPasskeys::ID:
7335 func(static_cast<getLoginPasskeys &>(obj));
7336 return true;
7337 case getLoginUrl::ID:
7338 func(static_cast<getLoginUrl &>(obj));
7339 return true;
7340 case getLoginUrlInfo::ID:
7341 func(static_cast<getLoginUrlInfo &>(obj));
7342 return true;
7343 case getMainWebApp::ID:
7344 func(static_cast<getMainWebApp &>(obj));
7345 return true;
7346 case getMapThumbnailFile::ID:
7347 func(static_cast<getMapThumbnailFile &>(obj));
7348 return true;
7349 case getMarkdownText::ID:
7350 func(static_cast<getMarkdownText &>(obj));
7351 return true;
7352 case getMe::ID:
7353 func(static_cast<getMe &>(obj));
7354 return true;
7355 case getMenuButton::ID:
7356 func(static_cast<getMenuButton &>(obj));
7357 return true;
7358 case getMessage::ID:
7359 func(static_cast<getMessage &>(obj));
7360 return true;
7361 case getMessageAddedReactions::ID:
7362 func(static_cast<getMessageAddedReactions &>(obj));
7363 return true;
7364 case getMessageAuthor::ID:
7365 func(static_cast<getMessageAuthor &>(obj));
7366 return true;
7367 case getMessageAvailableReactions::ID:
7368 func(static_cast<getMessageAvailableReactions &>(obj));
7369 return true;
7370 case getMessageEffect::ID:
7371 func(static_cast<getMessageEffect &>(obj));
7372 return true;
7373 case getMessageEmbeddingCode::ID:
7374 func(static_cast<getMessageEmbeddingCode &>(obj));
7375 return true;
7376 case getMessageFileType::ID:
7377 func(static_cast<getMessageFileType &>(obj));
7378 return true;
7379 case getMessageImportConfirmationText::ID:
7380 func(static_cast<getMessageImportConfirmationText &>(obj));
7381 return true;
7382 case getMessageLink::ID:
7383 func(static_cast<getMessageLink &>(obj));
7384 return true;
7385 case getMessageLinkInfo::ID:
7386 func(static_cast<getMessageLinkInfo &>(obj));
7387 return true;
7388 case getMessageLocally::ID:
7389 func(static_cast<getMessageLocally &>(obj));
7390 return true;
7391 case getMessageProperties::ID:
7392 func(static_cast<getMessageProperties &>(obj));
7393 return true;
7394 case getMessagePublicForwards::ID:
7395 func(static_cast<getMessagePublicForwards &>(obj));
7396 return true;
7397 case getMessageReadDate::ID:
7398 func(static_cast<getMessageReadDate &>(obj));
7399 return true;
7400 case getMessageStatistics::ID:
7401 func(static_cast<getMessageStatistics &>(obj));
7402 return true;
7403 case getMessageThread::ID:
7404 func(static_cast<getMessageThread &>(obj));
7405 return true;
7406 case getMessageThreadHistory::ID:
7407 func(static_cast<getMessageThreadHistory &>(obj));
7408 return true;
7409 case getMessageViewers::ID:
7410 func(static_cast<getMessageViewers &>(obj));
7411 return true;
7412 case getMessages::ID:
7413 func(static_cast<getMessages &>(obj));
7414 return true;
7415 case getNetworkStatistics::ID:
7416 func(static_cast<getNetworkStatistics &>(obj));
7417 return true;
7418 case getNewChatPrivacySettings::ID:
7419 func(static_cast<getNewChatPrivacySettings &>(obj));
7420 return true;
7421 case getOauthLinkInfo::ID:
7422 func(static_cast<getOauthLinkInfo &>(obj));
7423 return true;
7424 case getOption::ID:
7425 func(static_cast<getOption &>(obj));
7426 return true;
7427 case getOwnedBots::ID:
7428 func(static_cast<getOwnedBots &>(obj));
7429 return true;
7430 case getOwnedStickerSets::ID:
7431 func(static_cast<getOwnedStickerSets &>(obj));
7432 return true;
7433 case getPaidMessageRevenue::ID:
7434 func(static_cast<getPaidMessageRevenue &>(obj));
7435 return true;
7436 case getPasskeyParameters::ID:
7437 func(static_cast<getPasskeyParameters &>(obj));
7438 return true;
7439 case getPassportAuthorizationForm::ID:
7440 func(static_cast<getPassportAuthorizationForm &>(obj));
7441 return true;
7442 case getPassportAuthorizationFormAvailableElements::ID:
7443 func(static_cast<getPassportAuthorizationFormAvailableElements &>(obj));
7444 return true;
7445 case getPassportElement::ID:
7446 func(static_cast<getPassportElement &>(obj));
7447 return true;
7448 case getPasswordState::ID:
7449 func(static_cast<getPasswordState &>(obj));
7450 return true;
7451 case getPaymentForm::ID:
7452 func(static_cast<getPaymentForm &>(obj));
7453 return true;
7454 case getPaymentReceipt::ID:
7455 func(static_cast<getPaymentReceipt &>(obj));
7456 return true;
7457 case getPhoneNumberInfo::ID:
7458 func(static_cast<getPhoneNumberInfo &>(obj));
7459 return true;
7460 case getPhoneNumberInfoSync::ID:
7461 func(static_cast<getPhoneNumberInfoSync &>(obj));
7462 return true;
7463 case getPollOptionProperties::ID:
7464 func(static_cast<getPollOptionProperties &>(obj));
7465 return true;
7466 case getPollVoteStatistics::ID:
7467 func(static_cast<getPollVoteStatistics &>(obj));
7468 return true;
7469 case getPollVoters::ID:
7470 func(static_cast<getPollVoters &>(obj));
7471 return true;
7472 case getPreferredCountryLanguage::ID:
7473 func(static_cast<getPreferredCountryLanguage &>(obj));
7474 return true;
7475 case getPremiumFeatures::ID:
7476 func(static_cast<getPremiumFeatures &>(obj));
7477 return true;
7478 case getPremiumGiftPaymentOptions::ID:
7479 func(static_cast<getPremiumGiftPaymentOptions &>(obj));
7480 return true;
7481 case getPremiumGiveawayPaymentOptions::ID:
7482 func(static_cast<getPremiumGiveawayPaymentOptions &>(obj));
7483 return true;
7484 case getPremiumInfoSticker::ID:
7485 func(static_cast<getPremiumInfoSticker &>(obj));
7486 return true;
7487 case getPremiumLimit::ID:
7488 func(static_cast<getPremiumLimit &>(obj));
7489 return true;
7490 case getPremiumState::ID:
7491 func(static_cast<getPremiumState &>(obj));
7492 return true;
7493 case getPremiumStickerExamples::ID:
7494 func(static_cast<getPremiumStickerExamples &>(obj));
7495 return true;
7496 case getPremiumStickers::ID:
7497 func(static_cast<getPremiumStickers &>(obj));
7498 return true;
7499 case getPreparedInlineMessage::ID:
7500 func(static_cast<getPreparedInlineMessage &>(obj));
7501 return true;
7502 case getPreparedKeyboardButton::ID:
7503 func(static_cast<getPreparedKeyboardButton &>(obj));
7504 return true;
7505 case getProxies::ID:
7506 func(static_cast<getProxies &>(obj));
7507 return true;
7508 case getPublicPostSearchLimits::ID:
7509 func(static_cast<getPublicPostSearchLimits &>(obj));
7510 return true;
7511 case getPushReceiverId::ID:
7512 func(static_cast<getPushReceiverId &>(obj));
7513 return true;
7514 case getReadDatePrivacySettings::ID:
7515 func(static_cast<getReadDatePrivacySettings &>(obj));
7516 return true;
7517 case getReceivedGift::ID:
7518 func(static_cast<getReceivedGift &>(obj));
7519 return true;
7520 case getReceivedGifts::ID:
7521 func(static_cast<getReceivedGifts &>(obj));
7522 return true;
7523 case getRecentEmojiStatuses::ID:
7524 func(static_cast<getRecentEmojiStatuses &>(obj));
7525 return true;
7526 case getRecentInlineBots::ID:
7527 func(static_cast<getRecentInlineBots &>(obj));
7528 return true;
7529 case getRecentStickers::ID:
7530 func(static_cast<getRecentStickers &>(obj));
7531 return true;
7532 case getRecentlyOpenedChats::ID:
7533 func(static_cast<getRecentlyOpenedChats &>(obj));
7534 return true;
7535 case getRecentlyVisitedTMeUrls::ID:
7536 func(static_cast<getRecentlyVisitedTMeUrls &>(obj));
7537 return true;
7538 case getRecommendedChatFolders::ID:
7539 func(static_cast<getRecommendedChatFolders &>(obj));
7540 return true;
7541 case getRecommendedChats::ID:
7542 func(static_cast<getRecommendedChats &>(obj));
7543 return true;
7544 case getRecoveryEmailAddress::ID:
7545 func(static_cast<getRecoveryEmailAddress &>(obj));
7546 return true;
7547 case getRemoteFile::ID:
7548 func(static_cast<getRemoteFile &>(obj));
7549 return true;
7550 case getRepliedMessage::ID:
7551 func(static_cast<getRepliedMessage &>(obj));
7552 return true;
7553 case getSavedAnimations::ID:
7554 func(static_cast<getSavedAnimations &>(obj));
7555 return true;
7556 case getSavedMessagesTags::ID:
7557 func(static_cast<getSavedMessagesTags &>(obj));
7558 return true;
7559 case getSavedMessagesTopicHistory::ID:
7560 func(static_cast<getSavedMessagesTopicHistory &>(obj));
7561 return true;
7562 case getSavedMessagesTopicMessageByDate::ID:
7563 func(static_cast<getSavedMessagesTopicMessageByDate &>(obj));
7564 return true;
7565 case getSavedNotificationSound::ID:
7566 func(static_cast<getSavedNotificationSound &>(obj));
7567 return true;
7568 case getSavedNotificationSounds::ID:
7569 func(static_cast<getSavedNotificationSounds &>(obj));
7570 return true;
7571 case getSavedOrderInfo::ID:
7572 func(static_cast<getSavedOrderInfo &>(obj));
7573 return true;
7574 case getScopeNotificationSettings::ID:
7575 func(static_cast<getScopeNotificationSettings &>(obj));
7576 return true;
7577 case getSearchSponsoredChats::ID:
7578 func(static_cast<getSearchSponsoredChats &>(obj));
7579 return true;
7580 case getSearchedForTags::ID:
7581 func(static_cast<getSearchedForTags &>(obj));
7582 return true;
7583 case getSecretChat::ID:
7584 func(static_cast<getSecretChat &>(obj));
7585 return true;
7586 case getStakeDiceState::ID:
7587 func(static_cast<getStakeDiceState &>(obj));
7588 return true;
7589 case getStarAdAccountUrl::ID:
7590 func(static_cast<getStarAdAccountUrl &>(obj));
7591 return true;
7592 case getStarGiftPaymentOptions::ID:
7593 func(static_cast<getStarGiftPaymentOptions &>(obj));
7594 return true;
7595 case getStarGiveawayPaymentOptions::ID:
7596 func(static_cast<getStarGiveawayPaymentOptions &>(obj));
7597 return true;
7598 case getStarPaymentOptions::ID:
7599 func(static_cast<getStarPaymentOptions &>(obj));
7600 return true;
7601 case getStarRevenueStatistics::ID:
7602 func(static_cast<getStarRevenueStatistics &>(obj));
7603 return true;
7604 case getStarSubscriptions::ID:
7605 func(static_cast<getStarSubscriptions &>(obj));
7606 return true;
7607 case getStarTransactions::ID:
7608 func(static_cast<getStarTransactions &>(obj));
7609 return true;
7610 case getStarWithdrawalUrl::ID:
7611 func(static_cast<getStarWithdrawalUrl &>(obj));
7612 return true;
7613 case getStatisticalGraph::ID:
7614 func(static_cast<getStatisticalGraph &>(obj));
7615 return true;
7616 case getStickerEmojis::ID:
7617 func(static_cast<getStickerEmojis &>(obj));
7618 return true;
7619 case getStickerOutline::ID:
7620 func(static_cast<getStickerOutline &>(obj));
7621 return true;
7622 case getStickerOutlineSvgPath::ID:
7623 func(static_cast<getStickerOutlineSvgPath &>(obj));
7624 return true;
7625 case getStickerSet::ID:
7626 func(static_cast<getStickerSet &>(obj));
7627 return true;
7628 case getStickerSetName::ID:
7629 func(static_cast<getStickerSetName &>(obj));
7630 return true;
7631 case getStickers::ID:
7632 func(static_cast<getStickers &>(obj));
7633 return true;
7634 case getStorageStatistics::ID:
7635 func(static_cast<getStorageStatistics &>(obj));
7636 return true;
7637 case getStorageStatisticsFast::ID:
7638 func(static_cast<getStorageStatisticsFast &>(obj));
7639 return true;
7640 case getStory::ID:
7641 func(static_cast<getStory &>(obj));
7642 return true;
7643 case getStoryAlbumStories::ID:
7644 func(static_cast<getStoryAlbumStories &>(obj));
7645 return true;
7646 case getStoryAvailableReactions::ID:
7647 func(static_cast<getStoryAvailableReactions &>(obj));
7648 return true;
7649 case getStoryInteractions::ID:
7650 func(static_cast<getStoryInteractions &>(obj));
7651 return true;
7652 case getStoryNotificationSettingsExceptions::ID:
7653 func(static_cast<getStoryNotificationSettingsExceptions &>(obj));
7654 return true;
7655 case getStoryPublicForwards::ID:
7656 func(static_cast<getStoryPublicForwards &>(obj));
7657 return true;
7658 case getStoryStatistics::ID:
7659 func(static_cast<getStoryStatistics &>(obj));
7660 return true;
7661 case getSuggestedFileName::ID:
7662 func(static_cast<getSuggestedFileName &>(obj));
7663 return true;
7664 case getSuggestedStickerSetName::ID:
7665 func(static_cast<getSuggestedStickerSetName &>(obj));
7666 return true;
7667 case getSuitableDiscussionChats::ID:
7668 func(static_cast<getSuitableDiscussionChats &>(obj));
7669 return true;
7670 case getSuitablePersonalChats::ID:
7671 func(static_cast<getSuitablePersonalChats &>(obj));
7672 return true;
7673 case getSupergroup::ID:
7674 func(static_cast<getSupergroup &>(obj));
7675 return true;
7676 case getSupergroupFullInfo::ID:
7677 func(static_cast<getSupergroupFullInfo &>(obj));
7678 return true;
7679 case getSupergroupMembers::ID:
7680 func(static_cast<getSupergroupMembers &>(obj));
7681 return true;
7682 case getSupportName::ID:
7683 func(static_cast<getSupportName &>(obj));
7684 return true;
7685 case getSupportUser::ID:
7686 func(static_cast<getSupportUser &>(obj));
7687 return true;
7688 case getTemporaryPasswordState::ID:
7689 func(static_cast<getTemporaryPasswordState &>(obj));
7690 return true;
7691 case getTextEntities::ID:
7692 func(static_cast<getTextEntities &>(obj));
7693 return true;
7694 case getThemeParametersJsonString::ID:
7695 func(static_cast<getThemeParametersJsonString &>(obj));
7696 return true;
7697 case getThemedChatEmojiStatuses::ID:
7698 func(static_cast<getThemedChatEmojiStatuses &>(obj));
7699 return true;
7700 case getThemedEmojiStatuses::ID:
7701 func(static_cast<getThemedEmojiStatuses &>(obj));
7702 return true;
7703 case getTimeZones::ID:
7704 func(static_cast<getTimeZones &>(obj));
7705 return true;
7706 case getTonRevenueStatistics::ID:
7707 func(static_cast<getTonRevenueStatistics &>(obj));
7708 return true;
7709 case getTonTransactions::ID:
7710 func(static_cast<getTonTransactions &>(obj));
7711 return true;
7712 case getTonWithdrawalUrl::ID:
7713 func(static_cast<getTonWithdrawalUrl &>(obj));
7714 return true;
7715 case getTopChats::ID:
7716 func(static_cast<getTopChats &>(obj));
7717 return true;
7718 case getTrendingStickerSets::ID:
7719 func(static_cast<getTrendingStickerSets &>(obj));
7720 return true;
7721 case getUpgradedGift::ID:
7722 func(static_cast<getUpgradedGift &>(obj));
7723 return true;
7724 case getUpgradedGiftEmojiStatuses::ID:
7725 func(static_cast<getUpgradedGiftEmojiStatuses &>(obj));
7726 return true;
7727 case getUpgradedGiftValueInfo::ID:
7728 func(static_cast<getUpgradedGiftValueInfo &>(obj));
7729 return true;
7730 case getUpgradedGiftVariants::ID:
7731 func(static_cast<getUpgradedGiftVariants &>(obj));
7732 return true;
7733 case getUpgradedGiftWithdrawalUrl::ID:
7734 func(static_cast<getUpgradedGiftWithdrawalUrl &>(obj));
7735 return true;
7736 case getUpgradedGiftsPromotionalAnimation::ID:
7737 func(static_cast<getUpgradedGiftsPromotionalAnimation &>(obj));
7738 return true;
7739 case getUser::ID:
7740 func(static_cast<getUser &>(obj));
7741 return true;
7742 case getUserChatBoosts::ID:
7743 func(static_cast<getUserChatBoosts &>(obj));
7744 return true;
7745 case getUserFullInfo::ID:
7746 func(static_cast<getUserFullInfo &>(obj));
7747 return true;
7748 case getUserLink::ID:
7749 func(static_cast<getUserLink &>(obj));
7750 return true;
7751 case getUserPrivacySettingRules::ID:
7752 func(static_cast<getUserPrivacySettingRules &>(obj));
7753 return true;
7754 case getUserProfileAudios::ID:
7755 func(static_cast<getUserProfileAudios &>(obj));
7756 return true;
7757 case getUserProfilePhotos::ID:
7758 func(static_cast<getUserProfilePhotos &>(obj));
7759 return true;
7760 case getUserSupportInfo::ID:
7761 func(static_cast<getUserSupportInfo &>(obj));
7762 return true;
7763 case getVideoChatAvailableParticipants::ID:
7764 func(static_cast<getVideoChatAvailableParticipants &>(obj));
7765 return true;
7766 case getVideoChatInviteLink::ID:
7767 func(static_cast<getVideoChatInviteLink &>(obj));
7768 return true;
7769 case getVideoChatRtmpUrl::ID:
7770 func(static_cast<getVideoChatRtmpUrl &>(obj));
7771 return true;
7772 case getVideoMessageAdvertisements::ID:
7773 func(static_cast<getVideoMessageAdvertisements &>(obj));
7774 return true;
7775 case getWebAppLinkUrl::ID:
7776 func(static_cast<getWebAppLinkUrl &>(obj));
7777 return true;
7778 case getWebAppPlaceholder::ID:
7779 func(static_cast<getWebAppPlaceholder &>(obj));
7780 return true;
7781 case getWebAppUrl::ID:
7782 func(static_cast<getWebAppUrl &>(obj));
7783 return true;
7784 case getWebPageInstantView::ID:
7785 func(static_cast<getWebPageInstantView &>(obj));
7786 return true;
7787 case giftPremiumWithStars::ID:
7788 func(static_cast<giftPremiumWithStars &>(obj));
7789 return true;
7790 case hideContactCloseBirthdays::ID:
7791 func(static_cast<hideContactCloseBirthdays &>(obj));
7792 return true;
7793 case hideSuggestedAction::ID:
7794 func(static_cast<hideSuggestedAction &>(obj));
7795 return true;
7796 case importContacts::ID:
7797 func(static_cast<importContacts &>(obj));
7798 return true;
7799 case importMessages::ID:
7800 func(static_cast<importMessages &>(obj));
7801 return true;
7802 case increaseGiftAuctionBid::ID:
7803 func(static_cast<increaseGiftAuctionBid &>(obj));
7804 return true;
7805 case inviteGroupCallParticipant::ID:
7806 func(static_cast<inviteGroupCallParticipant &>(obj));
7807 return true;
7808 case inviteVideoChatParticipants::ID:
7809 func(static_cast<inviteVideoChatParticipants &>(obj));
7810 return true;
7811 case isLoginEmailAddressRequired::ID:
7812 func(static_cast<isLoginEmailAddressRequired &>(obj));
7813 return true;
7814 case isProfileAudio::ID:
7815 func(static_cast<isProfileAudio &>(obj));
7816 return true;
7817 case joinChat::ID:
7818 func(static_cast<joinChat &>(obj));
7819 return true;
7820 case joinChatByInviteLink::ID:
7821 func(static_cast<joinChatByInviteLink &>(obj));
7822 return true;
7823 case joinGroupCall::ID:
7824 func(static_cast<joinGroupCall &>(obj));
7825 return true;
7826 case joinLiveStory::ID:
7827 func(static_cast<joinLiveStory &>(obj));
7828 return true;
7829 case joinVideoChat::ID:
7830 func(static_cast<joinVideoChat &>(obj));
7831 return true;
7832 case launchPrepaidGiveaway::ID:
7833 func(static_cast<launchPrepaidGiveaway &>(obj));
7834 return true;
7835 case leaveChat::ID:
7836 func(static_cast<leaveChat &>(obj));
7837 return true;
7838 case leaveGroupCall::ID:
7839 func(static_cast<leaveGroupCall &>(obj));
7840 return true;
7841 case listenToAudio::ID:
7842 func(static_cast<listenToAudio &>(obj));
7843 return true;
7844 case loadActiveStories::ID:
7845 func(static_cast<loadActiveStories &>(obj));
7846 return true;
7847 case loadChats::ID:
7848 func(static_cast<loadChats &>(obj));
7849 return true;
7850 case loadDirectMessagesChatTopics::ID:
7851 func(static_cast<loadDirectMessagesChatTopics &>(obj));
7852 return true;
7853 case loadGroupCallParticipants::ID:
7854 func(static_cast<loadGroupCallParticipants &>(obj));
7855 return true;
7856 case loadQuickReplyShortcutMessages::ID:
7857 func(static_cast<loadQuickReplyShortcutMessages &>(obj));
7858 return true;
7859 case loadQuickReplyShortcuts::ID:
7860 func(static_cast<loadQuickReplyShortcuts &>(obj));
7861 return true;
7862 case loadSavedMessagesTopics::ID:
7863 func(static_cast<loadSavedMessagesTopics &>(obj));
7864 return true;
7865 case logOut::ID:
7866 func(static_cast<logOut &>(obj));
7867 return true;
7868 case markChecklistTasksAsDone::ID:
7869 func(static_cast<markChecklistTasksAsDone &>(obj));
7870 return true;
7871 case openBotSimilarBot::ID:
7872 func(static_cast<openBotSimilarBot &>(obj));
7873 return true;
7874 case openChat::ID:
7875 func(static_cast<openChat &>(obj));
7876 return true;
7877 case openChatSimilarChat::ID:
7878 func(static_cast<openChatSimilarChat &>(obj));
7879 return true;
7880 case openGiftAuction::ID:
7881 func(static_cast<openGiftAuction &>(obj));
7882 return true;
7883 case openMessageContent::ID:
7884 func(static_cast<openMessageContent &>(obj));
7885 return true;
7886 case openSponsoredChat::ID:
7887 func(static_cast<openSponsoredChat &>(obj));
7888 return true;
7889 case openStory::ID:
7890 func(static_cast<openStory &>(obj));
7891 return true;
7892 case openWebApp::ID:
7893 func(static_cast<openWebApp &>(obj));
7894 return true;
7895 case optimizeStorage::ID:
7896 func(static_cast<optimizeStorage &>(obj));
7897 return true;
7898 case parseMarkdown::ID:
7899 func(static_cast<parseMarkdown &>(obj));
7900 return true;
7901 case parseTextEntities::ID:
7902 func(static_cast<parseTextEntities &>(obj));
7903 return true;
7904 case pinChatMessage::ID:
7905 func(static_cast<pinChatMessage &>(obj));
7906 return true;
7907 case pingProxy::ID:
7908 func(static_cast<pingProxy &>(obj));
7909 return true;
7910 case placeGiftAuctionBid::ID:
7911 func(static_cast<placeGiftAuctionBid &>(obj));
7912 return true;
7913 case postStory::ID:
7914 func(static_cast<postStory &>(obj));
7915 return true;
7916 case preliminaryUploadFile::ID:
7917 func(static_cast<preliminaryUploadFile &>(obj));
7918 return true;
7919 case processChatFolderNewChats::ID:
7920 func(static_cast<processChatFolderNewChats &>(obj));
7921 return true;
7922 case processChatHasProtectedContentDisableRequest::ID:
7923 func(static_cast<processChatHasProtectedContentDisableRequest &>(obj));
7924 return true;
7925 case processChatJoinRequest::ID:
7926 func(static_cast<processChatJoinRequest &>(obj));
7927 return true;
7928 case processChatJoinRequests::ID:
7929 func(static_cast<processChatJoinRequests &>(obj));
7930 return true;
7931 case processGiftPurchaseOffer::ID:
7932 func(static_cast<processGiftPurchaseOffer &>(obj));
7933 return true;
7934 case processPushNotification::ID:
7935 func(static_cast<processPushNotification &>(obj));
7936 return true;
7937 case rateSpeechRecognition::ID:
7938 func(static_cast<rateSpeechRecognition &>(obj));
7939 return true;
7940 case readAllChatMentions::ID:
7941 func(static_cast<readAllChatMentions &>(obj));
7942 return true;
7943 case readAllChatPollVotes::ID:
7944 func(static_cast<readAllChatPollVotes &>(obj));
7945 return true;
7946 case readAllChatReactions::ID:
7947 func(static_cast<readAllChatReactions &>(obj));
7948 return true;
7949 case readAllDirectMessagesChatTopicReactions::ID:
7950 func(static_cast<readAllDirectMessagesChatTopicReactions &>(obj));
7951 return true;
7952 case readAllForumTopicMentions::ID:
7953 func(static_cast<readAllForumTopicMentions &>(obj));
7954 return true;
7955 case readAllForumTopicPollVotes::ID:
7956 func(static_cast<readAllForumTopicPollVotes &>(obj));
7957 return true;
7958 case readAllForumTopicReactions::ID:
7959 func(static_cast<readAllForumTopicReactions &>(obj));
7960 return true;
7961 case readBusinessMessage::ID:
7962 func(static_cast<readBusinessMessage &>(obj));
7963 return true;
7964 case readChatList::ID:
7965 func(static_cast<readChatList &>(obj));
7966 return true;
7967 case readFilePart::ID:
7968 func(static_cast<readFilePart &>(obj));
7969 return true;
7970 case readdQuickReplyShortcutMessages::ID:
7971 func(static_cast<readdQuickReplyShortcutMessages &>(obj));
7972 return true;
7973 case recognizeSpeech::ID:
7974 func(static_cast<recognizeSpeech &>(obj));
7975 return true;
7976 case recoverAuthenticationPassword::ID:
7977 func(static_cast<recoverAuthenticationPassword &>(obj));
7978 return true;
7979 case recoverPassword::ID:
7980 func(static_cast<recoverPassword &>(obj));
7981 return true;
7982 case refundStarPayment::ID:
7983 func(static_cast<refundStarPayment &>(obj));
7984 return true;
7985 case registerDevice::ID:
7986 func(static_cast<registerDevice &>(obj));
7987 return true;
7988 case registerUser::ID:
7989 func(static_cast<registerUser &>(obj));
7990 return true;
7991 case removeAllFilesFromDownloads::ID:
7992 func(static_cast<removeAllFilesFromDownloads &>(obj));
7993 return true;
7994 case removeBusinessConnectedBotFromChat::ID:
7995 func(static_cast<removeBusinessConnectedBotFromChat &>(obj));
7996 return true;
7997 case removeChatActionBar::ID:
7998 func(static_cast<removeChatActionBar &>(obj));
7999 return true;
8000 case removeContacts::ID:
8001 func(static_cast<removeContacts &>(obj));
8002 return true;
8003 case removeFavoriteSticker::ID:
8004 func(static_cast<removeFavoriteSticker &>(obj));
8005 return true;
8006 case removeFileFromDownloads::ID:
8007 func(static_cast<removeFileFromDownloads &>(obj));
8008 return true;
8009 case removeGiftCollectionGifts::ID:
8010 func(static_cast<removeGiftCollectionGifts &>(obj));
8011 return true;
8012 case removeInstalledBackground::ID:
8013 func(static_cast<removeInstalledBackground &>(obj));
8014 return true;
8015 case removeLoginPasskey::ID:
8016 func(static_cast<removeLoginPasskey &>(obj));
8017 return true;
8018 case removeMessageReaction::ID:
8019 func(static_cast<removeMessageReaction &>(obj));
8020 return true;
8021 case removeMessageSenderBotVerification::ID:
8022 func(static_cast<removeMessageSenderBotVerification &>(obj));
8023 return true;
8024 case removeNotification::ID:
8025 func(static_cast<removeNotification &>(obj));
8026 return true;
8027 case removeNotificationGroup::ID:
8028 func(static_cast<removeNotificationGroup &>(obj));
8029 return true;
8030 case removePendingLiveStoryReactions::ID:
8031 func(static_cast<removePendingLiveStoryReactions &>(obj));
8032 return true;
8033 case removePendingPaidMessageReactions::ID:
8034 func(static_cast<removePendingPaidMessageReactions &>(obj));
8035 return true;
8036 case removeProfileAudio::ID:
8037 func(static_cast<removeProfileAudio &>(obj));
8038 return true;
8039 case removeProxy::ID:
8040 func(static_cast<removeProxy &>(obj));
8041 return true;
8042 case removeRecentHashtag::ID:
8043 func(static_cast<removeRecentHashtag &>(obj));
8044 return true;
8045 case removeRecentSticker::ID:
8046 func(static_cast<removeRecentSticker &>(obj));
8047 return true;
8048 case removeRecentlyFoundChat::ID:
8049 func(static_cast<removeRecentlyFoundChat &>(obj));
8050 return true;
8051 case removeSavedAnimation::ID:
8052 func(static_cast<removeSavedAnimation &>(obj));
8053 return true;
8054 case removeSavedNotificationSound::ID:
8055 func(static_cast<removeSavedNotificationSound &>(obj));
8056 return true;
8057 case removeSearchedForTag::ID:
8058 func(static_cast<removeSearchedForTag &>(obj));
8059 return true;
8060 case removeStickerFromSet::ID:
8061 func(static_cast<removeStickerFromSet &>(obj));
8062 return true;
8063 case removeStoryAlbumStories::ID:
8064 func(static_cast<removeStoryAlbumStories &>(obj));
8065 return true;
8066 case removeTopChat::ID:
8067 func(static_cast<removeTopChat &>(obj));
8068 return true;
8069 case reorderActiveUsernames::ID:
8070 func(static_cast<reorderActiveUsernames &>(obj));
8071 return true;
8072 case reorderBotActiveUsernames::ID:
8073 func(static_cast<reorderBotActiveUsernames &>(obj));
8074 return true;
8075 case reorderBotMediaPreviews::ID:
8076 func(static_cast<reorderBotMediaPreviews &>(obj));
8077 return true;
8078 case reorderChatFolders::ID:
8079 func(static_cast<reorderChatFolders &>(obj));
8080 return true;
8081 case reorderGiftCollectionGifts::ID:
8082 func(static_cast<reorderGiftCollectionGifts &>(obj));
8083 return true;
8084 case reorderGiftCollections::ID:
8085 func(static_cast<reorderGiftCollections &>(obj));
8086 return true;
8087 case reorderInstalledStickerSets::ID:
8088 func(static_cast<reorderInstalledStickerSets &>(obj));
8089 return true;
8090 case reorderQuickReplyShortcuts::ID:
8091 func(static_cast<reorderQuickReplyShortcuts &>(obj));
8092 return true;
8093 case reorderStoryAlbumStories::ID:
8094 func(static_cast<reorderStoryAlbumStories &>(obj));
8095 return true;
8096 case reorderStoryAlbums::ID:
8097 func(static_cast<reorderStoryAlbums &>(obj));
8098 return true;
8099 case reorderSupergroupActiveUsernames::ID:
8100 func(static_cast<reorderSupergroupActiveUsernames &>(obj));
8101 return true;
8102 case replaceLiveStoryRtmpUrl::ID:
8103 func(static_cast<replaceLiveStoryRtmpUrl &>(obj));
8104 return true;
8105 case replacePrimaryChatInviteLink::ID:
8106 func(static_cast<replacePrimaryChatInviteLink &>(obj));
8107 return true;
8108 case replaceStickerInSet::ID:
8109 func(static_cast<replaceStickerInSet &>(obj));
8110 return true;
8111 case replaceVideoChatRtmpUrl::ID:
8112 func(static_cast<replaceVideoChatRtmpUrl &>(obj));
8113 return true;
8114 case reportAuthenticationCodeMissing::ID:
8115 func(static_cast<reportAuthenticationCodeMissing &>(obj));
8116 return true;
8117 case reportChat::ID:
8118 func(static_cast<reportChat &>(obj));
8119 return true;
8120 case reportChatPhoto::ID:
8121 func(static_cast<reportChatPhoto &>(obj));
8122 return true;
8123 case reportChatSponsoredMessage::ID:
8124 func(static_cast<reportChatSponsoredMessage &>(obj));
8125 return true;
8126 case reportMessageReactions::ID:
8127 func(static_cast<reportMessageReactions &>(obj));
8128 return true;
8129 case reportPhoneNumberCodeMissing::ID:
8130 func(static_cast<reportPhoneNumberCodeMissing &>(obj));
8131 return true;
8132 case reportSponsoredChat::ID:
8133 func(static_cast<reportSponsoredChat &>(obj));
8134 return true;
8135 case reportStory::ID:
8136 func(static_cast<reportStory &>(obj));
8137 return true;
8138 case reportSupergroupAntiSpamFalsePositive::ID:
8139 func(static_cast<reportSupergroupAntiSpamFalsePositive &>(obj));
8140 return true;
8141 case reportSupergroupSpam::ID:
8142 func(static_cast<reportSupergroupSpam &>(obj));
8143 return true;
8144 case reportVideoMessageAdvertisement::ID:
8145 func(static_cast<reportVideoMessageAdvertisement &>(obj));
8146 return true;
8147 case requestAuthenticationPasswordRecovery::ID:
8148 func(static_cast<requestAuthenticationPasswordRecovery &>(obj));
8149 return true;
8150 case requestPasswordRecovery::ID:
8151 func(static_cast<requestPasswordRecovery &>(obj));
8152 return true;
8153 case requestQrCodeAuthentication::ID:
8154 func(static_cast<requestQrCodeAuthentication &>(obj));
8155 return true;
8156 case resendAuthenticationCode::ID:
8157 func(static_cast<resendAuthenticationCode &>(obj));
8158 return true;
8159 case resendEmailAddressVerificationCode::ID:
8160 func(static_cast<resendEmailAddressVerificationCode &>(obj));
8161 return true;
8162 case resendLoginEmailAddressCode::ID:
8163 func(static_cast<resendLoginEmailAddressCode &>(obj));
8164 return true;
8165 case resendMessages::ID:
8166 func(static_cast<resendMessages &>(obj));
8167 return true;
8168 case resendPhoneNumberCode::ID:
8169 func(static_cast<resendPhoneNumberCode &>(obj));
8170 return true;
8171 case resendRecoveryEmailAddressCode::ID:
8172 func(static_cast<resendRecoveryEmailAddressCode &>(obj));
8173 return true;
8174 case resetAllNotificationSettings::ID:
8175 func(static_cast<resetAllNotificationSettings &>(obj));
8176 return true;
8177 case resetAuthenticationEmailAddress::ID:
8178 func(static_cast<resetAuthenticationEmailAddress &>(obj));
8179 return true;
8180 case resetInstalledBackgrounds::ID:
8181 func(static_cast<resetInstalledBackgrounds &>(obj));
8182 return true;
8183 case resetNetworkStatistics::ID:
8184 func(static_cast<resetNetworkStatistics &>(obj));
8185 return true;
8186 case resetPassword::ID:
8187 func(static_cast<resetPassword &>(obj));
8188 return true;
8189 case reuseStarSubscription::ID:
8190 func(static_cast<reuseStarSubscription &>(obj));
8191 return true;
8192 case revokeChatInviteLink::ID:
8193 func(static_cast<revokeChatInviteLink &>(obj));
8194 return true;
8195 case revokeGroupCallInviteLink::ID:
8196 func(static_cast<revokeGroupCallInviteLink &>(obj));
8197 return true;
8198 case saveApplicationLogEvent::ID:
8199 func(static_cast<saveApplicationLogEvent &>(obj));
8200 return true;
8201 case savePreparedInlineMessage::ID:
8202 func(static_cast<savePreparedInlineMessage &>(obj));
8203 return true;
8204 case savePreparedKeyboardButton::ID:
8205 func(static_cast<savePreparedKeyboardButton &>(obj));
8206 return true;
8207 case searchAffiliatePrograms::ID:
8208 func(static_cast<searchAffiliatePrograms &>(obj));
8209 return true;
8210 case searchBackground::ID:
8211 func(static_cast<searchBackground &>(obj));
8212 return true;
8213 case searchCallMessages::ID:
8214 func(static_cast<searchCallMessages &>(obj));
8215 return true;
8216 case searchChatAffiliateProgram::ID:
8217 func(static_cast<searchChatAffiliateProgram &>(obj));
8218 return true;
8219 case searchChatMembers::ID:
8220 func(static_cast<searchChatMembers &>(obj));
8221 return true;
8222 case searchChatMessages::ID:
8223 func(static_cast<searchChatMessages &>(obj));
8224 return true;
8225 case searchChatRecentLocationMessages::ID:
8226 func(static_cast<searchChatRecentLocationMessages &>(obj));
8227 return true;
8228 case searchChats::ID:
8229 func(static_cast<searchChats &>(obj));
8230 return true;
8231 case searchChatsOnServer::ID:
8232 func(static_cast<searchChatsOnServer &>(obj));
8233 return true;
8234 case searchContacts::ID:
8235 func(static_cast<searchContacts &>(obj));
8236 return true;
8237 case searchEmojis::ID:
8238 func(static_cast<searchEmojis &>(obj));
8239 return true;
8240 case searchFileDownloads::ID:
8241 func(static_cast<searchFileDownloads &>(obj));
8242 return true;
8243 case searchGiftsForResale::ID:
8244 func(static_cast<searchGiftsForResale &>(obj));
8245 return true;
8246 case searchHashtags::ID:
8247 func(static_cast<searchHashtags &>(obj));
8248 return true;
8249 case searchInstalledStickerSets::ID:
8250 func(static_cast<searchInstalledStickerSets &>(obj));
8251 return true;
8252 case searchMessages::ID:
8253 func(static_cast<searchMessages &>(obj));
8254 return true;
8255 case searchOutgoingDocumentMessages::ID:
8256 func(static_cast<searchOutgoingDocumentMessages &>(obj));
8257 return true;
8258 case searchPublicChat::ID:
8259 func(static_cast<searchPublicChat &>(obj));
8260 return true;
8261 case searchPublicChats::ID:
8262 func(static_cast<searchPublicChats &>(obj));
8263 return true;
8264 case searchPublicMessagesByTag::ID:
8265 func(static_cast<searchPublicMessagesByTag &>(obj));
8266 return true;
8267 case searchPublicPosts::ID:
8268 func(static_cast<searchPublicPosts &>(obj));
8269 return true;
8270 case searchPublicStoriesByLocation::ID:
8271 func(static_cast<searchPublicStoriesByLocation &>(obj));
8272 return true;
8273 case searchPublicStoriesByTag::ID:
8274 func(static_cast<searchPublicStoriesByTag &>(obj));
8275 return true;
8276 case searchPublicStoriesByVenue::ID:
8277 func(static_cast<searchPublicStoriesByVenue &>(obj));
8278 return true;
8279 case searchQuote::ID:
8280 func(static_cast<searchQuote &>(obj));
8281 return true;
8282 case searchRecentlyFoundChats::ID:
8283 func(static_cast<searchRecentlyFoundChats &>(obj));
8284 return true;
8285 case searchSavedMessages::ID:
8286 func(static_cast<searchSavedMessages &>(obj));
8287 return true;
8288 case searchSecretMessages::ID:
8289 func(static_cast<searchSecretMessages &>(obj));
8290 return true;
8291 case searchStickerSet::ID:
8292 func(static_cast<searchStickerSet &>(obj));
8293 return true;
8294 case searchStickerSets::ID:
8295 func(static_cast<searchStickerSets &>(obj));
8296 return true;
8297 case searchStickers::ID:
8298 func(static_cast<searchStickers &>(obj));
8299 return true;
8300 case searchStringsByPrefix::ID:
8301 func(static_cast<searchStringsByPrefix &>(obj));
8302 return true;
8303 case searchUserByPhoneNumber::ID:
8304 func(static_cast<searchUserByPhoneNumber &>(obj));
8305 return true;
8306 case searchUserByToken::ID:
8307 func(static_cast<searchUserByToken &>(obj));
8308 return true;
8309 case searchWebApp::ID:
8310 func(static_cast<searchWebApp &>(obj));
8311 return true;
8312 case sellGift::ID:
8313 func(static_cast<sellGift &>(obj));
8314 return true;
8315 case sendAuthenticationFirebaseSms::ID:
8316 func(static_cast<sendAuthenticationFirebaseSms &>(obj));
8317 return true;
8318 case sendBotStartMessage::ID:
8319 func(static_cast<sendBotStartMessage &>(obj));
8320 return true;
8321 case sendBusinessMessage::ID:
8322 func(static_cast<sendBusinessMessage &>(obj));
8323 return true;
8324 case sendBusinessMessageAlbum::ID:
8325 func(static_cast<sendBusinessMessageAlbum &>(obj));
8326 return true;
8327 case sendCallDebugInformation::ID:
8328 func(static_cast<sendCallDebugInformation &>(obj));
8329 return true;
8330 case sendCallLog::ID:
8331 func(static_cast<sendCallLog &>(obj));
8332 return true;
8333 case sendCallRating::ID:
8334 func(static_cast<sendCallRating &>(obj));
8335 return true;
8336 case sendCallSignalingData::ID:
8337 func(static_cast<sendCallSignalingData &>(obj));
8338 return true;
8339 case sendChatAction::ID:
8340 func(static_cast<sendChatAction &>(obj));
8341 return true;
8342 case sendCustomRequest::ID:
8343 func(static_cast<sendCustomRequest &>(obj));
8344 return true;
8345 case sendEmailAddressVerificationCode::ID:
8346 func(static_cast<sendEmailAddressVerificationCode &>(obj));
8347 return true;
8348 case sendGift::ID:
8349 func(static_cast<sendGift &>(obj));
8350 return true;
8351 case sendGiftPurchaseOffer::ID:
8352 func(static_cast<sendGiftPurchaseOffer &>(obj));
8353 return true;
8354 case sendGroupCallMessage::ID:
8355 func(static_cast<sendGroupCallMessage &>(obj));
8356 return true;
8357 case sendInlineQueryResultMessage::ID:
8358 func(static_cast<sendInlineQueryResultMessage &>(obj));
8359 return true;
8360 case sendMessage::ID:
8361 func(static_cast<sendMessage &>(obj));
8362 return true;
8363 case sendMessageAlbum::ID:
8364 func(static_cast<sendMessageAlbum &>(obj));
8365 return true;
8366 case sendMessageViewMetrics::ID:
8367 func(static_cast<sendMessageViewMetrics &>(obj));
8368 return true;
8369 case sendPassportAuthorizationForm::ID:
8370 func(static_cast<sendPassportAuthorizationForm &>(obj));
8371 return true;
8372 case sendPaymentForm::ID:
8373 func(static_cast<sendPaymentForm &>(obj));
8374 return true;
8375 case sendPhoneNumberCode::ID:
8376 func(static_cast<sendPhoneNumberCode &>(obj));
8377 return true;
8378 case sendPhoneNumberFirebaseSms::ID:
8379 func(static_cast<sendPhoneNumberFirebaseSms &>(obj));
8380 return true;
8381 case sendQuickReplyShortcutMessages::ID:
8382 func(static_cast<sendQuickReplyShortcutMessages &>(obj));
8383 return true;
8384 case sendResoldGift::ID:
8385 func(static_cast<sendResoldGift &>(obj));
8386 return true;
8387 case sendTextMessageDraft::ID:
8388 func(static_cast<sendTextMessageDraft &>(obj));
8389 return true;
8390 case sendWebAppCustomRequest::ID:
8391 func(static_cast<sendWebAppCustomRequest &>(obj));
8392 return true;
8393 case sendWebAppData::ID:
8394 func(static_cast<sendWebAppData &>(obj));
8395 return true;
8396 case setAccentColor::ID:
8397 func(static_cast<setAccentColor &>(obj));
8398 return true;
8399 case setAccountTtl::ID:
8400 func(static_cast<setAccountTtl &>(obj));
8401 return true;
8402 case setAlarm::ID:
8403 func(static_cast<setAlarm &>(obj));
8404 return true;
8405 case setApplicationVerificationToken::ID:
8406 func(static_cast<setApplicationVerificationToken &>(obj));
8407 return true;
8408 case setArchiveChatListSettings::ID:
8409 func(static_cast<setArchiveChatListSettings &>(obj));
8410 return true;
8411 case setAuthenticationEmailAddress::ID:
8412 func(static_cast<setAuthenticationEmailAddress &>(obj));
8413 return true;
8414 case setAuthenticationPhoneNumber::ID:
8415 func(static_cast<setAuthenticationPhoneNumber &>(obj));
8416 return true;
8417 case setAuthenticationPremiumPurchaseTransaction::ID:
8418 func(static_cast<setAuthenticationPremiumPurchaseTransaction &>(obj));
8419 return true;
8420 case setAutoDownloadSettings::ID:
8421 func(static_cast<setAutoDownloadSettings &>(obj));
8422 return true;
8423 case setAutosaveSettings::ID:
8424 func(static_cast<setAutosaveSettings &>(obj));
8425 return true;
8426 case setBio::ID:
8427 func(static_cast<setBio &>(obj));
8428 return true;
8429 case setBirthdate::ID:
8430 func(static_cast<setBirthdate &>(obj));
8431 return true;
8432 case setBotInfoDescription::ID:
8433 func(static_cast<setBotInfoDescription &>(obj));
8434 return true;
8435 case setBotInfoShortDescription::ID:
8436 func(static_cast<setBotInfoShortDescription &>(obj));
8437 return true;
8438 case setBotName::ID:
8439 func(static_cast<setBotName &>(obj));
8440 return true;
8441 case setBotProfilePhoto::ID:
8442 func(static_cast<setBotProfilePhoto &>(obj));
8443 return true;
8444 case setBotUpdatesStatus::ID:
8445 func(static_cast<setBotUpdatesStatus &>(obj));
8446 return true;
8447 case setBusinessAccountBio::ID:
8448 func(static_cast<setBusinessAccountBio &>(obj));
8449 return true;
8450 case setBusinessAccountGiftSettings::ID:
8451 func(static_cast<setBusinessAccountGiftSettings &>(obj));
8452 return true;
8453 case setBusinessAccountName::ID:
8454 func(static_cast<setBusinessAccountName &>(obj));
8455 return true;
8456 case setBusinessAccountProfilePhoto::ID:
8457 func(static_cast<setBusinessAccountProfilePhoto &>(obj));
8458 return true;
8459 case setBusinessAccountUsername::ID:
8460 func(static_cast<setBusinessAccountUsername &>(obj));
8461 return true;
8462 case setBusinessAwayMessageSettings::ID:
8463 func(static_cast<setBusinessAwayMessageSettings &>(obj));
8464 return true;
8465 case setBusinessConnectedBot::ID:
8466 func(static_cast<setBusinessConnectedBot &>(obj));
8467 return true;
8468 case setBusinessGreetingMessageSettings::ID:
8469 func(static_cast<setBusinessGreetingMessageSettings &>(obj));
8470 return true;
8471 case setBusinessLocation::ID:
8472 func(static_cast<setBusinessLocation &>(obj));
8473 return true;
8474 case setBusinessMessageIsPinned::ID:
8475 func(static_cast<setBusinessMessageIsPinned &>(obj));
8476 return true;
8477 case setBusinessOpeningHours::ID:
8478 func(static_cast<setBusinessOpeningHours &>(obj));
8479 return true;
8480 case setBusinessStartPage::ID:
8481 func(static_cast<setBusinessStartPage &>(obj));
8482 return true;
8483 case setChatAccentColor::ID:
8484 func(static_cast<setChatAccentColor &>(obj));
8485 return true;
8486 case setChatActiveStoriesList::ID:
8487 func(static_cast<setChatActiveStoriesList &>(obj));
8488 return true;
8489 case setChatAffiliateProgram::ID:
8490 func(static_cast<setChatAffiliateProgram &>(obj));
8491 return true;
8492 case setChatAvailableReactions::ID:
8493 func(static_cast<setChatAvailableReactions &>(obj));
8494 return true;
8495 case setChatBackground::ID:
8496 func(static_cast<setChatBackground &>(obj));
8497 return true;
8498 case setChatClientData::ID:
8499 func(static_cast<setChatClientData &>(obj));
8500 return true;
8501 case setChatDescription::ID:
8502 func(static_cast<setChatDescription &>(obj));
8503 return true;
8504 case setChatDirectMessagesGroup::ID:
8505 func(static_cast<setChatDirectMessagesGroup &>(obj));
8506 return true;
8507 case setChatDiscussionGroup::ID:
8508 func(static_cast<setChatDiscussionGroup &>(obj));
8509 return true;
8510 case setChatDraftMessage::ID:
8511 func(static_cast<setChatDraftMessage &>(obj));
8512 return true;
8513 case setChatEmojiStatus::ID:
8514 func(static_cast<setChatEmojiStatus &>(obj));
8515 return true;
8516 case setChatLocation::ID:
8517 func(static_cast<setChatLocation &>(obj));
8518 return true;
8519 case setChatMemberStatus::ID:
8520 func(static_cast<setChatMemberStatus &>(obj));
8521 return true;
8522 case setChatMemberTag::ID:
8523 func(static_cast<setChatMemberTag &>(obj));
8524 return true;
8525 case setChatMessageAutoDeleteTime::ID:
8526 func(static_cast<setChatMessageAutoDeleteTime &>(obj));
8527 return true;
8528 case setChatMessageSender::ID:
8529 func(static_cast<setChatMessageSender &>(obj));
8530 return true;
8531 case setChatNotificationSettings::ID:
8532 func(static_cast<setChatNotificationSettings &>(obj));
8533 return true;
8534 case setChatPaidMessageStarCount::ID:
8535 func(static_cast<setChatPaidMessageStarCount &>(obj));
8536 return true;
8537 case setChatPermissions::ID:
8538 func(static_cast<setChatPermissions &>(obj));
8539 return true;
8540 case setChatPhoto::ID:
8541 func(static_cast<setChatPhoto &>(obj));
8542 return true;
8543 case setChatPinnedStories::ID:
8544 func(static_cast<setChatPinnedStories &>(obj));
8545 return true;
8546 case setChatProfileAccentColor::ID:
8547 func(static_cast<setChatProfileAccentColor &>(obj));
8548 return true;
8549 case setChatSlowModeDelay::ID:
8550 func(static_cast<setChatSlowModeDelay &>(obj));
8551 return true;
8552 case setChatTheme::ID:
8553 func(static_cast<setChatTheme &>(obj));
8554 return true;
8555 case setChatTitle::ID:
8556 func(static_cast<setChatTitle &>(obj));
8557 return true;
8558 case setCloseFriends::ID:
8559 func(static_cast<setCloseFriends &>(obj));
8560 return true;
8561 case setCommands::ID:
8562 func(static_cast<setCommands &>(obj));
8563 return true;
8564 case setCustomEmojiStickerSetThumbnail::ID:
8565 func(static_cast<setCustomEmojiStickerSetThumbnail &>(obj));
8566 return true;
8567 case setCustomLanguagePack::ID:
8568 func(static_cast<setCustomLanguagePack &>(obj));
8569 return true;
8570 case setCustomLanguagePackString::ID:
8571 func(static_cast<setCustomLanguagePackString &>(obj));
8572 return true;
8573 case setDatabaseEncryptionKey::ID:
8574 func(static_cast<setDatabaseEncryptionKey &>(obj));
8575 return true;
8576 case setDefaultBackground::ID:
8577 func(static_cast<setDefaultBackground &>(obj));
8578 return true;
8579 case setDefaultChannelAdministratorRights::ID:
8580 func(static_cast<setDefaultChannelAdministratorRights &>(obj));
8581 return true;
8582 case setDefaultGroupAdministratorRights::ID:
8583 func(static_cast<setDefaultGroupAdministratorRights &>(obj));
8584 return true;
8585 case setDefaultMessageAutoDeleteTime::ID:
8586 func(static_cast<setDefaultMessageAutoDeleteTime &>(obj));
8587 return true;
8588 case setDefaultReactionType::ID:
8589 func(static_cast<setDefaultReactionType &>(obj));
8590 return true;
8591 case setDirectMessagesChatTopicIsMarkedAsUnread::ID:
8592 func(static_cast<setDirectMessagesChatTopicIsMarkedAsUnread &>(obj));
8593 return true;
8594 case setEmojiStatus::ID:
8595 func(static_cast<setEmojiStatus &>(obj));
8596 return true;
8597 case setFileGenerationProgress::ID:
8598 func(static_cast<setFileGenerationProgress &>(obj));
8599 return true;
8600 case setForumTopicNotificationSettings::ID:
8601 func(static_cast<setForumTopicNotificationSettings &>(obj));
8602 return true;
8603 case setGameScore::ID:
8604 func(static_cast<setGameScore &>(obj));
8605 return true;
8606 case setGiftCollectionName::ID:
8607 func(static_cast<setGiftCollectionName &>(obj));
8608 return true;
8609 case setGiftResalePrice::ID:
8610 func(static_cast<setGiftResalePrice &>(obj));
8611 return true;
8612 case setGiftSettings::ID:
8613 func(static_cast<setGiftSettings &>(obj));
8614 return true;
8615 case setGroupCallPaidMessageStarCount::ID:
8616 func(static_cast<setGroupCallPaidMessageStarCount &>(obj));
8617 return true;
8618 case setGroupCallParticipantIsSpeaking::ID:
8619 func(static_cast<setGroupCallParticipantIsSpeaking &>(obj));
8620 return true;
8621 case setGroupCallParticipantVolumeLevel::ID:
8622 func(static_cast<setGroupCallParticipantVolumeLevel &>(obj));
8623 return true;
8624 case setInactiveSessionTtl::ID:
8625 func(static_cast<setInactiveSessionTtl &>(obj));
8626 return true;
8627 case setInlineGameScore::ID:
8628 func(static_cast<setInlineGameScore &>(obj));
8629 return true;
8630 case setLiveStoryMessageSender::ID:
8631 func(static_cast<setLiveStoryMessageSender &>(obj));
8632 return true;
8633 case setLogStream::ID:
8634 func(static_cast<setLogStream &>(obj));
8635 return true;
8636 case setLogTagVerbosityLevel::ID:
8637 func(static_cast<setLogTagVerbosityLevel &>(obj));
8638 return true;
8639 case setLogVerbosityLevel::ID:
8640 func(static_cast<setLogVerbosityLevel &>(obj));
8641 return true;
8642 case setLoginEmailAddress::ID:
8643 func(static_cast<setLoginEmailAddress &>(obj));
8644 return true;
8645 case setMainProfileTab::ID:
8646 func(static_cast<setMainProfileTab &>(obj));
8647 return true;
8648 case setMenuButton::ID:
8649 func(static_cast<setMenuButton &>(obj));
8650 return true;
8651 case setMessageFactCheck::ID:
8652 func(static_cast<setMessageFactCheck &>(obj));
8653 return true;
8654 case setMessageReactions::ID:
8655 func(static_cast<setMessageReactions &>(obj));
8656 return true;
8657 case setMessageSenderBlockList::ID:
8658 func(static_cast<setMessageSenderBlockList &>(obj));
8659 return true;
8660 case setMessageSenderBotVerification::ID:
8661 func(static_cast<setMessageSenderBotVerification &>(obj));
8662 return true;
8663 case setName::ID:
8664 func(static_cast<setName &>(obj));
8665 return true;
8666 case setNetworkType::ID:
8667 func(static_cast<setNetworkType &>(obj));
8668 return true;
8669 case setNewChatPrivacySettings::ID:
8670 func(static_cast<setNewChatPrivacySettings &>(obj));
8671 return true;
8672 case setOption::ID:
8673 func(static_cast<setOption &>(obj));
8674 return true;
8675 case setPaidMessageReactionType::ID:
8676 func(static_cast<setPaidMessageReactionType &>(obj));
8677 return true;
8678 case setPassportElement::ID:
8679 func(static_cast<setPassportElement &>(obj));
8680 return true;
8681 case setPassportElementErrors::ID:
8682 func(static_cast<setPassportElementErrors &>(obj));
8683 return true;
8684 case setPassword::ID:
8685 func(static_cast<setPassword &>(obj));
8686 return true;
8687 case setPersonalChat::ID:
8688 func(static_cast<setPersonalChat &>(obj));
8689 return true;
8690 case setPinnedChats::ID:
8691 func(static_cast<setPinnedChats &>(obj));
8692 return true;
8693 case setPinnedForumTopics::ID:
8694 func(static_cast<setPinnedForumTopics &>(obj));
8695 return true;
8696 case setPinnedGifts::ID:
8697 func(static_cast<setPinnedGifts &>(obj));
8698 return true;
8699 case setPinnedSavedMessagesTopics::ID:
8700 func(static_cast<setPinnedSavedMessagesTopics &>(obj));
8701 return true;
8702 case setPollAnswer::ID:
8703 func(static_cast<setPollAnswer &>(obj));
8704 return true;
8705 case setProfileAccentColor::ID:
8706 func(static_cast<setProfileAccentColor &>(obj));
8707 return true;
8708 case setProfileAudioPosition::ID:
8709 func(static_cast<setProfileAudioPosition &>(obj));
8710 return true;
8711 case setProfilePhoto::ID:
8712 func(static_cast<setProfilePhoto &>(obj));
8713 return true;
8714 case setQuickReplyShortcutName::ID:
8715 func(static_cast<setQuickReplyShortcutName &>(obj));
8716 return true;
8717 case setReactionNotificationSettings::ID:
8718 func(static_cast<setReactionNotificationSettings &>(obj));
8719 return true;
8720 case setReadDatePrivacySettings::ID:
8721 func(static_cast<setReadDatePrivacySettings &>(obj));
8722 return true;
8723 case setRecoveryEmailAddress::ID:
8724 func(static_cast<setRecoveryEmailAddress &>(obj));
8725 return true;
8726 case setSavedMessagesTagLabel::ID:
8727 func(static_cast<setSavedMessagesTagLabel &>(obj));
8728 return true;
8729 case setScopeNotificationSettings::ID:
8730 func(static_cast<setScopeNotificationSettings &>(obj));
8731 return true;
8732 case setStickerEmojis::ID:
8733 func(static_cast<setStickerEmojis &>(obj));
8734 return true;
8735 case setStickerKeywords::ID:
8736 func(static_cast<setStickerKeywords &>(obj));
8737 return true;
8738 case setStickerMaskPosition::ID:
8739 func(static_cast<setStickerMaskPosition &>(obj));
8740 return true;
8741 case setStickerPositionInSet::ID:
8742 func(static_cast<setStickerPositionInSet &>(obj));
8743 return true;
8744 case setStickerSetThumbnail::ID:
8745 func(static_cast<setStickerSetThumbnail &>(obj));
8746 return true;
8747 case setStickerSetTitle::ID:
8748 func(static_cast<setStickerSetTitle &>(obj));
8749 return true;
8750 case setStoryAlbumName::ID:
8751 func(static_cast<setStoryAlbumName &>(obj));
8752 return true;
8753 case setStoryPrivacySettings::ID:
8754 func(static_cast<setStoryPrivacySettings &>(obj));
8755 return true;
8756 case setStoryReaction::ID:
8757 func(static_cast<setStoryReaction &>(obj));
8758 return true;
8759 case setSupergroupCustomEmojiStickerSet::ID:
8760 func(static_cast<setSupergroupCustomEmojiStickerSet &>(obj));
8761 return true;
8762 case setSupergroupMainProfileTab::ID:
8763 func(static_cast<setSupergroupMainProfileTab &>(obj));
8764 return true;
8765 case setSupergroupStickerSet::ID:
8766 func(static_cast<setSupergroupStickerSet &>(obj));
8767 return true;
8768 case setSupergroupUnrestrictBoostCount::ID:
8769 func(static_cast<setSupergroupUnrestrictBoostCount &>(obj));
8770 return true;
8771 case setSupergroupUsername::ID:
8772 func(static_cast<setSupergroupUsername &>(obj));
8773 return true;
8774 case setTdlibParameters::ID:
8775 func(static_cast<setTdlibParameters &>(obj));
8776 return true;
8777 case setUpgradedGiftColors::ID:
8778 func(static_cast<setUpgradedGiftColors &>(obj));
8779 return true;
8780 case setUserEmojiStatus::ID:
8781 func(static_cast<setUserEmojiStatus &>(obj));
8782 return true;
8783 case setUserNote::ID:
8784 func(static_cast<setUserNote &>(obj));
8785 return true;
8786 case setUserPersonalProfilePhoto::ID:
8787 func(static_cast<setUserPersonalProfilePhoto &>(obj));
8788 return true;
8789 case setUserPrivacySettingRules::ID:
8790 func(static_cast<setUserPrivacySettingRules &>(obj));
8791 return true;
8792 case setUserSupportInfo::ID:
8793 func(static_cast<setUserSupportInfo &>(obj));
8794 return true;
8795 case setUsername::ID:
8796 func(static_cast<setUsername &>(obj));
8797 return true;
8798 case setVideoChatDefaultParticipant::ID:
8799 func(static_cast<setVideoChatDefaultParticipant &>(obj));
8800 return true;
8801 case setVideoChatTitle::ID:
8802 func(static_cast<setVideoChatTitle &>(obj));
8803 return true;
8804 case shareChatWithBot::ID:
8805 func(static_cast<shareChatWithBot &>(obj));
8806 return true;
8807 case sharePhoneNumber::ID:
8808 func(static_cast<sharePhoneNumber &>(obj));
8809 return true;
8810 case shareUsersWithBot::ID:
8811 func(static_cast<shareUsersWithBot &>(obj));
8812 return true;
8813 case startGroupCallRecording::ID:
8814 func(static_cast<startGroupCallRecording &>(obj));
8815 return true;
8816 case startGroupCallScreenSharing::ID:
8817 func(static_cast<startGroupCallScreenSharing &>(obj));
8818 return true;
8819 case startLiveStory::ID:
8820 func(static_cast<startLiveStory &>(obj));
8821 return true;
8822 case startScheduledVideoChat::ID:
8823 func(static_cast<startScheduledVideoChat &>(obj));
8824 return true;
8825 case stopBusinessPoll::ID:
8826 func(static_cast<stopBusinessPoll &>(obj));
8827 return true;
8828 case stopPoll::ID:
8829 func(static_cast<stopPoll &>(obj));
8830 return true;
8831 case suggestUserBirthdate::ID:
8832 func(static_cast<suggestUserBirthdate &>(obj));
8833 return true;
8834 case suggestUserProfilePhoto::ID:
8835 func(static_cast<suggestUserProfilePhoto &>(obj));
8836 return true;
8837 case summarizeMessage::ID:
8838 func(static_cast<summarizeMessage &>(obj));
8839 return true;
8840 case synchronizeLanguagePack::ID:
8841 func(static_cast<synchronizeLanguagePack &>(obj));
8842 return true;
8843 case terminateAllOtherSessions::ID:
8844 func(static_cast<terminateAllOtherSessions &>(obj));
8845 return true;
8846 case terminateSession::ID:
8847 func(static_cast<terminateSession &>(obj));
8848 return true;
8849 case testCallBytes::ID:
8850 func(static_cast<testCallBytes &>(obj));
8851 return true;
8852 case testCallEmpty::ID:
8853 func(static_cast<testCallEmpty &>(obj));
8854 return true;
8855 case testCallString::ID:
8856 func(static_cast<testCallString &>(obj));
8857 return true;
8858 case testCallVectorInt::ID:
8859 func(static_cast<testCallVectorInt &>(obj));
8860 return true;
8861 case testCallVectorIntObject::ID:
8862 func(static_cast<testCallVectorIntObject &>(obj));
8863 return true;
8864 case testCallVectorString::ID:
8865 func(static_cast<testCallVectorString &>(obj));
8866 return true;
8867 case testCallVectorStringObject::ID:
8868 func(static_cast<testCallVectorStringObject &>(obj));
8869 return true;
8870 case testGetDifference::ID:
8871 func(static_cast<testGetDifference &>(obj));
8872 return true;
8873 case testNetwork::ID:
8874 func(static_cast<testNetwork &>(obj));
8875 return true;
8876 case testProxy::ID:
8877 func(static_cast<testProxy &>(obj));
8878 return true;
8879 case testReturnError::ID:
8880 func(static_cast<testReturnError &>(obj));
8881 return true;
8882 case testSquareInt::ID:
8883 func(static_cast<testSquareInt &>(obj));
8884 return true;
8885 case testUseUpdate::ID:
8886 func(static_cast<testUseUpdate &>(obj));
8887 return true;
8888 case toggleAllDownloadsArePaused::ID:
8889 func(static_cast<toggleAllDownloadsArePaused &>(obj));
8890 return true;
8891 case toggleBotCanManageEmojiStatus::ID:
8892 func(static_cast<toggleBotCanManageEmojiStatus &>(obj));
8893 return true;
8894 case toggleBotIsAddedToAttachmentMenu::ID:
8895 func(static_cast<toggleBotIsAddedToAttachmentMenu &>(obj));
8896 return true;
8897 case toggleBotUsernameIsActive::ID:
8898 func(static_cast<toggleBotUsernameIsActive &>(obj));
8899 return true;
8900 case toggleBusinessConnectedBotChatIsPaused::ID:
8901 func(static_cast<toggleBusinessConnectedBotChatIsPaused &>(obj));
8902 return true;
8903 case toggleChatDefaultDisableNotification::ID:
8904 func(static_cast<toggleChatDefaultDisableNotification &>(obj));
8905 return true;
8906 case toggleChatFolderTags::ID:
8907 func(static_cast<toggleChatFolderTags &>(obj));
8908 return true;
8909 case toggleChatGiftNotifications::ID:
8910 func(static_cast<toggleChatGiftNotifications &>(obj));
8911 return true;
8912 case toggleChatHasProtectedContent::ID:
8913 func(static_cast<toggleChatHasProtectedContent &>(obj));
8914 return true;
8915 case toggleChatIsMarkedAsUnread::ID:
8916 func(static_cast<toggleChatIsMarkedAsUnread &>(obj));
8917 return true;
8918 case toggleChatIsPinned::ID:
8919 func(static_cast<toggleChatIsPinned &>(obj));
8920 return true;
8921 case toggleChatIsTranslatable::ID:
8922 func(static_cast<toggleChatIsTranslatable &>(obj));
8923 return true;
8924 case toggleChatViewAsTopics::ID:
8925 func(static_cast<toggleChatViewAsTopics &>(obj));
8926 return true;
8927 case toggleDirectMessagesChatTopicCanSendUnpaidMessages::ID:
8928 func(static_cast<toggleDirectMessagesChatTopicCanSendUnpaidMessages &>(obj));
8929 return true;
8930 case toggleDownloadIsPaused::ID:
8931 func(static_cast<toggleDownloadIsPaused &>(obj));
8932 return true;
8933 case toggleForumTopicIsClosed::ID:
8934 func(static_cast<toggleForumTopicIsClosed &>(obj));
8935 return true;
8936 case toggleForumTopicIsPinned::ID:
8937 func(static_cast<toggleForumTopicIsPinned &>(obj));
8938 return true;
8939 case toggleGeneralForumTopicIsHidden::ID:
8940 func(static_cast<toggleGeneralForumTopicIsHidden &>(obj));
8941 return true;
8942 case toggleGiftIsSaved::ID:
8943 func(static_cast<toggleGiftIsSaved &>(obj));
8944 return true;
8945 case toggleGroupCallAreMessagesAllowed::ID:
8946 func(static_cast<toggleGroupCallAreMessagesAllowed &>(obj));
8947 return true;
8948 case toggleGroupCallIsMyVideoEnabled::ID:
8949 func(static_cast<toggleGroupCallIsMyVideoEnabled &>(obj));
8950 return true;
8951 case toggleGroupCallIsMyVideoPaused::ID:
8952 func(static_cast<toggleGroupCallIsMyVideoPaused &>(obj));
8953 return true;
8954 case toggleGroupCallParticipantIsHandRaised::ID:
8955 func(static_cast<toggleGroupCallParticipantIsHandRaised &>(obj));
8956 return true;
8957 case toggleGroupCallParticipantIsMuted::ID:
8958 func(static_cast<toggleGroupCallParticipantIsMuted &>(obj));
8959 return true;
8960 case toggleGroupCallScreenSharingIsPaused::ID:
8961 func(static_cast<toggleGroupCallScreenSharingIsPaused &>(obj));
8962 return true;
8963 case toggleHasSponsoredMessagesEnabled::ID:
8964 func(static_cast<toggleHasSponsoredMessagesEnabled &>(obj));
8965 return true;
8966 case toggleSavedMessagesTopicIsPinned::ID:
8967 func(static_cast<toggleSavedMessagesTopicIsPinned &>(obj));
8968 return true;
8969 case toggleSessionCanAcceptCalls::ID:
8970 func(static_cast<toggleSessionCanAcceptCalls &>(obj));
8971 return true;
8972 case toggleSessionCanAcceptSecretChats::ID:
8973 func(static_cast<toggleSessionCanAcceptSecretChats &>(obj));
8974 return true;
8975 case toggleStoryIsPostedToChatPage::ID:
8976 func(static_cast<toggleStoryIsPostedToChatPage &>(obj));
8977 return true;
8978 case toggleSupergroupCanHaveSponsoredMessages::ID:
8979 func(static_cast<toggleSupergroupCanHaveSponsoredMessages &>(obj));
8980 return true;
8981 case toggleSupergroupHasAggressiveAntiSpamEnabled::ID:
8982 func(static_cast<toggleSupergroupHasAggressiveAntiSpamEnabled &>(obj));
8983 return true;
8984 case toggleSupergroupHasAutomaticTranslation::ID:
8985 func(static_cast<toggleSupergroupHasAutomaticTranslation &>(obj));
8986 return true;
8987 case toggleSupergroupHasHiddenMembers::ID:
8988 func(static_cast<toggleSupergroupHasHiddenMembers &>(obj));
8989 return true;
8990 case toggleSupergroupIsAllHistoryAvailable::ID:
8991 func(static_cast<toggleSupergroupIsAllHistoryAvailable &>(obj));
8992 return true;
8993 case toggleSupergroupIsBroadcastGroup::ID:
8994 func(static_cast<toggleSupergroupIsBroadcastGroup &>(obj));
8995 return true;
8996 case toggleSupergroupIsForum::ID:
8997 func(static_cast<toggleSupergroupIsForum &>(obj));
8998 return true;
8999 case toggleSupergroupJoinByRequest::ID:
9000 func(static_cast<toggleSupergroupJoinByRequest &>(obj));
9001 return true;
9002 case toggleSupergroupJoinToSendMessages::ID:
9003 func(static_cast<toggleSupergroupJoinToSendMessages &>(obj));
9004 return true;
9005 case toggleSupergroupSignMessages::ID:
9006 func(static_cast<toggleSupergroupSignMessages &>(obj));
9007 return true;
9008 case toggleSupergroupUsernameIsActive::ID:
9009 func(static_cast<toggleSupergroupUsernameIsActive &>(obj));
9010 return true;
9011 case toggleUsernameIsActive::ID:
9012 func(static_cast<toggleUsernameIsActive &>(obj));
9013 return true;
9014 case toggleVideoChatEnabledStartNotification::ID:
9015 func(static_cast<toggleVideoChatEnabledStartNotification &>(obj));
9016 return true;
9017 case toggleVideoChatMuteNewParticipants::ID:
9018 func(static_cast<toggleVideoChatMuteNewParticipants &>(obj));
9019 return true;
9020 case transferBusinessAccountStars::ID:
9021 func(static_cast<transferBusinessAccountStars &>(obj));
9022 return true;
9023 case transferChatOwnership::ID:
9024 func(static_cast<transferChatOwnership &>(obj));
9025 return true;
9026 case transferGift::ID:
9027 func(static_cast<transferGift &>(obj));
9028 return true;
9029 case translateMessageText::ID:
9030 func(static_cast<translateMessageText &>(obj));
9031 return true;
9032 case translateText::ID:
9033 func(static_cast<translateText &>(obj));
9034 return true;
9035 case unpinAllChatMessages::ID:
9036 func(static_cast<unpinAllChatMessages &>(obj));
9037 return true;
9038 case unpinAllDirectMessagesChatTopicMessages::ID:
9039 func(static_cast<unpinAllDirectMessagesChatTopicMessages &>(obj));
9040 return true;
9041 case unpinAllForumTopicMessages::ID:
9042 func(static_cast<unpinAllForumTopicMessages &>(obj));
9043 return true;
9044 case unpinChatMessage::ID:
9045 func(static_cast<unpinChatMessage &>(obj));
9046 return true;
9047 case upgradeBasicGroupChatToSupergroupChat::ID:
9048 func(static_cast<upgradeBasicGroupChatToSupergroupChat &>(obj));
9049 return true;
9050 case upgradeGift::ID:
9051 func(static_cast<upgradeGift &>(obj));
9052 return true;
9053 case uploadStickerFile::ID:
9054 func(static_cast<uploadStickerFile &>(obj));
9055 return true;
9056 case validateOrderInfo::ID:
9057 func(static_cast<validateOrderInfo &>(obj));
9058 return true;
9059 case viewMessages::ID:
9060 func(static_cast<viewMessages &>(obj));
9061 return true;
9062 case viewPremiumFeature::ID:
9063 func(static_cast<viewPremiumFeature &>(obj));
9064 return true;
9065 case viewSponsoredChat::ID:
9066 func(static_cast<viewSponsoredChat &>(obj));
9067 return true;
9068 case viewTrendingStickerSets::ID:
9069 func(static_cast<viewTrendingStickerSets &>(obj));
9070 return true;
9071 case viewVideoMessageAdvertisement::ID:
9072 func(static_cast<viewVideoMessageAdvertisement &>(obj));
9073 return true;
9074 case writeGeneratedFilePart::ID:
9075 func(static_cast<writeGeneratedFilePart &>(obj));
9076 return true;
9077 default:
9078 return false;
9079 }
9080}

◆ downcast_call() [61/203]

template<class T >
bool td::td_api::downcast_call ( GiftForResaleOrder obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10867 of file td_api.hpp.

10867 { //-V2008
10868 switch (obj.get_id()) {
10869 case giftForResaleOrderPrice::ID:
10870 func(static_cast<giftForResaleOrderPrice &>(obj));
10871 return true;
10872 case giftForResaleOrderPriceChangeDate::ID:
10873 func(static_cast<giftForResaleOrderPriceChangeDate &>(obj));
10874 return true;
10875 case giftForResaleOrderNumber::ID:
10876 func(static_cast<giftForResaleOrderNumber &>(obj));
10877 return true;
10878 default:
10879 return false;
10880 }
10881}

◆ downcast_call() [62/203]

template<class T >
bool td::td_api::downcast_call ( GiftPurchaseOfferState obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10890 of file td_api.hpp.

10890 { //-V2008
10891 switch (obj.get_id()) {
10892 case giftPurchaseOfferStatePending::ID:
10893 func(static_cast<giftPurchaseOfferStatePending &>(obj));
10894 return true;
10895 case giftPurchaseOfferStateAccepted::ID:
10896 func(static_cast<giftPurchaseOfferStateAccepted &>(obj));
10897 return true;
10898 case giftPurchaseOfferStateRejected::ID:
10899 func(static_cast<giftPurchaseOfferStateRejected &>(obj));
10900 return true;
10901 default:
10902 return false;
10903 }
10904}

◆ downcast_call() [63/203]

template<class T >
bool td::td_api::downcast_call ( GiftResalePrice obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10913 of file td_api.hpp.

10913 { //-V2008
10914 switch (obj.get_id()) {
10915 case giftResalePriceStar::ID:
10916 func(static_cast<giftResalePriceStar &>(obj));
10917 return true;
10918 case giftResalePriceTon::ID:
10919 func(static_cast<giftResalePriceTon &>(obj));
10920 return true;
10921 default:
10922 return false;
10923 }
10924}

◆ downcast_call() [64/203]

template<class T >
bool td::td_api::downcast_call ( GiftResaleResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10933 of file td_api.hpp.

10933 { //-V2008
10934 switch (obj.get_id()) {
10935 case giftResaleResultOk::ID:
10936 func(static_cast<giftResaleResultOk &>(obj));
10937 return true;
10938 case giftResaleResultPriceIncreased::ID:
10939 func(static_cast<giftResaleResultPriceIncreased &>(obj));
10940 return true;
10941 default:
10942 return false;
10943 }
10944}

◆ downcast_call() [65/203]

template<class T >
bool td::td_api::downcast_call ( GiveawayInfo obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10953 of file td_api.hpp.

10953 { //-V2008
10954 switch (obj.get_id()) {
10955 case giveawayInfoOngoing::ID:
10956 func(static_cast<giveawayInfoOngoing &>(obj));
10957 return true;
10958 case giveawayInfoCompleted::ID:
10959 func(static_cast<giveawayInfoCompleted &>(obj));
10960 return true;
10961 default:
10962 return false;
10963 }
10964}

◆ downcast_call() [66/203]

template<class T >
bool td::td_api::downcast_call ( GiveawayParticipantStatus obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 10973 of file td_api.hpp.

10973 { //-V2008
10974 switch (obj.get_id()) {
10975 case giveawayParticipantStatusEligible::ID:
10976 func(static_cast<giveawayParticipantStatusEligible &>(obj));
10977 return true;
10978 case giveawayParticipantStatusParticipating::ID:
10979 func(static_cast<giveawayParticipantStatusParticipating &>(obj));
10980 return true;
10981 case giveawayParticipantStatusAlreadyWasMember::ID:
10982 func(static_cast<giveawayParticipantStatusAlreadyWasMember &>(obj));
10983 return true;
10984 case giveawayParticipantStatusAdministrator::ID:
10985 func(static_cast<giveawayParticipantStatusAdministrator &>(obj));
10986 return true;
10987 case giveawayParticipantStatusDisallowedCountry::ID:
10988 func(static_cast<giveawayParticipantStatusDisallowedCountry &>(obj));
10989 return true;
10990 default:
10991 return false;
10992 }
10993}

◆ downcast_call() [67/203]

template<class T >
bool td::td_api::downcast_call ( GiveawayPrize obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11002 of file td_api.hpp.

11002 { //-V2008
11003 switch (obj.get_id()) {
11004 case giveawayPrizePremium::ID:
11005 func(static_cast<giveawayPrizePremium &>(obj));
11006 return true;
11007 case giveawayPrizeStars::ID:
11008 func(static_cast<giveawayPrizeStars &>(obj));
11009 return true;
11010 default:
11011 return false;
11012 }
11013}

◆ downcast_call() [68/203]

template<class T >
bool td::td_api::downcast_call ( GroupCallDataChannel obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11022 of file td_api.hpp.

11022 { //-V2008
11023 switch (obj.get_id()) {
11024 case groupCallDataChannelMain::ID:
11025 func(static_cast<groupCallDataChannelMain &>(obj));
11026 return true;
11027 case groupCallDataChannelScreenSharing::ID:
11028 func(static_cast<groupCallDataChannelScreenSharing &>(obj));
11029 return true;
11030 default:
11031 return false;
11032 }
11033}

◆ downcast_call() [69/203]

template<class T >
bool td::td_api::downcast_call ( GroupCallVideoQuality obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11042 of file td_api.hpp.

11042 { //-V2008
11043 switch (obj.get_id()) {
11044 case groupCallVideoQualityThumbnail::ID:
11045 func(static_cast<groupCallVideoQualityThumbnail &>(obj));
11046 return true;
11047 case groupCallVideoQualityMedium::ID:
11048 func(static_cast<groupCallVideoQualityMedium &>(obj));
11049 return true;
11050 case groupCallVideoQualityFull::ID:
11051 func(static_cast<groupCallVideoQualityFull &>(obj));
11052 return true;
11053 default:
11054 return false;
11055 }
11056}

◆ downcast_call() [70/203]

template<class T >
bool td::td_api::downcast_call ( InlineKeyboardButtonType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11065 of file td_api.hpp.

11065 { //-V2008
11066 switch (obj.get_id()) {
11067 case inlineKeyboardButtonTypeUrl::ID:
11068 func(static_cast<inlineKeyboardButtonTypeUrl &>(obj));
11069 return true;
11070 case inlineKeyboardButtonTypeLoginUrl::ID:
11071 func(static_cast<inlineKeyboardButtonTypeLoginUrl &>(obj));
11072 return true;
11073 case inlineKeyboardButtonTypeWebApp::ID:
11074 func(static_cast<inlineKeyboardButtonTypeWebApp &>(obj));
11075 return true;
11076 case inlineKeyboardButtonTypeCallback::ID:
11077 func(static_cast<inlineKeyboardButtonTypeCallback &>(obj));
11078 return true;
11079 case inlineKeyboardButtonTypeCallbackWithPassword::ID:
11080 func(static_cast<inlineKeyboardButtonTypeCallbackWithPassword &>(obj));
11081 return true;
11082 case inlineKeyboardButtonTypeCallbackGame::ID:
11083 func(static_cast<inlineKeyboardButtonTypeCallbackGame &>(obj));
11084 return true;
11085 case inlineKeyboardButtonTypeSwitchInline::ID:
11086 func(static_cast<inlineKeyboardButtonTypeSwitchInline &>(obj));
11087 return true;
11088 case inlineKeyboardButtonTypeBuy::ID:
11089 func(static_cast<inlineKeyboardButtonTypeBuy &>(obj));
11090 return true;
11091 case inlineKeyboardButtonTypeUser::ID:
11092 func(static_cast<inlineKeyboardButtonTypeUser &>(obj));
11093 return true;
11094 case inlineKeyboardButtonTypeCopyText::ID:
11095 func(static_cast<inlineKeyboardButtonTypeCopyText &>(obj));
11096 return true;
11097 default:
11098 return false;
11099 }
11100}

◆ downcast_call() [71/203]

template<class T >
bool td::td_api::downcast_call ( InlineQueryResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11109 of file td_api.hpp.

11109 { //-V2008
11110 switch (obj.get_id()) {
11111 case inlineQueryResultArticle::ID:
11112 func(static_cast<inlineQueryResultArticle &>(obj));
11113 return true;
11114 case inlineQueryResultContact::ID:
11115 func(static_cast<inlineQueryResultContact &>(obj));
11116 return true;
11117 case inlineQueryResultLocation::ID:
11118 func(static_cast<inlineQueryResultLocation &>(obj));
11119 return true;
11120 case inlineQueryResultVenue::ID:
11121 func(static_cast<inlineQueryResultVenue &>(obj));
11122 return true;
11123 case inlineQueryResultGame::ID:
11124 func(static_cast<inlineQueryResultGame &>(obj));
11125 return true;
11126 case inlineQueryResultAnimation::ID:
11127 func(static_cast<inlineQueryResultAnimation &>(obj));
11128 return true;
11129 case inlineQueryResultAudio::ID:
11130 func(static_cast<inlineQueryResultAudio &>(obj));
11131 return true;
11132 case inlineQueryResultDocument::ID:
11133 func(static_cast<inlineQueryResultDocument &>(obj));
11134 return true;
11135 case inlineQueryResultPhoto::ID:
11136 func(static_cast<inlineQueryResultPhoto &>(obj));
11137 return true;
11138 case inlineQueryResultSticker::ID:
11139 func(static_cast<inlineQueryResultSticker &>(obj));
11140 return true;
11141 case inlineQueryResultVideo::ID:
11142 func(static_cast<inlineQueryResultVideo &>(obj));
11143 return true;
11144 case inlineQueryResultVoiceNote::ID:
11145 func(static_cast<inlineQueryResultVoiceNote &>(obj));
11146 return true;
11147 default:
11148 return false;
11149 }
11150}

◆ downcast_call() [72/203]

template<class T >
bool td::td_api::downcast_call ( InlineQueryResultsButtonType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11159 of file td_api.hpp.

11159 { //-V2008
11160 switch (obj.get_id()) {
11161 case inlineQueryResultsButtonTypeStartBot::ID:
11162 func(static_cast<inlineQueryResultsButtonTypeStartBot &>(obj));
11163 return true;
11164 case inlineQueryResultsButtonTypeWebApp::ID:
11165 func(static_cast<inlineQueryResultsButtonTypeWebApp &>(obj));
11166 return true;
11167 default:
11168 return false;
11169 }
11170}

◆ downcast_call() [73/203]

template<class T >
bool td::td_api::downcast_call ( InputBackground obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11179 of file td_api.hpp.

11179 { //-V2008
11180 switch (obj.get_id()) {
11181 case inputBackgroundLocal::ID:
11182 func(static_cast<inputBackgroundLocal &>(obj));
11183 return true;
11184 case inputBackgroundRemote::ID:
11185 func(static_cast<inputBackgroundRemote &>(obj));
11186 return true;
11187 case inputBackgroundPrevious::ID:
11188 func(static_cast<inputBackgroundPrevious &>(obj));
11189 return true;
11190 default:
11191 return false;
11192 }
11193}

◆ downcast_call() [74/203]

template<class T >
bool td::td_api::downcast_call ( InputCall obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11202 of file td_api.hpp.

11202 { //-V2008
11203 switch (obj.get_id()) {
11204 case inputCallDiscarded::ID:
11205 func(static_cast<inputCallDiscarded &>(obj));
11206 return true;
11207 case inputCallFromMessage::ID:
11208 func(static_cast<inputCallFromMessage &>(obj));
11209 return true;
11210 default:
11211 return false;
11212 }
11213}

◆ downcast_call() [75/203]

template<class T >
bool td::td_api::downcast_call ( InputChatPhoto obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11222 of file td_api.hpp.

11222 { //-V2008
11223 switch (obj.get_id()) {
11224 case inputChatPhotoPrevious::ID:
11225 func(static_cast<inputChatPhotoPrevious &>(obj));
11226 return true;
11227 case inputChatPhotoStatic::ID:
11228 func(static_cast<inputChatPhotoStatic &>(obj));
11229 return true;
11230 case inputChatPhotoAnimation::ID:
11231 func(static_cast<inputChatPhotoAnimation &>(obj));
11232 return true;
11233 case inputChatPhotoSticker::ID:
11234 func(static_cast<inputChatPhotoSticker &>(obj));
11235 return true;
11236 default:
11237 return false;
11238 }
11239}

◆ downcast_call() [76/203]

template<class T >
bool td::td_api::downcast_call ( InputChatTheme obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11248 of file td_api.hpp.

11248 { //-V2008
11249 switch (obj.get_id()) {
11250 case inputChatThemeEmoji::ID:
11251 func(static_cast<inputChatThemeEmoji &>(obj));
11252 return true;
11253 case inputChatThemeGift::ID:
11254 func(static_cast<inputChatThemeGift &>(obj));
11255 return true;
11256 default:
11257 return false;
11258 }
11259}

◆ downcast_call() [77/203]

template<class T >
bool td::td_api::downcast_call ( InputCredentials obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11268 of file td_api.hpp.

11268 { //-V2008
11269 switch (obj.get_id()) {
11270 case inputCredentialsSaved::ID:
11271 func(static_cast<inputCredentialsSaved &>(obj));
11272 return true;
11273 case inputCredentialsNew::ID:
11274 func(static_cast<inputCredentialsNew &>(obj));
11275 return true;
11276 case inputCredentialsApplePay::ID:
11277 func(static_cast<inputCredentialsApplePay &>(obj));
11278 return true;
11279 case inputCredentialsGooglePay::ID:
11280 func(static_cast<inputCredentialsGooglePay &>(obj));
11281 return true;
11282 default:
11283 return false;
11284 }
11285}

◆ downcast_call() [78/203]

template<class T >
bool td::td_api::downcast_call ( InputFile obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11294 of file td_api.hpp.

11294 { //-V2008
11295 switch (obj.get_id()) {
11296 case inputFileId::ID:
11297 func(static_cast<inputFileId &>(obj));
11298 return true;
11299 case inputFileRemote::ID:
11300 func(static_cast<inputFileRemote &>(obj));
11301 return true;
11302 case inputFileLocal::ID:
11303 func(static_cast<inputFileLocal &>(obj));
11304 return true;
11305 case inputFileGenerated::ID:
11306 func(static_cast<inputFileGenerated &>(obj));
11307 return true;
11308 default:
11309 return false;
11310 }
11311}

◆ downcast_call() [79/203]

template<class T >
bool td::td_api::downcast_call ( InputGroupCall obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11320 of file td_api.hpp.

11320 { //-V2008
11321 switch (obj.get_id()) {
11322 case inputGroupCallLink::ID:
11323 func(static_cast<inputGroupCallLink &>(obj));
11324 return true;
11325 case inputGroupCallMessage::ID:
11326 func(static_cast<inputGroupCallMessage &>(obj));
11327 return true;
11328 default:
11329 return false;
11330 }
11331}

◆ downcast_call() [80/203]

template<class T >
bool td::td_api::downcast_call ( InputInlineQueryResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11340 of file td_api.hpp.

11340 { //-V2008
11341 switch (obj.get_id()) {
11342 case inputInlineQueryResultAnimation::ID:
11343 func(static_cast<inputInlineQueryResultAnimation &>(obj));
11344 return true;
11345 case inputInlineQueryResultArticle::ID:
11346 func(static_cast<inputInlineQueryResultArticle &>(obj));
11347 return true;
11348 case inputInlineQueryResultAudio::ID:
11349 func(static_cast<inputInlineQueryResultAudio &>(obj));
11350 return true;
11351 case inputInlineQueryResultContact::ID:
11352 func(static_cast<inputInlineQueryResultContact &>(obj));
11353 return true;
11354 case inputInlineQueryResultDocument::ID:
11355 func(static_cast<inputInlineQueryResultDocument &>(obj));
11356 return true;
11357 case inputInlineQueryResultGame::ID:
11358 func(static_cast<inputInlineQueryResultGame &>(obj));
11359 return true;
11360 case inputInlineQueryResultLocation::ID:
11361 func(static_cast<inputInlineQueryResultLocation &>(obj));
11362 return true;
11363 case inputInlineQueryResultPhoto::ID:
11364 func(static_cast<inputInlineQueryResultPhoto &>(obj));
11365 return true;
11366 case inputInlineQueryResultSticker::ID:
11367 func(static_cast<inputInlineQueryResultSticker &>(obj));
11368 return true;
11369 case inputInlineQueryResultVenue::ID:
11370 func(static_cast<inputInlineQueryResultVenue &>(obj));
11371 return true;
11372 case inputInlineQueryResultVideo::ID:
11373 func(static_cast<inputInlineQueryResultVideo &>(obj));
11374 return true;
11375 case inputInlineQueryResultVoiceNote::ID:
11376 func(static_cast<inputInlineQueryResultVoiceNote &>(obj));
11377 return true;
11378 default:
11379 return false;
11380 }
11381}

◆ downcast_call() [81/203]

template<class T >
bool td::td_api::downcast_call ( InputInvoice obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11390 of file td_api.hpp.

11390 { //-V2008
11391 switch (obj.get_id()) {
11392 case inputInvoiceMessage::ID:
11393 func(static_cast<inputInvoiceMessage &>(obj));
11394 return true;
11395 case inputInvoiceName::ID:
11396 func(static_cast<inputInvoiceName &>(obj));
11397 return true;
11398 case inputInvoiceTelegram::ID:
11399 func(static_cast<inputInvoiceTelegram &>(obj));
11400 return true;
11401 default:
11402 return false;
11403 }
11404}

◆ downcast_call() [82/203]

template<class T >
bool td::td_api::downcast_call ( InputMessageContent obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11413 of file td_api.hpp.

11413 { //-V2008
11414 switch (obj.get_id()) {
11415 case inputMessageText::ID:
11416 func(static_cast<inputMessageText &>(obj));
11417 return true;
11418 case inputMessageAnimation::ID:
11419 func(static_cast<inputMessageAnimation &>(obj));
11420 return true;
11421 case inputMessageAudio::ID:
11422 func(static_cast<inputMessageAudio &>(obj));
11423 return true;
11424 case inputMessageDocument::ID:
11425 func(static_cast<inputMessageDocument &>(obj));
11426 return true;
11427 case inputMessagePaidMedia::ID:
11428 func(static_cast<inputMessagePaidMedia &>(obj));
11429 return true;
11430 case inputMessagePhoto::ID:
11431 func(static_cast<inputMessagePhoto &>(obj));
11432 return true;
11433 case inputMessageSticker::ID:
11434 func(static_cast<inputMessageSticker &>(obj));
11435 return true;
11436 case inputMessageVideo::ID:
11437 func(static_cast<inputMessageVideo &>(obj));
11438 return true;
11439 case inputMessageVideoNote::ID:
11440 func(static_cast<inputMessageVideoNote &>(obj));
11441 return true;
11442 case inputMessageVoiceNote::ID:
11443 func(static_cast<inputMessageVoiceNote &>(obj));
11444 return true;
11445 case inputMessageLocation::ID:
11446 func(static_cast<inputMessageLocation &>(obj));
11447 return true;
11448 case inputMessageVenue::ID:
11449 func(static_cast<inputMessageVenue &>(obj));
11450 return true;
11451 case inputMessageContact::ID:
11452 func(static_cast<inputMessageContact &>(obj));
11453 return true;
11454 case inputMessageDice::ID:
11455 func(static_cast<inputMessageDice &>(obj));
11456 return true;
11457 case inputMessageGame::ID:
11458 func(static_cast<inputMessageGame &>(obj));
11459 return true;
11460 case inputMessageInvoice::ID:
11461 func(static_cast<inputMessageInvoice &>(obj));
11462 return true;
11463 case inputMessagePoll::ID:
11464 func(static_cast<inputMessagePoll &>(obj));
11465 return true;
11466 case inputMessageStakeDice::ID:
11467 func(static_cast<inputMessageStakeDice &>(obj));
11468 return true;
11469 case inputMessageStory::ID:
11470 func(static_cast<inputMessageStory &>(obj));
11471 return true;
11472 case inputMessageChecklist::ID:
11473 func(static_cast<inputMessageChecklist &>(obj));
11474 return true;
11475 case inputMessageForwarded::ID:
11476 func(static_cast<inputMessageForwarded &>(obj));
11477 return true;
11478 default:
11479 return false;
11480 }
11481}

◆ downcast_call() [83/203]

template<class T >
bool td::td_api::downcast_call ( InputMessageReplyTo obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11490 of file td_api.hpp.

11490 { //-V2008
11491 switch (obj.get_id()) {
11492 case inputMessageReplyToMessage::ID:
11493 func(static_cast<inputMessageReplyToMessage &>(obj));
11494 return true;
11495 case inputMessageReplyToExternalMessage::ID:
11496 func(static_cast<inputMessageReplyToExternalMessage &>(obj));
11497 return true;
11498 case inputMessageReplyToStory::ID:
11499 func(static_cast<inputMessageReplyToStory &>(obj));
11500 return true;
11501 default:
11502 return false;
11503 }
11504}

◆ downcast_call() [84/203]

template<class T >
bool td::td_api::downcast_call ( InputPaidMediaType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11513 of file td_api.hpp.

11513 { //-V2008
11514 switch (obj.get_id()) {
11515 case inputPaidMediaTypePhoto::ID:
11516 func(static_cast<inputPaidMediaTypePhoto &>(obj));
11517 return true;
11518 case inputPaidMediaTypeVideo::ID:
11519 func(static_cast<inputPaidMediaTypeVideo &>(obj));
11520 return true;
11521 default:
11522 return false;
11523 }
11524}

◆ downcast_call() [85/203]

template<class T >
bool td::td_api::downcast_call ( InputPassportElement obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11533 of file td_api.hpp.

11533 { //-V2008
11534 switch (obj.get_id()) {
11535 case inputPassportElementPersonalDetails::ID:
11536 func(static_cast<inputPassportElementPersonalDetails &>(obj));
11537 return true;
11538 case inputPassportElementPassport::ID:
11539 func(static_cast<inputPassportElementPassport &>(obj));
11540 return true;
11541 case inputPassportElementDriverLicense::ID:
11542 func(static_cast<inputPassportElementDriverLicense &>(obj));
11543 return true;
11544 case inputPassportElementIdentityCard::ID:
11545 func(static_cast<inputPassportElementIdentityCard &>(obj));
11546 return true;
11547 case inputPassportElementInternalPassport::ID:
11548 func(static_cast<inputPassportElementInternalPassport &>(obj));
11549 return true;
11550 case inputPassportElementAddress::ID:
11551 func(static_cast<inputPassportElementAddress &>(obj));
11552 return true;
11553 case inputPassportElementUtilityBill::ID:
11554 func(static_cast<inputPassportElementUtilityBill &>(obj));
11555 return true;
11556 case inputPassportElementBankStatement::ID:
11557 func(static_cast<inputPassportElementBankStatement &>(obj));
11558 return true;
11559 case inputPassportElementRentalAgreement::ID:
11560 func(static_cast<inputPassportElementRentalAgreement &>(obj));
11561 return true;
11562 case inputPassportElementPassportRegistration::ID:
11563 func(static_cast<inputPassportElementPassportRegistration &>(obj));
11564 return true;
11565 case inputPassportElementTemporaryRegistration::ID:
11566 func(static_cast<inputPassportElementTemporaryRegistration &>(obj));
11567 return true;
11568 case inputPassportElementPhoneNumber::ID:
11569 func(static_cast<inputPassportElementPhoneNumber &>(obj));
11570 return true;
11571 case inputPassportElementEmailAddress::ID:
11572 func(static_cast<inputPassportElementEmailAddress &>(obj));
11573 return true;
11574 default:
11575 return false;
11576 }
11577}

◆ downcast_call() [86/203]

template<class T >
bool td::td_api::downcast_call ( InputPassportElementErrorSource obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11586 of file td_api.hpp.

11586 { //-V2008
11587 switch (obj.get_id()) {
11588 case inputPassportElementErrorSourceUnspecified::ID:
11589 func(static_cast<inputPassportElementErrorSourceUnspecified &>(obj));
11590 return true;
11591 case inputPassportElementErrorSourceDataField::ID:
11592 func(static_cast<inputPassportElementErrorSourceDataField &>(obj));
11593 return true;
11594 case inputPassportElementErrorSourceFrontSide::ID:
11595 func(static_cast<inputPassportElementErrorSourceFrontSide &>(obj));
11596 return true;
11597 case inputPassportElementErrorSourceReverseSide::ID:
11598 func(static_cast<inputPassportElementErrorSourceReverseSide &>(obj));
11599 return true;
11600 case inputPassportElementErrorSourceSelfie::ID:
11601 func(static_cast<inputPassportElementErrorSourceSelfie &>(obj));
11602 return true;
11603 case inputPassportElementErrorSourceTranslationFile::ID:
11604 func(static_cast<inputPassportElementErrorSourceTranslationFile &>(obj));
11605 return true;
11606 case inputPassportElementErrorSourceTranslationFiles::ID:
11607 func(static_cast<inputPassportElementErrorSourceTranslationFiles &>(obj));
11608 return true;
11609 case inputPassportElementErrorSourceFile::ID:
11610 func(static_cast<inputPassportElementErrorSourceFile &>(obj));
11611 return true;
11612 case inputPassportElementErrorSourceFiles::ID:
11613 func(static_cast<inputPassportElementErrorSourceFiles &>(obj));
11614 return true;
11615 default:
11616 return false;
11617 }
11618}

◆ downcast_call() [87/203]

template<class T >
bool td::td_api::downcast_call ( InputPollType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11627 of file td_api.hpp.

11627 { //-V2008
11628 switch (obj.get_id()) {
11629 case inputPollTypeRegular::ID:
11630 func(static_cast<inputPollTypeRegular &>(obj));
11631 return true;
11632 case inputPollTypeQuiz::ID:
11633 func(static_cast<inputPollTypeQuiz &>(obj));
11634 return true;
11635 default:
11636 return false;
11637 }
11638}

◆ downcast_call() [88/203]

template<class T >
bool td::td_api::downcast_call ( InputStoryAreaType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11647 of file td_api.hpp.

11647 { //-V2008
11648 switch (obj.get_id()) {
11649 case inputStoryAreaTypeLocation::ID:
11650 func(static_cast<inputStoryAreaTypeLocation &>(obj));
11651 return true;
11652 case inputStoryAreaTypeFoundVenue::ID:
11653 func(static_cast<inputStoryAreaTypeFoundVenue &>(obj));
11654 return true;
11655 case inputStoryAreaTypePreviousVenue::ID:
11656 func(static_cast<inputStoryAreaTypePreviousVenue &>(obj));
11657 return true;
11658 case inputStoryAreaTypeSuggestedReaction::ID:
11659 func(static_cast<inputStoryAreaTypeSuggestedReaction &>(obj));
11660 return true;
11661 case inputStoryAreaTypeMessage::ID:
11662 func(static_cast<inputStoryAreaTypeMessage &>(obj));
11663 return true;
11664 case inputStoryAreaTypeLink::ID:
11665 func(static_cast<inputStoryAreaTypeLink &>(obj));
11666 return true;
11667 case inputStoryAreaTypeWeather::ID:
11668 func(static_cast<inputStoryAreaTypeWeather &>(obj));
11669 return true;
11670 case inputStoryAreaTypeUpgradedGift::ID:
11671 func(static_cast<inputStoryAreaTypeUpgradedGift &>(obj));
11672 return true;
11673 default:
11674 return false;
11675 }
11676}

◆ downcast_call() [89/203]

template<class T >
bool td::td_api::downcast_call ( InputStoryContent obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11685 of file td_api.hpp.

11685 { //-V2008
11686 switch (obj.get_id()) {
11687 case inputStoryContentPhoto::ID:
11688 func(static_cast<inputStoryContentPhoto &>(obj));
11689 return true;
11690 case inputStoryContentVideo::ID:
11691 func(static_cast<inputStoryContentVideo &>(obj));
11692 return true;
11693 default:
11694 return false;
11695 }
11696}

◆ downcast_call() [90/203]

template<class T >
bool td::td_api::downcast_call ( InternalLinkType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11705 of file td_api.hpp.

11705 { //-V2008
11706 switch (obj.get_id()) {
11707 case internalLinkTypeAttachmentMenuBot::ID:
11708 func(static_cast<internalLinkTypeAttachmentMenuBot &>(obj));
11709 return true;
11710 case internalLinkTypeAuthenticationCode::ID:
11711 func(static_cast<internalLinkTypeAuthenticationCode &>(obj));
11712 return true;
11713 case internalLinkTypeBackground::ID:
11714 func(static_cast<internalLinkTypeBackground &>(obj));
11715 return true;
11716 case internalLinkTypeBotAddToChannel::ID:
11717 func(static_cast<internalLinkTypeBotAddToChannel &>(obj));
11718 return true;
11719 case internalLinkTypeBotStart::ID:
11720 func(static_cast<internalLinkTypeBotStart &>(obj));
11721 return true;
11722 case internalLinkTypeBotStartInGroup::ID:
11723 func(static_cast<internalLinkTypeBotStartInGroup &>(obj));
11724 return true;
11725 case internalLinkTypeBusinessChat::ID:
11726 func(static_cast<internalLinkTypeBusinessChat &>(obj));
11727 return true;
11728 case internalLinkTypeCallsPage::ID:
11729 func(static_cast<internalLinkTypeCallsPage &>(obj));
11730 return true;
11731 case internalLinkTypeChatAffiliateProgram::ID:
11732 func(static_cast<internalLinkTypeChatAffiliateProgram &>(obj));
11733 return true;
11734 case internalLinkTypeChatBoost::ID:
11735 func(static_cast<internalLinkTypeChatBoost &>(obj));
11736 return true;
11737 case internalLinkTypeChatFolderInvite::ID:
11738 func(static_cast<internalLinkTypeChatFolderInvite &>(obj));
11739 return true;
11740 case internalLinkTypeChatInvite::ID:
11741 func(static_cast<internalLinkTypeChatInvite &>(obj));
11742 return true;
11743 case internalLinkTypeChatSelection::ID:
11744 func(static_cast<internalLinkTypeChatSelection &>(obj));
11745 return true;
11746 case internalLinkTypeContactsPage::ID:
11747 func(static_cast<internalLinkTypeContactsPage &>(obj));
11748 return true;
11749 case internalLinkTypeDirectMessagesChat::ID:
11750 func(static_cast<internalLinkTypeDirectMessagesChat &>(obj));
11751 return true;
11752 case internalLinkTypeGame::ID:
11753 func(static_cast<internalLinkTypeGame &>(obj));
11754 return true;
11755 case internalLinkTypeGiftAuction::ID:
11756 func(static_cast<internalLinkTypeGiftAuction &>(obj));
11757 return true;
11758 case internalLinkTypeGiftCollection::ID:
11759 func(static_cast<internalLinkTypeGiftCollection &>(obj));
11760 return true;
11761 case internalLinkTypeGroupCall::ID:
11762 func(static_cast<internalLinkTypeGroupCall &>(obj));
11763 return true;
11764 case internalLinkTypeInstantView::ID:
11765 func(static_cast<internalLinkTypeInstantView &>(obj));
11766 return true;
11767 case internalLinkTypeInvoice::ID:
11768 func(static_cast<internalLinkTypeInvoice &>(obj));
11769 return true;
11770 case internalLinkTypeLanguagePack::ID:
11771 func(static_cast<internalLinkTypeLanguagePack &>(obj));
11772 return true;
11773 case internalLinkTypeLiveStory::ID:
11774 func(static_cast<internalLinkTypeLiveStory &>(obj));
11775 return true;
11776 case internalLinkTypeMainWebApp::ID:
11777 func(static_cast<internalLinkTypeMainWebApp &>(obj));
11778 return true;
11779 case internalLinkTypeMessage::ID:
11780 func(static_cast<internalLinkTypeMessage &>(obj));
11781 return true;
11782 case internalLinkTypeMessageDraft::ID:
11783 func(static_cast<internalLinkTypeMessageDraft &>(obj));
11784 return true;
11785 case internalLinkTypeMyProfilePage::ID:
11786 func(static_cast<internalLinkTypeMyProfilePage &>(obj));
11787 return true;
11788 case internalLinkTypeNewChannelChat::ID:
11789 func(static_cast<internalLinkTypeNewChannelChat &>(obj));
11790 return true;
11791 case internalLinkTypeNewGroupChat::ID:
11792 func(static_cast<internalLinkTypeNewGroupChat &>(obj));
11793 return true;
11794 case internalLinkTypeNewPrivateChat::ID:
11795 func(static_cast<internalLinkTypeNewPrivateChat &>(obj));
11796 return true;
11797 case internalLinkTypeNewStory::ID:
11798 func(static_cast<internalLinkTypeNewStory &>(obj));
11799 return true;
11800 case internalLinkTypeOauth::ID:
11801 func(static_cast<internalLinkTypeOauth &>(obj));
11802 return true;
11803 case internalLinkTypePassportDataRequest::ID:
11804 func(static_cast<internalLinkTypePassportDataRequest &>(obj));
11805 return true;
11806 case internalLinkTypePhoneNumberConfirmation::ID:
11807 func(static_cast<internalLinkTypePhoneNumberConfirmation &>(obj));
11808 return true;
11809 case internalLinkTypePremiumFeaturesPage::ID:
11810 func(static_cast<internalLinkTypePremiumFeaturesPage &>(obj));
11811 return true;
11812 case internalLinkTypePremiumGiftCode::ID:
11813 func(static_cast<internalLinkTypePremiumGiftCode &>(obj));
11814 return true;
11815 case internalLinkTypePremiumGiftPurchase::ID:
11816 func(static_cast<internalLinkTypePremiumGiftPurchase &>(obj));
11817 return true;
11818 case internalLinkTypeProxy::ID:
11819 func(static_cast<internalLinkTypeProxy &>(obj));
11820 return true;
11821 case internalLinkTypePublicChat::ID:
11822 func(static_cast<internalLinkTypePublicChat &>(obj));
11823 return true;
11824 case internalLinkTypeQrCodeAuthentication::ID:
11825 func(static_cast<internalLinkTypeQrCodeAuthentication &>(obj));
11826 return true;
11827 case internalLinkTypeRequestManagedBot::ID:
11828 func(static_cast<internalLinkTypeRequestManagedBot &>(obj));
11829 return true;
11830 case internalLinkTypeRestorePurchases::ID:
11831 func(static_cast<internalLinkTypeRestorePurchases &>(obj));
11832 return true;
11833 case internalLinkTypeSavedMessages::ID:
11834 func(static_cast<internalLinkTypeSavedMessages &>(obj));
11835 return true;
11836 case internalLinkTypeSearch::ID:
11837 func(static_cast<internalLinkTypeSearch &>(obj));
11838 return true;
11839 case internalLinkTypeSettings::ID:
11840 func(static_cast<internalLinkTypeSettings &>(obj));
11841 return true;
11842 case internalLinkTypeStarPurchase::ID:
11843 func(static_cast<internalLinkTypeStarPurchase &>(obj));
11844 return true;
11845 case internalLinkTypeStickerSet::ID:
11846 func(static_cast<internalLinkTypeStickerSet &>(obj));
11847 return true;
11848 case internalLinkTypeStory::ID:
11849 func(static_cast<internalLinkTypeStory &>(obj));
11850 return true;
11851 case internalLinkTypeStoryAlbum::ID:
11852 func(static_cast<internalLinkTypeStoryAlbum &>(obj));
11853 return true;
11854 case internalLinkTypeTheme::ID:
11855 func(static_cast<internalLinkTypeTheme &>(obj));
11856 return true;
11857 case internalLinkTypeUnknownDeepLink::ID:
11858 func(static_cast<internalLinkTypeUnknownDeepLink &>(obj));
11859 return true;
11860 case internalLinkTypeUpgradedGift::ID:
11861 func(static_cast<internalLinkTypeUpgradedGift &>(obj));
11862 return true;
11863 case internalLinkTypeUserPhoneNumber::ID:
11864 func(static_cast<internalLinkTypeUserPhoneNumber &>(obj));
11865 return true;
11866 case internalLinkTypeUserToken::ID:
11867 func(static_cast<internalLinkTypeUserToken &>(obj));
11868 return true;
11869 case internalLinkTypeVideoChat::ID:
11870 func(static_cast<internalLinkTypeVideoChat &>(obj));
11871 return true;
11872 case internalLinkTypeWebApp::ID:
11873 func(static_cast<internalLinkTypeWebApp &>(obj));
11874 return true;
11875 default:
11876 return false;
11877 }
11878}

◆ downcast_call() [91/203]

template<class T >
bool td::td_api::downcast_call ( InviteGroupCallParticipantResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11887 of file td_api.hpp.

11887 { //-V2008
11888 switch (obj.get_id()) {
11889 case inviteGroupCallParticipantResultUserPrivacyRestricted::ID:
11890 func(static_cast<inviteGroupCallParticipantResultUserPrivacyRestricted &>(obj));
11891 return true;
11892 case inviteGroupCallParticipantResultUserAlreadyParticipant::ID:
11893 func(static_cast<inviteGroupCallParticipantResultUserAlreadyParticipant &>(obj));
11894 return true;
11895 case inviteGroupCallParticipantResultUserWasBanned::ID:
11896 func(static_cast<inviteGroupCallParticipantResultUserWasBanned &>(obj));
11897 return true;
11898 case inviteGroupCallParticipantResultSuccess::ID:
11899 func(static_cast<inviteGroupCallParticipantResultSuccess &>(obj));
11900 return true;
11901 default:
11902 return false;
11903 }
11904}

◆ downcast_call() [92/203]

template<class T >
bool td::td_api::downcast_call ( InviteLinkChatType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11913 of file td_api.hpp.

11913 { //-V2008
11914 switch (obj.get_id()) {
11915 case inviteLinkChatTypeBasicGroup::ID:
11916 func(static_cast<inviteLinkChatTypeBasicGroup &>(obj));
11917 return true;
11918 case inviteLinkChatTypeSupergroup::ID:
11919 func(static_cast<inviteLinkChatTypeSupergroup &>(obj));
11920 return true;
11921 case inviteLinkChatTypeChannel::ID:
11922 func(static_cast<inviteLinkChatTypeChannel &>(obj));
11923 return true;
11924 default:
11925 return false;
11926 }
11927}

◆ downcast_call() [93/203]

template<class T >
bool td::td_api::downcast_call ( JsonValue obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11936 of file td_api.hpp.

11936 { //-V2008
11937 switch (obj.get_id()) {
11938 case jsonValueNull::ID:
11939 func(static_cast<jsonValueNull &>(obj));
11940 return true;
11941 case jsonValueBoolean::ID:
11942 func(static_cast<jsonValueBoolean &>(obj));
11943 return true;
11944 case jsonValueNumber::ID:
11945 func(static_cast<jsonValueNumber &>(obj));
11946 return true;
11947 case jsonValueString::ID:
11948 func(static_cast<jsonValueString &>(obj));
11949 return true;
11950 case jsonValueArray::ID:
11951 func(static_cast<jsonValueArray &>(obj));
11952 return true;
11953 case jsonValueObject::ID:
11954 func(static_cast<jsonValueObject &>(obj));
11955 return true;
11956 default:
11957 return false;
11958 }
11959}

◆ downcast_call() [94/203]

template<class T >
bool td::td_api::downcast_call ( KeyboardButtonSource obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11968 of file td_api.hpp.

11968 { //-V2008
11969 switch (obj.get_id()) {
11970 case keyboardButtonSourceMessage::ID:
11971 func(static_cast<keyboardButtonSourceMessage &>(obj));
11972 return true;
11973 case keyboardButtonSourceWebApp::ID:
11974 func(static_cast<keyboardButtonSourceWebApp &>(obj));
11975 return true;
11976 default:
11977 return false;
11978 }
11979}

◆ downcast_call() [95/203]

template<class T >
bool td::td_api::downcast_call ( KeyboardButtonType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 11988 of file td_api.hpp.

11988 { //-V2008
11989 switch (obj.get_id()) {
11990 case keyboardButtonTypeText::ID:
11991 func(static_cast<keyboardButtonTypeText &>(obj));
11992 return true;
11993 case keyboardButtonTypeRequestPhoneNumber::ID:
11994 func(static_cast<keyboardButtonTypeRequestPhoneNumber &>(obj));
11995 return true;
11996 case keyboardButtonTypeRequestLocation::ID:
11997 func(static_cast<keyboardButtonTypeRequestLocation &>(obj));
11998 return true;
11999 case keyboardButtonTypeRequestPoll::ID:
12000 func(static_cast<keyboardButtonTypeRequestPoll &>(obj));
12001 return true;
12002 case keyboardButtonTypeRequestUsers::ID:
12003 func(static_cast<keyboardButtonTypeRequestUsers &>(obj));
12004 return true;
12005 case keyboardButtonTypeRequestChat::ID:
12006 func(static_cast<keyboardButtonTypeRequestChat &>(obj));
12007 return true;
12008 case keyboardButtonTypeRequestManagedBot::ID:
12009 func(static_cast<keyboardButtonTypeRequestManagedBot &>(obj));
12010 return true;
12011 case keyboardButtonTypeWebApp::ID:
12012 func(static_cast<keyboardButtonTypeWebApp &>(obj));
12013 return true;
12014 default:
12015 return false;
12016 }
12017}

◆ downcast_call() [96/203]

template<class T >
bool td::td_api::downcast_call ( LanguagePackStringValue obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12026 of file td_api.hpp.

12026 { //-V2008
12027 switch (obj.get_id()) {
12028 case languagePackStringValueOrdinary::ID:
12029 func(static_cast<languagePackStringValueOrdinary &>(obj));
12030 return true;
12031 case languagePackStringValuePluralized::ID:
12032 func(static_cast<languagePackStringValuePluralized &>(obj));
12033 return true;
12034 case languagePackStringValueDeleted::ID:
12035 func(static_cast<languagePackStringValueDeleted &>(obj));
12036 return true;
12037 default:
12038 return false;
12039 }
12040}

◆ downcast_call() [97/203]

template<class T >
bool td::td_api::downcast_call ( LinkPreviewAlbumMedia obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12049 of file td_api.hpp.

12049 { //-V2008
12050 switch (obj.get_id()) {
12051 case linkPreviewAlbumMediaPhoto::ID:
12052 func(static_cast<linkPreviewAlbumMediaPhoto &>(obj));
12053 return true;
12054 case linkPreviewAlbumMediaVideo::ID:
12055 func(static_cast<linkPreviewAlbumMediaVideo &>(obj));
12056 return true;
12057 default:
12058 return false;
12059 }
12060}

◆ downcast_call() [98/203]

template<class T >
bool td::td_api::downcast_call ( LinkPreviewType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12069 of file td_api.hpp.

12069 { //-V2008
12070 switch (obj.get_id()) {
12071 case linkPreviewTypeAlbum::ID:
12072 func(static_cast<linkPreviewTypeAlbum &>(obj));
12073 return true;
12074 case linkPreviewTypeAnimation::ID:
12075 func(static_cast<linkPreviewTypeAnimation &>(obj));
12076 return true;
12077 case linkPreviewTypeApp::ID:
12078 func(static_cast<linkPreviewTypeApp &>(obj));
12079 return true;
12080 case linkPreviewTypeArticle::ID:
12081 func(static_cast<linkPreviewTypeArticle &>(obj));
12082 return true;
12083 case linkPreviewTypeAudio::ID:
12084 func(static_cast<linkPreviewTypeAudio &>(obj));
12085 return true;
12086 case linkPreviewTypeBackground::ID:
12087 func(static_cast<linkPreviewTypeBackground &>(obj));
12088 return true;
12089 case linkPreviewTypeChannelBoost::ID:
12090 func(static_cast<linkPreviewTypeChannelBoost &>(obj));
12091 return true;
12092 case linkPreviewTypeChat::ID:
12093 func(static_cast<linkPreviewTypeChat &>(obj));
12094 return true;
12095 case linkPreviewTypeDirectMessagesChat::ID:
12096 func(static_cast<linkPreviewTypeDirectMessagesChat &>(obj));
12097 return true;
12098 case linkPreviewTypeDocument::ID:
12099 func(static_cast<linkPreviewTypeDocument &>(obj));
12100 return true;
12101 case linkPreviewTypeEmbeddedAnimationPlayer::ID:
12102 func(static_cast<linkPreviewTypeEmbeddedAnimationPlayer &>(obj));
12103 return true;
12104 case linkPreviewTypeEmbeddedAudioPlayer::ID:
12105 func(static_cast<linkPreviewTypeEmbeddedAudioPlayer &>(obj));
12106 return true;
12107 case linkPreviewTypeEmbeddedVideoPlayer::ID:
12108 func(static_cast<linkPreviewTypeEmbeddedVideoPlayer &>(obj));
12109 return true;
12110 case linkPreviewTypeExternalAudio::ID:
12111 func(static_cast<linkPreviewTypeExternalAudio &>(obj));
12112 return true;
12113 case linkPreviewTypeExternalVideo::ID:
12114 func(static_cast<linkPreviewTypeExternalVideo &>(obj));
12115 return true;
12116 case linkPreviewTypeGiftAuction::ID:
12117 func(static_cast<linkPreviewTypeGiftAuction &>(obj));
12118 return true;
12119 case linkPreviewTypeGiftCollection::ID:
12120 func(static_cast<linkPreviewTypeGiftCollection &>(obj));
12121 return true;
12122 case linkPreviewTypeGroupCall::ID:
12123 func(static_cast<linkPreviewTypeGroupCall &>(obj));
12124 return true;
12125 case linkPreviewTypeInvoice::ID:
12126 func(static_cast<linkPreviewTypeInvoice &>(obj));
12127 return true;
12128 case linkPreviewTypeLiveStory::ID:
12129 func(static_cast<linkPreviewTypeLiveStory &>(obj));
12130 return true;
12131 case linkPreviewTypeMessage::ID:
12132 func(static_cast<linkPreviewTypeMessage &>(obj));
12133 return true;
12134 case linkPreviewTypePhoto::ID:
12135 func(static_cast<linkPreviewTypePhoto &>(obj));
12136 return true;
12137 case linkPreviewTypePremiumGiftCode::ID:
12138 func(static_cast<linkPreviewTypePremiumGiftCode &>(obj));
12139 return true;
12140 case linkPreviewTypeRequestManagedBot::ID:
12141 func(static_cast<linkPreviewTypeRequestManagedBot &>(obj));
12142 return true;
12143 case linkPreviewTypeShareableChatFolder::ID:
12144 func(static_cast<linkPreviewTypeShareableChatFolder &>(obj));
12145 return true;
12146 case linkPreviewTypeSticker::ID:
12147 func(static_cast<linkPreviewTypeSticker &>(obj));
12148 return true;
12149 case linkPreviewTypeStickerSet::ID:
12150 func(static_cast<linkPreviewTypeStickerSet &>(obj));
12151 return true;
12152 case linkPreviewTypeStory::ID:
12153 func(static_cast<linkPreviewTypeStory &>(obj));
12154 return true;
12155 case linkPreviewTypeStoryAlbum::ID:
12156 func(static_cast<linkPreviewTypeStoryAlbum &>(obj));
12157 return true;
12158 case linkPreviewTypeSupergroupBoost::ID:
12159 func(static_cast<linkPreviewTypeSupergroupBoost &>(obj));
12160 return true;
12161 case linkPreviewTypeTheme::ID:
12162 func(static_cast<linkPreviewTypeTheme &>(obj));
12163 return true;
12164 case linkPreviewTypeUnsupported::ID:
12165 func(static_cast<linkPreviewTypeUnsupported &>(obj));
12166 return true;
12167 case linkPreviewTypeUpgradedGift::ID:
12168 func(static_cast<linkPreviewTypeUpgradedGift &>(obj));
12169 return true;
12170 case linkPreviewTypeUser::ID:
12171 func(static_cast<linkPreviewTypeUser &>(obj));
12172 return true;
12173 case linkPreviewTypeVideo::ID:
12174 func(static_cast<linkPreviewTypeVideo &>(obj));
12175 return true;
12176 case linkPreviewTypeVideoChat::ID:
12177 func(static_cast<linkPreviewTypeVideoChat &>(obj));
12178 return true;
12179 case linkPreviewTypeVideoNote::ID:
12180 func(static_cast<linkPreviewTypeVideoNote &>(obj));
12181 return true;
12182 case linkPreviewTypeVoiceNote::ID:
12183 func(static_cast<linkPreviewTypeVoiceNote &>(obj));
12184 return true;
12185 case linkPreviewTypeWebApp::ID:
12186 func(static_cast<linkPreviewTypeWebApp &>(obj));
12187 return true;
12188 default:
12189 return false;
12190 }
12191}

◆ downcast_call() [99/203]

template<class T >
bool td::td_api::downcast_call ( LoginUrlInfo obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12223 of file td_api.hpp.

12223 { //-V2008
12224 switch (obj.get_id()) {
12225 case loginUrlInfoOpen::ID:
12226 func(static_cast<loginUrlInfoOpen &>(obj));
12227 return true;
12228 case loginUrlInfoRequestConfirmation::ID:
12229 func(static_cast<loginUrlInfoRequestConfirmation &>(obj));
12230 return true;
12231 default:
12232 return false;
12233 }
12234}

◆ downcast_call() [100/203]

template<class T >
bool td::td_api::downcast_call ( LogStream obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12200 of file td_api.hpp.

12200 { //-V2008
12201 switch (obj.get_id()) {
12202 case logStreamDefault::ID:
12203 func(static_cast<logStreamDefault &>(obj));
12204 return true;
12205 case logStreamFile::ID:
12206 func(static_cast<logStreamFile &>(obj));
12207 return true;
12208 case logStreamEmpty::ID:
12209 func(static_cast<logStreamEmpty &>(obj));
12210 return true;
12211 default:
12212 return false;
12213 }
12214}

◆ downcast_call() [101/203]

template<class T >
bool td::td_api::downcast_call ( MaskPoint obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12243 of file td_api.hpp.

12243 { //-V2008
12244 switch (obj.get_id()) {
12245 case maskPointForehead::ID:
12246 func(static_cast<maskPointForehead &>(obj));
12247 return true;
12248 case maskPointEyes::ID:
12249 func(static_cast<maskPointEyes &>(obj));
12250 return true;
12251 case maskPointMouth::ID:
12252 func(static_cast<maskPointMouth &>(obj));
12253 return true;
12254 case maskPointChin::ID:
12255 func(static_cast<maskPointChin &>(obj));
12256 return true;
12257 default:
12258 return false;
12259 }
12260}

◆ downcast_call() [102/203]

template<class T >
bool td::td_api::downcast_call ( MessageContent obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12269 of file td_api.hpp.

12269 { //-V2008
12270 switch (obj.get_id()) {
12271 case messageText::ID:
12272 func(static_cast<messageText &>(obj));
12273 return true;
12274 case messageAnimation::ID:
12275 func(static_cast<messageAnimation &>(obj));
12276 return true;
12277 case messageAudio::ID:
12278 func(static_cast<messageAudio &>(obj));
12279 return true;
12280 case messageDocument::ID:
12281 func(static_cast<messageDocument &>(obj));
12282 return true;
12283 case messagePaidMedia::ID:
12284 func(static_cast<messagePaidMedia &>(obj));
12285 return true;
12286 case messagePhoto::ID:
12287 func(static_cast<messagePhoto &>(obj));
12288 return true;
12289 case messageSticker::ID:
12290 func(static_cast<messageSticker &>(obj));
12291 return true;
12292 case messageVideo::ID:
12293 func(static_cast<messageVideo &>(obj));
12294 return true;
12295 case messageVideoNote::ID:
12296 func(static_cast<messageVideoNote &>(obj));
12297 return true;
12298 case messageVoiceNote::ID:
12299 func(static_cast<messageVoiceNote &>(obj));
12300 return true;
12301 case messageExpiredPhoto::ID:
12302 func(static_cast<messageExpiredPhoto &>(obj));
12303 return true;
12304 case messageExpiredVideo::ID:
12305 func(static_cast<messageExpiredVideo &>(obj));
12306 return true;
12307 case messageExpiredVideoNote::ID:
12308 func(static_cast<messageExpiredVideoNote &>(obj));
12309 return true;
12310 case messageExpiredVoiceNote::ID:
12311 func(static_cast<messageExpiredVoiceNote &>(obj));
12312 return true;
12313 case messageLocation::ID:
12314 func(static_cast<messageLocation &>(obj));
12315 return true;
12316 case messageVenue::ID:
12317 func(static_cast<messageVenue &>(obj));
12318 return true;
12319 case messageContact::ID:
12320 func(static_cast<messageContact &>(obj));
12321 return true;
12322 case messageAnimatedEmoji::ID:
12323 func(static_cast<messageAnimatedEmoji &>(obj));
12324 return true;
12325 case messageDice::ID:
12326 func(static_cast<messageDice &>(obj));
12327 return true;
12328 case messageGame::ID:
12329 func(static_cast<messageGame &>(obj));
12330 return true;
12331 case messagePoll::ID:
12332 func(static_cast<messagePoll &>(obj));
12333 return true;
12334 case messageStakeDice::ID:
12335 func(static_cast<messageStakeDice &>(obj));
12336 return true;
12337 case messageStory::ID:
12338 func(static_cast<messageStory &>(obj));
12339 return true;
12340 case messageChecklist::ID:
12341 func(static_cast<messageChecklist &>(obj));
12342 return true;
12343 case messageInvoice::ID:
12344 func(static_cast<messageInvoice &>(obj));
12345 return true;
12346 case messageCall::ID:
12347 func(static_cast<messageCall &>(obj));
12348 return true;
12349 case messageGroupCall::ID:
12350 func(static_cast<messageGroupCall &>(obj));
12351 return true;
12352 case messageVideoChatScheduled::ID:
12353 func(static_cast<messageVideoChatScheduled &>(obj));
12354 return true;
12355 case messageVideoChatStarted::ID:
12356 func(static_cast<messageVideoChatStarted &>(obj));
12357 return true;
12358 case messageVideoChatEnded::ID:
12359 func(static_cast<messageVideoChatEnded &>(obj));
12360 return true;
12361 case messageInviteVideoChatParticipants::ID:
12362 func(static_cast<messageInviteVideoChatParticipants &>(obj));
12363 return true;
12364 case messagePollOptionAdded::ID:
12365 func(static_cast<messagePollOptionAdded &>(obj));
12366 return true;
12367 case messagePollOptionDeleted::ID:
12368 func(static_cast<messagePollOptionDeleted &>(obj));
12369 return true;
12370 case messageBasicGroupChatCreate::ID:
12371 func(static_cast<messageBasicGroupChatCreate &>(obj));
12372 return true;
12373 case messageSupergroupChatCreate::ID:
12374 func(static_cast<messageSupergroupChatCreate &>(obj));
12375 return true;
12376 case messageChatChangeTitle::ID:
12377 func(static_cast<messageChatChangeTitle &>(obj));
12378 return true;
12379 case messageChatChangePhoto::ID:
12380 func(static_cast<messageChatChangePhoto &>(obj));
12381 return true;
12382 case messageChatDeletePhoto::ID:
12383 func(static_cast<messageChatDeletePhoto &>(obj));
12384 return true;
12385 case messageChatOwnerLeft::ID:
12386 func(static_cast<messageChatOwnerLeft &>(obj));
12387 return true;
12388 case messageChatOwnerChanged::ID:
12389 func(static_cast<messageChatOwnerChanged &>(obj));
12390 return true;
12391 case messageChatHasProtectedContentToggled::ID:
12392 func(static_cast<messageChatHasProtectedContentToggled &>(obj));
12393 return true;
12394 case messageChatHasProtectedContentDisableRequested::ID:
12395 func(static_cast<messageChatHasProtectedContentDisableRequested &>(obj));
12396 return true;
12397 case messageChatAddMembers::ID:
12398 func(static_cast<messageChatAddMembers &>(obj));
12399 return true;
12400 case messageChatJoinByLink::ID:
12401 func(static_cast<messageChatJoinByLink &>(obj));
12402 return true;
12403 case messageChatJoinByRequest::ID:
12404 func(static_cast<messageChatJoinByRequest &>(obj));
12405 return true;
12406 case messageChatDeleteMember::ID:
12407 func(static_cast<messageChatDeleteMember &>(obj));
12408 return true;
12409 case messageChatUpgradeTo::ID:
12410 func(static_cast<messageChatUpgradeTo &>(obj));
12411 return true;
12412 case messageChatUpgradeFrom::ID:
12413 func(static_cast<messageChatUpgradeFrom &>(obj));
12414 return true;
12415 case messagePinMessage::ID:
12416 func(static_cast<messagePinMessage &>(obj));
12417 return true;
12418 case messageScreenshotTaken::ID:
12419 func(static_cast<messageScreenshotTaken &>(obj));
12420 return true;
12421 case messageChatSetBackground::ID:
12422 func(static_cast<messageChatSetBackground &>(obj));
12423 return true;
12424 case messageChatSetTheme::ID:
12425 func(static_cast<messageChatSetTheme &>(obj));
12426 return true;
12427 case messageChatSetMessageAutoDeleteTime::ID:
12428 func(static_cast<messageChatSetMessageAutoDeleteTime &>(obj));
12429 return true;
12430 case messageChatBoost::ID:
12431 func(static_cast<messageChatBoost &>(obj));
12432 return true;
12433 case messageForumTopicCreated::ID:
12434 func(static_cast<messageForumTopicCreated &>(obj));
12435 return true;
12436 case messageForumTopicEdited::ID:
12437 func(static_cast<messageForumTopicEdited &>(obj));
12438 return true;
12439 case messageForumTopicIsClosedToggled::ID:
12440 func(static_cast<messageForumTopicIsClosedToggled &>(obj));
12441 return true;
12442 case messageForumTopicIsHiddenToggled::ID:
12443 func(static_cast<messageForumTopicIsHiddenToggled &>(obj));
12444 return true;
12445 case messageSuggestProfilePhoto::ID:
12446 func(static_cast<messageSuggestProfilePhoto &>(obj));
12447 return true;
12448 case messageSuggestBirthdate::ID:
12449 func(static_cast<messageSuggestBirthdate &>(obj));
12450 return true;
12451 case messageCustomServiceAction::ID:
12452 func(static_cast<messageCustomServiceAction &>(obj));
12453 return true;
12454 case messageGameScore::ID:
12455 func(static_cast<messageGameScore &>(obj));
12456 return true;
12457 case messageManagedBotCreated::ID:
12458 func(static_cast<messageManagedBotCreated &>(obj));
12459 return true;
12460 case messagePaymentSuccessful::ID:
12461 func(static_cast<messagePaymentSuccessful &>(obj));
12462 return true;
12463 case messagePaymentSuccessfulBot::ID:
12464 func(static_cast<messagePaymentSuccessfulBot &>(obj));
12465 return true;
12466 case messagePaymentRefunded::ID:
12467 func(static_cast<messagePaymentRefunded &>(obj));
12468 return true;
12469 case messageGiftedPremium::ID:
12470 func(static_cast<messageGiftedPremium &>(obj));
12471 return true;
12472 case messagePremiumGiftCode::ID:
12473 func(static_cast<messagePremiumGiftCode &>(obj));
12474 return true;
12475 case messageGiveawayCreated::ID:
12476 func(static_cast<messageGiveawayCreated &>(obj));
12477 return true;
12478 case messageGiveaway::ID:
12479 func(static_cast<messageGiveaway &>(obj));
12480 return true;
12481 case messageGiveawayCompleted::ID:
12482 func(static_cast<messageGiveawayCompleted &>(obj));
12483 return true;
12484 case messageGiveawayWinners::ID:
12485 func(static_cast<messageGiveawayWinners &>(obj));
12486 return true;
12487 case messageGiftedStars::ID:
12488 func(static_cast<messageGiftedStars &>(obj));
12489 return true;
12490 case messageGiftedTon::ID:
12491 func(static_cast<messageGiftedTon &>(obj));
12492 return true;
12493 case messageGiveawayPrizeStars::ID:
12494 func(static_cast<messageGiveawayPrizeStars &>(obj));
12495 return true;
12496 case messageGift::ID:
12497 func(static_cast<messageGift &>(obj));
12498 return true;
12499 case messageUpgradedGift::ID:
12500 func(static_cast<messageUpgradedGift &>(obj));
12501 return true;
12502 case messageRefundedUpgradedGift::ID:
12503 func(static_cast<messageRefundedUpgradedGift &>(obj));
12504 return true;
12505 case messageUpgradedGiftPurchaseOffer::ID:
12506 func(static_cast<messageUpgradedGiftPurchaseOffer &>(obj));
12507 return true;
12508 case messageUpgradedGiftPurchaseOfferRejected::ID:
12509 func(static_cast<messageUpgradedGiftPurchaseOfferRejected &>(obj));
12510 return true;
12511 case messagePaidMessagesRefunded::ID:
12512 func(static_cast<messagePaidMessagesRefunded &>(obj));
12513 return true;
12514 case messagePaidMessagePriceChanged::ID:
12515 func(static_cast<messagePaidMessagePriceChanged &>(obj));
12516 return true;
12517 case messageDirectMessagePriceChanged::ID:
12518 func(static_cast<messageDirectMessagePriceChanged &>(obj));
12519 return true;
12520 case messageChecklistTasksDone::ID:
12521 func(static_cast<messageChecklistTasksDone &>(obj));
12522 return true;
12523 case messageChecklistTasksAdded::ID:
12524 func(static_cast<messageChecklistTasksAdded &>(obj));
12525 return true;
12526 case messageSuggestedPostApprovalFailed::ID:
12527 func(static_cast<messageSuggestedPostApprovalFailed &>(obj));
12528 return true;
12529 case messageSuggestedPostApproved::ID:
12530 func(static_cast<messageSuggestedPostApproved &>(obj));
12531 return true;
12532 case messageSuggestedPostDeclined::ID:
12533 func(static_cast<messageSuggestedPostDeclined &>(obj));
12534 return true;
12535 case messageSuggestedPostPaid::ID:
12536 func(static_cast<messageSuggestedPostPaid &>(obj));
12537 return true;
12538 case messageSuggestedPostRefunded::ID:
12539 func(static_cast<messageSuggestedPostRefunded &>(obj));
12540 return true;
12541 case messageContactRegistered::ID:
12542 func(static_cast<messageContactRegistered &>(obj));
12543 return true;
12544 case messageUsersShared::ID:
12545 func(static_cast<messageUsersShared &>(obj));
12546 return true;
12547 case messageChatShared::ID:
12548 func(static_cast<messageChatShared &>(obj));
12549 return true;
12550 case messageBotWriteAccessAllowed::ID:
12551 func(static_cast<messageBotWriteAccessAllowed &>(obj));
12552 return true;
12553 case messageWebAppDataSent::ID:
12554 func(static_cast<messageWebAppDataSent &>(obj));
12555 return true;
12556 case messageWebAppDataReceived::ID:
12557 func(static_cast<messageWebAppDataReceived &>(obj));
12558 return true;
12559 case messagePassportDataSent::ID:
12560 func(static_cast<messagePassportDataSent &>(obj));
12561 return true;
12562 case messagePassportDataReceived::ID:
12563 func(static_cast<messagePassportDataReceived &>(obj));
12564 return true;
12565 case messageProximityAlertTriggered::ID:
12566 func(static_cast<messageProximityAlertTriggered &>(obj));
12567 return true;
12568 case messageUnsupported::ID:
12569 func(static_cast<messageUnsupported &>(obj));
12570 return true;
12571 default:
12572 return false;
12573 }
12574}

◆ downcast_call() [103/203]

template<class T >
bool td::td_api::downcast_call ( MessageEffectType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12583 of file td_api.hpp.

12583 { //-V2008
12584 switch (obj.get_id()) {
12585 case messageEffectTypeEmojiReaction::ID:
12586 func(static_cast<messageEffectTypeEmojiReaction &>(obj));
12587 return true;
12588 case messageEffectTypePremiumSticker::ID:
12589 func(static_cast<messageEffectTypePremiumSticker &>(obj));
12590 return true;
12591 default:
12592 return false;
12593 }
12594}

◆ downcast_call() [104/203]

template<class T >
bool td::td_api::downcast_call ( MessageFileType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12603 of file td_api.hpp.

12603 { //-V2008
12604 switch (obj.get_id()) {
12605 case messageFileTypePrivate::ID:
12606 func(static_cast<messageFileTypePrivate &>(obj));
12607 return true;
12608 case messageFileTypeGroup::ID:
12609 func(static_cast<messageFileTypeGroup &>(obj));
12610 return true;
12611 case messageFileTypeUnknown::ID:
12612 func(static_cast<messageFileTypeUnknown &>(obj));
12613 return true;
12614 default:
12615 return false;
12616 }
12617}

◆ downcast_call() [105/203]

template<class T >
bool td::td_api::downcast_call ( MessageOrigin obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12626 of file td_api.hpp.

12626 { //-V2008
12627 switch (obj.get_id()) {
12628 case messageOriginUser::ID:
12629 func(static_cast<messageOriginUser &>(obj));
12630 return true;
12631 case messageOriginHiddenUser::ID:
12632 func(static_cast<messageOriginHiddenUser &>(obj));
12633 return true;
12634 case messageOriginChat::ID:
12635 func(static_cast<messageOriginChat &>(obj));
12636 return true;
12637 case messageOriginChannel::ID:
12638 func(static_cast<messageOriginChannel &>(obj));
12639 return true;
12640 default:
12641 return false;
12642 }
12643}

◆ downcast_call() [106/203]

template<class T >
bool td::td_api::downcast_call ( MessageReadDate obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12652 of file td_api.hpp.

12652 { //-V2008
12653 switch (obj.get_id()) {
12654 case messageReadDateRead::ID:
12655 func(static_cast<messageReadDateRead &>(obj));
12656 return true;
12657 case messageReadDateUnread::ID:
12658 func(static_cast<messageReadDateUnread &>(obj));
12659 return true;
12660 case messageReadDateTooOld::ID:
12661 func(static_cast<messageReadDateTooOld &>(obj));
12662 return true;
12663 case messageReadDateUserPrivacyRestricted::ID:
12664 func(static_cast<messageReadDateUserPrivacyRestricted &>(obj));
12665 return true;
12666 case messageReadDateMyPrivacyRestricted::ID:
12667 func(static_cast<messageReadDateMyPrivacyRestricted &>(obj));
12668 return true;
12669 default:
12670 return false;
12671 }
12672}

◆ downcast_call() [107/203]

template<class T >
bool td::td_api::downcast_call ( MessageReplyTo obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12681 of file td_api.hpp.

12681 { //-V2008
12682 switch (obj.get_id()) {
12683 case messageReplyToMessage::ID:
12684 func(static_cast<messageReplyToMessage &>(obj));
12685 return true;
12686 case messageReplyToStory::ID:
12687 func(static_cast<messageReplyToStory &>(obj));
12688 return true;
12689 default:
12690 return false;
12691 }
12692}

◆ downcast_call() [108/203]

template<class T >
bool td::td_api::downcast_call ( MessageSchedulingState obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12701 of file td_api.hpp.

12701 { //-V2008
12702 switch (obj.get_id()) {
12703 case messageSchedulingStateSendAtDate::ID:
12704 func(static_cast<messageSchedulingStateSendAtDate &>(obj));
12705 return true;
12706 case messageSchedulingStateSendWhenOnline::ID:
12707 func(static_cast<messageSchedulingStateSendWhenOnline &>(obj));
12708 return true;
12709 case messageSchedulingStateSendWhenVideoProcessed::ID:
12710 func(static_cast<messageSchedulingStateSendWhenVideoProcessed &>(obj));
12711 return true;
12712 default:
12713 return false;
12714 }
12715}

◆ downcast_call() [109/203]

template<class T >
bool td::td_api::downcast_call ( MessageSelfDestructType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12724 of file td_api.hpp.

12724 { //-V2008
12725 switch (obj.get_id()) {
12726 case messageSelfDestructTypeTimer::ID:
12727 func(static_cast<messageSelfDestructTypeTimer &>(obj));
12728 return true;
12729 case messageSelfDestructTypeImmediately::ID:
12730 func(static_cast<messageSelfDestructTypeImmediately &>(obj));
12731 return true;
12732 default:
12733 return false;
12734 }
12735}

◆ downcast_call() [110/203]

template<class T >
bool td::td_api::downcast_call ( MessageSender obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12744 of file td_api.hpp.

12744 { //-V2008
12745 switch (obj.get_id()) {
12746 case messageSenderUser::ID:
12747 func(static_cast<messageSenderUser &>(obj));
12748 return true;
12749 case messageSenderChat::ID:
12750 func(static_cast<messageSenderChat &>(obj));
12751 return true;
12752 default:
12753 return false;
12754 }
12755}

◆ downcast_call() [111/203]

template<class T >
bool td::td_api::downcast_call ( MessageSendingState obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12764 of file td_api.hpp.

12764 { //-V2008
12765 switch (obj.get_id()) {
12766 case messageSendingStatePending::ID:
12767 func(static_cast<messageSendingStatePending &>(obj));
12768 return true;
12769 case messageSendingStateFailed::ID:
12770 func(static_cast<messageSendingStateFailed &>(obj));
12771 return true;
12772 default:
12773 return false;
12774 }
12775}

◆ downcast_call() [112/203]

template<class T >
bool td::td_api::downcast_call ( MessageSource obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12784 of file td_api.hpp.

12784 { //-V2008
12785 switch (obj.get_id()) {
12786 case messageSourceChatHistory::ID:
12787 func(static_cast<messageSourceChatHistory &>(obj));
12788 return true;
12789 case messageSourceMessageThreadHistory::ID:
12790 func(static_cast<messageSourceMessageThreadHistory &>(obj));
12791 return true;
12792 case messageSourceForumTopicHistory::ID:
12793 func(static_cast<messageSourceForumTopicHistory &>(obj));
12794 return true;
12795 case messageSourceDirectMessagesChatTopicHistory::ID:
12796 func(static_cast<messageSourceDirectMessagesChatTopicHistory &>(obj));
12797 return true;
12798 case messageSourceHistoryPreview::ID:
12799 func(static_cast<messageSourceHistoryPreview &>(obj));
12800 return true;
12801 case messageSourceChatList::ID:
12802 func(static_cast<messageSourceChatList &>(obj));
12803 return true;
12804 case messageSourceSearch::ID:
12805 func(static_cast<messageSourceSearch &>(obj));
12806 return true;
12807 case messageSourceChatEventLog::ID:
12808 func(static_cast<messageSourceChatEventLog &>(obj));
12809 return true;
12810 case messageSourceNotification::ID:
12811 func(static_cast<messageSourceNotification &>(obj));
12812 return true;
12813 case messageSourceScreenshot::ID:
12814 func(static_cast<messageSourceScreenshot &>(obj));
12815 return true;
12816 case messageSourceOther::ID:
12817 func(static_cast<messageSourceOther &>(obj));
12818 return true;
12819 default:
12820 return false;
12821 }
12822}

◆ downcast_call() [113/203]

template<class T >
bool td::td_api::downcast_call ( MessageTopic obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12831 of file td_api.hpp.

12831 { //-V2008
12832 switch (obj.get_id()) {
12833 case messageTopicThread::ID:
12834 func(static_cast<messageTopicThread &>(obj));
12835 return true;
12836 case messageTopicForum::ID:
12837 func(static_cast<messageTopicForum &>(obj));
12838 return true;
12839 case messageTopicDirectMessages::ID:
12840 func(static_cast<messageTopicDirectMessages &>(obj));
12841 return true;
12842 case messageTopicSavedMessages::ID:
12843 func(static_cast<messageTopicSavedMessages &>(obj));
12844 return true;
12845 default:
12846 return false;
12847 }
12848}

◆ downcast_call() [114/203]

template<class T >
bool td::td_api::downcast_call ( NetworkStatisticsEntry obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12857 of file td_api.hpp.

12857 { //-V2008
12858 switch (obj.get_id()) {
12859 case networkStatisticsEntryFile::ID:
12860 func(static_cast<networkStatisticsEntryFile &>(obj));
12861 return true;
12862 case networkStatisticsEntryCall::ID:
12863 func(static_cast<networkStatisticsEntryCall &>(obj));
12864 return true;
12865 default:
12866 return false;
12867 }
12868}

◆ downcast_call() [115/203]

template<class T >
bool td::td_api::downcast_call ( NetworkType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12877 of file td_api.hpp.

12877 { //-V2008
12878 switch (obj.get_id()) {
12879 case networkTypeNone::ID:
12880 func(static_cast<networkTypeNone &>(obj));
12881 return true;
12882 case networkTypeMobile::ID:
12883 func(static_cast<networkTypeMobile &>(obj));
12884 return true;
12885 case networkTypeMobileRoaming::ID:
12886 func(static_cast<networkTypeMobileRoaming &>(obj));
12887 return true;
12888 case networkTypeWiFi::ID:
12889 func(static_cast<networkTypeWiFi &>(obj));
12890 return true;
12891 case networkTypeOther::ID:
12892 func(static_cast<networkTypeOther &>(obj));
12893 return true;
12894 default:
12895 return false;
12896 }
12897}

◆ downcast_call() [116/203]

template<class T >
bool td::td_api::downcast_call ( NotificationGroupType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12906 of file td_api.hpp.

12906 { //-V2008
12907 switch (obj.get_id()) {
12908 case notificationGroupTypeMessages::ID:
12909 func(static_cast<notificationGroupTypeMessages &>(obj));
12910 return true;
12911 case notificationGroupTypeMentions::ID:
12912 func(static_cast<notificationGroupTypeMentions &>(obj));
12913 return true;
12914 case notificationGroupTypeSecretChat::ID:
12915 func(static_cast<notificationGroupTypeSecretChat &>(obj));
12916 return true;
12917 case notificationGroupTypeCalls::ID:
12918 func(static_cast<notificationGroupTypeCalls &>(obj));
12919 return true;
12920 default:
12921 return false;
12922 }
12923}

◆ downcast_call() [117/203]

template<class T >
bool td::td_api::downcast_call ( NotificationSettingsScope obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12932 of file td_api.hpp.

12932 { //-V2008
12933 switch (obj.get_id()) {
12934 case notificationSettingsScopePrivateChats::ID:
12935 func(static_cast<notificationSettingsScopePrivateChats &>(obj));
12936 return true;
12937 case notificationSettingsScopeGroupChats::ID:
12938 func(static_cast<notificationSettingsScopeGroupChats &>(obj));
12939 return true;
12940 case notificationSettingsScopeChannelChats::ID:
12941 func(static_cast<notificationSettingsScopeChannelChats &>(obj));
12942 return true;
12943 default:
12944 return false;
12945 }
12946}

◆ downcast_call() [118/203]

template<class T >
bool td::td_api::downcast_call ( NotificationType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12955 of file td_api.hpp.

12955 { //-V2008
12956 switch (obj.get_id()) {
12957 case notificationTypeNewMessage::ID:
12958 func(static_cast<notificationTypeNewMessage &>(obj));
12959 return true;
12960 case notificationTypeNewSecretChat::ID:
12961 func(static_cast<notificationTypeNewSecretChat &>(obj));
12962 return true;
12963 case notificationTypeNewCall::ID:
12964 func(static_cast<notificationTypeNewCall &>(obj));
12965 return true;
12966 case notificationTypeNewPushMessage::ID:
12967 func(static_cast<notificationTypeNewPushMessage &>(obj));
12968 return true;
12969 default:
12970 return false;
12971 }
12972}

◆ downcast_call() [119/203]

template<class T >
bool td::td_api::downcast_call ( Object obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 25 of file td_api.hpp.

25 { //-V2008
26 switch (obj.get_id()) {
27 case accentColor::ID:
28 func(static_cast<accentColor &>(obj));
29 return true;
30 case acceptedGiftTypes::ID:
31 func(static_cast<acceptedGiftTypes &>(obj));
32 return true;
33 case accountInfo::ID:
34 func(static_cast<accountInfo &>(obj));
35 return true;
36 case accountTtl::ID:
37 func(static_cast<accountTtl &>(obj));
38 return true;
39 case activeStoryStateLive::ID:
40 func(static_cast<activeStoryStateLive &>(obj));
41 return true;
42 case activeStoryStateUnread::ID:
43 func(static_cast<activeStoryStateUnread &>(obj));
44 return true;
45 case activeStoryStateRead::ID:
46 func(static_cast<activeStoryStateRead &>(obj));
47 return true;
48 case addedProxies::ID:
49 func(static_cast<addedProxies &>(obj));
50 return true;
51 case addedProxy::ID:
52 func(static_cast<addedProxy &>(obj));
53 return true;
54 case addedReaction::ID:
55 func(static_cast<addedReaction &>(obj));
56 return true;
57 case addedReactions::ID:
58 func(static_cast<addedReactions &>(obj));
59 return true;
60 case address::ID:
61 func(static_cast<address &>(obj));
62 return true;
63 case advertisementSponsor::ID:
64 func(static_cast<advertisementSponsor &>(obj));
65 return true;
66 case affiliateInfo::ID:
67 func(static_cast<affiliateInfo &>(obj));
68 return true;
69 case affiliateProgramInfo::ID:
70 func(static_cast<affiliateProgramInfo &>(obj));
71 return true;
72 case affiliateProgramParameters::ID:
73 func(static_cast<affiliateProgramParameters &>(obj));
74 return true;
75 case affiliateProgramSortOrderProfitability::ID:
76 func(static_cast<affiliateProgramSortOrderProfitability &>(obj));
77 return true;
78 case affiliateProgramSortOrderCreationDate::ID:
79 func(static_cast<affiliateProgramSortOrderCreationDate &>(obj));
80 return true;
81 case affiliateProgramSortOrderRevenue::ID:
82 func(static_cast<affiliateProgramSortOrderRevenue &>(obj));
83 return true;
84 case affiliateTypeCurrentUser::ID:
85 func(static_cast<affiliateTypeCurrentUser &>(obj));
86 return true;
87 case affiliateTypeBot::ID:
88 func(static_cast<affiliateTypeBot &>(obj));
89 return true;
90 case affiliateTypeChannel::ID:
91 func(static_cast<affiliateTypeChannel &>(obj));
92 return true;
93 case ageVerificationParameters::ID:
94 func(static_cast<ageVerificationParameters &>(obj));
95 return true;
96 case alternativeVideo::ID:
97 func(static_cast<alternativeVideo &>(obj));
98 return true;
99 case animatedChatPhoto::ID:
100 func(static_cast<animatedChatPhoto &>(obj));
101 return true;
102 case animatedEmoji::ID:
103 func(static_cast<animatedEmoji &>(obj));
104 return true;
105 case animation::ID:
106 func(static_cast<animation &>(obj));
107 return true;
108 case animations::ID:
109 func(static_cast<animations &>(obj));
110 return true;
111 case archiveChatListSettings::ID:
112 func(static_cast<archiveChatListSettings &>(obj));
113 return true;
114 case attachmentMenuBot::ID:
115 func(static_cast<attachmentMenuBot &>(obj));
116 return true;
117 case attachmentMenuBotColor::ID:
118 func(static_cast<attachmentMenuBotColor &>(obj));
119 return true;
120 case attributeCraftPersistenceProbability::ID:
121 func(static_cast<attributeCraftPersistenceProbability &>(obj));
122 return true;
123 case auctionBid::ID:
124 func(static_cast<auctionBid &>(obj));
125 return true;
126 case auctionRound::ID:
127 func(static_cast<auctionRound &>(obj));
128 return true;
129 case auctionStateActive::ID:
130 func(static_cast<auctionStateActive &>(obj));
131 return true;
132 case auctionStateFinished::ID:
133 func(static_cast<auctionStateFinished &>(obj));
134 return true;
135 case audio::ID:
136 func(static_cast<audio &>(obj));
137 return true;
138 case audios::ID:
139 func(static_cast<audios &>(obj));
140 return true;
141 case authenticationCodeInfo::ID:
142 func(static_cast<authenticationCodeInfo &>(obj));
143 return true;
144 case authenticationCodeTypeTelegramMessage::ID:
145 func(static_cast<authenticationCodeTypeTelegramMessage &>(obj));
146 return true;
147 case authenticationCodeTypeSms::ID:
148 func(static_cast<authenticationCodeTypeSms &>(obj));
149 return true;
150 case authenticationCodeTypeSmsWord::ID:
151 func(static_cast<authenticationCodeTypeSmsWord &>(obj));
152 return true;
153 case authenticationCodeTypeSmsPhrase::ID:
154 func(static_cast<authenticationCodeTypeSmsPhrase &>(obj));
155 return true;
156 case authenticationCodeTypeCall::ID:
157 func(static_cast<authenticationCodeTypeCall &>(obj));
158 return true;
159 case authenticationCodeTypeFlashCall::ID:
160 func(static_cast<authenticationCodeTypeFlashCall &>(obj));
161 return true;
162 case authenticationCodeTypeMissedCall::ID:
163 func(static_cast<authenticationCodeTypeMissedCall &>(obj));
164 return true;
165 case authenticationCodeTypeFragment::ID:
166 func(static_cast<authenticationCodeTypeFragment &>(obj));
167 return true;
168 case authenticationCodeTypeFirebaseAndroid::ID:
169 func(static_cast<authenticationCodeTypeFirebaseAndroid &>(obj));
170 return true;
171 case authenticationCodeTypeFirebaseIos::ID:
172 func(static_cast<authenticationCodeTypeFirebaseIos &>(obj));
173 return true;
174 case authorizationStateWaitTdlibParameters::ID:
175 func(static_cast<authorizationStateWaitTdlibParameters &>(obj));
176 return true;
177 case authorizationStateWaitPhoneNumber::ID:
178 func(static_cast<authorizationStateWaitPhoneNumber &>(obj));
179 return true;
180 case authorizationStateWaitPremiumPurchase::ID:
181 func(static_cast<authorizationStateWaitPremiumPurchase &>(obj));
182 return true;
183 case authorizationStateWaitEmailAddress::ID:
184 func(static_cast<authorizationStateWaitEmailAddress &>(obj));
185 return true;
186 case authorizationStateWaitEmailCode::ID:
187 func(static_cast<authorizationStateWaitEmailCode &>(obj));
188 return true;
189 case authorizationStateWaitCode::ID:
190 func(static_cast<authorizationStateWaitCode &>(obj));
191 return true;
192 case authorizationStateWaitOtherDeviceConfirmation::ID:
193 func(static_cast<authorizationStateWaitOtherDeviceConfirmation &>(obj));
194 return true;
195 case authorizationStateWaitRegistration::ID:
196 func(static_cast<authorizationStateWaitRegistration &>(obj));
197 return true;
198 case authorizationStateWaitPassword::ID:
199 func(static_cast<authorizationStateWaitPassword &>(obj));
200 return true;
201 case authorizationStateReady::ID:
202 func(static_cast<authorizationStateReady &>(obj));
203 return true;
204 case authorizationStateLoggingOut::ID:
205 func(static_cast<authorizationStateLoggingOut &>(obj));
206 return true;
207 case authorizationStateClosing::ID:
208 func(static_cast<authorizationStateClosing &>(obj));
209 return true;
210 case authorizationStateClosed::ID:
211 func(static_cast<authorizationStateClosed &>(obj));
212 return true;
213 case autoDownloadSettings::ID:
214 func(static_cast<autoDownloadSettings &>(obj));
215 return true;
216 case autoDownloadSettingsPresets::ID:
217 func(static_cast<autoDownloadSettingsPresets &>(obj));
218 return true;
219 case autosaveSettings::ID:
220 func(static_cast<autosaveSettings &>(obj));
221 return true;
222 case autosaveSettingsException::ID:
223 func(static_cast<autosaveSettingsException &>(obj));
224 return true;
225 case autosaveSettingsScopePrivateChats::ID:
226 func(static_cast<autosaveSettingsScopePrivateChats &>(obj));
227 return true;
228 case autosaveSettingsScopeGroupChats::ID:
229 func(static_cast<autosaveSettingsScopeGroupChats &>(obj));
230 return true;
231 case autosaveSettingsScopeChannelChats::ID:
232 func(static_cast<autosaveSettingsScopeChannelChats &>(obj));
233 return true;
234 case autosaveSettingsScopeChat::ID:
235 func(static_cast<autosaveSettingsScopeChat &>(obj));
236 return true;
237 case availableGift::ID:
238 func(static_cast<availableGift &>(obj));
239 return true;
240 case availableGifts::ID:
241 func(static_cast<availableGifts &>(obj));
242 return true;
243 case availableReaction::ID:
244 func(static_cast<availableReaction &>(obj));
245 return true;
246 case availableReactions::ID:
247 func(static_cast<availableReactions &>(obj));
248 return true;
249 case background::ID:
250 func(static_cast<background &>(obj));
251 return true;
252 case backgroundFillSolid::ID:
253 func(static_cast<backgroundFillSolid &>(obj));
254 return true;
255 case backgroundFillGradient::ID:
256 func(static_cast<backgroundFillGradient &>(obj));
257 return true;
258 case backgroundFillFreeformGradient::ID:
259 func(static_cast<backgroundFillFreeformGradient &>(obj));
260 return true;
261 case backgroundTypeWallpaper::ID:
262 func(static_cast<backgroundTypeWallpaper &>(obj));
263 return true;
264 case backgroundTypePattern::ID:
265 func(static_cast<backgroundTypePattern &>(obj));
266 return true;
267 case backgroundTypeFill::ID:
268 func(static_cast<backgroundTypeFill &>(obj));
269 return true;
270 case backgroundTypeChatTheme::ID:
271 func(static_cast<backgroundTypeChatTheme &>(obj));
272 return true;
273 case backgrounds::ID:
274 func(static_cast<backgrounds &>(obj));
275 return true;
276 case bankCardActionOpenUrl::ID:
277 func(static_cast<bankCardActionOpenUrl &>(obj));
278 return true;
279 case bankCardInfo::ID:
280 func(static_cast<bankCardInfo &>(obj));
281 return true;
282 case basicGroup::ID:
283 func(static_cast<basicGroup &>(obj));
284 return true;
285 case basicGroupFullInfo::ID:
286 func(static_cast<basicGroupFullInfo &>(obj));
287 return true;
288 case birthdate::ID:
289 func(static_cast<birthdate &>(obj));
290 return true;
291 case blockListMain::ID:
292 func(static_cast<blockListMain &>(obj));
293 return true;
294 case blockListStories::ID:
295 func(static_cast<blockListStories &>(obj));
296 return true;
297 case botCommand::ID:
298 func(static_cast<botCommand &>(obj));
299 return true;
300 case botCommandScopeDefault::ID:
301 func(static_cast<botCommandScopeDefault &>(obj));
302 return true;
303 case botCommandScopeAllPrivateChats::ID:
304 func(static_cast<botCommandScopeAllPrivateChats &>(obj));
305 return true;
306 case botCommandScopeAllGroupChats::ID:
307 func(static_cast<botCommandScopeAllGroupChats &>(obj));
308 return true;
309 case botCommandScopeAllChatAdministrators::ID:
310 func(static_cast<botCommandScopeAllChatAdministrators &>(obj));
311 return true;
312 case botCommandScopeChat::ID:
313 func(static_cast<botCommandScopeChat &>(obj));
314 return true;
315 case botCommandScopeChatAdministrators::ID:
316 func(static_cast<botCommandScopeChatAdministrators &>(obj));
317 return true;
318 case botCommandScopeChatMember::ID:
319 func(static_cast<botCommandScopeChatMember &>(obj));
320 return true;
321 case botCommands::ID:
322 func(static_cast<botCommands &>(obj));
323 return true;
324 case botInfo::ID:
325 func(static_cast<botInfo &>(obj));
326 return true;
327 case botMediaPreview::ID:
328 func(static_cast<botMediaPreview &>(obj));
329 return true;
330 case botMediaPreviewInfo::ID:
331 func(static_cast<botMediaPreviewInfo &>(obj));
332 return true;
333 case botMediaPreviews::ID:
334 func(static_cast<botMediaPreviews &>(obj));
335 return true;
336 case botMenuButton::ID:
337 func(static_cast<botMenuButton &>(obj));
338 return true;
339 case botVerification::ID:
340 func(static_cast<botVerification &>(obj));
341 return true;
342 case botVerificationParameters::ID:
343 func(static_cast<botVerificationParameters &>(obj));
344 return true;
345 case botWriteAccessAllowReasonConnectedWebsite::ID:
346 func(static_cast<botWriteAccessAllowReasonConnectedWebsite &>(obj));
347 return true;
348 case botWriteAccessAllowReasonAddedToAttachmentMenu::ID:
349 func(static_cast<botWriteAccessAllowReasonAddedToAttachmentMenu &>(obj));
350 return true;
351 case botWriteAccessAllowReasonLaunchedWebApp::ID:
352 func(static_cast<botWriteAccessAllowReasonLaunchedWebApp &>(obj));
353 return true;
354 case botWriteAccessAllowReasonAcceptedRequest::ID:
355 func(static_cast<botWriteAccessAllowReasonAcceptedRequest &>(obj));
356 return true;
357 case builtInThemeClassic::ID:
358 func(static_cast<builtInThemeClassic &>(obj));
359 return true;
360 case builtInThemeDay::ID:
361 func(static_cast<builtInThemeDay &>(obj));
362 return true;
363 case builtInThemeNight::ID:
364 func(static_cast<builtInThemeNight &>(obj));
365 return true;
366 case builtInThemeTinted::ID:
367 func(static_cast<builtInThemeTinted &>(obj));
368 return true;
369 case builtInThemeArctic::ID:
370 func(static_cast<builtInThemeArctic &>(obj));
371 return true;
372 case businessAwayMessageScheduleAlways::ID:
373 func(static_cast<businessAwayMessageScheduleAlways &>(obj));
374 return true;
375 case businessAwayMessageScheduleOutsideOfOpeningHours::ID:
376 func(static_cast<businessAwayMessageScheduleOutsideOfOpeningHours &>(obj));
377 return true;
378 case businessAwayMessageScheduleCustom::ID:
379 func(static_cast<businessAwayMessageScheduleCustom &>(obj));
380 return true;
381 case businessAwayMessageSettings::ID:
382 func(static_cast<businessAwayMessageSettings &>(obj));
383 return true;
384 case businessBotManageBar::ID:
385 func(static_cast<businessBotManageBar &>(obj));
386 return true;
387 case businessBotRights::ID:
388 func(static_cast<businessBotRights &>(obj));
389 return true;
390 case businessChatLink::ID:
391 func(static_cast<businessChatLink &>(obj));
392 return true;
393 case businessChatLinkInfo::ID:
394 func(static_cast<businessChatLinkInfo &>(obj));
395 return true;
396 case businessChatLinks::ID:
397 func(static_cast<businessChatLinks &>(obj));
398 return true;
399 case businessConnectedBot::ID:
400 func(static_cast<businessConnectedBot &>(obj));
401 return true;
402 case businessConnection::ID:
403 func(static_cast<businessConnection &>(obj));
404 return true;
405 case businessFeatureLocation::ID:
406 func(static_cast<businessFeatureLocation &>(obj));
407 return true;
408 case businessFeatureOpeningHours::ID:
409 func(static_cast<businessFeatureOpeningHours &>(obj));
410 return true;
411 case businessFeatureQuickReplies::ID:
412 func(static_cast<businessFeatureQuickReplies &>(obj));
413 return true;
414 case businessFeatureGreetingMessage::ID:
415 func(static_cast<businessFeatureGreetingMessage &>(obj));
416 return true;
417 case businessFeatureAwayMessage::ID:
418 func(static_cast<businessFeatureAwayMessage &>(obj));
419 return true;
420 case businessFeatureAccountLinks::ID:
421 func(static_cast<businessFeatureAccountLinks &>(obj));
422 return true;
423 case businessFeatureStartPage::ID:
424 func(static_cast<businessFeatureStartPage &>(obj));
425 return true;
426 case businessFeatureBots::ID:
427 func(static_cast<businessFeatureBots &>(obj));
428 return true;
429 case businessFeatureEmojiStatus::ID:
430 func(static_cast<businessFeatureEmojiStatus &>(obj));
431 return true;
432 case businessFeatureChatFolderTags::ID:
433 func(static_cast<businessFeatureChatFolderTags &>(obj));
434 return true;
435 case businessFeatureUpgradedStories::ID:
436 func(static_cast<businessFeatureUpgradedStories &>(obj));
437 return true;
438 case businessFeaturePromotionAnimation::ID:
439 func(static_cast<businessFeaturePromotionAnimation &>(obj));
440 return true;
441 case businessFeatures::ID:
442 func(static_cast<businessFeatures &>(obj));
443 return true;
444 case businessGreetingMessageSettings::ID:
445 func(static_cast<businessGreetingMessageSettings &>(obj));
446 return true;
447 case businessInfo::ID:
448 func(static_cast<businessInfo &>(obj));
449 return true;
450 case businessLocation::ID:
451 func(static_cast<businessLocation &>(obj));
452 return true;
453 case businessMessage::ID:
454 func(static_cast<businessMessage &>(obj));
455 return true;
456 case businessMessages::ID:
457 func(static_cast<businessMessages &>(obj));
458 return true;
459 case businessOpeningHours::ID:
460 func(static_cast<businessOpeningHours &>(obj));
461 return true;
462 case businessOpeningHoursInterval::ID:
463 func(static_cast<businessOpeningHoursInterval &>(obj));
464 return true;
465 case businessRecipients::ID:
466 func(static_cast<businessRecipients &>(obj));
467 return true;
468 case businessStartPage::ID:
469 func(static_cast<businessStartPage &>(obj));
470 return true;
471 case buttonStyleDefault::ID:
472 func(static_cast<buttonStyleDefault &>(obj));
473 return true;
474 case buttonStylePrimary::ID:
475 func(static_cast<buttonStylePrimary &>(obj));
476 return true;
477 case buttonStyleDanger::ID:
478 func(static_cast<buttonStyleDanger &>(obj));
479 return true;
480 case buttonStyleSuccess::ID:
481 func(static_cast<buttonStyleSuccess &>(obj));
482 return true;
483 case call::ID:
484 func(static_cast<call &>(obj));
485 return true;
486 case callDiscardReasonEmpty::ID:
487 func(static_cast<callDiscardReasonEmpty &>(obj));
488 return true;
489 case callDiscardReasonMissed::ID:
490 func(static_cast<callDiscardReasonMissed &>(obj));
491 return true;
492 case callDiscardReasonDeclined::ID:
493 func(static_cast<callDiscardReasonDeclined &>(obj));
494 return true;
495 case callDiscardReasonDisconnected::ID:
496 func(static_cast<callDiscardReasonDisconnected &>(obj));
497 return true;
498 case callDiscardReasonHungUp::ID:
499 func(static_cast<callDiscardReasonHungUp &>(obj));
500 return true;
501 case callDiscardReasonUpgradeToGroupCall::ID:
502 func(static_cast<callDiscardReasonUpgradeToGroupCall &>(obj));
503 return true;
504 case callId::ID:
505 func(static_cast<callId &>(obj));
506 return true;
507 case callProblemEcho::ID:
508 func(static_cast<callProblemEcho &>(obj));
509 return true;
510 case callProblemNoise::ID:
511 func(static_cast<callProblemNoise &>(obj));
512 return true;
513 case callProblemInterruptions::ID:
514 func(static_cast<callProblemInterruptions &>(obj));
515 return true;
516 case callProblemDistortedSpeech::ID:
517 func(static_cast<callProblemDistortedSpeech &>(obj));
518 return true;
519 case callProblemSilentLocal::ID:
520 func(static_cast<callProblemSilentLocal &>(obj));
521 return true;
522 case callProblemSilentRemote::ID:
523 func(static_cast<callProblemSilentRemote &>(obj));
524 return true;
525 case callProblemDropped::ID:
526 func(static_cast<callProblemDropped &>(obj));
527 return true;
528 case callProblemDistortedVideo::ID:
529 func(static_cast<callProblemDistortedVideo &>(obj));
530 return true;
531 case callProblemPixelatedVideo::ID:
532 func(static_cast<callProblemPixelatedVideo &>(obj));
533 return true;
534 case callProtocol::ID:
535 func(static_cast<callProtocol &>(obj));
536 return true;
537 case callServer::ID:
538 func(static_cast<callServer &>(obj));
539 return true;
540 case callServerTypeTelegramReflector::ID:
541 func(static_cast<callServerTypeTelegramReflector &>(obj));
542 return true;
543 case callServerTypeWebrtc::ID:
544 func(static_cast<callServerTypeWebrtc &>(obj));
545 return true;
546 case callStatePending::ID:
547 func(static_cast<callStatePending &>(obj));
548 return true;
549 case callStateExchangingKeys::ID:
550 func(static_cast<callStateExchangingKeys &>(obj));
551 return true;
552 case callStateReady::ID:
553 func(static_cast<callStateReady &>(obj));
554 return true;
555 case callStateHangingUp::ID:
556 func(static_cast<callStateHangingUp &>(obj));
557 return true;
558 case callStateDiscarded::ID:
559 func(static_cast<callStateDiscarded &>(obj));
560 return true;
561 case callStateError::ID:
562 func(static_cast<callStateError &>(obj));
563 return true;
564 case callbackQueryAnswer::ID:
565 func(static_cast<callbackQueryAnswer &>(obj));
566 return true;
567 case callbackQueryPayloadData::ID:
568 func(static_cast<callbackQueryPayloadData &>(obj));
569 return true;
570 case callbackQueryPayloadDataWithPassword::ID:
571 func(static_cast<callbackQueryPayloadDataWithPassword &>(obj));
572 return true;
573 case callbackQueryPayloadGame::ID:
574 func(static_cast<callbackQueryPayloadGame &>(obj));
575 return true;
576 case canPostStoryResultOk::ID:
577 func(static_cast<canPostStoryResultOk &>(obj));
578 return true;
579 case canPostStoryResultPremiumNeeded::ID:
580 func(static_cast<canPostStoryResultPremiumNeeded &>(obj));
581 return true;
582 case canPostStoryResultBoostNeeded::ID:
583 func(static_cast<canPostStoryResultBoostNeeded &>(obj));
584 return true;
585 case canPostStoryResultActiveStoryLimitExceeded::ID:
586 func(static_cast<canPostStoryResultActiveStoryLimitExceeded &>(obj));
587 return true;
588 case canPostStoryResultWeeklyLimitExceeded::ID:
589 func(static_cast<canPostStoryResultWeeklyLimitExceeded &>(obj));
590 return true;
591 case canPostStoryResultMonthlyLimitExceeded::ID:
592 func(static_cast<canPostStoryResultMonthlyLimitExceeded &>(obj));
593 return true;
594 case canPostStoryResultLiveStoryIsActive::ID:
595 func(static_cast<canPostStoryResultLiveStoryIsActive &>(obj));
596 return true;
597 case canSendGiftResultOk::ID:
598 func(static_cast<canSendGiftResultOk &>(obj));
599 return true;
600 case canSendGiftResultFail::ID:
601 func(static_cast<canSendGiftResultFail &>(obj));
602 return true;
603 case canSendMessageToUserResultOk::ID:
604 func(static_cast<canSendMessageToUserResultOk &>(obj));
605 return true;
606 case canSendMessageToUserResultUserHasPaidMessages::ID:
607 func(static_cast<canSendMessageToUserResultUserHasPaidMessages &>(obj));
608 return true;
609 case canSendMessageToUserResultUserIsDeleted::ID:
610 func(static_cast<canSendMessageToUserResultUserIsDeleted &>(obj));
611 return true;
612 case canSendMessageToUserResultUserRestrictsNewChats::ID:
613 func(static_cast<canSendMessageToUserResultUserRestrictsNewChats &>(obj));
614 return true;
615 case canTransferOwnershipResultOk::ID:
616 func(static_cast<canTransferOwnershipResultOk &>(obj));
617 return true;
618 case canTransferOwnershipResultPasswordNeeded::ID:
619 func(static_cast<canTransferOwnershipResultPasswordNeeded &>(obj));
620 return true;
621 case canTransferOwnershipResultPasswordTooFresh::ID:
622 func(static_cast<canTransferOwnershipResultPasswordTooFresh &>(obj));
623 return true;
624 case canTransferOwnershipResultSessionTooFresh::ID:
625 func(static_cast<canTransferOwnershipResultSessionTooFresh &>(obj));
626 return true;
627 case chat::ID:
628 func(static_cast<chat &>(obj));
629 return true;
630 case chatActionTyping::ID:
631 func(static_cast<chatActionTyping &>(obj));
632 return true;
633 case chatActionRecordingVideo::ID:
634 func(static_cast<chatActionRecordingVideo &>(obj));
635 return true;
636 case chatActionUploadingVideo::ID:
637 func(static_cast<chatActionUploadingVideo &>(obj));
638 return true;
639 case chatActionRecordingVoiceNote::ID:
640 func(static_cast<chatActionRecordingVoiceNote &>(obj));
641 return true;
642 case chatActionUploadingVoiceNote::ID:
643 func(static_cast<chatActionUploadingVoiceNote &>(obj));
644 return true;
645 case chatActionUploadingPhoto::ID:
646 func(static_cast<chatActionUploadingPhoto &>(obj));
647 return true;
648 case chatActionUploadingDocument::ID:
649 func(static_cast<chatActionUploadingDocument &>(obj));
650 return true;
651 case chatActionChoosingSticker::ID:
652 func(static_cast<chatActionChoosingSticker &>(obj));
653 return true;
654 case chatActionChoosingLocation::ID:
655 func(static_cast<chatActionChoosingLocation &>(obj));
656 return true;
657 case chatActionChoosingContact::ID:
658 func(static_cast<chatActionChoosingContact &>(obj));
659 return true;
660 case chatActionStartPlayingGame::ID:
661 func(static_cast<chatActionStartPlayingGame &>(obj));
662 return true;
663 case chatActionRecordingVideoNote::ID:
664 func(static_cast<chatActionRecordingVideoNote &>(obj));
665 return true;
666 case chatActionUploadingVideoNote::ID:
667 func(static_cast<chatActionUploadingVideoNote &>(obj));
668 return true;
669 case chatActionWatchingAnimations::ID:
670 func(static_cast<chatActionWatchingAnimations &>(obj));
671 return true;
672 case chatActionCancel::ID:
673 func(static_cast<chatActionCancel &>(obj));
674 return true;
675 case chatActionBarReportSpam::ID:
676 func(static_cast<chatActionBarReportSpam &>(obj));
677 return true;
678 case chatActionBarInviteMembers::ID:
679 func(static_cast<chatActionBarInviteMembers &>(obj));
680 return true;
681 case chatActionBarReportAddBlock::ID:
682 func(static_cast<chatActionBarReportAddBlock &>(obj));
683 return true;
684 case chatActionBarAddContact::ID:
685 func(static_cast<chatActionBarAddContact &>(obj));
686 return true;
687 case chatActionBarSharePhoneNumber::ID:
688 func(static_cast<chatActionBarSharePhoneNumber &>(obj));
689 return true;
690 case chatActionBarJoinRequest::ID:
691 func(static_cast<chatActionBarJoinRequest &>(obj));
692 return true;
693 case chatActiveStories::ID:
694 func(static_cast<chatActiveStories &>(obj));
695 return true;
696 case chatAdministrator::ID:
697 func(static_cast<chatAdministrator &>(obj));
698 return true;
699 case chatAdministratorRights::ID:
700 func(static_cast<chatAdministratorRights &>(obj));
701 return true;
702 case chatAdministrators::ID:
703 func(static_cast<chatAdministrators &>(obj));
704 return true;
705 case chatAvailableReactionsAll::ID:
706 func(static_cast<chatAvailableReactionsAll &>(obj));
707 return true;
708 case chatAvailableReactionsSome::ID:
709 func(static_cast<chatAvailableReactionsSome &>(obj));
710 return true;
711 case chatBackground::ID:
712 func(static_cast<chatBackground &>(obj));
713 return true;
714 case chatBoost::ID:
715 func(static_cast<chatBoost &>(obj));
716 return true;
717 case chatBoostFeatures::ID:
718 func(static_cast<chatBoostFeatures &>(obj));
719 return true;
720 case chatBoostLevelFeatures::ID:
721 func(static_cast<chatBoostLevelFeatures &>(obj));
722 return true;
723 case chatBoostLink::ID:
724 func(static_cast<chatBoostLink &>(obj));
725 return true;
726 case chatBoostLinkInfo::ID:
727 func(static_cast<chatBoostLinkInfo &>(obj));
728 return true;
729 case chatBoostSlot::ID:
730 func(static_cast<chatBoostSlot &>(obj));
731 return true;
732 case chatBoostSlots::ID:
733 func(static_cast<chatBoostSlots &>(obj));
734 return true;
735 case chatBoostSourceGiftCode::ID:
736 func(static_cast<chatBoostSourceGiftCode &>(obj));
737 return true;
738 case chatBoostSourceGiveaway::ID:
739 func(static_cast<chatBoostSourceGiveaway &>(obj));
740 return true;
741 case chatBoostSourcePremium::ID:
742 func(static_cast<chatBoostSourcePremium &>(obj));
743 return true;
744 case chatBoostStatus::ID:
745 func(static_cast<chatBoostStatus &>(obj));
746 return true;
747 case chatEvent::ID:
748 func(static_cast<chatEvent &>(obj));
749 return true;
750 case chatEventMessageEdited::ID:
751 func(static_cast<chatEventMessageEdited &>(obj));
752 return true;
753 case chatEventMessageDeleted::ID:
754 func(static_cast<chatEventMessageDeleted &>(obj));
755 return true;
756 case chatEventMessagePinned::ID:
757 func(static_cast<chatEventMessagePinned &>(obj));
758 return true;
759 case chatEventMessageUnpinned::ID:
760 func(static_cast<chatEventMessageUnpinned &>(obj));
761 return true;
762 case chatEventPollStopped::ID:
763 func(static_cast<chatEventPollStopped &>(obj));
764 return true;
765 case chatEventMemberJoined::ID:
766 func(static_cast<chatEventMemberJoined &>(obj));
767 return true;
768 case chatEventMemberJoinedByInviteLink::ID:
769 func(static_cast<chatEventMemberJoinedByInviteLink &>(obj));
770 return true;
771 case chatEventMemberJoinedByRequest::ID:
772 func(static_cast<chatEventMemberJoinedByRequest &>(obj));
773 return true;
774 case chatEventMemberInvited::ID:
775 func(static_cast<chatEventMemberInvited &>(obj));
776 return true;
777 case chatEventMemberLeft::ID:
778 func(static_cast<chatEventMemberLeft &>(obj));
779 return true;
780 case chatEventMemberPromoted::ID:
781 func(static_cast<chatEventMemberPromoted &>(obj));
782 return true;
783 case chatEventMemberRestricted::ID:
784 func(static_cast<chatEventMemberRestricted &>(obj));
785 return true;
786 case chatEventMemberTagChanged::ID:
787 func(static_cast<chatEventMemberTagChanged &>(obj));
788 return true;
789 case chatEventMemberSubscriptionExtended::ID:
790 func(static_cast<chatEventMemberSubscriptionExtended &>(obj));
791 return true;
792 case chatEventAvailableReactionsChanged::ID:
793 func(static_cast<chatEventAvailableReactionsChanged &>(obj));
794 return true;
795 case chatEventBackgroundChanged::ID:
796 func(static_cast<chatEventBackgroundChanged &>(obj));
797 return true;
798 case chatEventDescriptionChanged::ID:
799 func(static_cast<chatEventDescriptionChanged &>(obj));
800 return true;
801 case chatEventEmojiStatusChanged::ID:
802 func(static_cast<chatEventEmojiStatusChanged &>(obj));
803 return true;
804 case chatEventLinkedChatChanged::ID:
805 func(static_cast<chatEventLinkedChatChanged &>(obj));
806 return true;
807 case chatEventLocationChanged::ID:
808 func(static_cast<chatEventLocationChanged &>(obj));
809 return true;
810 case chatEventMessageAutoDeleteTimeChanged::ID:
811 func(static_cast<chatEventMessageAutoDeleteTimeChanged &>(obj));
812 return true;
813 case chatEventPermissionsChanged::ID:
814 func(static_cast<chatEventPermissionsChanged &>(obj));
815 return true;
816 case chatEventPhotoChanged::ID:
817 func(static_cast<chatEventPhotoChanged &>(obj));
818 return true;
819 case chatEventSlowModeDelayChanged::ID:
820 func(static_cast<chatEventSlowModeDelayChanged &>(obj));
821 return true;
822 case chatEventStickerSetChanged::ID:
823 func(static_cast<chatEventStickerSetChanged &>(obj));
824 return true;
825 case chatEventCustomEmojiStickerSetChanged::ID:
826 func(static_cast<chatEventCustomEmojiStickerSetChanged &>(obj));
827 return true;
828 case chatEventTitleChanged::ID:
829 func(static_cast<chatEventTitleChanged &>(obj));
830 return true;
831 case chatEventUsernameChanged::ID:
832 func(static_cast<chatEventUsernameChanged &>(obj));
833 return true;
834 case chatEventActiveUsernamesChanged::ID:
835 func(static_cast<chatEventActiveUsernamesChanged &>(obj));
836 return true;
837 case chatEventAccentColorChanged::ID:
838 func(static_cast<chatEventAccentColorChanged &>(obj));
839 return true;
840 case chatEventProfileAccentColorChanged::ID:
841 func(static_cast<chatEventProfileAccentColorChanged &>(obj));
842 return true;
843 case chatEventHasProtectedContentToggled::ID:
844 func(static_cast<chatEventHasProtectedContentToggled &>(obj));
845 return true;
846 case chatEventInvitesToggled::ID:
847 func(static_cast<chatEventInvitesToggled &>(obj));
848 return true;
849 case chatEventIsAllHistoryAvailableToggled::ID:
850 func(static_cast<chatEventIsAllHistoryAvailableToggled &>(obj));
851 return true;
852 case chatEventHasAggressiveAntiSpamEnabledToggled::ID:
853 func(static_cast<chatEventHasAggressiveAntiSpamEnabledToggled &>(obj));
854 return true;
855 case chatEventSignMessagesToggled::ID:
856 func(static_cast<chatEventSignMessagesToggled &>(obj));
857 return true;
858 case chatEventShowMessageSenderToggled::ID:
859 func(static_cast<chatEventShowMessageSenderToggled &>(obj));
860 return true;
861 case chatEventAutomaticTranslationToggled::ID:
862 func(static_cast<chatEventAutomaticTranslationToggled &>(obj));
863 return true;
864 case chatEventInviteLinkEdited::ID:
865 func(static_cast<chatEventInviteLinkEdited &>(obj));
866 return true;
867 case chatEventInviteLinkRevoked::ID:
868 func(static_cast<chatEventInviteLinkRevoked &>(obj));
869 return true;
870 case chatEventInviteLinkDeleted::ID:
871 func(static_cast<chatEventInviteLinkDeleted &>(obj));
872 return true;
873 case chatEventVideoChatCreated::ID:
874 func(static_cast<chatEventVideoChatCreated &>(obj));
875 return true;
876 case chatEventVideoChatEnded::ID:
877 func(static_cast<chatEventVideoChatEnded &>(obj));
878 return true;
879 case chatEventVideoChatMuteNewParticipantsToggled::ID:
880 func(static_cast<chatEventVideoChatMuteNewParticipantsToggled &>(obj));
881 return true;
882 case chatEventVideoChatParticipantIsMutedToggled::ID:
883 func(static_cast<chatEventVideoChatParticipantIsMutedToggled &>(obj));
884 return true;
885 case chatEventVideoChatParticipantVolumeLevelChanged::ID:
886 func(static_cast<chatEventVideoChatParticipantVolumeLevelChanged &>(obj));
887 return true;
888 case chatEventIsForumToggled::ID:
889 func(static_cast<chatEventIsForumToggled &>(obj));
890 return true;
891 case chatEventForumTopicCreated::ID:
892 func(static_cast<chatEventForumTopicCreated &>(obj));
893 return true;
894 case chatEventForumTopicEdited::ID:
895 func(static_cast<chatEventForumTopicEdited &>(obj));
896 return true;
897 case chatEventForumTopicToggleIsClosed::ID:
898 func(static_cast<chatEventForumTopicToggleIsClosed &>(obj));
899 return true;
900 case chatEventForumTopicToggleIsHidden::ID:
901 func(static_cast<chatEventForumTopicToggleIsHidden &>(obj));
902 return true;
903 case chatEventForumTopicDeleted::ID:
904 func(static_cast<chatEventForumTopicDeleted &>(obj));
905 return true;
906 case chatEventForumTopicPinned::ID:
907 func(static_cast<chatEventForumTopicPinned &>(obj));
908 return true;
909 case chatEventLogFilters::ID:
910 func(static_cast<chatEventLogFilters &>(obj));
911 return true;
912 case chatEvents::ID:
913 func(static_cast<chatEvents &>(obj));
914 return true;
915 case chatFolder::ID:
916 func(static_cast<chatFolder &>(obj));
917 return true;
918 case chatFolderIcon::ID:
919 func(static_cast<chatFolderIcon &>(obj));
920 return true;
921 case chatFolderInfo::ID:
922 func(static_cast<chatFolderInfo &>(obj));
923 return true;
924 case chatFolderInviteLink::ID:
925 func(static_cast<chatFolderInviteLink &>(obj));
926 return true;
927 case chatFolderInviteLinkInfo::ID:
928 func(static_cast<chatFolderInviteLinkInfo &>(obj));
929 return true;
930 case chatFolderInviteLinks::ID:
931 func(static_cast<chatFolderInviteLinks &>(obj));
932 return true;
933 case chatFolderName::ID:
934 func(static_cast<chatFolderName &>(obj));
935 return true;
936 case chatInviteLink::ID:
937 func(static_cast<chatInviteLink &>(obj));
938 return true;
939 case chatInviteLinkCount::ID:
940 func(static_cast<chatInviteLinkCount &>(obj));
941 return true;
942 case chatInviteLinkCounts::ID:
943 func(static_cast<chatInviteLinkCounts &>(obj));
944 return true;
945 case chatInviteLinkInfo::ID:
946 func(static_cast<chatInviteLinkInfo &>(obj));
947 return true;
948 case chatInviteLinkMember::ID:
949 func(static_cast<chatInviteLinkMember &>(obj));
950 return true;
951 case chatInviteLinkMembers::ID:
952 func(static_cast<chatInviteLinkMembers &>(obj));
953 return true;
954 case chatInviteLinkSubscriptionInfo::ID:
955 func(static_cast<chatInviteLinkSubscriptionInfo &>(obj));
956 return true;
957 case chatInviteLinks::ID:
958 func(static_cast<chatInviteLinks &>(obj));
959 return true;
960 case chatJoinRequest::ID:
961 func(static_cast<chatJoinRequest &>(obj));
962 return true;
963 case chatJoinRequests::ID:
964 func(static_cast<chatJoinRequests &>(obj));
965 return true;
966 case chatJoinRequestsInfo::ID:
967 func(static_cast<chatJoinRequestsInfo &>(obj));
968 return true;
969 case chatListMain::ID:
970 func(static_cast<chatListMain &>(obj));
971 return true;
972 case chatListArchive::ID:
973 func(static_cast<chatListArchive &>(obj));
974 return true;
975 case chatListFolder::ID:
976 func(static_cast<chatListFolder &>(obj));
977 return true;
978 case chatLists::ID:
979 func(static_cast<chatLists &>(obj));
980 return true;
981 case chatLocation::ID:
982 func(static_cast<chatLocation &>(obj));
983 return true;
984 case chatMember::ID:
985 func(static_cast<chatMember &>(obj));
986 return true;
987 case chatMemberStatusCreator::ID:
988 func(static_cast<chatMemberStatusCreator &>(obj));
989 return true;
990 case chatMemberStatusAdministrator::ID:
991 func(static_cast<chatMemberStatusAdministrator &>(obj));
992 return true;
993 case chatMemberStatusMember::ID:
994 func(static_cast<chatMemberStatusMember &>(obj));
995 return true;
996 case chatMemberStatusRestricted::ID:
997 func(static_cast<chatMemberStatusRestricted &>(obj));
998 return true;
999 case chatMemberStatusLeft::ID:
1000 func(static_cast<chatMemberStatusLeft &>(obj));
1001 return true;
1002 case chatMemberStatusBanned::ID:
1003 func(static_cast<chatMemberStatusBanned &>(obj));
1004 return true;
1005 case chatMembers::ID:
1006 func(static_cast<chatMembers &>(obj));
1007 return true;
1008 case chatMembersFilterContacts::ID:
1009 func(static_cast<chatMembersFilterContacts &>(obj));
1010 return true;
1011 case chatMembersFilterAdministrators::ID:
1012 func(static_cast<chatMembersFilterAdministrators &>(obj));
1013 return true;
1014 case chatMembersFilterMembers::ID:
1015 func(static_cast<chatMembersFilterMembers &>(obj));
1016 return true;
1017 case chatMembersFilterMention::ID:
1018 func(static_cast<chatMembersFilterMention &>(obj));
1019 return true;
1020 case chatMembersFilterRestricted::ID:
1021 func(static_cast<chatMembersFilterRestricted &>(obj));
1022 return true;
1023 case chatMembersFilterBanned::ID:
1024 func(static_cast<chatMembersFilterBanned &>(obj));
1025 return true;
1026 case chatMembersFilterBots::ID:
1027 func(static_cast<chatMembersFilterBots &>(obj));
1028 return true;
1029 case chatMessageSender::ID:
1030 func(static_cast<chatMessageSender &>(obj));
1031 return true;
1032 case chatMessageSenders::ID:
1033 func(static_cast<chatMessageSenders &>(obj));
1034 return true;
1035 case chatNotificationSettings::ID:
1036 func(static_cast<chatNotificationSettings &>(obj));
1037 return true;
1038 case chatPermissions::ID:
1039 func(static_cast<chatPermissions &>(obj));
1040 return true;
1041 case chatPhoto::ID:
1042 func(static_cast<chatPhoto &>(obj));
1043 return true;
1044 case chatPhotoInfo::ID:
1045 func(static_cast<chatPhotoInfo &>(obj));
1046 return true;
1047 case chatPhotoSticker::ID:
1048 func(static_cast<chatPhotoSticker &>(obj));
1049 return true;
1050 case chatPhotoStickerTypeRegularOrMask::ID:
1051 func(static_cast<chatPhotoStickerTypeRegularOrMask &>(obj));
1052 return true;
1053 case chatPhotoStickerTypeCustomEmoji::ID:
1054 func(static_cast<chatPhotoStickerTypeCustomEmoji &>(obj));
1055 return true;
1056 case chatPhotos::ID:
1057 func(static_cast<chatPhotos &>(obj));
1058 return true;
1059 case chatPosition::ID:
1060 func(static_cast<chatPosition &>(obj));
1061 return true;
1062 case chatRevenueAmount::ID:
1063 func(static_cast<chatRevenueAmount &>(obj));
1064 return true;
1065 case chatRevenueStatistics::ID:
1066 func(static_cast<chatRevenueStatistics &>(obj));
1067 return true;
1068 case chatRevenueTransaction::ID:
1069 func(static_cast<chatRevenueTransaction &>(obj));
1070 return true;
1071 case chatRevenueTransactionTypeUnsupported::ID:
1072 func(static_cast<chatRevenueTransactionTypeUnsupported &>(obj));
1073 return true;
1074 case chatRevenueTransactionTypeSponsoredMessageEarnings::ID:
1075 func(static_cast<chatRevenueTransactionTypeSponsoredMessageEarnings &>(obj));
1076 return true;
1077 case chatRevenueTransactionTypeSuggestedPostEarnings::ID:
1078 func(static_cast<chatRevenueTransactionTypeSuggestedPostEarnings &>(obj));
1079 return true;
1080 case chatRevenueTransactionTypeFragmentWithdrawal::ID:
1081 func(static_cast<chatRevenueTransactionTypeFragmentWithdrawal &>(obj));
1082 return true;
1083 case chatRevenueTransactionTypeFragmentRefund::ID:
1084 func(static_cast<chatRevenueTransactionTypeFragmentRefund &>(obj));
1085 return true;
1086 case chatRevenueTransactions::ID:
1087 func(static_cast<chatRevenueTransactions &>(obj));
1088 return true;
1089 case chatSourceMtprotoProxy::ID:
1090 func(static_cast<chatSourceMtprotoProxy &>(obj));
1091 return true;
1092 case chatSourcePublicServiceAnnouncement::ID:
1093 func(static_cast<chatSourcePublicServiceAnnouncement &>(obj));
1094 return true;
1095 case chatStatisticsSupergroup::ID:
1096 func(static_cast<chatStatisticsSupergroup &>(obj));
1097 return true;
1098 case chatStatisticsChannel::ID:
1099 func(static_cast<chatStatisticsChannel &>(obj));
1100 return true;
1101 case chatStatisticsAdministratorActionsInfo::ID:
1102 func(static_cast<chatStatisticsAdministratorActionsInfo &>(obj));
1103 return true;
1104 case chatStatisticsInteractionInfo::ID:
1105 func(static_cast<chatStatisticsInteractionInfo &>(obj));
1106 return true;
1107 case chatStatisticsInviterInfo::ID:
1108 func(static_cast<chatStatisticsInviterInfo &>(obj));
1109 return true;
1110 case chatStatisticsMessageSenderInfo::ID:
1111 func(static_cast<chatStatisticsMessageSenderInfo &>(obj));
1112 return true;
1113 case chatStatisticsObjectTypeMessage::ID:
1114 func(static_cast<chatStatisticsObjectTypeMessage &>(obj));
1115 return true;
1116 case chatStatisticsObjectTypeStory::ID:
1117 func(static_cast<chatStatisticsObjectTypeStory &>(obj));
1118 return true;
1119 case chatThemeEmoji::ID:
1120 func(static_cast<chatThemeEmoji &>(obj));
1121 return true;
1122 case chatThemeGift::ID:
1123 func(static_cast<chatThemeGift &>(obj));
1124 return true;
1125 case chatTypePrivate::ID:
1126 func(static_cast<chatTypePrivate &>(obj));
1127 return true;
1128 case chatTypeBasicGroup::ID:
1129 func(static_cast<chatTypeBasicGroup &>(obj));
1130 return true;
1131 case chatTypeSupergroup::ID:
1132 func(static_cast<chatTypeSupergroup &>(obj));
1133 return true;
1134 case chatTypeSecret::ID:
1135 func(static_cast<chatTypeSecret &>(obj));
1136 return true;
1137 case chats::ID:
1138 func(static_cast<chats &>(obj));
1139 return true;
1140 case checkChatUsernameResultOk::ID:
1141 func(static_cast<checkChatUsernameResultOk &>(obj));
1142 return true;
1143 case checkChatUsernameResultUsernameInvalid::ID:
1144 func(static_cast<checkChatUsernameResultUsernameInvalid &>(obj));
1145 return true;
1146 case checkChatUsernameResultUsernameOccupied::ID:
1147 func(static_cast<checkChatUsernameResultUsernameOccupied &>(obj));
1148 return true;
1149 case checkChatUsernameResultUsernamePurchasable::ID:
1150 func(static_cast<checkChatUsernameResultUsernamePurchasable &>(obj));
1151 return true;
1152 case checkChatUsernameResultPublicChatsTooMany::ID:
1153 func(static_cast<checkChatUsernameResultPublicChatsTooMany &>(obj));
1154 return true;
1155 case checkChatUsernameResultPublicGroupsUnavailable::ID:
1156 func(static_cast<checkChatUsernameResultPublicGroupsUnavailable &>(obj));
1157 return true;
1158 case checkStickerSetNameResultOk::ID:
1159 func(static_cast<checkStickerSetNameResultOk &>(obj));
1160 return true;
1161 case checkStickerSetNameResultNameInvalid::ID:
1162 func(static_cast<checkStickerSetNameResultNameInvalid &>(obj));
1163 return true;
1164 case checkStickerSetNameResultNameOccupied::ID:
1165 func(static_cast<checkStickerSetNameResultNameOccupied &>(obj));
1166 return true;
1167 case checklist::ID:
1168 func(static_cast<checklist &>(obj));
1169 return true;
1170 case checklistTask::ID:
1171 func(static_cast<checklistTask &>(obj));
1172 return true;
1173 case closeBirthdayUser::ID:
1174 func(static_cast<closeBirthdayUser &>(obj));
1175 return true;
1176 case closedVectorPath::ID:
1177 func(static_cast<closedVectorPath &>(obj));
1178 return true;
1179 case collectibleItemInfo::ID:
1180 func(static_cast<collectibleItemInfo &>(obj));
1181 return true;
1182 case collectibleItemTypeUsername::ID:
1183 func(static_cast<collectibleItemTypeUsername &>(obj));
1184 return true;
1185 case collectibleItemTypePhoneNumber::ID:
1186 func(static_cast<collectibleItemTypePhoneNumber &>(obj));
1187 return true;
1188 case connectedAffiliateProgram::ID:
1189 func(static_cast<connectedAffiliateProgram &>(obj));
1190 return true;
1191 case connectedAffiliatePrograms::ID:
1192 func(static_cast<connectedAffiliatePrograms &>(obj));
1193 return true;
1194 case connectedWebsite::ID:
1195 func(static_cast<connectedWebsite &>(obj));
1196 return true;
1197 case connectedWebsites::ID:
1198 func(static_cast<connectedWebsites &>(obj));
1199 return true;
1200 case connectionStateWaitingForNetwork::ID:
1201 func(static_cast<connectionStateWaitingForNetwork &>(obj));
1202 return true;
1203 case connectionStateConnectingToProxy::ID:
1204 func(static_cast<connectionStateConnectingToProxy &>(obj));
1205 return true;
1206 case connectionStateConnecting::ID:
1207 func(static_cast<connectionStateConnecting &>(obj));
1208 return true;
1209 case connectionStateUpdating::ID:
1210 func(static_cast<connectionStateUpdating &>(obj));
1211 return true;
1212 case connectionStateReady::ID:
1213 func(static_cast<connectionStateReady &>(obj));
1214 return true;
1215 case contact::ID:
1216 func(static_cast<contact &>(obj));
1217 return true;
1218 case count::ID:
1219 func(static_cast<count &>(obj));
1220 return true;
1221 case countries::ID:
1222 func(static_cast<countries &>(obj));
1223 return true;
1224 case countryInfo::ID:
1225 func(static_cast<countryInfo &>(obj));
1226 return true;
1227 case craftGiftResultSuccess::ID:
1228 func(static_cast<craftGiftResultSuccess &>(obj));
1229 return true;
1230 case craftGiftResultTooEarly::ID:
1231 func(static_cast<craftGiftResultTooEarly &>(obj));
1232 return true;
1233 case craftGiftResultInvalidGift::ID:
1234 func(static_cast<craftGiftResultInvalidGift &>(obj));
1235 return true;
1236 case craftGiftResultFail::ID:
1237 func(static_cast<craftGiftResultFail &>(obj));
1238 return true;
1239 case createdBasicGroupChat::ID:
1240 func(static_cast<createdBasicGroupChat &>(obj));
1241 return true;
1242 case currentWeather::ID:
1243 func(static_cast<currentWeather &>(obj));
1244 return true;
1245 case customRequestResult::ID:
1246 func(static_cast<customRequestResult &>(obj));
1247 return true;
1248 case data::ID:
1249 func(static_cast<data &>(obj));
1250 return true;
1251 case databaseStatistics::ID:
1252 func(static_cast<databaseStatistics &>(obj));
1253 return true;
1254 case date::ID:
1255 func(static_cast<date &>(obj));
1256 return true;
1257 case dateRange::ID:
1258 func(static_cast<dateRange &>(obj));
1259 return true;
1260 case dateTimeFormattingTypeRelative::ID:
1261 func(static_cast<dateTimeFormattingTypeRelative &>(obj));
1262 return true;
1263 case dateTimeFormattingTypeAbsolute::ID:
1264 func(static_cast<dateTimeFormattingTypeAbsolute &>(obj));
1265 return true;
1266 case dateTimePartPrecisionNone::ID:
1267 func(static_cast<dateTimePartPrecisionNone &>(obj));
1268 return true;
1269 case dateTimePartPrecisionShort::ID:
1270 func(static_cast<dateTimePartPrecisionShort &>(obj));
1271 return true;
1272 case dateTimePartPrecisionLong::ID:
1273 func(static_cast<dateTimePartPrecisionLong &>(obj));
1274 return true;
1275 case datedFile::ID:
1276 func(static_cast<datedFile &>(obj));
1277 return true;
1278 case deepLinkInfo::ID:
1279 func(static_cast<deepLinkInfo &>(obj));
1280 return true;
1281 case deviceTokenFirebaseCloudMessaging::ID:
1282 func(static_cast<deviceTokenFirebaseCloudMessaging &>(obj));
1283 return true;
1284 case deviceTokenApplePush::ID:
1285 func(static_cast<deviceTokenApplePush &>(obj));
1286 return true;
1287 case deviceTokenApplePushVoIP::ID:
1288 func(static_cast<deviceTokenApplePushVoIP &>(obj));
1289 return true;
1290 case deviceTokenWindowsPush::ID:
1291 func(static_cast<deviceTokenWindowsPush &>(obj));
1292 return true;
1293 case deviceTokenMicrosoftPush::ID:
1294 func(static_cast<deviceTokenMicrosoftPush &>(obj));
1295 return true;
1296 case deviceTokenMicrosoftPushVoIP::ID:
1297 func(static_cast<deviceTokenMicrosoftPushVoIP &>(obj));
1298 return true;
1299 case deviceTokenWebPush::ID:
1300 func(static_cast<deviceTokenWebPush &>(obj));
1301 return true;
1302 case deviceTokenSimplePush::ID:
1303 func(static_cast<deviceTokenSimplePush &>(obj));
1304 return true;
1305 case deviceTokenUbuntuPush::ID:
1306 func(static_cast<deviceTokenUbuntuPush &>(obj));
1307 return true;
1308 case deviceTokenBlackBerryPush::ID:
1309 func(static_cast<deviceTokenBlackBerryPush &>(obj));
1310 return true;
1311 case deviceTokenTizenPush::ID:
1312 func(static_cast<deviceTokenTizenPush &>(obj));
1313 return true;
1314 case deviceTokenHuaweiPush::ID:
1315 func(static_cast<deviceTokenHuaweiPush &>(obj));
1316 return true;
1317 case diceStickersRegular::ID:
1318 func(static_cast<diceStickersRegular &>(obj));
1319 return true;
1320 case diceStickersSlotMachine::ID:
1321 func(static_cast<diceStickersSlotMachine &>(obj));
1322 return true;
1323 case diffEntity::ID:
1324 func(static_cast<diffEntity &>(obj));
1325 return true;
1326 case diffEntityTypeInsert::ID:
1327 func(static_cast<diffEntityTypeInsert &>(obj));
1328 return true;
1329 case diffEntityTypeReplace::ID:
1330 func(static_cast<diffEntityTypeReplace &>(obj));
1331 return true;
1332 case diffEntityTypeDelete::ID:
1333 func(static_cast<diffEntityTypeDelete &>(obj));
1334 return true;
1335 case diffText::ID:
1336 func(static_cast<diffText &>(obj));
1337 return true;
1338 case directMessagesChatTopic::ID:
1339 func(static_cast<directMessagesChatTopic &>(obj));
1340 return true;
1341 case document::ID:
1342 func(static_cast<document &>(obj));
1343 return true;
1344 case downloadedFileCounts::ID:
1345 func(static_cast<downloadedFileCounts &>(obj));
1346 return true;
1347 case draftMessage::ID:
1348 func(static_cast<draftMessage &>(obj));
1349 return true;
1350 case emailAddressAuthenticationCode::ID:
1351 func(static_cast<emailAddressAuthenticationCode &>(obj));
1352 return true;
1353 case emailAddressAuthenticationAppleId::ID:
1354 func(static_cast<emailAddressAuthenticationAppleId &>(obj));
1355 return true;
1356 case emailAddressAuthenticationGoogleId::ID:
1357 func(static_cast<emailAddressAuthenticationGoogleId &>(obj));
1358 return true;
1359 case emailAddressAuthenticationCodeInfo::ID:
1360 func(static_cast<emailAddressAuthenticationCodeInfo &>(obj));
1361 return true;
1362 case emailAddressResetStateAvailable::ID:
1363 func(static_cast<emailAddressResetStateAvailable &>(obj));
1364 return true;
1365 case emailAddressResetStatePending::ID:
1366 func(static_cast<emailAddressResetStatePending &>(obj));
1367 return true;
1368 case emojiCategories::ID:
1369 func(static_cast<emojiCategories &>(obj));
1370 return true;
1371 case emojiCategory::ID:
1372 func(static_cast<emojiCategory &>(obj));
1373 return true;
1374 case emojiCategorySourceSearch::ID:
1375 func(static_cast<emojiCategorySourceSearch &>(obj));
1376 return true;
1377 case emojiCategorySourcePremium::ID:
1378 func(static_cast<emojiCategorySourcePremium &>(obj));
1379 return true;
1380 case emojiCategoryTypeDefault::ID:
1381 func(static_cast<emojiCategoryTypeDefault &>(obj));
1382 return true;
1383 case emojiCategoryTypeRegularStickers::ID:
1384 func(static_cast<emojiCategoryTypeRegularStickers &>(obj));
1385 return true;
1386 case emojiCategoryTypeEmojiStatus::ID:
1387 func(static_cast<emojiCategoryTypeEmojiStatus &>(obj));
1388 return true;
1389 case emojiCategoryTypeChatPhoto::ID:
1390 func(static_cast<emojiCategoryTypeChatPhoto &>(obj));
1391 return true;
1392 case emojiChatTheme::ID:
1393 func(static_cast<emojiChatTheme &>(obj));
1394 return true;
1395 case emojiKeyword::ID:
1396 func(static_cast<emojiKeyword &>(obj));
1397 return true;
1398 case emojiKeywords::ID:
1399 func(static_cast<emojiKeywords &>(obj));
1400 return true;
1401 case emojiReaction::ID:
1402 func(static_cast<emojiReaction &>(obj));
1403 return true;
1404 case emojiStatus::ID:
1405 func(static_cast<emojiStatus &>(obj));
1406 return true;
1407 case emojiStatusCustomEmojis::ID:
1408 func(static_cast<emojiStatusCustomEmojis &>(obj));
1409 return true;
1410 case emojiStatusTypeCustomEmoji::ID:
1411 func(static_cast<emojiStatusTypeCustomEmoji &>(obj));
1412 return true;
1413 case emojiStatusTypeUpgradedGift::ID:
1414 func(static_cast<emojiStatusTypeUpgradedGift &>(obj));
1415 return true;
1416 case emojiStatuses::ID:
1417 func(static_cast<emojiStatuses &>(obj));
1418 return true;
1419 case emojis::ID:
1420 func(static_cast<emojis &>(obj));
1421 return true;
1422 case encryptedCredentials::ID:
1423 func(static_cast<encryptedCredentials &>(obj));
1424 return true;
1425 case encryptedPassportElement::ID:
1426 func(static_cast<encryptedPassportElement &>(obj));
1427 return true;
1428 case error::ID:
1429 func(static_cast<error &>(obj));
1430 return true;
1431 case factCheck::ID:
1432 func(static_cast<factCheck &>(obj));
1433 return true;
1434 case failedToAddMember::ID:
1435 func(static_cast<failedToAddMember &>(obj));
1436 return true;
1437 case failedToAddMembers::ID:
1438 func(static_cast<failedToAddMembers &>(obj));
1439 return true;
1440 case file::ID:
1441 func(static_cast<file &>(obj));
1442 return true;
1443 case fileDownload::ID:
1444 func(static_cast<fileDownload &>(obj));
1445 return true;
1446 case fileDownloadedPrefixSize::ID:
1447 func(static_cast<fileDownloadedPrefixSize &>(obj));
1448 return true;
1449 case fileTypeNone::ID:
1450 func(static_cast<fileTypeNone &>(obj));
1451 return true;
1452 case fileTypeAnimation::ID:
1453 func(static_cast<fileTypeAnimation &>(obj));
1454 return true;
1455 case fileTypeAudio::ID:
1456 func(static_cast<fileTypeAudio &>(obj));
1457 return true;
1458 case fileTypeDocument::ID:
1459 func(static_cast<fileTypeDocument &>(obj));
1460 return true;
1461 case fileTypeLivePhotoVideo::ID:
1462 func(static_cast<fileTypeLivePhotoVideo &>(obj));
1463 return true;
1464 case fileTypeNotificationSound::ID:
1465 func(static_cast<fileTypeNotificationSound &>(obj));
1466 return true;
1467 case fileTypePhoto::ID:
1468 func(static_cast<fileTypePhoto &>(obj));
1469 return true;
1470 case fileTypePhotoStory::ID:
1471 func(static_cast<fileTypePhotoStory &>(obj));
1472 return true;
1473 case fileTypeProfilePhoto::ID:
1474 func(static_cast<fileTypeProfilePhoto &>(obj));
1475 return true;
1476 case fileTypeSecret::ID:
1477 func(static_cast<fileTypeSecret &>(obj));
1478 return true;
1479 case fileTypeSecretThumbnail::ID:
1480 func(static_cast<fileTypeSecretThumbnail &>(obj));
1481 return true;
1482 case fileTypeSecure::ID:
1483 func(static_cast<fileTypeSecure &>(obj));
1484 return true;
1485 case fileTypeSelfDestructingLivePhotoVideo::ID:
1486 func(static_cast<fileTypeSelfDestructingLivePhotoVideo &>(obj));
1487 return true;
1488 case fileTypeSelfDestructingPhoto::ID:
1489 func(static_cast<fileTypeSelfDestructingPhoto &>(obj));
1490 return true;
1491 case fileTypeSelfDestructingVideo::ID:
1492 func(static_cast<fileTypeSelfDestructingVideo &>(obj));
1493 return true;
1494 case fileTypeSelfDestructingVideoNote::ID:
1495 func(static_cast<fileTypeSelfDestructingVideoNote &>(obj));
1496 return true;
1497 case fileTypeSelfDestructingVoiceNote::ID:
1498 func(static_cast<fileTypeSelfDestructingVoiceNote &>(obj));
1499 return true;
1500 case fileTypeSticker::ID:
1501 func(static_cast<fileTypeSticker &>(obj));
1502 return true;
1503 case fileTypeThumbnail::ID:
1504 func(static_cast<fileTypeThumbnail &>(obj));
1505 return true;
1506 case fileTypeUnknown::ID:
1507 func(static_cast<fileTypeUnknown &>(obj));
1508 return true;
1509 case fileTypeVideo::ID:
1510 func(static_cast<fileTypeVideo &>(obj));
1511 return true;
1512 case fileTypeVideoNote::ID:
1513 func(static_cast<fileTypeVideoNote &>(obj));
1514 return true;
1515 case fileTypeVideoStory::ID:
1516 func(static_cast<fileTypeVideoStory &>(obj));
1517 return true;
1518 case fileTypeVoiceNote::ID:
1519 func(static_cast<fileTypeVoiceNote &>(obj));
1520 return true;
1521 case fileTypeWallpaper::ID:
1522 func(static_cast<fileTypeWallpaper &>(obj));
1523 return true;
1524 case firebaseAuthenticationSettingsAndroid::ID:
1525 func(static_cast<firebaseAuthenticationSettingsAndroid &>(obj));
1526 return true;
1527 case firebaseAuthenticationSettingsIos::ID:
1528 func(static_cast<firebaseAuthenticationSettingsIos &>(obj));
1529 return true;
1530 case firebaseDeviceVerificationParametersSafetyNet::ID:
1531 func(static_cast<firebaseDeviceVerificationParametersSafetyNet &>(obj));
1532 return true;
1533 case firebaseDeviceVerificationParametersPlayIntegrity::ID:
1534 func(static_cast<firebaseDeviceVerificationParametersPlayIntegrity &>(obj));
1535 return true;
1536 case fixedText::ID:
1537 func(static_cast<fixedText &>(obj));
1538 return true;
1539 case formattedText::ID:
1540 func(static_cast<formattedText &>(obj));
1541 return true;
1542 case forumTopic::ID:
1543 func(static_cast<forumTopic &>(obj));
1544 return true;
1545 case forumTopicIcon::ID:
1546 func(static_cast<forumTopicIcon &>(obj));
1547 return true;
1548 case forumTopicInfo::ID:
1549 func(static_cast<forumTopicInfo &>(obj));
1550 return true;
1551 case forumTopics::ID:
1552 func(static_cast<forumTopics &>(obj));
1553 return true;
1554 case forwardSource::ID:
1555 func(static_cast<forwardSource &>(obj));
1556 return true;
1557 case foundAffiliateProgram::ID:
1558 func(static_cast<foundAffiliateProgram &>(obj));
1559 return true;
1560 case foundAffiliatePrograms::ID:
1561 func(static_cast<foundAffiliatePrograms &>(obj));
1562 return true;
1563 case foundChatBoosts::ID:
1564 func(static_cast<foundChatBoosts &>(obj));
1565 return true;
1566 case foundChatMessages::ID:
1567 func(static_cast<foundChatMessages &>(obj));
1568 return true;
1569 case foundFileDownloads::ID:
1570 func(static_cast<foundFileDownloads &>(obj));
1571 return true;
1572 case foundMessages::ID:
1573 func(static_cast<foundMessages &>(obj));
1574 return true;
1575 case foundPosition::ID:
1576 func(static_cast<foundPosition &>(obj));
1577 return true;
1578 case foundPositions::ID:
1579 func(static_cast<foundPositions &>(obj));
1580 return true;
1581 case foundPublicPosts::ID:
1582 func(static_cast<foundPublicPosts &>(obj));
1583 return true;
1584 case foundStories::ID:
1585 func(static_cast<foundStories &>(obj));
1586 return true;
1587 case foundUsers::ID:
1588 func(static_cast<foundUsers &>(obj));
1589 return true;
1590 case foundWebApp::ID:
1591 func(static_cast<foundWebApp &>(obj));
1592 return true;
1593 case game::ID:
1594 func(static_cast<game &>(obj));
1595 return true;
1596 case gameHighScore::ID:
1597 func(static_cast<gameHighScore &>(obj));
1598 return true;
1599 case gameHighScores::ID:
1600 func(static_cast<gameHighScores &>(obj));
1601 return true;
1602 case gift::ID:
1603 func(static_cast<gift &>(obj));
1604 return true;
1605 case giftAuction::ID:
1606 func(static_cast<giftAuction &>(obj));
1607 return true;
1608 case giftAuctionAcquiredGift::ID:
1609 func(static_cast<giftAuctionAcquiredGift &>(obj));
1610 return true;
1611 case giftAuctionAcquiredGifts::ID:
1612 func(static_cast<giftAuctionAcquiredGifts &>(obj));
1613 return true;
1614 case giftAuctionState::ID:
1615 func(static_cast<giftAuctionState &>(obj));
1616 return true;
1617 case giftBackground::ID:
1618 func(static_cast<giftBackground &>(obj));
1619 return true;
1620 case giftChatTheme::ID:
1621 func(static_cast<giftChatTheme &>(obj));
1622 return true;
1623 case giftChatThemes::ID:
1624 func(static_cast<giftChatThemes &>(obj));
1625 return true;
1626 case giftCollection::ID:
1627 func(static_cast<giftCollection &>(obj));
1628 return true;
1629 case giftCollections::ID:
1630 func(static_cast<giftCollections &>(obj));
1631 return true;
1632 case giftForResale::ID:
1633 func(static_cast<giftForResale &>(obj));
1634 return true;
1635 case giftForResaleOrderPrice::ID:
1636 func(static_cast<giftForResaleOrderPrice &>(obj));
1637 return true;
1638 case giftForResaleOrderPriceChangeDate::ID:
1639 func(static_cast<giftForResaleOrderPriceChangeDate &>(obj));
1640 return true;
1641 case giftForResaleOrderNumber::ID:
1642 func(static_cast<giftForResaleOrderNumber &>(obj));
1643 return true;
1644 case giftPurchaseLimits::ID:
1645 func(static_cast<giftPurchaseLimits &>(obj));
1646 return true;
1647 case giftPurchaseOfferStatePending::ID:
1648 func(static_cast<giftPurchaseOfferStatePending &>(obj));
1649 return true;
1650 case giftPurchaseOfferStateAccepted::ID:
1651 func(static_cast<giftPurchaseOfferStateAccepted &>(obj));
1652 return true;
1653 case giftPurchaseOfferStateRejected::ID:
1654 func(static_cast<giftPurchaseOfferStateRejected &>(obj));
1655 return true;
1656 case giftResaleParameters::ID:
1657 func(static_cast<giftResaleParameters &>(obj));
1658 return true;
1659 case giftResalePriceStar::ID:
1660 func(static_cast<giftResalePriceStar &>(obj));
1661 return true;
1662 case giftResalePriceTon::ID:
1663 func(static_cast<giftResalePriceTon &>(obj));
1664 return true;
1665 case giftResaleResultOk::ID:
1666 func(static_cast<giftResaleResultOk &>(obj));
1667 return true;
1668 case giftResaleResultPriceIncreased::ID:
1669 func(static_cast<giftResaleResultPriceIncreased &>(obj));
1670 return true;
1671 case giftSettings::ID:
1672 func(static_cast<giftSettings &>(obj));
1673 return true;
1674 case giftUpgradePreview::ID:
1675 func(static_cast<giftUpgradePreview &>(obj));
1676 return true;
1677 case giftUpgradePrice::ID:
1678 func(static_cast<giftUpgradePrice &>(obj));
1679 return true;
1680 case giftUpgradeVariants::ID:
1681 func(static_cast<giftUpgradeVariants &>(obj));
1682 return true;
1683 case giftsForCrafting::ID:
1684 func(static_cast<giftsForCrafting &>(obj));
1685 return true;
1686 case giftsForResale::ID:
1687 func(static_cast<giftsForResale &>(obj));
1688 return true;
1689 case giveawayInfoOngoing::ID:
1690 func(static_cast<giveawayInfoOngoing &>(obj));
1691 return true;
1692 case giveawayInfoCompleted::ID:
1693 func(static_cast<giveawayInfoCompleted &>(obj));
1694 return true;
1695 case giveawayParameters::ID:
1696 func(static_cast<giveawayParameters &>(obj));
1697 return true;
1698 case giveawayParticipantStatusEligible::ID:
1699 func(static_cast<giveawayParticipantStatusEligible &>(obj));
1700 return true;
1701 case giveawayParticipantStatusParticipating::ID:
1702 func(static_cast<giveawayParticipantStatusParticipating &>(obj));
1703 return true;
1704 case giveawayParticipantStatusAlreadyWasMember::ID:
1705 func(static_cast<giveawayParticipantStatusAlreadyWasMember &>(obj));
1706 return true;
1707 case giveawayParticipantStatusAdministrator::ID:
1708 func(static_cast<giveawayParticipantStatusAdministrator &>(obj));
1709 return true;
1710 case giveawayParticipantStatusDisallowedCountry::ID:
1711 func(static_cast<giveawayParticipantStatusDisallowedCountry &>(obj));
1712 return true;
1713 case giveawayPrizePremium::ID:
1714 func(static_cast<giveawayPrizePremium &>(obj));
1715 return true;
1716 case giveawayPrizeStars::ID:
1717 func(static_cast<giveawayPrizeStars &>(obj));
1718 return true;
1719 case groupCall::ID:
1720 func(static_cast<groupCall &>(obj));
1721 return true;
1722 case groupCallDataChannelMain::ID:
1723 func(static_cast<groupCallDataChannelMain &>(obj));
1724 return true;
1725 case groupCallDataChannelScreenSharing::ID:
1726 func(static_cast<groupCallDataChannelScreenSharing &>(obj));
1727 return true;
1728 case groupCallId::ID:
1729 func(static_cast<groupCallId &>(obj));
1730 return true;
1731 case groupCallInfo::ID:
1732 func(static_cast<groupCallInfo &>(obj));
1733 return true;
1734 case groupCallJoinParameters::ID:
1735 func(static_cast<groupCallJoinParameters &>(obj));
1736 return true;
1737 case groupCallMessage::ID:
1738 func(static_cast<groupCallMessage &>(obj));
1739 return true;
1740 case groupCallMessageLevel::ID:
1741 func(static_cast<groupCallMessageLevel &>(obj));
1742 return true;
1743 case groupCallParticipant::ID:
1744 func(static_cast<groupCallParticipant &>(obj));
1745 return true;
1746 case groupCallParticipantVideoInfo::ID:
1747 func(static_cast<groupCallParticipantVideoInfo &>(obj));
1748 return true;
1749 case groupCallParticipants::ID:
1750 func(static_cast<groupCallParticipants &>(obj));
1751 return true;
1752 case groupCallRecentSpeaker::ID:
1753 func(static_cast<groupCallRecentSpeaker &>(obj));
1754 return true;
1755 case groupCallStream::ID:
1756 func(static_cast<groupCallStream &>(obj));
1757 return true;
1758 case groupCallStreams::ID:
1759 func(static_cast<groupCallStreams &>(obj));
1760 return true;
1761 case groupCallVideoQualityThumbnail::ID:
1762 func(static_cast<groupCallVideoQualityThumbnail &>(obj));
1763 return true;
1764 case groupCallVideoQualityMedium::ID:
1765 func(static_cast<groupCallVideoQualityMedium &>(obj));
1766 return true;
1767 case groupCallVideoQualityFull::ID:
1768 func(static_cast<groupCallVideoQualityFull &>(obj));
1769 return true;
1770 case groupCallVideoSourceGroup::ID:
1771 func(static_cast<groupCallVideoSourceGroup &>(obj));
1772 return true;
1773 case hashtags::ID:
1774 func(static_cast<hashtags &>(obj));
1775 return true;
1776 case httpUrl::ID:
1777 func(static_cast<httpUrl &>(obj));
1778 return true;
1779 case identityDocument::ID:
1780 func(static_cast<identityDocument &>(obj));
1781 return true;
1782 case importedContact::ID:
1783 func(static_cast<importedContact &>(obj));
1784 return true;
1785 case importedContacts::ID:
1786 func(static_cast<importedContacts &>(obj));
1787 return true;
1788 case inlineKeyboardButton::ID:
1789 func(static_cast<inlineKeyboardButton &>(obj));
1790 return true;
1791 case inlineKeyboardButtonTypeUrl::ID:
1792 func(static_cast<inlineKeyboardButtonTypeUrl &>(obj));
1793 return true;
1794 case inlineKeyboardButtonTypeLoginUrl::ID:
1795 func(static_cast<inlineKeyboardButtonTypeLoginUrl &>(obj));
1796 return true;
1797 case inlineKeyboardButtonTypeWebApp::ID:
1798 func(static_cast<inlineKeyboardButtonTypeWebApp &>(obj));
1799 return true;
1800 case inlineKeyboardButtonTypeCallback::ID:
1801 func(static_cast<inlineKeyboardButtonTypeCallback &>(obj));
1802 return true;
1803 case inlineKeyboardButtonTypeCallbackWithPassword::ID:
1804 func(static_cast<inlineKeyboardButtonTypeCallbackWithPassword &>(obj));
1805 return true;
1806 case inlineKeyboardButtonTypeCallbackGame::ID:
1807 func(static_cast<inlineKeyboardButtonTypeCallbackGame &>(obj));
1808 return true;
1809 case inlineKeyboardButtonTypeSwitchInline::ID:
1810 func(static_cast<inlineKeyboardButtonTypeSwitchInline &>(obj));
1811 return true;
1812 case inlineKeyboardButtonTypeBuy::ID:
1813 func(static_cast<inlineKeyboardButtonTypeBuy &>(obj));
1814 return true;
1815 case inlineKeyboardButtonTypeUser::ID:
1816 func(static_cast<inlineKeyboardButtonTypeUser &>(obj));
1817 return true;
1818 case inlineKeyboardButtonTypeCopyText::ID:
1819 func(static_cast<inlineKeyboardButtonTypeCopyText &>(obj));
1820 return true;
1821 case inlineQueryResultArticle::ID:
1822 func(static_cast<inlineQueryResultArticle &>(obj));
1823 return true;
1824 case inlineQueryResultContact::ID:
1825 func(static_cast<inlineQueryResultContact &>(obj));
1826 return true;
1827 case inlineQueryResultLocation::ID:
1828 func(static_cast<inlineQueryResultLocation &>(obj));
1829 return true;
1830 case inlineQueryResultVenue::ID:
1831 func(static_cast<inlineQueryResultVenue &>(obj));
1832 return true;
1833 case inlineQueryResultGame::ID:
1834 func(static_cast<inlineQueryResultGame &>(obj));
1835 return true;
1836 case inlineQueryResultAnimation::ID:
1837 func(static_cast<inlineQueryResultAnimation &>(obj));
1838 return true;
1839 case inlineQueryResultAudio::ID:
1840 func(static_cast<inlineQueryResultAudio &>(obj));
1841 return true;
1842 case inlineQueryResultDocument::ID:
1843 func(static_cast<inlineQueryResultDocument &>(obj));
1844 return true;
1845 case inlineQueryResultPhoto::ID:
1846 func(static_cast<inlineQueryResultPhoto &>(obj));
1847 return true;
1848 case inlineQueryResultSticker::ID:
1849 func(static_cast<inlineQueryResultSticker &>(obj));
1850 return true;
1851 case inlineQueryResultVideo::ID:
1852 func(static_cast<inlineQueryResultVideo &>(obj));
1853 return true;
1854 case inlineQueryResultVoiceNote::ID:
1855 func(static_cast<inlineQueryResultVoiceNote &>(obj));
1856 return true;
1857 case inlineQueryResults::ID:
1858 func(static_cast<inlineQueryResults &>(obj));
1859 return true;
1860 case inlineQueryResultsButton::ID:
1861 func(static_cast<inlineQueryResultsButton &>(obj));
1862 return true;
1863 case inlineQueryResultsButtonTypeStartBot::ID:
1864 func(static_cast<inlineQueryResultsButtonTypeStartBot &>(obj));
1865 return true;
1866 case inlineQueryResultsButtonTypeWebApp::ID:
1867 func(static_cast<inlineQueryResultsButtonTypeWebApp &>(obj));
1868 return true;
1869 case inputBackgroundLocal::ID:
1870 func(static_cast<inputBackgroundLocal &>(obj));
1871 return true;
1872 case inputBackgroundRemote::ID:
1873 func(static_cast<inputBackgroundRemote &>(obj));
1874 return true;
1875 case inputBackgroundPrevious::ID:
1876 func(static_cast<inputBackgroundPrevious &>(obj));
1877 return true;
1878 case inputBusinessChatLink::ID:
1879 func(static_cast<inputBusinessChatLink &>(obj));
1880 return true;
1881 case inputBusinessStartPage::ID:
1882 func(static_cast<inputBusinessStartPage &>(obj));
1883 return true;
1884 case inputCallDiscarded::ID:
1885 func(static_cast<inputCallDiscarded &>(obj));
1886 return true;
1887 case inputCallFromMessage::ID:
1888 func(static_cast<inputCallFromMessage &>(obj));
1889 return true;
1890 case inputChatPhotoPrevious::ID:
1891 func(static_cast<inputChatPhotoPrevious &>(obj));
1892 return true;
1893 case inputChatPhotoStatic::ID:
1894 func(static_cast<inputChatPhotoStatic &>(obj));
1895 return true;
1896 case inputChatPhotoAnimation::ID:
1897 func(static_cast<inputChatPhotoAnimation &>(obj));
1898 return true;
1899 case inputChatPhotoSticker::ID:
1900 func(static_cast<inputChatPhotoSticker &>(obj));
1901 return true;
1902 case inputChatThemeEmoji::ID:
1903 func(static_cast<inputChatThemeEmoji &>(obj));
1904 return true;
1905 case inputChatThemeGift::ID:
1906 func(static_cast<inputChatThemeGift &>(obj));
1907 return true;
1908 case inputChecklist::ID:
1909 func(static_cast<inputChecklist &>(obj));
1910 return true;
1911 case inputChecklistTask::ID:
1912 func(static_cast<inputChecklistTask &>(obj));
1913 return true;
1914 case inputCredentialsSaved::ID:
1915 func(static_cast<inputCredentialsSaved &>(obj));
1916 return true;
1917 case inputCredentialsNew::ID:
1918 func(static_cast<inputCredentialsNew &>(obj));
1919 return true;
1920 case inputCredentialsApplePay::ID:
1921 func(static_cast<inputCredentialsApplePay &>(obj));
1922 return true;
1923 case inputCredentialsGooglePay::ID:
1924 func(static_cast<inputCredentialsGooglePay &>(obj));
1925 return true;
1926 case inputFileId::ID:
1927 func(static_cast<inputFileId &>(obj));
1928 return true;
1929 case inputFileRemote::ID:
1930 func(static_cast<inputFileRemote &>(obj));
1931 return true;
1932 case inputFileLocal::ID:
1933 func(static_cast<inputFileLocal &>(obj));
1934 return true;
1935 case inputFileGenerated::ID:
1936 func(static_cast<inputFileGenerated &>(obj));
1937 return true;
1938 case inputGroupCallLink::ID:
1939 func(static_cast<inputGroupCallLink &>(obj));
1940 return true;
1941 case inputGroupCallMessage::ID:
1942 func(static_cast<inputGroupCallMessage &>(obj));
1943 return true;
1944 case inputIdentityDocument::ID:
1945 func(static_cast<inputIdentityDocument &>(obj));
1946 return true;
1947 case inputInlineQueryResultAnimation::ID:
1948 func(static_cast<inputInlineQueryResultAnimation &>(obj));
1949 return true;
1950 case inputInlineQueryResultArticle::ID:
1951 func(static_cast<inputInlineQueryResultArticle &>(obj));
1952 return true;
1953 case inputInlineQueryResultAudio::ID:
1954 func(static_cast<inputInlineQueryResultAudio &>(obj));
1955 return true;
1956 case inputInlineQueryResultContact::ID:
1957 func(static_cast<inputInlineQueryResultContact &>(obj));
1958 return true;
1959 case inputInlineQueryResultDocument::ID:
1960 func(static_cast<inputInlineQueryResultDocument &>(obj));
1961 return true;
1962 case inputInlineQueryResultGame::ID:
1963 func(static_cast<inputInlineQueryResultGame &>(obj));
1964 return true;
1965 case inputInlineQueryResultLocation::ID:
1966 func(static_cast<inputInlineQueryResultLocation &>(obj));
1967 return true;
1968 case inputInlineQueryResultPhoto::ID:
1969 func(static_cast<inputInlineQueryResultPhoto &>(obj));
1970 return true;
1971 case inputInlineQueryResultSticker::ID:
1972 func(static_cast<inputInlineQueryResultSticker &>(obj));
1973 return true;
1974 case inputInlineQueryResultVenue::ID:
1975 func(static_cast<inputInlineQueryResultVenue &>(obj));
1976 return true;
1977 case inputInlineQueryResultVideo::ID:
1978 func(static_cast<inputInlineQueryResultVideo &>(obj));
1979 return true;
1980 case inputInlineQueryResultVoiceNote::ID:
1981 func(static_cast<inputInlineQueryResultVoiceNote &>(obj));
1982 return true;
1983 case inputInvoiceMessage::ID:
1984 func(static_cast<inputInvoiceMessage &>(obj));
1985 return true;
1986 case inputInvoiceName::ID:
1987 func(static_cast<inputInvoiceName &>(obj));
1988 return true;
1989 case inputInvoiceTelegram::ID:
1990 func(static_cast<inputInvoiceTelegram &>(obj));
1991 return true;
1992 case inputMessageText::ID:
1993 func(static_cast<inputMessageText &>(obj));
1994 return true;
1995 case inputMessageAnimation::ID:
1996 func(static_cast<inputMessageAnimation &>(obj));
1997 return true;
1998 case inputMessageAudio::ID:
1999 func(static_cast<inputMessageAudio &>(obj));
2000 return true;
2001 case inputMessageDocument::ID:
2002 func(static_cast<inputMessageDocument &>(obj));
2003 return true;
2004 case inputMessagePaidMedia::ID:
2005 func(static_cast<inputMessagePaidMedia &>(obj));
2006 return true;
2007 case inputMessagePhoto::ID:
2008 func(static_cast<inputMessagePhoto &>(obj));
2009 return true;
2010 case inputMessageSticker::ID:
2011 func(static_cast<inputMessageSticker &>(obj));
2012 return true;
2013 case inputMessageVideo::ID:
2014 func(static_cast<inputMessageVideo &>(obj));
2015 return true;
2016 case inputMessageVideoNote::ID:
2017 func(static_cast<inputMessageVideoNote &>(obj));
2018 return true;
2019 case inputMessageVoiceNote::ID:
2020 func(static_cast<inputMessageVoiceNote &>(obj));
2021 return true;
2022 case inputMessageLocation::ID:
2023 func(static_cast<inputMessageLocation &>(obj));
2024 return true;
2025 case inputMessageVenue::ID:
2026 func(static_cast<inputMessageVenue &>(obj));
2027 return true;
2028 case inputMessageContact::ID:
2029 func(static_cast<inputMessageContact &>(obj));
2030 return true;
2031 case inputMessageDice::ID:
2032 func(static_cast<inputMessageDice &>(obj));
2033 return true;
2034 case inputMessageGame::ID:
2035 func(static_cast<inputMessageGame &>(obj));
2036 return true;
2037 case inputMessageInvoice::ID:
2038 func(static_cast<inputMessageInvoice &>(obj));
2039 return true;
2040 case inputMessagePoll::ID:
2041 func(static_cast<inputMessagePoll &>(obj));
2042 return true;
2043 case inputMessageStakeDice::ID:
2044 func(static_cast<inputMessageStakeDice &>(obj));
2045 return true;
2046 case inputMessageStory::ID:
2047 func(static_cast<inputMessageStory &>(obj));
2048 return true;
2049 case inputMessageChecklist::ID:
2050 func(static_cast<inputMessageChecklist &>(obj));
2051 return true;
2052 case inputMessageForwarded::ID:
2053 func(static_cast<inputMessageForwarded &>(obj));
2054 return true;
2055 case inputMessageReplyToMessage::ID:
2056 func(static_cast<inputMessageReplyToMessage &>(obj));
2057 return true;
2058 case inputMessageReplyToExternalMessage::ID:
2059 func(static_cast<inputMessageReplyToExternalMessage &>(obj));
2060 return true;
2061 case inputMessageReplyToStory::ID:
2062 func(static_cast<inputMessageReplyToStory &>(obj));
2063 return true;
2064 case inputPaidMedia::ID:
2065 func(static_cast<inputPaidMedia &>(obj));
2066 return true;
2067 case inputPaidMediaTypePhoto::ID:
2068 func(static_cast<inputPaidMediaTypePhoto &>(obj));
2069 return true;
2070 case inputPaidMediaTypeVideo::ID:
2071 func(static_cast<inputPaidMediaTypeVideo &>(obj));
2072 return true;
2073 case inputPassportElementPersonalDetails::ID:
2074 func(static_cast<inputPassportElementPersonalDetails &>(obj));
2075 return true;
2076 case inputPassportElementPassport::ID:
2077 func(static_cast<inputPassportElementPassport &>(obj));
2078 return true;
2079 case inputPassportElementDriverLicense::ID:
2080 func(static_cast<inputPassportElementDriverLicense &>(obj));
2081 return true;
2082 case inputPassportElementIdentityCard::ID:
2083 func(static_cast<inputPassportElementIdentityCard &>(obj));
2084 return true;
2085 case inputPassportElementInternalPassport::ID:
2086 func(static_cast<inputPassportElementInternalPassport &>(obj));
2087 return true;
2088 case inputPassportElementAddress::ID:
2089 func(static_cast<inputPassportElementAddress &>(obj));
2090 return true;
2091 case inputPassportElementUtilityBill::ID:
2092 func(static_cast<inputPassportElementUtilityBill &>(obj));
2093 return true;
2094 case inputPassportElementBankStatement::ID:
2095 func(static_cast<inputPassportElementBankStatement &>(obj));
2096 return true;
2097 case inputPassportElementRentalAgreement::ID:
2098 func(static_cast<inputPassportElementRentalAgreement &>(obj));
2099 return true;
2100 case inputPassportElementPassportRegistration::ID:
2101 func(static_cast<inputPassportElementPassportRegistration &>(obj));
2102 return true;
2103 case inputPassportElementTemporaryRegistration::ID:
2104 func(static_cast<inputPassportElementTemporaryRegistration &>(obj));
2105 return true;
2106 case inputPassportElementPhoneNumber::ID:
2107 func(static_cast<inputPassportElementPhoneNumber &>(obj));
2108 return true;
2109 case inputPassportElementEmailAddress::ID:
2110 func(static_cast<inputPassportElementEmailAddress &>(obj));
2111 return true;
2112 case inputPassportElementError::ID:
2113 func(static_cast<inputPassportElementError &>(obj));
2114 return true;
2115 case inputPassportElementErrorSourceUnspecified::ID:
2116 func(static_cast<inputPassportElementErrorSourceUnspecified &>(obj));
2117 return true;
2118 case inputPassportElementErrorSourceDataField::ID:
2119 func(static_cast<inputPassportElementErrorSourceDataField &>(obj));
2120 return true;
2121 case inputPassportElementErrorSourceFrontSide::ID:
2122 func(static_cast<inputPassportElementErrorSourceFrontSide &>(obj));
2123 return true;
2124 case inputPassportElementErrorSourceReverseSide::ID:
2125 func(static_cast<inputPassportElementErrorSourceReverseSide &>(obj));
2126 return true;
2127 case inputPassportElementErrorSourceSelfie::ID:
2128 func(static_cast<inputPassportElementErrorSourceSelfie &>(obj));
2129 return true;
2130 case inputPassportElementErrorSourceTranslationFile::ID:
2131 func(static_cast<inputPassportElementErrorSourceTranslationFile &>(obj));
2132 return true;
2133 case inputPassportElementErrorSourceTranslationFiles::ID:
2134 func(static_cast<inputPassportElementErrorSourceTranslationFiles &>(obj));
2135 return true;
2136 case inputPassportElementErrorSourceFile::ID:
2137 func(static_cast<inputPassportElementErrorSourceFile &>(obj));
2138 return true;
2139 case inputPassportElementErrorSourceFiles::ID:
2140 func(static_cast<inputPassportElementErrorSourceFiles &>(obj));
2141 return true;
2142 case inputPersonalDocument::ID:
2143 func(static_cast<inputPersonalDocument &>(obj));
2144 return true;
2145 case inputPollOption::ID:
2146 func(static_cast<inputPollOption &>(obj));
2147 return true;
2148 case inputPollTypeRegular::ID:
2149 func(static_cast<inputPollTypeRegular &>(obj));
2150 return true;
2151 case inputPollTypeQuiz::ID:
2152 func(static_cast<inputPollTypeQuiz &>(obj));
2153 return true;
2154 case inputSticker::ID:
2155 func(static_cast<inputSticker &>(obj));
2156 return true;
2157 case inputStoryArea::ID:
2158 func(static_cast<inputStoryArea &>(obj));
2159 return true;
2160 case inputStoryAreaTypeLocation::ID:
2161 func(static_cast<inputStoryAreaTypeLocation &>(obj));
2162 return true;
2163 case inputStoryAreaTypeFoundVenue::ID:
2164 func(static_cast<inputStoryAreaTypeFoundVenue &>(obj));
2165 return true;
2166 case inputStoryAreaTypePreviousVenue::ID:
2167 func(static_cast<inputStoryAreaTypePreviousVenue &>(obj));
2168 return true;
2169 case inputStoryAreaTypeSuggestedReaction::ID:
2170 func(static_cast<inputStoryAreaTypeSuggestedReaction &>(obj));
2171 return true;
2172 case inputStoryAreaTypeMessage::ID:
2173 func(static_cast<inputStoryAreaTypeMessage &>(obj));
2174 return true;
2175 case inputStoryAreaTypeLink::ID:
2176 func(static_cast<inputStoryAreaTypeLink &>(obj));
2177 return true;
2178 case inputStoryAreaTypeWeather::ID:
2179 func(static_cast<inputStoryAreaTypeWeather &>(obj));
2180 return true;
2181 case inputStoryAreaTypeUpgradedGift::ID:
2182 func(static_cast<inputStoryAreaTypeUpgradedGift &>(obj));
2183 return true;
2184 case inputStoryAreas::ID:
2185 func(static_cast<inputStoryAreas &>(obj));
2186 return true;
2187 case inputStoryContentPhoto::ID:
2188 func(static_cast<inputStoryContentPhoto &>(obj));
2189 return true;
2190 case inputStoryContentVideo::ID:
2191 func(static_cast<inputStoryContentVideo &>(obj));
2192 return true;
2193 case inputSuggestedPostInfo::ID:
2194 func(static_cast<inputSuggestedPostInfo &>(obj));
2195 return true;
2196 case inputTextQuote::ID:
2197 func(static_cast<inputTextQuote &>(obj));
2198 return true;
2199 case inputThumbnail::ID:
2200 func(static_cast<inputThumbnail &>(obj));
2201 return true;
2202 case internalLinkTypeAttachmentMenuBot::ID:
2203 func(static_cast<internalLinkTypeAttachmentMenuBot &>(obj));
2204 return true;
2205 case internalLinkTypeAuthenticationCode::ID:
2206 func(static_cast<internalLinkTypeAuthenticationCode &>(obj));
2207 return true;
2208 case internalLinkTypeBackground::ID:
2209 func(static_cast<internalLinkTypeBackground &>(obj));
2210 return true;
2211 case internalLinkTypeBotAddToChannel::ID:
2212 func(static_cast<internalLinkTypeBotAddToChannel &>(obj));
2213 return true;
2214 case internalLinkTypeBotStart::ID:
2215 func(static_cast<internalLinkTypeBotStart &>(obj));
2216 return true;
2217 case internalLinkTypeBotStartInGroup::ID:
2218 func(static_cast<internalLinkTypeBotStartInGroup &>(obj));
2219 return true;
2220 case internalLinkTypeBusinessChat::ID:
2221 func(static_cast<internalLinkTypeBusinessChat &>(obj));
2222 return true;
2223 case internalLinkTypeCallsPage::ID:
2224 func(static_cast<internalLinkTypeCallsPage &>(obj));
2225 return true;
2226 case internalLinkTypeChatAffiliateProgram::ID:
2227 func(static_cast<internalLinkTypeChatAffiliateProgram &>(obj));
2228 return true;
2229 case internalLinkTypeChatBoost::ID:
2230 func(static_cast<internalLinkTypeChatBoost &>(obj));
2231 return true;
2232 case internalLinkTypeChatFolderInvite::ID:
2233 func(static_cast<internalLinkTypeChatFolderInvite &>(obj));
2234 return true;
2235 case internalLinkTypeChatInvite::ID:
2236 func(static_cast<internalLinkTypeChatInvite &>(obj));
2237 return true;
2238 case internalLinkTypeChatSelection::ID:
2239 func(static_cast<internalLinkTypeChatSelection &>(obj));
2240 return true;
2241 case internalLinkTypeContactsPage::ID:
2242 func(static_cast<internalLinkTypeContactsPage &>(obj));
2243 return true;
2244 case internalLinkTypeDirectMessagesChat::ID:
2245 func(static_cast<internalLinkTypeDirectMessagesChat &>(obj));
2246 return true;
2247 case internalLinkTypeGame::ID:
2248 func(static_cast<internalLinkTypeGame &>(obj));
2249 return true;
2250 case internalLinkTypeGiftAuction::ID:
2251 func(static_cast<internalLinkTypeGiftAuction &>(obj));
2252 return true;
2253 case internalLinkTypeGiftCollection::ID:
2254 func(static_cast<internalLinkTypeGiftCollection &>(obj));
2255 return true;
2256 case internalLinkTypeGroupCall::ID:
2257 func(static_cast<internalLinkTypeGroupCall &>(obj));
2258 return true;
2259 case internalLinkTypeInstantView::ID:
2260 func(static_cast<internalLinkTypeInstantView &>(obj));
2261 return true;
2262 case internalLinkTypeInvoice::ID:
2263 func(static_cast<internalLinkTypeInvoice &>(obj));
2264 return true;
2265 case internalLinkTypeLanguagePack::ID:
2266 func(static_cast<internalLinkTypeLanguagePack &>(obj));
2267 return true;
2268 case internalLinkTypeLiveStory::ID:
2269 func(static_cast<internalLinkTypeLiveStory &>(obj));
2270 return true;
2271 case internalLinkTypeMainWebApp::ID:
2272 func(static_cast<internalLinkTypeMainWebApp &>(obj));
2273 return true;
2274 case internalLinkTypeMessage::ID:
2275 func(static_cast<internalLinkTypeMessage &>(obj));
2276 return true;
2277 case internalLinkTypeMessageDraft::ID:
2278 func(static_cast<internalLinkTypeMessageDraft &>(obj));
2279 return true;
2280 case internalLinkTypeMyProfilePage::ID:
2281 func(static_cast<internalLinkTypeMyProfilePage &>(obj));
2282 return true;
2283 case internalLinkTypeNewChannelChat::ID:
2284 func(static_cast<internalLinkTypeNewChannelChat &>(obj));
2285 return true;
2286 case internalLinkTypeNewGroupChat::ID:
2287 func(static_cast<internalLinkTypeNewGroupChat &>(obj));
2288 return true;
2289 case internalLinkTypeNewPrivateChat::ID:
2290 func(static_cast<internalLinkTypeNewPrivateChat &>(obj));
2291 return true;
2292 case internalLinkTypeNewStory::ID:
2293 func(static_cast<internalLinkTypeNewStory &>(obj));
2294 return true;
2295 case internalLinkTypeOauth::ID:
2296 func(static_cast<internalLinkTypeOauth &>(obj));
2297 return true;
2298 case internalLinkTypePassportDataRequest::ID:
2299 func(static_cast<internalLinkTypePassportDataRequest &>(obj));
2300 return true;
2301 case internalLinkTypePhoneNumberConfirmation::ID:
2302 func(static_cast<internalLinkTypePhoneNumberConfirmation &>(obj));
2303 return true;
2304 case internalLinkTypePremiumFeaturesPage::ID:
2305 func(static_cast<internalLinkTypePremiumFeaturesPage &>(obj));
2306 return true;
2307 case internalLinkTypePremiumGiftCode::ID:
2308 func(static_cast<internalLinkTypePremiumGiftCode &>(obj));
2309 return true;
2310 case internalLinkTypePremiumGiftPurchase::ID:
2311 func(static_cast<internalLinkTypePremiumGiftPurchase &>(obj));
2312 return true;
2313 case internalLinkTypeProxy::ID:
2314 func(static_cast<internalLinkTypeProxy &>(obj));
2315 return true;
2316 case internalLinkTypePublicChat::ID:
2317 func(static_cast<internalLinkTypePublicChat &>(obj));
2318 return true;
2319 case internalLinkTypeQrCodeAuthentication::ID:
2320 func(static_cast<internalLinkTypeQrCodeAuthentication &>(obj));
2321 return true;
2322 case internalLinkTypeRequestManagedBot::ID:
2323 func(static_cast<internalLinkTypeRequestManagedBot &>(obj));
2324 return true;
2325 case internalLinkTypeRestorePurchases::ID:
2326 func(static_cast<internalLinkTypeRestorePurchases &>(obj));
2327 return true;
2328 case internalLinkTypeSavedMessages::ID:
2329 func(static_cast<internalLinkTypeSavedMessages &>(obj));
2330 return true;
2331 case internalLinkTypeSearch::ID:
2332 func(static_cast<internalLinkTypeSearch &>(obj));
2333 return true;
2334 case internalLinkTypeSettings::ID:
2335 func(static_cast<internalLinkTypeSettings &>(obj));
2336 return true;
2337 case internalLinkTypeStarPurchase::ID:
2338 func(static_cast<internalLinkTypeStarPurchase &>(obj));
2339 return true;
2340 case internalLinkTypeStickerSet::ID:
2341 func(static_cast<internalLinkTypeStickerSet &>(obj));
2342 return true;
2343 case internalLinkTypeStory::ID:
2344 func(static_cast<internalLinkTypeStory &>(obj));
2345 return true;
2346 case internalLinkTypeStoryAlbum::ID:
2347 func(static_cast<internalLinkTypeStoryAlbum &>(obj));
2348 return true;
2349 case internalLinkTypeTheme::ID:
2350 func(static_cast<internalLinkTypeTheme &>(obj));
2351 return true;
2352 case internalLinkTypeUnknownDeepLink::ID:
2353 func(static_cast<internalLinkTypeUnknownDeepLink &>(obj));
2354 return true;
2355 case internalLinkTypeUpgradedGift::ID:
2356 func(static_cast<internalLinkTypeUpgradedGift &>(obj));
2357 return true;
2358 case internalLinkTypeUserPhoneNumber::ID:
2359 func(static_cast<internalLinkTypeUserPhoneNumber &>(obj));
2360 return true;
2361 case internalLinkTypeUserToken::ID:
2362 func(static_cast<internalLinkTypeUserToken &>(obj));
2363 return true;
2364 case internalLinkTypeVideoChat::ID:
2365 func(static_cast<internalLinkTypeVideoChat &>(obj));
2366 return true;
2367 case internalLinkTypeWebApp::ID:
2368 func(static_cast<internalLinkTypeWebApp &>(obj));
2369 return true;
2370 case inviteGroupCallParticipantResultUserPrivacyRestricted::ID:
2371 func(static_cast<inviteGroupCallParticipantResultUserPrivacyRestricted &>(obj));
2372 return true;
2373 case inviteGroupCallParticipantResultUserAlreadyParticipant::ID:
2374 func(static_cast<inviteGroupCallParticipantResultUserAlreadyParticipant &>(obj));
2375 return true;
2376 case inviteGroupCallParticipantResultUserWasBanned::ID:
2377 func(static_cast<inviteGroupCallParticipantResultUserWasBanned &>(obj));
2378 return true;
2379 case inviteGroupCallParticipantResultSuccess::ID:
2380 func(static_cast<inviteGroupCallParticipantResultSuccess &>(obj));
2381 return true;
2382 case inviteLinkChatTypeBasicGroup::ID:
2383 func(static_cast<inviteLinkChatTypeBasicGroup &>(obj));
2384 return true;
2385 case inviteLinkChatTypeSupergroup::ID:
2386 func(static_cast<inviteLinkChatTypeSupergroup &>(obj));
2387 return true;
2388 case inviteLinkChatTypeChannel::ID:
2389 func(static_cast<inviteLinkChatTypeChannel &>(obj));
2390 return true;
2391 case invoice::ID:
2392 func(static_cast<invoice &>(obj));
2393 return true;
2394 case jsonObjectMember::ID:
2395 func(static_cast<jsonObjectMember &>(obj));
2396 return true;
2397 case jsonValueNull::ID:
2398 func(static_cast<jsonValueNull &>(obj));
2399 return true;
2400 case jsonValueBoolean::ID:
2401 func(static_cast<jsonValueBoolean &>(obj));
2402 return true;
2403 case jsonValueNumber::ID:
2404 func(static_cast<jsonValueNumber &>(obj));
2405 return true;
2406 case jsonValueString::ID:
2407 func(static_cast<jsonValueString &>(obj));
2408 return true;
2409 case jsonValueArray::ID:
2410 func(static_cast<jsonValueArray &>(obj));
2411 return true;
2412 case jsonValueObject::ID:
2413 func(static_cast<jsonValueObject &>(obj));
2414 return true;
2415 case keyboardButton::ID:
2416 func(static_cast<keyboardButton &>(obj));
2417 return true;
2418 case keyboardButtonSourceMessage::ID:
2419 func(static_cast<keyboardButtonSourceMessage &>(obj));
2420 return true;
2421 case keyboardButtonSourceWebApp::ID:
2422 func(static_cast<keyboardButtonSourceWebApp &>(obj));
2423 return true;
2424 case keyboardButtonTypeText::ID:
2425 func(static_cast<keyboardButtonTypeText &>(obj));
2426 return true;
2427 case keyboardButtonTypeRequestPhoneNumber::ID:
2428 func(static_cast<keyboardButtonTypeRequestPhoneNumber &>(obj));
2429 return true;
2430 case keyboardButtonTypeRequestLocation::ID:
2431 func(static_cast<keyboardButtonTypeRequestLocation &>(obj));
2432 return true;
2433 case keyboardButtonTypeRequestPoll::ID:
2434 func(static_cast<keyboardButtonTypeRequestPoll &>(obj));
2435 return true;
2436 case keyboardButtonTypeRequestUsers::ID:
2437 func(static_cast<keyboardButtonTypeRequestUsers &>(obj));
2438 return true;
2439 case keyboardButtonTypeRequestChat::ID:
2440 func(static_cast<keyboardButtonTypeRequestChat &>(obj));
2441 return true;
2442 case keyboardButtonTypeRequestManagedBot::ID:
2443 func(static_cast<keyboardButtonTypeRequestManagedBot &>(obj));
2444 return true;
2445 case keyboardButtonTypeWebApp::ID:
2446 func(static_cast<keyboardButtonTypeWebApp &>(obj));
2447 return true;
2448 case labeledPricePart::ID:
2449 func(static_cast<labeledPricePart &>(obj));
2450 return true;
2451 case languagePackInfo::ID:
2452 func(static_cast<languagePackInfo &>(obj));
2453 return true;
2454 case languagePackString::ID:
2455 func(static_cast<languagePackString &>(obj));
2456 return true;
2457 case languagePackStringValueOrdinary::ID:
2458 func(static_cast<languagePackStringValueOrdinary &>(obj));
2459 return true;
2460 case languagePackStringValuePluralized::ID:
2461 func(static_cast<languagePackStringValuePluralized &>(obj));
2462 return true;
2463 case languagePackStringValueDeleted::ID:
2464 func(static_cast<languagePackStringValueDeleted &>(obj));
2465 return true;
2466 case languagePackStrings::ID:
2467 func(static_cast<languagePackStrings &>(obj));
2468 return true;
2469 case linkPreview::ID:
2470 func(static_cast<linkPreview &>(obj));
2471 return true;
2472 case linkPreviewAlbumMediaPhoto::ID:
2473 func(static_cast<linkPreviewAlbumMediaPhoto &>(obj));
2474 return true;
2475 case linkPreviewAlbumMediaVideo::ID:
2476 func(static_cast<linkPreviewAlbumMediaVideo &>(obj));
2477 return true;
2478 case linkPreviewOptions::ID:
2479 func(static_cast<linkPreviewOptions &>(obj));
2480 return true;
2481 case linkPreviewTypeAlbum::ID:
2482 func(static_cast<linkPreviewTypeAlbum &>(obj));
2483 return true;
2484 case linkPreviewTypeAnimation::ID:
2485 func(static_cast<linkPreviewTypeAnimation &>(obj));
2486 return true;
2487 case linkPreviewTypeApp::ID:
2488 func(static_cast<linkPreviewTypeApp &>(obj));
2489 return true;
2490 case linkPreviewTypeArticle::ID:
2491 func(static_cast<linkPreviewTypeArticle &>(obj));
2492 return true;
2493 case linkPreviewTypeAudio::ID:
2494 func(static_cast<linkPreviewTypeAudio &>(obj));
2495 return true;
2496 case linkPreviewTypeBackground::ID:
2497 func(static_cast<linkPreviewTypeBackground &>(obj));
2498 return true;
2499 case linkPreviewTypeChannelBoost::ID:
2500 func(static_cast<linkPreviewTypeChannelBoost &>(obj));
2501 return true;
2502 case linkPreviewTypeChat::ID:
2503 func(static_cast<linkPreviewTypeChat &>(obj));
2504 return true;
2505 case linkPreviewTypeDirectMessagesChat::ID:
2506 func(static_cast<linkPreviewTypeDirectMessagesChat &>(obj));
2507 return true;
2508 case linkPreviewTypeDocument::ID:
2509 func(static_cast<linkPreviewTypeDocument &>(obj));
2510 return true;
2511 case linkPreviewTypeEmbeddedAnimationPlayer::ID:
2512 func(static_cast<linkPreviewTypeEmbeddedAnimationPlayer &>(obj));
2513 return true;
2514 case linkPreviewTypeEmbeddedAudioPlayer::ID:
2515 func(static_cast<linkPreviewTypeEmbeddedAudioPlayer &>(obj));
2516 return true;
2517 case linkPreviewTypeEmbeddedVideoPlayer::ID:
2518 func(static_cast<linkPreviewTypeEmbeddedVideoPlayer &>(obj));
2519 return true;
2520 case linkPreviewTypeExternalAudio::ID:
2521 func(static_cast<linkPreviewTypeExternalAudio &>(obj));
2522 return true;
2523 case linkPreviewTypeExternalVideo::ID:
2524 func(static_cast<linkPreviewTypeExternalVideo &>(obj));
2525 return true;
2526 case linkPreviewTypeGiftAuction::ID:
2527 func(static_cast<linkPreviewTypeGiftAuction &>(obj));
2528 return true;
2529 case linkPreviewTypeGiftCollection::ID:
2530 func(static_cast<linkPreviewTypeGiftCollection &>(obj));
2531 return true;
2532 case linkPreviewTypeGroupCall::ID:
2533 func(static_cast<linkPreviewTypeGroupCall &>(obj));
2534 return true;
2535 case linkPreviewTypeInvoice::ID:
2536 func(static_cast<linkPreviewTypeInvoice &>(obj));
2537 return true;
2538 case linkPreviewTypeLiveStory::ID:
2539 func(static_cast<linkPreviewTypeLiveStory &>(obj));
2540 return true;
2541 case linkPreviewTypeMessage::ID:
2542 func(static_cast<linkPreviewTypeMessage &>(obj));
2543 return true;
2544 case linkPreviewTypePhoto::ID:
2545 func(static_cast<linkPreviewTypePhoto &>(obj));
2546 return true;
2547 case linkPreviewTypePremiumGiftCode::ID:
2548 func(static_cast<linkPreviewTypePremiumGiftCode &>(obj));
2549 return true;
2550 case linkPreviewTypeRequestManagedBot::ID:
2551 func(static_cast<linkPreviewTypeRequestManagedBot &>(obj));
2552 return true;
2553 case linkPreviewTypeShareableChatFolder::ID:
2554 func(static_cast<linkPreviewTypeShareableChatFolder &>(obj));
2555 return true;
2556 case linkPreviewTypeSticker::ID:
2557 func(static_cast<linkPreviewTypeSticker &>(obj));
2558 return true;
2559 case linkPreviewTypeStickerSet::ID:
2560 func(static_cast<linkPreviewTypeStickerSet &>(obj));
2561 return true;
2562 case linkPreviewTypeStory::ID:
2563 func(static_cast<linkPreviewTypeStory &>(obj));
2564 return true;
2565 case linkPreviewTypeStoryAlbum::ID:
2566 func(static_cast<linkPreviewTypeStoryAlbum &>(obj));
2567 return true;
2568 case linkPreviewTypeSupergroupBoost::ID:
2569 func(static_cast<linkPreviewTypeSupergroupBoost &>(obj));
2570 return true;
2571 case linkPreviewTypeTheme::ID:
2572 func(static_cast<linkPreviewTypeTheme &>(obj));
2573 return true;
2574 case linkPreviewTypeUnsupported::ID:
2575 func(static_cast<linkPreviewTypeUnsupported &>(obj));
2576 return true;
2577 case linkPreviewTypeUpgradedGift::ID:
2578 func(static_cast<linkPreviewTypeUpgradedGift &>(obj));
2579 return true;
2580 case linkPreviewTypeUser::ID:
2581 func(static_cast<linkPreviewTypeUser &>(obj));
2582 return true;
2583 case linkPreviewTypeVideo::ID:
2584 func(static_cast<linkPreviewTypeVideo &>(obj));
2585 return true;
2586 case linkPreviewTypeVideoChat::ID:
2587 func(static_cast<linkPreviewTypeVideoChat &>(obj));
2588 return true;
2589 case linkPreviewTypeVideoNote::ID:
2590 func(static_cast<linkPreviewTypeVideoNote &>(obj));
2591 return true;
2592 case linkPreviewTypeVoiceNote::ID:
2593 func(static_cast<linkPreviewTypeVoiceNote &>(obj));
2594 return true;
2595 case linkPreviewTypeWebApp::ID:
2596 func(static_cast<linkPreviewTypeWebApp &>(obj));
2597 return true;
2598 case liveStoryDonors::ID:
2599 func(static_cast<liveStoryDonors &>(obj));
2600 return true;
2601 case localFile::ID:
2602 func(static_cast<localFile &>(obj));
2603 return true;
2604 case localizationTargetInfo::ID:
2605 func(static_cast<localizationTargetInfo &>(obj));
2606 return true;
2607 case location::ID:
2608 func(static_cast<location &>(obj));
2609 return true;
2610 case locationAddress::ID:
2611 func(static_cast<locationAddress &>(obj));
2612 return true;
2613 case logStreamDefault::ID:
2614 func(static_cast<logStreamDefault &>(obj));
2615 return true;
2616 case logStreamFile::ID:
2617 func(static_cast<logStreamFile &>(obj));
2618 return true;
2619 case logStreamEmpty::ID:
2620 func(static_cast<logStreamEmpty &>(obj));
2621 return true;
2622 case logTags::ID:
2623 func(static_cast<logTags &>(obj));
2624 return true;
2625 case logVerbosityLevel::ID:
2626 func(static_cast<logVerbosityLevel &>(obj));
2627 return true;
2628 case loginUrlInfoOpen::ID:
2629 func(static_cast<loginUrlInfoOpen &>(obj));
2630 return true;
2631 case loginUrlInfoRequestConfirmation::ID:
2632 func(static_cast<loginUrlInfoRequestConfirmation &>(obj));
2633 return true;
2634 case mainWebApp::ID:
2635 func(static_cast<mainWebApp &>(obj));
2636 return true;
2637 case maskPointForehead::ID:
2638 func(static_cast<maskPointForehead &>(obj));
2639 return true;
2640 case maskPointEyes::ID:
2641 func(static_cast<maskPointEyes &>(obj));
2642 return true;
2643 case maskPointMouth::ID:
2644 func(static_cast<maskPointMouth &>(obj));
2645 return true;
2646 case maskPointChin::ID:
2647 func(static_cast<maskPointChin &>(obj));
2648 return true;
2649 case maskPosition::ID:
2650 func(static_cast<maskPosition &>(obj));
2651 return true;
2652 case message::ID:
2653 func(static_cast<message &>(obj));
2654 return true;
2655 case messageAutoDeleteTime::ID:
2656 func(static_cast<messageAutoDeleteTime &>(obj));
2657 return true;
2658 case messageCalendar::ID:
2659 func(static_cast<messageCalendar &>(obj));
2660 return true;
2661 case messageCalendarDay::ID:
2662 func(static_cast<messageCalendarDay &>(obj));
2663 return true;
2664 case messageText::ID:
2665 func(static_cast<messageText &>(obj));
2666 return true;
2667 case messageAnimation::ID:
2668 func(static_cast<messageAnimation &>(obj));
2669 return true;
2670 case messageAudio::ID:
2671 func(static_cast<messageAudio &>(obj));
2672 return true;
2673 case messageDocument::ID:
2674 func(static_cast<messageDocument &>(obj));
2675 return true;
2676 case messagePaidMedia::ID:
2677 func(static_cast<messagePaidMedia &>(obj));
2678 return true;
2679 case messagePhoto::ID:
2680 func(static_cast<messagePhoto &>(obj));
2681 return true;
2682 case messageSticker::ID:
2683 func(static_cast<messageSticker &>(obj));
2684 return true;
2685 case messageVideo::ID:
2686 func(static_cast<messageVideo &>(obj));
2687 return true;
2688 case messageVideoNote::ID:
2689 func(static_cast<messageVideoNote &>(obj));
2690 return true;
2691 case messageVoiceNote::ID:
2692 func(static_cast<messageVoiceNote &>(obj));
2693 return true;
2694 case messageExpiredPhoto::ID:
2695 func(static_cast<messageExpiredPhoto &>(obj));
2696 return true;
2697 case messageExpiredVideo::ID:
2698 func(static_cast<messageExpiredVideo &>(obj));
2699 return true;
2700 case messageExpiredVideoNote::ID:
2701 func(static_cast<messageExpiredVideoNote &>(obj));
2702 return true;
2703 case messageExpiredVoiceNote::ID:
2704 func(static_cast<messageExpiredVoiceNote &>(obj));
2705 return true;
2706 case messageLocation::ID:
2707 func(static_cast<messageLocation &>(obj));
2708 return true;
2709 case messageVenue::ID:
2710 func(static_cast<messageVenue &>(obj));
2711 return true;
2712 case messageContact::ID:
2713 func(static_cast<messageContact &>(obj));
2714 return true;
2715 case messageAnimatedEmoji::ID:
2716 func(static_cast<messageAnimatedEmoji &>(obj));
2717 return true;
2718 case messageDice::ID:
2719 func(static_cast<messageDice &>(obj));
2720 return true;
2721 case messageGame::ID:
2722 func(static_cast<messageGame &>(obj));
2723 return true;
2724 case messagePoll::ID:
2725 func(static_cast<messagePoll &>(obj));
2726 return true;
2727 case messageStakeDice::ID:
2728 func(static_cast<messageStakeDice &>(obj));
2729 return true;
2730 case messageStory::ID:
2731 func(static_cast<messageStory &>(obj));
2732 return true;
2733 case messageChecklist::ID:
2734 func(static_cast<messageChecklist &>(obj));
2735 return true;
2736 case messageInvoice::ID:
2737 func(static_cast<messageInvoice &>(obj));
2738 return true;
2739 case messageCall::ID:
2740 func(static_cast<messageCall &>(obj));
2741 return true;
2742 case messageGroupCall::ID:
2743 func(static_cast<messageGroupCall &>(obj));
2744 return true;
2745 case messageVideoChatScheduled::ID:
2746 func(static_cast<messageVideoChatScheduled &>(obj));
2747 return true;
2748 case messageVideoChatStarted::ID:
2749 func(static_cast<messageVideoChatStarted &>(obj));
2750 return true;
2751 case messageVideoChatEnded::ID:
2752 func(static_cast<messageVideoChatEnded &>(obj));
2753 return true;
2754 case messageInviteVideoChatParticipants::ID:
2755 func(static_cast<messageInviteVideoChatParticipants &>(obj));
2756 return true;
2757 case messagePollOptionAdded::ID:
2758 func(static_cast<messagePollOptionAdded &>(obj));
2759 return true;
2760 case messagePollOptionDeleted::ID:
2761 func(static_cast<messagePollOptionDeleted &>(obj));
2762 return true;
2763 case messageBasicGroupChatCreate::ID:
2764 func(static_cast<messageBasicGroupChatCreate &>(obj));
2765 return true;
2766 case messageSupergroupChatCreate::ID:
2767 func(static_cast<messageSupergroupChatCreate &>(obj));
2768 return true;
2769 case messageChatChangeTitle::ID:
2770 func(static_cast<messageChatChangeTitle &>(obj));
2771 return true;
2772 case messageChatChangePhoto::ID:
2773 func(static_cast<messageChatChangePhoto &>(obj));
2774 return true;
2775 case messageChatDeletePhoto::ID:
2776 func(static_cast<messageChatDeletePhoto &>(obj));
2777 return true;
2778 case messageChatOwnerLeft::ID:
2779 func(static_cast<messageChatOwnerLeft &>(obj));
2780 return true;
2781 case messageChatOwnerChanged::ID:
2782 func(static_cast<messageChatOwnerChanged &>(obj));
2783 return true;
2784 case messageChatHasProtectedContentToggled::ID:
2785 func(static_cast<messageChatHasProtectedContentToggled &>(obj));
2786 return true;
2787 case messageChatHasProtectedContentDisableRequested::ID:
2788 func(static_cast<messageChatHasProtectedContentDisableRequested &>(obj));
2789 return true;
2790 case messageChatAddMembers::ID:
2791 func(static_cast<messageChatAddMembers &>(obj));
2792 return true;
2793 case messageChatJoinByLink::ID:
2794 func(static_cast<messageChatJoinByLink &>(obj));
2795 return true;
2796 case messageChatJoinByRequest::ID:
2797 func(static_cast<messageChatJoinByRequest &>(obj));
2798 return true;
2799 case messageChatDeleteMember::ID:
2800 func(static_cast<messageChatDeleteMember &>(obj));
2801 return true;
2802 case messageChatUpgradeTo::ID:
2803 func(static_cast<messageChatUpgradeTo &>(obj));
2804 return true;
2805 case messageChatUpgradeFrom::ID:
2806 func(static_cast<messageChatUpgradeFrom &>(obj));
2807 return true;
2808 case messagePinMessage::ID:
2809 func(static_cast<messagePinMessage &>(obj));
2810 return true;
2811 case messageScreenshotTaken::ID:
2812 func(static_cast<messageScreenshotTaken &>(obj));
2813 return true;
2814 case messageChatSetBackground::ID:
2815 func(static_cast<messageChatSetBackground &>(obj));
2816 return true;
2817 case messageChatSetTheme::ID:
2818 func(static_cast<messageChatSetTheme &>(obj));
2819 return true;
2820 case messageChatSetMessageAutoDeleteTime::ID:
2821 func(static_cast<messageChatSetMessageAutoDeleteTime &>(obj));
2822 return true;
2823 case messageChatBoost::ID:
2824 func(static_cast<messageChatBoost &>(obj));
2825 return true;
2826 case messageForumTopicCreated::ID:
2827 func(static_cast<messageForumTopicCreated &>(obj));
2828 return true;
2829 case messageForumTopicEdited::ID:
2830 func(static_cast<messageForumTopicEdited &>(obj));
2831 return true;
2832 case messageForumTopicIsClosedToggled::ID:
2833 func(static_cast<messageForumTopicIsClosedToggled &>(obj));
2834 return true;
2835 case messageForumTopicIsHiddenToggled::ID:
2836 func(static_cast<messageForumTopicIsHiddenToggled &>(obj));
2837 return true;
2838 case messageSuggestProfilePhoto::ID:
2839 func(static_cast<messageSuggestProfilePhoto &>(obj));
2840 return true;
2841 case messageSuggestBirthdate::ID:
2842 func(static_cast<messageSuggestBirthdate &>(obj));
2843 return true;
2844 case messageCustomServiceAction::ID:
2845 func(static_cast<messageCustomServiceAction &>(obj));
2846 return true;
2847 case messageGameScore::ID:
2848 func(static_cast<messageGameScore &>(obj));
2849 return true;
2850 case messageManagedBotCreated::ID:
2851 func(static_cast<messageManagedBotCreated &>(obj));
2852 return true;
2853 case messagePaymentSuccessful::ID:
2854 func(static_cast<messagePaymentSuccessful &>(obj));
2855 return true;
2856 case messagePaymentSuccessfulBot::ID:
2857 func(static_cast<messagePaymentSuccessfulBot &>(obj));
2858 return true;
2859 case messagePaymentRefunded::ID:
2860 func(static_cast<messagePaymentRefunded &>(obj));
2861 return true;
2862 case messageGiftedPremium::ID:
2863 func(static_cast<messageGiftedPremium &>(obj));
2864 return true;
2865 case messagePremiumGiftCode::ID:
2866 func(static_cast<messagePremiumGiftCode &>(obj));
2867 return true;
2868 case messageGiveawayCreated::ID:
2869 func(static_cast<messageGiveawayCreated &>(obj));
2870 return true;
2871 case messageGiveaway::ID:
2872 func(static_cast<messageGiveaway &>(obj));
2873 return true;
2874 case messageGiveawayCompleted::ID:
2875 func(static_cast<messageGiveawayCompleted &>(obj));
2876 return true;
2877 case messageGiveawayWinners::ID:
2878 func(static_cast<messageGiveawayWinners &>(obj));
2879 return true;
2880 case messageGiftedStars::ID:
2881 func(static_cast<messageGiftedStars &>(obj));
2882 return true;
2883 case messageGiftedTon::ID:
2884 func(static_cast<messageGiftedTon &>(obj));
2885 return true;
2886 case messageGiveawayPrizeStars::ID:
2887 func(static_cast<messageGiveawayPrizeStars &>(obj));
2888 return true;
2889 case messageGift::ID:
2890 func(static_cast<messageGift &>(obj));
2891 return true;
2892 case messageUpgradedGift::ID:
2893 func(static_cast<messageUpgradedGift &>(obj));
2894 return true;
2895 case messageRefundedUpgradedGift::ID:
2896 func(static_cast<messageRefundedUpgradedGift &>(obj));
2897 return true;
2898 case messageUpgradedGiftPurchaseOffer::ID:
2899 func(static_cast<messageUpgradedGiftPurchaseOffer &>(obj));
2900 return true;
2901 case messageUpgradedGiftPurchaseOfferRejected::ID:
2902 func(static_cast<messageUpgradedGiftPurchaseOfferRejected &>(obj));
2903 return true;
2904 case messagePaidMessagesRefunded::ID:
2905 func(static_cast<messagePaidMessagesRefunded &>(obj));
2906 return true;
2907 case messagePaidMessagePriceChanged::ID:
2908 func(static_cast<messagePaidMessagePriceChanged &>(obj));
2909 return true;
2910 case messageDirectMessagePriceChanged::ID:
2911 func(static_cast<messageDirectMessagePriceChanged &>(obj));
2912 return true;
2913 case messageChecklistTasksDone::ID:
2914 func(static_cast<messageChecklistTasksDone &>(obj));
2915 return true;
2916 case messageChecklistTasksAdded::ID:
2917 func(static_cast<messageChecklistTasksAdded &>(obj));
2918 return true;
2919 case messageSuggestedPostApprovalFailed::ID:
2920 func(static_cast<messageSuggestedPostApprovalFailed &>(obj));
2921 return true;
2922 case messageSuggestedPostApproved::ID:
2923 func(static_cast<messageSuggestedPostApproved &>(obj));
2924 return true;
2925 case messageSuggestedPostDeclined::ID:
2926 func(static_cast<messageSuggestedPostDeclined &>(obj));
2927 return true;
2928 case messageSuggestedPostPaid::ID:
2929 func(static_cast<messageSuggestedPostPaid &>(obj));
2930 return true;
2931 case messageSuggestedPostRefunded::ID:
2932 func(static_cast<messageSuggestedPostRefunded &>(obj));
2933 return true;
2934 case messageContactRegistered::ID:
2935 func(static_cast<messageContactRegistered &>(obj));
2936 return true;
2937 case messageUsersShared::ID:
2938 func(static_cast<messageUsersShared &>(obj));
2939 return true;
2940 case messageChatShared::ID:
2941 func(static_cast<messageChatShared &>(obj));
2942 return true;
2943 case messageBotWriteAccessAllowed::ID:
2944 func(static_cast<messageBotWriteAccessAllowed &>(obj));
2945 return true;
2946 case messageWebAppDataSent::ID:
2947 func(static_cast<messageWebAppDataSent &>(obj));
2948 return true;
2949 case messageWebAppDataReceived::ID:
2950 func(static_cast<messageWebAppDataReceived &>(obj));
2951 return true;
2952 case messagePassportDataSent::ID:
2953 func(static_cast<messagePassportDataSent &>(obj));
2954 return true;
2955 case messagePassportDataReceived::ID:
2956 func(static_cast<messagePassportDataReceived &>(obj));
2957 return true;
2958 case messageProximityAlertTriggered::ID:
2959 func(static_cast<messageProximityAlertTriggered &>(obj));
2960 return true;
2961 case messageUnsupported::ID:
2962 func(static_cast<messageUnsupported &>(obj));
2963 return true;
2964 case messageCopyOptions::ID:
2965 func(static_cast<messageCopyOptions &>(obj));
2966 return true;
2967 case messageEffect::ID:
2968 func(static_cast<messageEffect &>(obj));
2969 return true;
2970 case messageEffectTypeEmojiReaction::ID:
2971 func(static_cast<messageEffectTypeEmojiReaction &>(obj));
2972 return true;
2973 case messageEffectTypePremiumSticker::ID:
2974 func(static_cast<messageEffectTypePremiumSticker &>(obj));
2975 return true;
2976 case messageFileTypePrivate::ID:
2977 func(static_cast<messageFileTypePrivate &>(obj));
2978 return true;
2979 case messageFileTypeGroup::ID:
2980 func(static_cast<messageFileTypeGroup &>(obj));
2981 return true;
2982 case messageFileTypeUnknown::ID:
2983 func(static_cast<messageFileTypeUnknown &>(obj));
2984 return true;
2985 case messageForwardInfo::ID:
2986 func(static_cast<messageForwardInfo &>(obj));
2987 return true;
2988 case messageImportInfo::ID:
2989 func(static_cast<messageImportInfo &>(obj));
2990 return true;
2991 case messageInteractionInfo::ID:
2992 func(static_cast<messageInteractionInfo &>(obj));
2993 return true;
2994 case messageLink::ID:
2995 func(static_cast<messageLink &>(obj));
2996 return true;
2997 case messageLinkInfo::ID:
2998 func(static_cast<messageLinkInfo &>(obj));
2999 return true;
3000 case messageOriginUser::ID:
3001 func(static_cast<messageOriginUser &>(obj));
3002 return true;
3003 case messageOriginHiddenUser::ID:
3004 func(static_cast<messageOriginHiddenUser &>(obj));
3005 return true;
3006 case messageOriginChat::ID:
3007 func(static_cast<messageOriginChat &>(obj));
3008 return true;
3009 case messageOriginChannel::ID:
3010 func(static_cast<messageOriginChannel &>(obj));
3011 return true;
3012 case messagePosition::ID:
3013 func(static_cast<messagePosition &>(obj));
3014 return true;
3015 case messagePositions::ID:
3016 func(static_cast<messagePositions &>(obj));
3017 return true;
3018 case messageProperties::ID:
3019 func(static_cast<messageProperties &>(obj));
3020 return true;
3021 case messageReaction::ID:
3022 func(static_cast<messageReaction &>(obj));
3023 return true;
3024 case messageReactions::ID:
3025 func(static_cast<messageReactions &>(obj));
3026 return true;
3027 case messageReadDateRead::ID:
3028 func(static_cast<messageReadDateRead &>(obj));
3029 return true;
3030 case messageReadDateUnread::ID:
3031 func(static_cast<messageReadDateUnread &>(obj));
3032 return true;
3033 case messageReadDateTooOld::ID:
3034 func(static_cast<messageReadDateTooOld &>(obj));
3035 return true;
3036 case messageReadDateUserPrivacyRestricted::ID:
3037 func(static_cast<messageReadDateUserPrivacyRestricted &>(obj));
3038 return true;
3039 case messageReadDateMyPrivacyRestricted::ID:
3040 func(static_cast<messageReadDateMyPrivacyRestricted &>(obj));
3041 return true;
3042 case messageReplyInfo::ID:
3043 func(static_cast<messageReplyInfo &>(obj));
3044 return true;
3045 case messageReplyToMessage::ID:
3046 func(static_cast<messageReplyToMessage &>(obj));
3047 return true;
3048 case messageReplyToStory::ID:
3049 func(static_cast<messageReplyToStory &>(obj));
3050 return true;
3051 case messageSchedulingStateSendAtDate::ID:
3052 func(static_cast<messageSchedulingStateSendAtDate &>(obj));
3053 return true;
3054 case messageSchedulingStateSendWhenOnline::ID:
3055 func(static_cast<messageSchedulingStateSendWhenOnline &>(obj));
3056 return true;
3057 case messageSchedulingStateSendWhenVideoProcessed::ID:
3058 func(static_cast<messageSchedulingStateSendWhenVideoProcessed &>(obj));
3059 return true;
3060 case messageSelfDestructTypeTimer::ID:
3061 func(static_cast<messageSelfDestructTypeTimer &>(obj));
3062 return true;
3063 case messageSelfDestructTypeImmediately::ID:
3064 func(static_cast<messageSelfDestructTypeImmediately &>(obj));
3065 return true;
3066 case messageSendOptions::ID:
3067 func(static_cast<messageSendOptions &>(obj));
3068 return true;
3069 case messageSenderUser::ID:
3070 func(static_cast<messageSenderUser &>(obj));
3071 return true;
3072 case messageSenderChat::ID:
3073 func(static_cast<messageSenderChat &>(obj));
3074 return true;
3075 case messageSenders::ID:
3076 func(static_cast<messageSenders &>(obj));
3077 return true;
3078 case messageSendingStatePending::ID:
3079 func(static_cast<messageSendingStatePending &>(obj));
3080 return true;
3081 case messageSendingStateFailed::ID:
3082 func(static_cast<messageSendingStateFailed &>(obj));
3083 return true;
3084 case messageSourceChatHistory::ID:
3085 func(static_cast<messageSourceChatHistory &>(obj));
3086 return true;
3087 case messageSourceMessageThreadHistory::ID:
3088 func(static_cast<messageSourceMessageThreadHistory &>(obj));
3089 return true;
3090 case messageSourceForumTopicHistory::ID:
3091 func(static_cast<messageSourceForumTopicHistory &>(obj));
3092 return true;
3093 case messageSourceDirectMessagesChatTopicHistory::ID:
3094 func(static_cast<messageSourceDirectMessagesChatTopicHistory &>(obj));
3095 return true;
3096 case messageSourceHistoryPreview::ID:
3097 func(static_cast<messageSourceHistoryPreview &>(obj));
3098 return true;
3099 case messageSourceChatList::ID:
3100 func(static_cast<messageSourceChatList &>(obj));
3101 return true;
3102 case messageSourceSearch::ID:
3103 func(static_cast<messageSourceSearch &>(obj));
3104 return true;
3105 case messageSourceChatEventLog::ID:
3106 func(static_cast<messageSourceChatEventLog &>(obj));
3107 return true;
3108 case messageSourceNotification::ID:
3109 func(static_cast<messageSourceNotification &>(obj));
3110 return true;
3111 case messageSourceScreenshot::ID:
3112 func(static_cast<messageSourceScreenshot &>(obj));
3113 return true;
3114 case messageSourceOther::ID:
3115 func(static_cast<messageSourceOther &>(obj));
3116 return true;
3117 case messageStatistics::ID:
3118 func(static_cast<messageStatistics &>(obj));
3119 return true;
3120 case messageThreadInfo::ID:
3121 func(static_cast<messageThreadInfo &>(obj));
3122 return true;
3123 case messageTopicThread::ID:
3124 func(static_cast<messageTopicThread &>(obj));
3125 return true;
3126 case messageTopicForum::ID:
3127 func(static_cast<messageTopicForum &>(obj));
3128 return true;
3129 case messageTopicDirectMessages::ID:
3130 func(static_cast<messageTopicDirectMessages &>(obj));
3131 return true;
3132 case messageTopicSavedMessages::ID:
3133 func(static_cast<messageTopicSavedMessages &>(obj));
3134 return true;
3135 case messageViewer::ID:
3136 func(static_cast<messageViewer &>(obj));
3137 return true;
3138 case messageViewers::ID:
3139 func(static_cast<messageViewers &>(obj));
3140 return true;
3141 case messages::ID:
3142 func(static_cast<messages &>(obj));
3143 return true;
3144 case minithumbnail::ID:
3145 func(static_cast<minithumbnail &>(obj));
3146 return true;
3147 case networkStatistics::ID:
3148 func(static_cast<networkStatistics &>(obj));
3149 return true;
3150 case networkStatisticsEntryFile::ID:
3151 func(static_cast<networkStatisticsEntryFile &>(obj));
3152 return true;
3153 case networkStatisticsEntryCall::ID:
3154 func(static_cast<networkStatisticsEntryCall &>(obj));
3155 return true;
3156 case networkTypeNone::ID:
3157 func(static_cast<networkTypeNone &>(obj));
3158 return true;
3159 case networkTypeMobile::ID:
3160 func(static_cast<networkTypeMobile &>(obj));
3161 return true;
3162 case networkTypeMobileRoaming::ID:
3163 func(static_cast<networkTypeMobileRoaming &>(obj));
3164 return true;
3165 case networkTypeWiFi::ID:
3166 func(static_cast<networkTypeWiFi &>(obj));
3167 return true;
3168 case networkTypeOther::ID:
3169 func(static_cast<networkTypeOther &>(obj));
3170 return true;
3171 case newChatPrivacySettings::ID:
3172 func(static_cast<newChatPrivacySettings &>(obj));
3173 return true;
3174 case notification::ID:
3175 func(static_cast<notification &>(obj));
3176 return true;
3177 case notificationGroup::ID:
3178 func(static_cast<notificationGroup &>(obj));
3179 return true;
3180 case notificationGroupTypeMessages::ID:
3181 func(static_cast<notificationGroupTypeMessages &>(obj));
3182 return true;
3183 case notificationGroupTypeMentions::ID:
3184 func(static_cast<notificationGroupTypeMentions &>(obj));
3185 return true;
3186 case notificationGroupTypeSecretChat::ID:
3187 func(static_cast<notificationGroupTypeSecretChat &>(obj));
3188 return true;
3189 case notificationGroupTypeCalls::ID:
3190 func(static_cast<notificationGroupTypeCalls &>(obj));
3191 return true;
3192 case notificationSettingsScopePrivateChats::ID:
3193 func(static_cast<notificationSettingsScopePrivateChats &>(obj));
3194 return true;
3195 case notificationSettingsScopeGroupChats::ID:
3196 func(static_cast<notificationSettingsScopeGroupChats &>(obj));
3197 return true;
3198 case notificationSettingsScopeChannelChats::ID:
3199 func(static_cast<notificationSettingsScopeChannelChats &>(obj));
3200 return true;
3201 case notificationSound::ID:
3202 func(static_cast<notificationSound &>(obj));
3203 return true;
3204 case notificationSounds::ID:
3205 func(static_cast<notificationSounds &>(obj));
3206 return true;
3207 case notificationTypeNewMessage::ID:
3208 func(static_cast<notificationTypeNewMessage &>(obj));
3209 return true;
3210 case notificationTypeNewSecretChat::ID:
3211 func(static_cast<notificationTypeNewSecretChat &>(obj));
3212 return true;
3213 case notificationTypeNewCall::ID:
3214 func(static_cast<notificationTypeNewCall &>(obj));
3215 return true;
3216 case notificationTypeNewPushMessage::ID:
3217 func(static_cast<notificationTypeNewPushMessage &>(obj));
3218 return true;
3219 case oauthLinkInfo::ID:
3220 func(static_cast<oauthLinkInfo &>(obj));
3221 return true;
3222 case ok::ID:
3223 func(static_cast<ok &>(obj));
3224 return true;
3225 case optionValueBoolean::ID:
3226 func(static_cast<optionValueBoolean &>(obj));
3227 return true;
3228 case optionValueEmpty::ID:
3229 func(static_cast<optionValueEmpty &>(obj));
3230 return true;
3231 case optionValueInteger::ID:
3232 func(static_cast<optionValueInteger &>(obj));
3233 return true;
3234 case optionValueString::ID:
3235 func(static_cast<optionValueString &>(obj));
3236 return true;
3237 case orderInfo::ID:
3238 func(static_cast<orderInfo &>(obj));
3239 return true;
3240 case outline::ID:
3241 func(static_cast<outline &>(obj));
3242 return true;
3243 case pageBlockTitle::ID:
3244 func(static_cast<pageBlockTitle &>(obj));
3245 return true;
3246 case pageBlockSubtitle::ID:
3247 func(static_cast<pageBlockSubtitle &>(obj));
3248 return true;
3249 case pageBlockAuthorDate::ID:
3250 func(static_cast<pageBlockAuthorDate &>(obj));
3251 return true;
3252 case pageBlockHeader::ID:
3253 func(static_cast<pageBlockHeader &>(obj));
3254 return true;
3255 case pageBlockSubheader::ID:
3256 func(static_cast<pageBlockSubheader &>(obj));
3257 return true;
3258 case pageBlockKicker::ID:
3259 func(static_cast<pageBlockKicker &>(obj));
3260 return true;
3261 case pageBlockParagraph::ID:
3262 func(static_cast<pageBlockParagraph &>(obj));
3263 return true;
3264 case pageBlockPreformatted::ID:
3265 func(static_cast<pageBlockPreformatted &>(obj));
3266 return true;
3267 case pageBlockFooter::ID:
3268 func(static_cast<pageBlockFooter &>(obj));
3269 return true;
3270 case pageBlockDivider::ID:
3271 func(static_cast<pageBlockDivider &>(obj));
3272 return true;
3273 case pageBlockAnchor::ID:
3274 func(static_cast<pageBlockAnchor &>(obj));
3275 return true;
3276 case pageBlockList::ID:
3277 func(static_cast<pageBlockList &>(obj));
3278 return true;
3279 case pageBlockBlockQuote::ID:
3280 func(static_cast<pageBlockBlockQuote &>(obj));
3281 return true;
3282 case pageBlockPullQuote::ID:
3283 func(static_cast<pageBlockPullQuote &>(obj));
3284 return true;
3285 case pageBlockAnimation::ID:
3286 func(static_cast<pageBlockAnimation &>(obj));
3287 return true;
3288 case pageBlockAudio::ID:
3289 func(static_cast<pageBlockAudio &>(obj));
3290 return true;
3291 case pageBlockPhoto::ID:
3292 func(static_cast<pageBlockPhoto &>(obj));
3293 return true;
3294 case pageBlockVideo::ID:
3295 func(static_cast<pageBlockVideo &>(obj));
3296 return true;
3297 case pageBlockVoiceNote::ID:
3298 func(static_cast<pageBlockVoiceNote &>(obj));
3299 return true;
3300 case pageBlockCover::ID:
3301 func(static_cast<pageBlockCover &>(obj));
3302 return true;
3303 case pageBlockEmbedded::ID:
3304 func(static_cast<pageBlockEmbedded &>(obj));
3305 return true;
3306 case pageBlockEmbeddedPost::ID:
3307 func(static_cast<pageBlockEmbeddedPost &>(obj));
3308 return true;
3309 case pageBlockCollage::ID:
3310 func(static_cast<pageBlockCollage &>(obj));
3311 return true;
3312 case pageBlockSlideshow::ID:
3313 func(static_cast<pageBlockSlideshow &>(obj));
3314 return true;
3315 case pageBlockChatLink::ID:
3316 func(static_cast<pageBlockChatLink &>(obj));
3317 return true;
3318 case pageBlockTable::ID:
3319 func(static_cast<pageBlockTable &>(obj));
3320 return true;
3321 case pageBlockDetails::ID:
3322 func(static_cast<pageBlockDetails &>(obj));
3323 return true;
3324 case pageBlockRelatedArticles::ID:
3325 func(static_cast<pageBlockRelatedArticles &>(obj));
3326 return true;
3327 case pageBlockMap::ID:
3328 func(static_cast<pageBlockMap &>(obj));
3329 return true;
3330 case pageBlockCaption::ID:
3331 func(static_cast<pageBlockCaption &>(obj));
3332 return true;
3333 case pageBlockHorizontalAlignmentLeft::ID:
3334 func(static_cast<pageBlockHorizontalAlignmentLeft &>(obj));
3335 return true;
3336 case pageBlockHorizontalAlignmentCenter::ID:
3337 func(static_cast<pageBlockHorizontalAlignmentCenter &>(obj));
3338 return true;
3339 case pageBlockHorizontalAlignmentRight::ID:
3340 func(static_cast<pageBlockHorizontalAlignmentRight &>(obj));
3341 return true;
3342 case pageBlockListItem::ID:
3343 func(static_cast<pageBlockListItem &>(obj));
3344 return true;
3345 case pageBlockRelatedArticle::ID:
3346 func(static_cast<pageBlockRelatedArticle &>(obj));
3347 return true;
3348 case pageBlockTableCell::ID:
3349 func(static_cast<pageBlockTableCell &>(obj));
3350 return true;
3351 case pageBlockVerticalAlignmentTop::ID:
3352 func(static_cast<pageBlockVerticalAlignmentTop &>(obj));
3353 return true;
3354 case pageBlockVerticalAlignmentMiddle::ID:
3355 func(static_cast<pageBlockVerticalAlignmentMiddle &>(obj));
3356 return true;
3357 case pageBlockVerticalAlignmentBottom::ID:
3358 func(static_cast<pageBlockVerticalAlignmentBottom &>(obj));
3359 return true;
3360 case paidMediaPreview::ID:
3361 func(static_cast<paidMediaPreview &>(obj));
3362 return true;
3363 case paidMediaPhoto::ID:
3364 func(static_cast<paidMediaPhoto &>(obj));
3365 return true;
3366 case paidMediaVideo::ID:
3367 func(static_cast<paidMediaVideo &>(obj));
3368 return true;
3369 case paidMediaUnsupported::ID:
3370 func(static_cast<paidMediaUnsupported &>(obj));
3371 return true;
3372 case paidReactionTypeRegular::ID:
3373 func(static_cast<paidReactionTypeRegular &>(obj));
3374 return true;
3375 case paidReactionTypeAnonymous::ID:
3376 func(static_cast<paidReactionTypeAnonymous &>(obj));
3377 return true;
3378 case paidReactionTypeChat::ID:
3379 func(static_cast<paidReactionTypeChat &>(obj));
3380 return true;
3381 case paidReactor::ID:
3382 func(static_cast<paidReactor &>(obj));
3383 return true;
3384 case passkey::ID:
3385 func(static_cast<passkey &>(obj));
3386 return true;
3387 case passkeys::ID:
3388 func(static_cast<passkeys &>(obj));
3389 return true;
3390 case passportAuthorizationForm::ID:
3391 func(static_cast<passportAuthorizationForm &>(obj));
3392 return true;
3393 case passportElementPersonalDetails::ID:
3394 func(static_cast<passportElementPersonalDetails &>(obj));
3395 return true;
3396 case passportElementPassport::ID:
3397 func(static_cast<passportElementPassport &>(obj));
3398 return true;
3399 case passportElementDriverLicense::ID:
3400 func(static_cast<passportElementDriverLicense &>(obj));
3401 return true;
3402 case passportElementIdentityCard::ID:
3403 func(static_cast<passportElementIdentityCard &>(obj));
3404 return true;
3405 case passportElementInternalPassport::ID:
3406 func(static_cast<passportElementInternalPassport &>(obj));
3407 return true;
3408 case passportElementAddress::ID:
3409 func(static_cast<passportElementAddress &>(obj));
3410 return true;
3411 case passportElementUtilityBill::ID:
3412 func(static_cast<passportElementUtilityBill &>(obj));
3413 return true;
3414 case passportElementBankStatement::ID:
3415 func(static_cast<passportElementBankStatement &>(obj));
3416 return true;
3417 case passportElementRentalAgreement::ID:
3418 func(static_cast<passportElementRentalAgreement &>(obj));
3419 return true;
3420 case passportElementPassportRegistration::ID:
3421 func(static_cast<passportElementPassportRegistration &>(obj));
3422 return true;
3423 case passportElementTemporaryRegistration::ID:
3424 func(static_cast<passportElementTemporaryRegistration &>(obj));
3425 return true;
3426 case passportElementPhoneNumber::ID:
3427 func(static_cast<passportElementPhoneNumber &>(obj));
3428 return true;
3429 case passportElementEmailAddress::ID:
3430 func(static_cast<passportElementEmailAddress &>(obj));
3431 return true;
3432 case passportElementError::ID:
3433 func(static_cast<passportElementError &>(obj));
3434 return true;
3435 case passportElementErrorSourceUnspecified::ID:
3436 func(static_cast<passportElementErrorSourceUnspecified &>(obj));
3437 return true;
3438 case passportElementErrorSourceDataField::ID:
3439 func(static_cast<passportElementErrorSourceDataField &>(obj));
3440 return true;
3441 case passportElementErrorSourceFrontSide::ID:
3442 func(static_cast<passportElementErrorSourceFrontSide &>(obj));
3443 return true;
3444 case passportElementErrorSourceReverseSide::ID:
3445 func(static_cast<passportElementErrorSourceReverseSide &>(obj));
3446 return true;
3447 case passportElementErrorSourceSelfie::ID:
3448 func(static_cast<passportElementErrorSourceSelfie &>(obj));
3449 return true;
3450 case passportElementErrorSourceTranslationFile::ID:
3451 func(static_cast<passportElementErrorSourceTranslationFile &>(obj));
3452 return true;
3453 case passportElementErrorSourceTranslationFiles::ID:
3454 func(static_cast<passportElementErrorSourceTranslationFiles &>(obj));
3455 return true;
3456 case passportElementErrorSourceFile::ID:
3457 func(static_cast<passportElementErrorSourceFile &>(obj));
3458 return true;
3459 case passportElementErrorSourceFiles::ID:
3460 func(static_cast<passportElementErrorSourceFiles &>(obj));
3461 return true;
3462 case passportElementTypePersonalDetails::ID:
3463 func(static_cast<passportElementTypePersonalDetails &>(obj));
3464 return true;
3465 case passportElementTypePassport::ID:
3466 func(static_cast<passportElementTypePassport &>(obj));
3467 return true;
3468 case passportElementTypeDriverLicense::ID:
3469 func(static_cast<passportElementTypeDriverLicense &>(obj));
3470 return true;
3471 case passportElementTypeIdentityCard::ID:
3472 func(static_cast<passportElementTypeIdentityCard &>(obj));
3473 return true;
3474 case passportElementTypeInternalPassport::ID:
3475 func(static_cast<passportElementTypeInternalPassport &>(obj));
3476 return true;
3477 case passportElementTypeAddress::ID:
3478 func(static_cast<passportElementTypeAddress &>(obj));
3479 return true;
3480 case passportElementTypeUtilityBill::ID:
3481 func(static_cast<passportElementTypeUtilityBill &>(obj));
3482 return true;
3483 case passportElementTypeBankStatement::ID:
3484 func(static_cast<passportElementTypeBankStatement &>(obj));
3485 return true;
3486 case passportElementTypeRentalAgreement::ID:
3487 func(static_cast<passportElementTypeRentalAgreement &>(obj));
3488 return true;
3489 case passportElementTypePassportRegistration::ID:
3490 func(static_cast<passportElementTypePassportRegistration &>(obj));
3491 return true;
3492 case passportElementTypeTemporaryRegistration::ID:
3493 func(static_cast<passportElementTypeTemporaryRegistration &>(obj));
3494 return true;
3495 case passportElementTypePhoneNumber::ID:
3496 func(static_cast<passportElementTypePhoneNumber &>(obj));
3497 return true;
3498 case passportElementTypeEmailAddress::ID:
3499 func(static_cast<passportElementTypeEmailAddress &>(obj));
3500 return true;
3501 case passportElements::ID:
3502 func(static_cast<passportElements &>(obj));
3503 return true;
3504 case passportElementsWithErrors::ID:
3505 func(static_cast<passportElementsWithErrors &>(obj));
3506 return true;
3507 case passportRequiredElement::ID:
3508 func(static_cast<passportRequiredElement &>(obj));
3509 return true;
3510 case passportSuitableElement::ID:
3511 func(static_cast<passportSuitableElement &>(obj));
3512 return true;
3513 case passwordState::ID:
3514 func(static_cast<passwordState &>(obj));
3515 return true;
3516 case paymentForm::ID:
3517 func(static_cast<paymentForm &>(obj));
3518 return true;
3519 case paymentFormTypeRegular::ID:
3520 func(static_cast<paymentFormTypeRegular &>(obj));
3521 return true;
3522 case paymentFormTypeStars::ID:
3523 func(static_cast<paymentFormTypeStars &>(obj));
3524 return true;
3525 case paymentFormTypeStarSubscription::ID:
3526 func(static_cast<paymentFormTypeStarSubscription &>(obj));
3527 return true;
3528 case paymentOption::ID:
3529 func(static_cast<paymentOption &>(obj));
3530 return true;
3531 case paymentProviderSmartGlocal::ID:
3532 func(static_cast<paymentProviderSmartGlocal &>(obj));
3533 return true;
3534 case paymentProviderStripe::ID:
3535 func(static_cast<paymentProviderStripe &>(obj));
3536 return true;
3537 case paymentProviderOther::ID:
3538 func(static_cast<paymentProviderOther &>(obj));
3539 return true;
3540 case paymentReceipt::ID:
3541 func(static_cast<paymentReceipt &>(obj));
3542 return true;
3543 case paymentReceiptTypeRegular::ID:
3544 func(static_cast<paymentReceiptTypeRegular &>(obj));
3545 return true;
3546 case paymentReceiptTypeStars::ID:
3547 func(static_cast<paymentReceiptTypeStars &>(obj));
3548 return true;
3549 case paymentResult::ID:
3550 func(static_cast<paymentResult &>(obj));
3551 return true;
3552 case personalDetails::ID:
3553 func(static_cast<personalDetails &>(obj));
3554 return true;
3555 case personalDocument::ID:
3556 func(static_cast<personalDocument &>(obj));
3557 return true;
3558 case phoneNumberAuthenticationSettings::ID:
3559 func(static_cast<phoneNumberAuthenticationSettings &>(obj));
3560 return true;
3561 case phoneNumberCodeTypeChange::ID:
3562 func(static_cast<phoneNumberCodeTypeChange &>(obj));
3563 return true;
3564 case phoneNumberCodeTypeVerify::ID:
3565 func(static_cast<phoneNumberCodeTypeVerify &>(obj));
3566 return true;
3567 case phoneNumberCodeTypeConfirmOwnership::ID:
3568 func(static_cast<phoneNumberCodeTypeConfirmOwnership &>(obj));
3569 return true;
3570 case phoneNumberInfo::ID:
3571 func(static_cast<phoneNumberInfo &>(obj));
3572 return true;
3573 case photo::ID:
3574 func(static_cast<photo &>(obj));
3575 return true;
3576 case photoSize::ID:
3577 func(static_cast<photoSize &>(obj));
3578 return true;
3579 case point::ID:
3580 func(static_cast<point &>(obj));
3581 return true;
3582 case poll::ID:
3583 func(static_cast<poll &>(obj));
3584 return true;
3585 case pollOption::ID:
3586 func(static_cast<pollOption &>(obj));
3587 return true;
3588 case pollOptionProperties::ID:
3589 func(static_cast<pollOptionProperties &>(obj));
3590 return true;
3591 case pollTypeRegular::ID:
3592 func(static_cast<pollTypeRegular &>(obj));
3593 return true;
3594 case pollTypeQuiz::ID:
3595 func(static_cast<pollTypeQuiz &>(obj));
3596 return true;
3597 case pollVoteRestrictionReasonMembershipRequired::ID:
3598 func(static_cast<pollVoteRestrictionReasonMembershipRequired &>(obj));
3599 return true;
3600 case pollVoteRestrictionReasonOther::ID:
3601 func(static_cast<pollVoteRestrictionReasonOther &>(obj));
3602 return true;
3603 case pollVoteStatistics::ID:
3604 func(static_cast<pollVoteStatistics &>(obj));
3605 return true;
3606 case pollVoter::ID:
3607 func(static_cast<pollVoter &>(obj));
3608 return true;
3609 case pollVoters::ID:
3610 func(static_cast<pollVoters &>(obj));
3611 return true;
3612 case premiumFeatureIncreasedLimits::ID:
3613 func(static_cast<premiumFeatureIncreasedLimits &>(obj));
3614 return true;
3615 case premiumFeatureIncreasedUploadFileSize::ID:
3616 func(static_cast<premiumFeatureIncreasedUploadFileSize &>(obj));
3617 return true;
3618 case premiumFeatureImprovedDownloadSpeed::ID:
3619 func(static_cast<premiumFeatureImprovedDownloadSpeed &>(obj));
3620 return true;
3621 case premiumFeatureVoiceRecognition::ID:
3622 func(static_cast<premiumFeatureVoiceRecognition &>(obj));
3623 return true;
3624 case premiumFeatureDisabledAds::ID:
3625 func(static_cast<premiumFeatureDisabledAds &>(obj));
3626 return true;
3627 case premiumFeatureUniqueReactions::ID:
3628 func(static_cast<premiumFeatureUniqueReactions &>(obj));
3629 return true;
3630 case premiumFeatureUniqueStickers::ID:
3631 func(static_cast<premiumFeatureUniqueStickers &>(obj));
3632 return true;
3633 case premiumFeatureCustomEmoji::ID:
3634 func(static_cast<premiumFeatureCustomEmoji &>(obj));
3635 return true;
3636 case premiumFeatureAdvancedChatManagement::ID:
3637 func(static_cast<premiumFeatureAdvancedChatManagement &>(obj));
3638 return true;
3639 case premiumFeatureProfileBadge::ID:
3640 func(static_cast<premiumFeatureProfileBadge &>(obj));
3641 return true;
3642 case premiumFeatureEmojiStatus::ID:
3643 func(static_cast<premiumFeatureEmojiStatus &>(obj));
3644 return true;
3645 case premiumFeatureAnimatedProfilePhoto::ID:
3646 func(static_cast<premiumFeatureAnimatedProfilePhoto &>(obj));
3647 return true;
3648 case premiumFeatureForumTopicIcon::ID:
3649 func(static_cast<premiumFeatureForumTopicIcon &>(obj));
3650 return true;
3651 case premiumFeatureAppIcons::ID:
3652 func(static_cast<premiumFeatureAppIcons &>(obj));
3653 return true;
3654 case premiumFeatureRealTimeChatTranslation::ID:
3655 func(static_cast<premiumFeatureRealTimeChatTranslation &>(obj));
3656 return true;
3657 case premiumFeatureUpgradedStories::ID:
3658 func(static_cast<premiumFeatureUpgradedStories &>(obj));
3659 return true;
3660 case premiumFeatureChatBoost::ID:
3661 func(static_cast<premiumFeatureChatBoost &>(obj));
3662 return true;
3663 case premiumFeatureAccentColor::ID:
3664 func(static_cast<premiumFeatureAccentColor &>(obj));
3665 return true;
3666 case premiumFeatureBackgroundForBoth::ID:
3667 func(static_cast<premiumFeatureBackgroundForBoth &>(obj));
3668 return true;
3669 case premiumFeatureSavedMessagesTags::ID:
3670 func(static_cast<premiumFeatureSavedMessagesTags &>(obj));
3671 return true;
3672 case premiumFeatureMessagePrivacy::ID:
3673 func(static_cast<premiumFeatureMessagePrivacy &>(obj));
3674 return true;
3675 case premiumFeatureLastSeenTimes::ID:
3676 func(static_cast<premiumFeatureLastSeenTimes &>(obj));
3677 return true;
3678 case premiumFeatureBusiness::ID:
3679 func(static_cast<premiumFeatureBusiness &>(obj));
3680 return true;
3681 case premiumFeatureMessageEffects::ID:
3682 func(static_cast<premiumFeatureMessageEffects &>(obj));
3683 return true;
3684 case premiumFeatureChecklists::ID:
3685 func(static_cast<premiumFeatureChecklists &>(obj));
3686 return true;
3687 case premiumFeaturePaidMessages::ID:
3688 func(static_cast<premiumFeaturePaidMessages &>(obj));
3689 return true;
3690 case premiumFeatureProtectPrivateChatContent::ID:
3691 func(static_cast<premiumFeatureProtectPrivateChatContent &>(obj));
3692 return true;
3693 case premiumFeatureTextComposition::ID:
3694 func(static_cast<premiumFeatureTextComposition &>(obj));
3695 return true;
3696 case premiumFeaturePromotionAnimation::ID:
3697 func(static_cast<premiumFeaturePromotionAnimation &>(obj));
3698 return true;
3699 case premiumFeatures::ID:
3700 func(static_cast<premiumFeatures &>(obj));
3701 return true;
3702 case premiumGiftCodeInfo::ID:
3703 func(static_cast<premiumGiftCodeInfo &>(obj));
3704 return true;
3705 case premiumGiftPaymentOption::ID:
3706 func(static_cast<premiumGiftPaymentOption &>(obj));
3707 return true;
3708 case premiumGiftPaymentOptions::ID:
3709 func(static_cast<premiumGiftPaymentOptions &>(obj));
3710 return true;
3711 case premiumGiveawayPaymentOption::ID:
3712 func(static_cast<premiumGiveawayPaymentOption &>(obj));
3713 return true;
3714 case premiumGiveawayPaymentOptions::ID:
3715 func(static_cast<premiumGiveawayPaymentOptions &>(obj));
3716 return true;
3717 case premiumLimit::ID:
3718 func(static_cast<premiumLimit &>(obj));
3719 return true;
3720 case premiumLimitTypeSupergroupCount::ID:
3721 func(static_cast<premiumLimitTypeSupergroupCount &>(obj));
3722 return true;
3723 case premiumLimitTypePinnedChatCount::ID:
3724 func(static_cast<premiumLimitTypePinnedChatCount &>(obj));
3725 return true;
3726 case premiumLimitTypeCreatedPublicChatCount::ID:
3727 func(static_cast<premiumLimitTypeCreatedPublicChatCount &>(obj));
3728 return true;
3729 case premiumLimitTypeSavedAnimationCount::ID:
3730 func(static_cast<premiumLimitTypeSavedAnimationCount &>(obj));
3731 return true;
3732 case premiumLimitTypeFavoriteStickerCount::ID:
3733 func(static_cast<premiumLimitTypeFavoriteStickerCount &>(obj));
3734 return true;
3735 case premiumLimitTypeChatFolderCount::ID:
3736 func(static_cast<premiumLimitTypeChatFolderCount &>(obj));
3737 return true;
3738 case premiumLimitTypeChatFolderChosenChatCount::ID:
3739 func(static_cast<premiumLimitTypeChatFolderChosenChatCount &>(obj));
3740 return true;
3741 case premiumLimitTypePinnedArchivedChatCount::ID:
3742 func(static_cast<premiumLimitTypePinnedArchivedChatCount &>(obj));
3743 return true;
3744 case premiumLimitTypePinnedSavedMessagesTopicCount::ID:
3745 func(static_cast<premiumLimitTypePinnedSavedMessagesTopicCount &>(obj));
3746 return true;
3747 case premiumLimitTypeCaptionLength::ID:
3748 func(static_cast<premiumLimitTypeCaptionLength &>(obj));
3749 return true;
3750 case premiumLimitTypeBioLength::ID:
3751 func(static_cast<premiumLimitTypeBioLength &>(obj));
3752 return true;
3753 case premiumLimitTypeChatFolderInviteLinkCount::ID:
3754 func(static_cast<premiumLimitTypeChatFolderInviteLinkCount &>(obj));
3755 return true;
3756 case premiumLimitTypeShareableChatFolderCount::ID:
3757 func(static_cast<premiumLimitTypeShareableChatFolderCount &>(obj));
3758 return true;
3759 case premiumLimitTypeActiveStoryCount::ID:
3760 func(static_cast<premiumLimitTypeActiveStoryCount &>(obj));
3761 return true;
3762 case premiumLimitTypeWeeklyPostedStoryCount::ID:
3763 func(static_cast<premiumLimitTypeWeeklyPostedStoryCount &>(obj));
3764 return true;
3765 case premiumLimitTypeMonthlyPostedStoryCount::ID:
3766 func(static_cast<premiumLimitTypeMonthlyPostedStoryCount &>(obj));
3767 return true;
3768 case premiumLimitTypeStoryCaptionLength::ID:
3769 func(static_cast<premiumLimitTypeStoryCaptionLength &>(obj));
3770 return true;
3771 case premiumLimitTypeStorySuggestedReactionAreaCount::ID:
3772 func(static_cast<premiumLimitTypeStorySuggestedReactionAreaCount &>(obj));
3773 return true;
3774 case premiumLimitTypeSimilarChatCount::ID:
3775 func(static_cast<premiumLimitTypeSimilarChatCount &>(obj));
3776 return true;
3777 case premiumLimitTypeOwnedBotCount::ID:
3778 func(static_cast<premiumLimitTypeOwnedBotCount &>(obj));
3779 return true;
3780 case premiumPaymentOption::ID:
3781 func(static_cast<premiumPaymentOption &>(obj));
3782 return true;
3783 case premiumSourceLimitExceeded::ID:
3784 func(static_cast<premiumSourceLimitExceeded &>(obj));
3785 return true;
3786 case premiumSourceFeature::ID:
3787 func(static_cast<premiumSourceFeature &>(obj));
3788 return true;
3789 case premiumSourceBusinessFeature::ID:
3790 func(static_cast<premiumSourceBusinessFeature &>(obj));
3791 return true;
3792 case premiumSourceStoryFeature::ID:
3793 func(static_cast<premiumSourceStoryFeature &>(obj));
3794 return true;
3795 case premiumSourceLink::ID:
3796 func(static_cast<premiumSourceLink &>(obj));
3797 return true;
3798 case premiumSourceSettings::ID:
3799 func(static_cast<premiumSourceSettings &>(obj));
3800 return true;
3801 case premiumState::ID:
3802 func(static_cast<premiumState &>(obj));
3803 return true;
3804 case premiumStatePaymentOption::ID:
3805 func(static_cast<premiumStatePaymentOption &>(obj));
3806 return true;
3807 case premiumStoryFeaturePriorityOrder::ID:
3808 func(static_cast<premiumStoryFeaturePriorityOrder &>(obj));
3809 return true;
3810 case premiumStoryFeatureStealthMode::ID:
3811 func(static_cast<premiumStoryFeatureStealthMode &>(obj));
3812 return true;
3813 case premiumStoryFeaturePermanentViewsHistory::ID:
3814 func(static_cast<premiumStoryFeaturePermanentViewsHistory &>(obj));
3815 return true;
3816 case premiumStoryFeatureCustomExpirationDuration::ID:
3817 func(static_cast<premiumStoryFeatureCustomExpirationDuration &>(obj));
3818 return true;
3819 case premiumStoryFeatureSaveStories::ID:
3820 func(static_cast<premiumStoryFeatureSaveStories &>(obj));
3821 return true;
3822 case premiumStoryFeatureLinksAndFormatting::ID:
3823 func(static_cast<premiumStoryFeatureLinksAndFormatting &>(obj));
3824 return true;
3825 case premiumStoryFeatureVideoQuality::ID:
3826 func(static_cast<premiumStoryFeatureVideoQuality &>(obj));
3827 return true;
3828 case prepaidGiveaway::ID:
3829 func(static_cast<prepaidGiveaway &>(obj));
3830 return true;
3831 case preparedInlineMessage::ID:
3832 func(static_cast<preparedInlineMessage &>(obj));
3833 return true;
3834 case preparedInlineMessageId::ID:
3835 func(static_cast<preparedInlineMessageId &>(obj));
3836 return true;
3837 case productInfo::ID:
3838 func(static_cast<productInfo &>(obj));
3839 return true;
3840 case profileAccentColor::ID:
3841 func(static_cast<profileAccentColor &>(obj));
3842 return true;
3843 case profileAccentColors::ID:
3844 func(static_cast<profileAccentColors &>(obj));
3845 return true;
3846 case profilePhoto::ID:
3847 func(static_cast<profilePhoto &>(obj));
3848 return true;
3849 case profileTabPosts::ID:
3850 func(static_cast<profileTabPosts &>(obj));
3851 return true;
3852 case profileTabGifts::ID:
3853 func(static_cast<profileTabGifts &>(obj));
3854 return true;
3855 case profileTabMedia::ID:
3856 func(static_cast<profileTabMedia &>(obj));
3857 return true;
3858 case profileTabFiles::ID:
3859 func(static_cast<profileTabFiles &>(obj));
3860 return true;
3861 case profileTabLinks::ID:
3862 func(static_cast<profileTabLinks &>(obj));
3863 return true;
3864 case profileTabMusic::ID:
3865 func(static_cast<profileTabMusic &>(obj));
3866 return true;
3867 case profileTabVoice::ID:
3868 func(static_cast<profileTabVoice &>(obj));
3869 return true;
3870 case profileTabGifs::ID:
3871 func(static_cast<profileTabGifs &>(obj));
3872 return true;
3873 case proxy::ID:
3874 func(static_cast<proxy &>(obj));
3875 return true;
3876 case proxyTypeSocks5::ID:
3877 func(static_cast<proxyTypeSocks5 &>(obj));
3878 return true;
3879 case proxyTypeHttp::ID:
3880 func(static_cast<proxyTypeHttp &>(obj));
3881 return true;
3882 case proxyTypeMtproto::ID:
3883 func(static_cast<proxyTypeMtproto &>(obj));
3884 return true;
3885 case publicChatTypeHasUsername::ID:
3886 func(static_cast<publicChatTypeHasUsername &>(obj));
3887 return true;
3888 case publicChatTypeIsLocationBased::ID:
3889 func(static_cast<publicChatTypeIsLocationBased &>(obj));
3890 return true;
3891 case publicForwardMessage::ID:
3892 func(static_cast<publicForwardMessage &>(obj));
3893 return true;
3894 case publicForwardStory::ID:
3895 func(static_cast<publicForwardStory &>(obj));
3896 return true;
3897 case publicForwards::ID:
3898 func(static_cast<publicForwards &>(obj));
3899 return true;
3900 case publicPostSearchLimits::ID:
3901 func(static_cast<publicPostSearchLimits &>(obj));
3902 return true;
3903 case pushMessageContentHidden::ID:
3904 func(static_cast<pushMessageContentHidden &>(obj));
3905 return true;
3906 case pushMessageContentAnimation::ID:
3907 func(static_cast<pushMessageContentAnimation &>(obj));
3908 return true;
3909 case pushMessageContentAudio::ID:
3910 func(static_cast<pushMessageContentAudio &>(obj));
3911 return true;
3912 case pushMessageContentContact::ID:
3913 func(static_cast<pushMessageContentContact &>(obj));
3914 return true;
3915 case pushMessageContentContactRegistered::ID:
3916 func(static_cast<pushMessageContentContactRegistered &>(obj));
3917 return true;
3918 case pushMessageContentDocument::ID:
3919 func(static_cast<pushMessageContentDocument &>(obj));
3920 return true;
3921 case pushMessageContentGame::ID:
3922 func(static_cast<pushMessageContentGame &>(obj));
3923 return true;
3924 case pushMessageContentGameScore::ID:
3925 func(static_cast<pushMessageContentGameScore &>(obj));
3926 return true;
3927 case pushMessageContentInvoice::ID:
3928 func(static_cast<pushMessageContentInvoice &>(obj));
3929 return true;
3930 case pushMessageContentLocation::ID:
3931 func(static_cast<pushMessageContentLocation &>(obj));
3932 return true;
3933 case pushMessageContentPaidMedia::ID:
3934 func(static_cast<pushMessageContentPaidMedia &>(obj));
3935 return true;
3936 case pushMessageContentPhoto::ID:
3937 func(static_cast<pushMessageContentPhoto &>(obj));
3938 return true;
3939 case pushMessageContentPoll::ID:
3940 func(static_cast<pushMessageContentPoll &>(obj));
3941 return true;
3942 case pushMessageContentPremiumGiftCode::ID:
3943 func(static_cast<pushMessageContentPremiumGiftCode &>(obj));
3944 return true;
3945 case pushMessageContentGiveaway::ID:
3946 func(static_cast<pushMessageContentGiveaway &>(obj));
3947 return true;
3948 case pushMessageContentGift::ID:
3949 func(static_cast<pushMessageContentGift &>(obj));
3950 return true;
3951 case pushMessageContentUpgradedGift::ID:
3952 func(static_cast<pushMessageContentUpgradedGift &>(obj));
3953 return true;
3954 case pushMessageContentScreenshotTaken::ID:
3955 func(static_cast<pushMessageContentScreenshotTaken &>(obj));
3956 return true;
3957 case pushMessageContentSticker::ID:
3958 func(static_cast<pushMessageContentSticker &>(obj));
3959 return true;
3960 case pushMessageContentStory::ID:
3961 func(static_cast<pushMessageContentStory &>(obj));
3962 return true;
3963 case pushMessageContentText::ID:
3964 func(static_cast<pushMessageContentText &>(obj));
3965 return true;
3966 case pushMessageContentChecklist::ID:
3967 func(static_cast<pushMessageContentChecklist &>(obj));
3968 return true;
3969 case pushMessageContentVideo::ID:
3970 func(static_cast<pushMessageContentVideo &>(obj));
3971 return true;
3972 case pushMessageContentVideoNote::ID:
3973 func(static_cast<pushMessageContentVideoNote &>(obj));
3974 return true;
3975 case pushMessageContentVoiceNote::ID:
3976 func(static_cast<pushMessageContentVoiceNote &>(obj));
3977 return true;
3978 case pushMessageContentBasicGroupChatCreate::ID:
3979 func(static_cast<pushMessageContentBasicGroupChatCreate &>(obj));
3980 return true;
3981 case pushMessageContentVideoChatStarted::ID:
3982 func(static_cast<pushMessageContentVideoChatStarted &>(obj));
3983 return true;
3984 case pushMessageContentVideoChatEnded::ID:
3985 func(static_cast<pushMessageContentVideoChatEnded &>(obj));
3986 return true;
3987 case pushMessageContentInviteVideoChatParticipants::ID:
3988 func(static_cast<pushMessageContentInviteVideoChatParticipants &>(obj));
3989 return true;
3990 case pushMessageContentChatAddMembers::ID:
3991 func(static_cast<pushMessageContentChatAddMembers &>(obj));
3992 return true;
3993 case pushMessageContentChatChangePhoto::ID:
3994 func(static_cast<pushMessageContentChatChangePhoto &>(obj));
3995 return true;
3996 case pushMessageContentChatChangeTitle::ID:
3997 func(static_cast<pushMessageContentChatChangeTitle &>(obj));
3998 return true;
3999 case pushMessageContentChatSetBackground::ID:
4000 func(static_cast<pushMessageContentChatSetBackground &>(obj));
4001 return true;
4002 case pushMessageContentChatSetTheme::ID:
4003 func(static_cast<pushMessageContentChatSetTheme &>(obj));
4004 return true;
4005 case pushMessageContentChatDeleteMember::ID:
4006 func(static_cast<pushMessageContentChatDeleteMember &>(obj));
4007 return true;
4008 case pushMessageContentChatJoinByLink::ID:
4009 func(static_cast<pushMessageContentChatJoinByLink &>(obj));
4010 return true;
4011 case pushMessageContentChatJoinByRequest::ID:
4012 func(static_cast<pushMessageContentChatJoinByRequest &>(obj));
4013 return true;
4014 case pushMessageContentRecurringPayment::ID:
4015 func(static_cast<pushMessageContentRecurringPayment &>(obj));
4016 return true;
4017 case pushMessageContentSuggestProfilePhoto::ID:
4018 func(static_cast<pushMessageContentSuggestProfilePhoto &>(obj));
4019 return true;
4020 case pushMessageContentSuggestBirthdate::ID:
4021 func(static_cast<pushMessageContentSuggestBirthdate &>(obj));
4022 return true;
4023 case pushMessageContentProximityAlertTriggered::ID:
4024 func(static_cast<pushMessageContentProximityAlertTriggered &>(obj));
4025 return true;
4026 case pushMessageContentChecklistTasksAdded::ID:
4027 func(static_cast<pushMessageContentChecklistTasksAdded &>(obj));
4028 return true;
4029 case pushMessageContentChecklistTasksDone::ID:
4030 func(static_cast<pushMessageContentChecklistTasksDone &>(obj));
4031 return true;
4032 case pushMessageContentPollOptionAdded::ID:
4033 func(static_cast<pushMessageContentPollOptionAdded &>(obj));
4034 return true;
4035 case pushMessageContentMessageForwards::ID:
4036 func(static_cast<pushMessageContentMessageForwards &>(obj));
4037 return true;
4038 case pushMessageContentMediaAlbum::ID:
4039 func(static_cast<pushMessageContentMediaAlbum &>(obj));
4040 return true;
4041 case pushReceiverId::ID:
4042 func(static_cast<pushReceiverId &>(obj));
4043 return true;
4044 case quickReplyMessage::ID:
4045 func(static_cast<quickReplyMessage &>(obj));
4046 return true;
4047 case quickReplyMessages::ID:
4048 func(static_cast<quickReplyMessages &>(obj));
4049 return true;
4050 case quickReplyShortcut::ID:
4051 func(static_cast<quickReplyShortcut &>(obj));
4052 return true;
4053 case reactionNotificationSettings::ID:
4054 func(static_cast<reactionNotificationSettings &>(obj));
4055 return true;
4056 case reactionNotificationSourceNone::ID:
4057 func(static_cast<reactionNotificationSourceNone &>(obj));
4058 return true;
4059 case reactionNotificationSourceContacts::ID:
4060 func(static_cast<reactionNotificationSourceContacts &>(obj));
4061 return true;
4062 case reactionNotificationSourceAll::ID:
4063 func(static_cast<reactionNotificationSourceAll &>(obj));
4064 return true;
4065 case reactionTypeEmoji::ID:
4066 func(static_cast<reactionTypeEmoji &>(obj));
4067 return true;
4068 case reactionTypeCustomEmoji::ID:
4069 func(static_cast<reactionTypeCustomEmoji &>(obj));
4070 return true;
4071 case reactionTypePaid::ID:
4072 func(static_cast<reactionTypePaid &>(obj));
4073 return true;
4074 case reactionUnavailabilityReasonAnonymousAdministrator::ID:
4075 func(static_cast<reactionUnavailabilityReasonAnonymousAdministrator &>(obj));
4076 return true;
4077 case reactionUnavailabilityReasonGuest::ID:
4078 func(static_cast<reactionUnavailabilityReasonGuest &>(obj));
4079 return true;
4080 case readDatePrivacySettings::ID:
4081 func(static_cast<readDatePrivacySettings &>(obj));
4082 return true;
4083 case receivedGift::ID:
4084 func(static_cast<receivedGift &>(obj));
4085 return true;
4086 case receivedGifts::ID:
4087 func(static_cast<receivedGifts &>(obj));
4088 return true;
4089 case recommendedChatFolder::ID:
4090 func(static_cast<recommendedChatFolder &>(obj));
4091 return true;
4092 case recommendedChatFolders::ID:
4093 func(static_cast<recommendedChatFolders &>(obj));
4094 return true;
4095 case recoveryEmailAddress::ID:
4096 func(static_cast<recoveryEmailAddress &>(obj));
4097 return true;
4098 case remoteFile::ID:
4099 func(static_cast<remoteFile &>(obj));
4100 return true;
4101 case replyMarkupRemoveKeyboard::ID:
4102 func(static_cast<replyMarkupRemoveKeyboard &>(obj));
4103 return true;
4104 case replyMarkupForceReply::ID:
4105 func(static_cast<replyMarkupForceReply &>(obj));
4106 return true;
4107 case replyMarkupShowKeyboard::ID:
4108 func(static_cast<replyMarkupShowKeyboard &>(obj));
4109 return true;
4110 case replyMarkupInlineKeyboard::ID:
4111 func(static_cast<replyMarkupInlineKeyboard &>(obj));
4112 return true;
4113 case reportChatResultOk::ID:
4114 func(static_cast<reportChatResultOk &>(obj));
4115 return true;
4116 case reportChatResultOptionRequired::ID:
4117 func(static_cast<reportChatResultOptionRequired &>(obj));
4118 return true;
4119 case reportChatResultTextRequired::ID:
4120 func(static_cast<reportChatResultTextRequired &>(obj));
4121 return true;
4122 case reportChatResultMessagesRequired::ID:
4123 func(static_cast<reportChatResultMessagesRequired &>(obj));
4124 return true;
4125 case reportOption::ID:
4126 func(static_cast<reportOption &>(obj));
4127 return true;
4128 case reportReasonSpam::ID:
4129 func(static_cast<reportReasonSpam &>(obj));
4130 return true;
4131 case reportReasonViolence::ID:
4132 func(static_cast<reportReasonViolence &>(obj));
4133 return true;
4134 case reportReasonPornography::ID:
4135 func(static_cast<reportReasonPornography &>(obj));
4136 return true;
4137 case reportReasonChildAbuse::ID:
4138 func(static_cast<reportReasonChildAbuse &>(obj));
4139 return true;
4140 case reportReasonCopyright::ID:
4141 func(static_cast<reportReasonCopyright &>(obj));
4142 return true;
4143 case reportReasonUnrelatedLocation::ID:
4144 func(static_cast<reportReasonUnrelatedLocation &>(obj));
4145 return true;
4146 case reportReasonFake::ID:
4147 func(static_cast<reportReasonFake &>(obj));
4148 return true;
4149 case reportReasonIllegalDrugs::ID:
4150 func(static_cast<reportReasonIllegalDrugs &>(obj));
4151 return true;
4152 case reportReasonPersonalDetails::ID:
4153 func(static_cast<reportReasonPersonalDetails &>(obj));
4154 return true;
4155 case reportReasonCustom::ID:
4156 func(static_cast<reportReasonCustom &>(obj));
4157 return true;
4158 case reportSponsoredResultOk::ID:
4159 func(static_cast<reportSponsoredResultOk &>(obj));
4160 return true;
4161 case reportSponsoredResultFailed::ID:
4162 func(static_cast<reportSponsoredResultFailed &>(obj));
4163 return true;
4164 case reportSponsoredResultOptionRequired::ID:
4165 func(static_cast<reportSponsoredResultOptionRequired &>(obj));
4166 return true;
4167 case reportSponsoredResultAdsHidden::ID:
4168 func(static_cast<reportSponsoredResultAdsHidden &>(obj));
4169 return true;
4170 case reportSponsoredResultPremiumRequired::ID:
4171 func(static_cast<reportSponsoredResultPremiumRequired &>(obj));
4172 return true;
4173 case reportStoryResultOk::ID:
4174 func(static_cast<reportStoryResultOk &>(obj));
4175 return true;
4176 case reportStoryResultOptionRequired::ID:
4177 func(static_cast<reportStoryResultOptionRequired &>(obj));
4178 return true;
4179 case reportStoryResultTextRequired::ID:
4180 func(static_cast<reportStoryResultTextRequired &>(obj));
4181 return true;
4182 case resendCodeReasonUserRequest::ID:
4183 func(static_cast<resendCodeReasonUserRequest &>(obj));
4184 return true;
4185 case resendCodeReasonVerificationFailed::ID:
4186 func(static_cast<resendCodeReasonVerificationFailed &>(obj));
4187 return true;
4188 case resetPasswordResultOk::ID:
4189 func(static_cast<resetPasswordResultOk &>(obj));
4190 return true;
4191 case resetPasswordResultPending::ID:
4192 func(static_cast<resetPasswordResultPending &>(obj));
4193 return true;
4194 case resetPasswordResultDeclined::ID:
4195 func(static_cast<resetPasswordResultDeclined &>(obj));
4196 return true;
4197 case restrictionInfo::ID:
4198 func(static_cast<restrictionInfo &>(obj));
4199 return true;
4200 case revenueWithdrawalStatePending::ID:
4201 func(static_cast<revenueWithdrawalStatePending &>(obj));
4202 return true;
4203 case revenueWithdrawalStateSucceeded::ID:
4204 func(static_cast<revenueWithdrawalStateSucceeded &>(obj));
4205 return true;
4206 case revenueWithdrawalStateFailed::ID:
4207 func(static_cast<revenueWithdrawalStateFailed &>(obj));
4208 return true;
4209 case richTextPlain::ID:
4210 func(static_cast<richTextPlain &>(obj));
4211 return true;
4212 case richTextBold::ID:
4213 func(static_cast<richTextBold &>(obj));
4214 return true;
4215 case richTextItalic::ID:
4216 func(static_cast<richTextItalic &>(obj));
4217 return true;
4218 case richTextUnderline::ID:
4219 func(static_cast<richTextUnderline &>(obj));
4220 return true;
4221 case richTextStrikethrough::ID:
4222 func(static_cast<richTextStrikethrough &>(obj));
4223 return true;
4224 case richTextFixed::ID:
4225 func(static_cast<richTextFixed &>(obj));
4226 return true;
4227 case richTextUrl::ID:
4228 func(static_cast<richTextUrl &>(obj));
4229 return true;
4230 case richTextEmailAddress::ID:
4231 func(static_cast<richTextEmailAddress &>(obj));
4232 return true;
4233 case richTextSubscript::ID:
4234 func(static_cast<richTextSubscript &>(obj));
4235 return true;
4236 case richTextSuperscript::ID:
4237 func(static_cast<richTextSuperscript &>(obj));
4238 return true;
4239 case richTextMarked::ID:
4240 func(static_cast<richTextMarked &>(obj));
4241 return true;
4242 case richTextPhoneNumber::ID:
4243 func(static_cast<richTextPhoneNumber &>(obj));
4244 return true;
4245 case richTextIcon::ID:
4246 func(static_cast<richTextIcon &>(obj));
4247 return true;
4248 case richTextReference::ID:
4249 func(static_cast<richTextReference &>(obj));
4250 return true;
4251 case richTextAnchor::ID:
4252 func(static_cast<richTextAnchor &>(obj));
4253 return true;
4254 case richTextAnchorLink::ID:
4255 func(static_cast<richTextAnchorLink &>(obj));
4256 return true;
4257 case richTexts::ID:
4258 func(static_cast<richTexts &>(obj));
4259 return true;
4260 case rtmpUrl::ID:
4261 func(static_cast<rtmpUrl &>(obj));
4262 return true;
4263 case savedCredentials::ID:
4264 func(static_cast<savedCredentials &>(obj));
4265 return true;
4266 case savedMessagesTag::ID:
4267 func(static_cast<savedMessagesTag &>(obj));
4268 return true;
4269 case savedMessagesTags::ID:
4270 func(static_cast<savedMessagesTags &>(obj));
4271 return true;
4272 case savedMessagesTopic::ID:
4273 func(static_cast<savedMessagesTopic &>(obj));
4274 return true;
4275 case savedMessagesTopicTypeMyNotes::ID:
4276 func(static_cast<savedMessagesTopicTypeMyNotes &>(obj));
4277 return true;
4278 case savedMessagesTopicTypeAuthorHidden::ID:
4279 func(static_cast<savedMessagesTopicTypeAuthorHidden &>(obj));
4280 return true;
4281 case savedMessagesTopicTypeSavedFromChat::ID:
4282 func(static_cast<savedMessagesTopicTypeSavedFromChat &>(obj));
4283 return true;
4284 case scopeAutosaveSettings::ID:
4285 func(static_cast<scopeAutosaveSettings &>(obj));
4286 return true;
4287 case scopeNotificationSettings::ID:
4288 func(static_cast<scopeNotificationSettings &>(obj));
4289 return true;
4290 case searchMessagesChatTypeFilterPrivate::ID:
4291 func(static_cast<searchMessagesChatTypeFilterPrivate &>(obj));
4292 return true;
4293 case searchMessagesChatTypeFilterGroup::ID:
4294 func(static_cast<searchMessagesChatTypeFilterGroup &>(obj));
4295 return true;
4296 case searchMessagesChatTypeFilterChannel::ID:
4297 func(static_cast<searchMessagesChatTypeFilterChannel &>(obj));
4298 return true;
4299 case searchMessagesFilterEmpty::ID:
4300 func(static_cast<searchMessagesFilterEmpty &>(obj));
4301 return true;
4302 case searchMessagesFilterAnimation::ID:
4303 func(static_cast<searchMessagesFilterAnimation &>(obj));
4304 return true;
4305 case searchMessagesFilterAudio::ID:
4306 func(static_cast<searchMessagesFilterAudio &>(obj));
4307 return true;
4308 case searchMessagesFilterDocument::ID:
4309 func(static_cast<searchMessagesFilterDocument &>(obj));
4310 return true;
4311 case searchMessagesFilterPhoto::ID:
4312 func(static_cast<searchMessagesFilterPhoto &>(obj));
4313 return true;
4314 case searchMessagesFilterPoll::ID:
4315 func(static_cast<searchMessagesFilterPoll &>(obj));
4316 return true;
4317 case searchMessagesFilterVideo::ID:
4318 func(static_cast<searchMessagesFilterVideo &>(obj));
4319 return true;
4320 case searchMessagesFilterVoiceNote::ID:
4321 func(static_cast<searchMessagesFilterVoiceNote &>(obj));
4322 return true;
4323 case searchMessagesFilterPhotoAndVideo::ID:
4324 func(static_cast<searchMessagesFilterPhotoAndVideo &>(obj));
4325 return true;
4326 case searchMessagesFilterUrl::ID:
4327 func(static_cast<searchMessagesFilterUrl &>(obj));
4328 return true;
4329 case searchMessagesFilterChatPhoto::ID:
4330 func(static_cast<searchMessagesFilterChatPhoto &>(obj));
4331 return true;
4332 case searchMessagesFilterVideoNote::ID:
4333 func(static_cast<searchMessagesFilterVideoNote &>(obj));
4334 return true;
4335 case searchMessagesFilterVoiceAndVideoNote::ID:
4336 func(static_cast<searchMessagesFilterVoiceAndVideoNote &>(obj));
4337 return true;
4338 case searchMessagesFilterMention::ID:
4339 func(static_cast<searchMessagesFilterMention &>(obj));
4340 return true;
4341 case searchMessagesFilterUnreadMention::ID:
4342 func(static_cast<searchMessagesFilterUnreadMention &>(obj));
4343 return true;
4344 case searchMessagesFilterUnreadReaction::ID:
4345 func(static_cast<searchMessagesFilterUnreadReaction &>(obj));
4346 return true;
4347 case searchMessagesFilterUnreadPollVote::ID:
4348 func(static_cast<searchMessagesFilterUnreadPollVote &>(obj));
4349 return true;
4350 case searchMessagesFilterFailedToSend::ID:
4351 func(static_cast<searchMessagesFilterFailedToSend &>(obj));
4352 return true;
4353 case searchMessagesFilterPinned::ID:
4354 func(static_cast<searchMessagesFilterPinned &>(obj));
4355 return true;
4356 case seconds::ID:
4357 func(static_cast<seconds &>(obj));
4358 return true;
4359 case secretChat::ID:
4360 func(static_cast<secretChat &>(obj));
4361 return true;
4362 case secretChatStatePending::ID:
4363 func(static_cast<secretChatStatePending &>(obj));
4364 return true;
4365 case secretChatStateReady::ID:
4366 func(static_cast<secretChatStateReady &>(obj));
4367 return true;
4368 case secretChatStateClosed::ID:
4369 func(static_cast<secretChatStateClosed &>(obj));
4370 return true;
4371 case sentGiftRegular::ID:
4372 func(static_cast<sentGiftRegular &>(obj));
4373 return true;
4374 case sentGiftUpgraded::ID:
4375 func(static_cast<sentGiftUpgraded &>(obj));
4376 return true;
4377 case sentWebAppMessage::ID:
4378 func(static_cast<sentWebAppMessage &>(obj));
4379 return true;
4380 case session::ID:
4381 func(static_cast<session &>(obj));
4382 return true;
4383 case sessionTypeAndroid::ID:
4384 func(static_cast<sessionTypeAndroid &>(obj));
4385 return true;
4386 case sessionTypeApple::ID:
4387 func(static_cast<sessionTypeApple &>(obj));
4388 return true;
4389 case sessionTypeBrave::ID:
4390 func(static_cast<sessionTypeBrave &>(obj));
4391 return true;
4392 case sessionTypeChrome::ID:
4393 func(static_cast<sessionTypeChrome &>(obj));
4394 return true;
4395 case sessionTypeEdge::ID:
4396 func(static_cast<sessionTypeEdge &>(obj));
4397 return true;
4398 case sessionTypeFirefox::ID:
4399 func(static_cast<sessionTypeFirefox &>(obj));
4400 return true;
4401 case sessionTypeIpad::ID:
4402 func(static_cast<sessionTypeIpad &>(obj));
4403 return true;
4404 case sessionTypeIphone::ID:
4405 func(static_cast<sessionTypeIphone &>(obj));
4406 return true;
4407 case sessionTypeLinux::ID:
4408 func(static_cast<sessionTypeLinux &>(obj));
4409 return true;
4410 case sessionTypeMac::ID:
4411 func(static_cast<sessionTypeMac &>(obj));
4412 return true;
4413 case sessionTypeOpera::ID:
4414 func(static_cast<sessionTypeOpera &>(obj));
4415 return true;
4416 case sessionTypeSafari::ID:
4417 func(static_cast<sessionTypeSafari &>(obj));
4418 return true;
4419 case sessionTypeUbuntu::ID:
4420 func(static_cast<sessionTypeUbuntu &>(obj));
4421 return true;
4422 case sessionTypeUnknown::ID:
4423 func(static_cast<sessionTypeUnknown &>(obj));
4424 return true;
4425 case sessionTypeVivaldi::ID:
4426 func(static_cast<sessionTypeVivaldi &>(obj));
4427 return true;
4428 case sessionTypeWindows::ID:
4429 func(static_cast<sessionTypeWindows &>(obj));
4430 return true;
4431 case sessionTypeXbox::ID:
4432 func(static_cast<sessionTypeXbox &>(obj));
4433 return true;
4434 case sessions::ID:
4435 func(static_cast<sessions &>(obj));
4436 return true;
4437 case settingsSectionAppearance::ID:
4438 func(static_cast<settingsSectionAppearance &>(obj));
4439 return true;
4440 case settingsSectionAskQuestion::ID:
4441 func(static_cast<settingsSectionAskQuestion &>(obj));
4442 return true;
4443 case settingsSectionBusiness::ID:
4444 func(static_cast<settingsSectionBusiness &>(obj));
4445 return true;
4446 case settingsSectionChatFolders::ID:
4447 func(static_cast<settingsSectionChatFolders &>(obj));
4448 return true;
4449 case settingsSectionDataAndStorage::ID:
4450 func(static_cast<settingsSectionDataAndStorage &>(obj));
4451 return true;
4452 case settingsSectionDevices::ID:
4453 func(static_cast<settingsSectionDevices &>(obj));
4454 return true;
4455 case settingsSectionEditProfile::ID:
4456 func(static_cast<settingsSectionEditProfile &>(obj));
4457 return true;
4458 case settingsSectionFaq::ID:
4459 func(static_cast<settingsSectionFaq &>(obj));
4460 return true;
4461 case settingsSectionFeatures::ID:
4462 func(static_cast<settingsSectionFeatures &>(obj));
4463 return true;
4464 case settingsSectionInAppBrowser::ID:
4465 func(static_cast<settingsSectionInAppBrowser &>(obj));
4466 return true;
4467 case settingsSectionLanguage::ID:
4468 func(static_cast<settingsSectionLanguage &>(obj));
4469 return true;
4470 case settingsSectionMyStars::ID:
4471 func(static_cast<settingsSectionMyStars &>(obj));
4472 return true;
4473 case settingsSectionMyToncoins::ID:
4474 func(static_cast<settingsSectionMyToncoins &>(obj));
4475 return true;
4476 case settingsSectionNotifications::ID:
4477 func(static_cast<settingsSectionNotifications &>(obj));
4478 return true;
4479 case settingsSectionPowerSaving::ID:
4480 func(static_cast<settingsSectionPowerSaving &>(obj));
4481 return true;
4482 case settingsSectionPremium::ID:
4483 func(static_cast<settingsSectionPremium &>(obj));
4484 return true;
4485 case settingsSectionPrivacyAndSecurity::ID:
4486 func(static_cast<settingsSectionPrivacyAndSecurity &>(obj));
4487 return true;
4488 case settingsSectionPrivacyPolicy::ID:
4489 func(static_cast<settingsSectionPrivacyPolicy &>(obj));
4490 return true;
4491 case settingsSectionQrCode::ID:
4492 func(static_cast<settingsSectionQrCode &>(obj));
4493 return true;
4494 case settingsSectionSearch::ID:
4495 func(static_cast<settingsSectionSearch &>(obj));
4496 return true;
4497 case settingsSectionSendGift::ID:
4498 func(static_cast<settingsSectionSendGift &>(obj));
4499 return true;
4500 case sharedChat::ID:
4501 func(static_cast<sharedChat &>(obj));
4502 return true;
4503 case sharedUser::ID:
4504 func(static_cast<sharedUser &>(obj));
4505 return true;
4506 case shippingOption::ID:
4507 func(static_cast<shippingOption &>(obj));
4508 return true;
4509 case speechRecognitionResultPending::ID:
4510 func(static_cast<speechRecognitionResultPending &>(obj));
4511 return true;
4512 case speechRecognitionResultText::ID:
4513 func(static_cast<speechRecognitionResultText &>(obj));
4514 return true;
4515 case speechRecognitionResultError::ID:
4516 func(static_cast<speechRecognitionResultError &>(obj));
4517 return true;
4518 case sponsoredChat::ID:
4519 func(static_cast<sponsoredChat &>(obj));
4520 return true;
4521 case sponsoredChats::ID:
4522 func(static_cast<sponsoredChats &>(obj));
4523 return true;
4524 case sponsoredMessage::ID:
4525 func(static_cast<sponsoredMessage &>(obj));
4526 return true;
4527 case sponsoredMessages::ID:
4528 func(static_cast<sponsoredMessages &>(obj));
4529 return true;
4530 case stakeDiceState::ID:
4531 func(static_cast<stakeDiceState &>(obj));
4532 return true;
4533 case starAmount::ID:
4534 func(static_cast<starAmount &>(obj));
4535 return true;
4536 case starCount::ID:
4537 func(static_cast<starCount &>(obj));
4538 return true;
4539 case starGiveawayPaymentOption::ID:
4540 func(static_cast<starGiveawayPaymentOption &>(obj));
4541 return true;
4542 case starGiveawayPaymentOptions::ID:
4543 func(static_cast<starGiveawayPaymentOptions &>(obj));
4544 return true;
4545 case starGiveawayWinnerOption::ID:
4546 func(static_cast<starGiveawayWinnerOption &>(obj));
4547 return true;
4548 case starPaymentOption::ID:
4549 func(static_cast<starPaymentOption &>(obj));
4550 return true;
4551 case starPaymentOptions::ID:
4552 func(static_cast<starPaymentOptions &>(obj));
4553 return true;
4554 case starRevenueStatistics::ID:
4555 func(static_cast<starRevenueStatistics &>(obj));
4556 return true;
4557 case starRevenueStatus::ID:
4558 func(static_cast<starRevenueStatus &>(obj));
4559 return true;
4560 case starSubscription::ID:
4561 func(static_cast<starSubscription &>(obj));
4562 return true;
4563 case starSubscriptionPricing::ID:
4564 func(static_cast<starSubscriptionPricing &>(obj));
4565 return true;
4566 case starSubscriptionTypeChannel::ID:
4567 func(static_cast<starSubscriptionTypeChannel &>(obj));
4568 return true;
4569 case starSubscriptionTypeBot::ID:
4570 func(static_cast<starSubscriptionTypeBot &>(obj));
4571 return true;
4572 case starSubscriptions::ID:
4573 func(static_cast<starSubscriptions &>(obj));
4574 return true;
4575 case starTransaction::ID:
4576 func(static_cast<starTransaction &>(obj));
4577 return true;
4578 case starTransactionTypePremiumBotDeposit::ID:
4579 func(static_cast<starTransactionTypePremiumBotDeposit &>(obj));
4580 return true;
4581 case starTransactionTypeAppStoreDeposit::ID:
4582 func(static_cast<starTransactionTypeAppStoreDeposit &>(obj));
4583 return true;
4584 case starTransactionTypeGooglePlayDeposit::ID:
4585 func(static_cast<starTransactionTypeGooglePlayDeposit &>(obj));
4586 return true;
4587 case starTransactionTypeFragmentDeposit::ID:
4588 func(static_cast<starTransactionTypeFragmentDeposit &>(obj));
4589 return true;
4590 case starTransactionTypeUserDeposit::ID:
4591 func(static_cast<starTransactionTypeUserDeposit &>(obj));
4592 return true;
4593 case starTransactionTypeGiveawayDeposit::ID:
4594 func(static_cast<starTransactionTypeGiveawayDeposit &>(obj));
4595 return true;
4596 case starTransactionTypeFragmentWithdrawal::ID:
4597 func(static_cast<starTransactionTypeFragmentWithdrawal &>(obj));
4598 return true;
4599 case starTransactionTypeTelegramAdsWithdrawal::ID:
4600 func(static_cast<starTransactionTypeTelegramAdsWithdrawal &>(obj));
4601 return true;
4602 case starTransactionTypeTelegramApiUsage::ID:
4603 func(static_cast<starTransactionTypeTelegramApiUsage &>(obj));
4604 return true;
4605 case starTransactionTypeBotPaidMediaPurchase::ID:
4606 func(static_cast<starTransactionTypeBotPaidMediaPurchase &>(obj));
4607 return true;
4608 case starTransactionTypeBotPaidMediaSale::ID:
4609 func(static_cast<starTransactionTypeBotPaidMediaSale &>(obj));
4610 return true;
4611 case starTransactionTypeChannelPaidMediaPurchase::ID:
4612 func(static_cast<starTransactionTypeChannelPaidMediaPurchase &>(obj));
4613 return true;
4614 case starTransactionTypeChannelPaidMediaSale::ID:
4615 func(static_cast<starTransactionTypeChannelPaidMediaSale &>(obj));
4616 return true;
4617 case starTransactionTypeBotInvoicePurchase::ID:
4618 func(static_cast<starTransactionTypeBotInvoicePurchase &>(obj));
4619 return true;
4620 case starTransactionTypeBotInvoiceSale::ID:
4621 func(static_cast<starTransactionTypeBotInvoiceSale &>(obj));
4622 return true;
4623 case starTransactionTypeBotSubscriptionPurchase::ID:
4624 func(static_cast<starTransactionTypeBotSubscriptionPurchase &>(obj));
4625 return true;
4626 case starTransactionTypeBotSubscriptionSale::ID:
4627 func(static_cast<starTransactionTypeBotSubscriptionSale &>(obj));
4628 return true;
4629 case starTransactionTypeChannelSubscriptionPurchase::ID:
4630 func(static_cast<starTransactionTypeChannelSubscriptionPurchase &>(obj));
4631 return true;
4632 case starTransactionTypeChannelSubscriptionSale::ID:
4633 func(static_cast<starTransactionTypeChannelSubscriptionSale &>(obj));
4634 return true;
4635 case starTransactionTypeGiftAuctionBid::ID:
4636 func(static_cast<starTransactionTypeGiftAuctionBid &>(obj));
4637 return true;
4638 case starTransactionTypeGiftPurchase::ID:
4639 func(static_cast<starTransactionTypeGiftPurchase &>(obj));
4640 return true;
4641 case starTransactionTypeGiftPurchaseOffer::ID:
4642 func(static_cast<starTransactionTypeGiftPurchaseOffer &>(obj));
4643 return true;
4644 case starTransactionTypeGiftTransfer::ID:
4645 func(static_cast<starTransactionTypeGiftTransfer &>(obj));
4646 return true;
4647 case starTransactionTypeGiftOriginalDetailsDrop::ID:
4648 func(static_cast<starTransactionTypeGiftOriginalDetailsDrop &>(obj));
4649 return true;
4650 case starTransactionTypeGiftSale::ID:
4651 func(static_cast<starTransactionTypeGiftSale &>(obj));
4652 return true;
4653 case starTransactionTypeGiftUpgrade::ID:
4654 func(static_cast<starTransactionTypeGiftUpgrade &>(obj));
4655 return true;
4656 case starTransactionTypeGiftUpgradePurchase::ID:
4657 func(static_cast<starTransactionTypeGiftUpgradePurchase &>(obj));
4658 return true;
4659 case starTransactionTypeUpgradedGiftPurchase::ID:
4660 func(static_cast<starTransactionTypeUpgradedGiftPurchase &>(obj));
4661 return true;
4662 case starTransactionTypeUpgradedGiftSale::ID:
4663 func(static_cast<starTransactionTypeUpgradedGiftSale &>(obj));
4664 return true;
4665 case starTransactionTypeChannelPaidReactionSend::ID:
4666 func(static_cast<starTransactionTypeChannelPaidReactionSend &>(obj));
4667 return true;
4668 case starTransactionTypeChannelPaidReactionReceive::ID:
4669 func(static_cast<starTransactionTypeChannelPaidReactionReceive &>(obj));
4670 return true;
4671 case starTransactionTypeAffiliateProgramCommission::ID:
4672 func(static_cast<starTransactionTypeAffiliateProgramCommission &>(obj));
4673 return true;
4674 case starTransactionTypePaidMessageSend::ID:
4675 func(static_cast<starTransactionTypePaidMessageSend &>(obj));
4676 return true;
4677 case starTransactionTypePaidMessageReceive::ID:
4678 func(static_cast<starTransactionTypePaidMessageReceive &>(obj));
4679 return true;
4680 case starTransactionTypePaidGroupCallMessageSend::ID:
4681 func(static_cast<starTransactionTypePaidGroupCallMessageSend &>(obj));
4682 return true;
4683 case starTransactionTypePaidGroupCallMessageReceive::ID:
4684 func(static_cast<starTransactionTypePaidGroupCallMessageReceive &>(obj));
4685 return true;
4686 case starTransactionTypePaidGroupCallReactionSend::ID:
4687 func(static_cast<starTransactionTypePaidGroupCallReactionSend &>(obj));
4688 return true;
4689 case starTransactionTypePaidGroupCallReactionReceive::ID:
4690 func(static_cast<starTransactionTypePaidGroupCallReactionReceive &>(obj));
4691 return true;
4692 case starTransactionTypeSuggestedPostPaymentSend::ID:
4693 func(static_cast<starTransactionTypeSuggestedPostPaymentSend &>(obj));
4694 return true;
4695 case starTransactionTypeSuggestedPostPaymentReceive::ID:
4696 func(static_cast<starTransactionTypeSuggestedPostPaymentReceive &>(obj));
4697 return true;
4698 case starTransactionTypePremiumPurchase::ID:
4699 func(static_cast<starTransactionTypePremiumPurchase &>(obj));
4700 return true;
4701 case starTransactionTypeBusinessBotTransferSend::ID:
4702 func(static_cast<starTransactionTypeBusinessBotTransferSend &>(obj));
4703 return true;
4704 case starTransactionTypeBusinessBotTransferReceive::ID:
4705 func(static_cast<starTransactionTypeBusinessBotTransferReceive &>(obj));
4706 return true;
4707 case starTransactionTypePublicPostSearch::ID:
4708 func(static_cast<starTransactionTypePublicPostSearch &>(obj));
4709 return true;
4710 case starTransactionTypeUnsupported::ID:
4711 func(static_cast<starTransactionTypeUnsupported &>(obj));
4712 return true;
4713 case starTransactions::ID:
4714 func(static_cast<starTransactions &>(obj));
4715 return true;
4716 case startLiveStoryResultOk::ID:
4717 func(static_cast<startLiveStoryResultOk &>(obj));
4718 return true;
4719 case startLiveStoryResultFail::ID:
4720 func(static_cast<startLiveStoryResultFail &>(obj));
4721 return true;
4722 case statisticalGraphData::ID:
4723 func(static_cast<statisticalGraphData &>(obj));
4724 return true;
4725 case statisticalGraphAsync::ID:
4726 func(static_cast<statisticalGraphAsync &>(obj));
4727 return true;
4728 case statisticalGraphError::ID:
4729 func(static_cast<statisticalGraphError &>(obj));
4730 return true;
4731 case statisticalValue::ID:
4732 func(static_cast<statisticalValue &>(obj));
4733 return true;
4734 case sticker::ID:
4735 func(static_cast<sticker &>(obj));
4736 return true;
4737 case stickerFormatWebp::ID:
4738 func(static_cast<stickerFormatWebp &>(obj));
4739 return true;
4740 case stickerFormatTgs::ID:
4741 func(static_cast<stickerFormatTgs &>(obj));
4742 return true;
4743 case stickerFormatWebm::ID:
4744 func(static_cast<stickerFormatWebm &>(obj));
4745 return true;
4746 case stickerFullTypeRegular::ID:
4747 func(static_cast<stickerFullTypeRegular &>(obj));
4748 return true;
4749 case stickerFullTypeMask::ID:
4750 func(static_cast<stickerFullTypeMask &>(obj));
4751 return true;
4752 case stickerFullTypeCustomEmoji::ID:
4753 func(static_cast<stickerFullTypeCustomEmoji &>(obj));
4754 return true;
4755 case stickerSet::ID:
4756 func(static_cast<stickerSet &>(obj));
4757 return true;
4758 case stickerSetInfo::ID:
4759 func(static_cast<stickerSetInfo &>(obj));
4760 return true;
4761 case stickerSets::ID:
4762 func(static_cast<stickerSets &>(obj));
4763 return true;
4764 case stickerTypeRegular::ID:
4765 func(static_cast<stickerTypeRegular &>(obj));
4766 return true;
4767 case stickerTypeMask::ID:
4768 func(static_cast<stickerTypeMask &>(obj));
4769 return true;
4770 case stickerTypeCustomEmoji::ID:
4771 func(static_cast<stickerTypeCustomEmoji &>(obj));
4772 return true;
4773 case stickers::ID:
4774 func(static_cast<stickers &>(obj));
4775 return true;
4776 case storageStatistics::ID:
4777 func(static_cast<storageStatistics &>(obj));
4778 return true;
4779 case storageStatisticsByChat::ID:
4780 func(static_cast<storageStatisticsByChat &>(obj));
4781 return true;
4782 case storageStatisticsByFileType::ID:
4783 func(static_cast<storageStatisticsByFileType &>(obj));
4784 return true;
4785 case storageStatisticsFast::ID:
4786 func(static_cast<storageStatisticsFast &>(obj));
4787 return true;
4788 case storePaymentPurposePremiumSubscription::ID:
4789 func(static_cast<storePaymentPurposePremiumSubscription &>(obj));
4790 return true;
4791 case storePaymentPurposePremiumGift::ID:
4792 func(static_cast<storePaymentPurposePremiumGift &>(obj));
4793 return true;
4794 case storePaymentPurposePremiumGiftCodes::ID:
4795 func(static_cast<storePaymentPurposePremiumGiftCodes &>(obj));
4796 return true;
4797 case storePaymentPurposePremiumGiveaway::ID:
4798 func(static_cast<storePaymentPurposePremiumGiveaway &>(obj));
4799 return true;
4800 case storePaymentPurposeStarGiveaway::ID:
4801 func(static_cast<storePaymentPurposeStarGiveaway &>(obj));
4802 return true;
4803 case storePaymentPurposeStars::ID:
4804 func(static_cast<storePaymentPurposeStars &>(obj));
4805 return true;
4806 case storePaymentPurposeGiftedStars::ID:
4807 func(static_cast<storePaymentPurposeGiftedStars &>(obj));
4808 return true;
4809 case storeTransactionAppStore::ID:
4810 func(static_cast<storeTransactionAppStore &>(obj));
4811 return true;
4812 case storeTransactionGooglePlay::ID:
4813 func(static_cast<storeTransactionGooglePlay &>(obj));
4814 return true;
4815 case stories::ID:
4816 func(static_cast<stories &>(obj));
4817 return true;
4818 case story::ID:
4819 func(static_cast<story &>(obj));
4820 return true;
4821 case storyAlbum::ID:
4822 func(static_cast<storyAlbum &>(obj));
4823 return true;
4824 case storyAlbums::ID:
4825 func(static_cast<storyAlbums &>(obj));
4826 return true;
4827 case storyArea::ID:
4828 func(static_cast<storyArea &>(obj));
4829 return true;
4830 case storyAreaPosition::ID:
4831 func(static_cast<storyAreaPosition &>(obj));
4832 return true;
4833 case storyAreaTypeLocation::ID:
4834 func(static_cast<storyAreaTypeLocation &>(obj));
4835 return true;
4836 case storyAreaTypeVenue::ID:
4837 func(static_cast<storyAreaTypeVenue &>(obj));
4838 return true;
4839 case storyAreaTypeSuggestedReaction::ID:
4840 func(static_cast<storyAreaTypeSuggestedReaction &>(obj));
4841 return true;
4842 case storyAreaTypeMessage::ID:
4843 func(static_cast<storyAreaTypeMessage &>(obj));
4844 return true;
4845 case storyAreaTypeLink::ID:
4846 func(static_cast<storyAreaTypeLink &>(obj));
4847 return true;
4848 case storyAreaTypeWeather::ID:
4849 func(static_cast<storyAreaTypeWeather &>(obj));
4850 return true;
4851 case storyAreaTypeUpgradedGift::ID:
4852 func(static_cast<storyAreaTypeUpgradedGift &>(obj));
4853 return true;
4854 case storyContentPhoto::ID:
4855 func(static_cast<storyContentPhoto &>(obj));
4856 return true;
4857 case storyContentVideo::ID:
4858 func(static_cast<storyContentVideo &>(obj));
4859 return true;
4860 case storyContentLive::ID:
4861 func(static_cast<storyContentLive &>(obj));
4862 return true;
4863 case storyContentUnsupported::ID:
4864 func(static_cast<storyContentUnsupported &>(obj));
4865 return true;
4866 case storyContentTypePhoto::ID:
4867 func(static_cast<storyContentTypePhoto &>(obj));
4868 return true;
4869 case storyContentTypeVideo::ID:
4870 func(static_cast<storyContentTypeVideo &>(obj));
4871 return true;
4872 case storyContentTypeLive::ID:
4873 func(static_cast<storyContentTypeLive &>(obj));
4874 return true;
4875 case storyContentTypeUnsupported::ID:
4876 func(static_cast<storyContentTypeUnsupported &>(obj));
4877 return true;
4878 case storyFullId::ID:
4879 func(static_cast<storyFullId &>(obj));
4880 return true;
4881 case storyInfo::ID:
4882 func(static_cast<storyInfo &>(obj));
4883 return true;
4884 case storyInteraction::ID:
4885 func(static_cast<storyInteraction &>(obj));
4886 return true;
4887 case storyInteractionInfo::ID:
4888 func(static_cast<storyInteractionInfo &>(obj));
4889 return true;
4890 case storyInteractionTypeView::ID:
4891 func(static_cast<storyInteractionTypeView &>(obj));
4892 return true;
4893 case storyInteractionTypeForward::ID:
4894 func(static_cast<storyInteractionTypeForward &>(obj));
4895 return true;
4896 case storyInteractionTypeRepost::ID:
4897 func(static_cast<storyInteractionTypeRepost &>(obj));
4898 return true;
4899 case storyInteractions::ID:
4900 func(static_cast<storyInteractions &>(obj));
4901 return true;
4902 case storyListMain::ID:
4903 func(static_cast<storyListMain &>(obj));
4904 return true;
4905 case storyListArchive::ID:
4906 func(static_cast<storyListArchive &>(obj));
4907 return true;
4908 case storyOriginPublicStory::ID:
4909 func(static_cast<storyOriginPublicStory &>(obj));
4910 return true;
4911 case storyOriginHiddenUser::ID:
4912 func(static_cast<storyOriginHiddenUser &>(obj));
4913 return true;
4914 case storyPrivacySettingsEveryone::ID:
4915 func(static_cast<storyPrivacySettingsEveryone &>(obj));
4916 return true;
4917 case storyPrivacySettingsContacts::ID:
4918 func(static_cast<storyPrivacySettingsContacts &>(obj));
4919 return true;
4920 case storyPrivacySettingsCloseFriends::ID:
4921 func(static_cast<storyPrivacySettingsCloseFriends &>(obj));
4922 return true;
4923 case storyPrivacySettingsSelectedUsers::ID:
4924 func(static_cast<storyPrivacySettingsSelectedUsers &>(obj));
4925 return true;
4926 case storyRepostInfo::ID:
4927 func(static_cast<storyRepostInfo &>(obj));
4928 return true;
4929 case storyStatistics::ID:
4930 func(static_cast<storyStatistics &>(obj));
4931 return true;
4932 case storyVideo::ID:
4933 func(static_cast<storyVideo &>(obj));
4934 return true;
4935 case suggestedActionEnableArchiveAndMuteNewChats::ID:
4936 func(static_cast<suggestedActionEnableArchiveAndMuteNewChats &>(obj));
4937 return true;
4938 case suggestedActionCheckPassword::ID:
4939 func(static_cast<suggestedActionCheckPassword &>(obj));
4940 return true;
4941 case suggestedActionCheckPhoneNumber::ID:
4942 func(static_cast<suggestedActionCheckPhoneNumber &>(obj));
4943 return true;
4944 case suggestedActionViewChecksHint::ID:
4945 func(static_cast<suggestedActionViewChecksHint &>(obj));
4946 return true;
4947 case suggestedActionConvertToBroadcastGroup::ID:
4948 func(static_cast<suggestedActionConvertToBroadcastGroup &>(obj));
4949 return true;
4950 case suggestedActionSetPassword::ID:
4951 func(static_cast<suggestedActionSetPassword &>(obj));
4952 return true;
4953 case suggestedActionUpgradePremium::ID:
4954 func(static_cast<suggestedActionUpgradePremium &>(obj));
4955 return true;
4956 case suggestedActionRestorePremium::ID:
4957 func(static_cast<suggestedActionRestorePremium &>(obj));
4958 return true;
4959 case suggestedActionSubscribeToAnnualPremium::ID:
4960 func(static_cast<suggestedActionSubscribeToAnnualPremium &>(obj));
4961 return true;
4962 case suggestedActionGiftPremiumForChristmas::ID:
4963 func(static_cast<suggestedActionGiftPremiumForChristmas &>(obj));
4964 return true;
4965 case suggestedActionSetBirthdate::ID:
4966 func(static_cast<suggestedActionSetBirthdate &>(obj));
4967 return true;
4968 case suggestedActionSetProfilePhoto::ID:
4969 func(static_cast<suggestedActionSetProfilePhoto &>(obj));
4970 return true;
4971 case suggestedActionExtendPremium::ID:
4972 func(static_cast<suggestedActionExtendPremium &>(obj));
4973 return true;
4974 case suggestedActionExtendStarSubscriptions::ID:
4975 func(static_cast<suggestedActionExtendStarSubscriptions &>(obj));
4976 return true;
4977 case suggestedActionCustom::ID:
4978 func(static_cast<suggestedActionCustom &>(obj));
4979 return true;
4980 case suggestedActionSetLoginEmailAddress::ID:
4981 func(static_cast<suggestedActionSetLoginEmailAddress &>(obj));
4982 return true;
4983 case suggestedActionAddLoginPasskey::ID:
4984 func(static_cast<suggestedActionAddLoginPasskey &>(obj));
4985 return true;
4986 case suggestedPostInfo::ID:
4987 func(static_cast<suggestedPostInfo &>(obj));
4988 return true;
4989 case suggestedPostPriceStar::ID:
4990 func(static_cast<suggestedPostPriceStar &>(obj));
4991 return true;
4992 case suggestedPostPriceTon::ID:
4993 func(static_cast<suggestedPostPriceTon &>(obj));
4994 return true;
4995 case suggestedPostRefundReasonPostDeleted::ID:
4996 func(static_cast<suggestedPostRefundReasonPostDeleted &>(obj));
4997 return true;
4998 case suggestedPostRefundReasonPaymentRefunded::ID:
4999 func(static_cast<suggestedPostRefundReasonPaymentRefunded &>(obj));
5000 return true;
5001 case suggestedPostStatePending::ID:
5002 func(static_cast<suggestedPostStatePending &>(obj));
5003 return true;
5004 case suggestedPostStateApproved::ID:
5005 func(static_cast<suggestedPostStateApproved &>(obj));
5006 return true;
5007 case suggestedPostStateDeclined::ID:
5008 func(static_cast<suggestedPostStateDeclined &>(obj));
5009 return true;
5010 case supergroup::ID:
5011 func(static_cast<supergroup &>(obj));
5012 return true;
5013 case supergroupFullInfo::ID:
5014 func(static_cast<supergroupFullInfo &>(obj));
5015 return true;
5016 case supergroupMembersFilterRecent::ID:
5017 func(static_cast<supergroupMembersFilterRecent &>(obj));
5018 return true;
5019 case supergroupMembersFilterContacts::ID:
5020 func(static_cast<supergroupMembersFilterContacts &>(obj));
5021 return true;
5022 case supergroupMembersFilterAdministrators::ID:
5023 func(static_cast<supergroupMembersFilterAdministrators &>(obj));
5024 return true;
5025 case supergroupMembersFilterSearch::ID:
5026 func(static_cast<supergroupMembersFilterSearch &>(obj));
5027 return true;
5028 case supergroupMembersFilterRestricted::ID:
5029 func(static_cast<supergroupMembersFilterRestricted &>(obj));
5030 return true;
5031 case supergroupMembersFilterBanned::ID:
5032 func(static_cast<supergroupMembersFilterBanned &>(obj));
5033 return true;
5034 case supergroupMembersFilterMention::ID:
5035 func(static_cast<supergroupMembersFilterMention &>(obj));
5036 return true;
5037 case supergroupMembersFilterBots::ID:
5038 func(static_cast<supergroupMembersFilterBots &>(obj));
5039 return true;
5040 case tMeUrl::ID:
5041 func(static_cast<tMeUrl &>(obj));
5042 return true;
5043 case tMeUrlTypeUser::ID:
5044 func(static_cast<tMeUrlTypeUser &>(obj));
5045 return true;
5046 case tMeUrlTypeSupergroup::ID:
5047 func(static_cast<tMeUrlTypeSupergroup &>(obj));
5048 return true;
5049 case tMeUrlTypeChatInvite::ID:
5050 func(static_cast<tMeUrlTypeChatInvite &>(obj));
5051 return true;
5052 case tMeUrlTypeStickerSet::ID:
5053 func(static_cast<tMeUrlTypeStickerSet &>(obj));
5054 return true;
5055 case tMeUrls::ID:
5056 func(static_cast<tMeUrls &>(obj));
5057 return true;
5058 case targetChatCurrent::ID:
5059 func(static_cast<targetChatCurrent &>(obj));
5060 return true;
5061 case targetChatChosen::ID:
5062 func(static_cast<targetChatChosen &>(obj));
5063 return true;
5064 case targetChatInternalLink::ID:
5065 func(static_cast<targetChatInternalLink &>(obj));
5066 return true;
5067 case targetChatTypes::ID:
5068 func(static_cast<targetChatTypes &>(obj));
5069 return true;
5070 case telegramPaymentPurposePremiumGift::ID:
5071 func(static_cast<telegramPaymentPurposePremiumGift &>(obj));
5072 return true;
5073 case telegramPaymentPurposePremiumGiftCodes::ID:
5074 func(static_cast<telegramPaymentPurposePremiumGiftCodes &>(obj));
5075 return true;
5076 case telegramPaymentPurposePremiumGiveaway::ID:
5077 func(static_cast<telegramPaymentPurposePremiumGiveaway &>(obj));
5078 return true;
5079 case telegramPaymentPurposeStars::ID:
5080 func(static_cast<telegramPaymentPurposeStars &>(obj));
5081 return true;
5082 case telegramPaymentPurposeGiftedStars::ID:
5083 func(static_cast<telegramPaymentPurposeGiftedStars &>(obj));
5084 return true;
5085 case telegramPaymentPurposeStarGiveaway::ID:
5086 func(static_cast<telegramPaymentPurposeStarGiveaway &>(obj));
5087 return true;
5088 case telegramPaymentPurposeJoinChat::ID:
5089 func(static_cast<telegramPaymentPurposeJoinChat &>(obj));
5090 return true;
5091 case temporaryPasswordState::ID:
5092 func(static_cast<temporaryPasswordState &>(obj));
5093 return true;
5094 case termsOfService::ID:
5095 func(static_cast<termsOfService &>(obj));
5096 return true;
5097 case testBytes::ID:
5098 func(static_cast<testBytes &>(obj));
5099 return true;
5100 case testInt::ID:
5101 func(static_cast<testInt &>(obj));
5102 return true;
5103 case testString::ID:
5104 func(static_cast<testString &>(obj));
5105 return true;
5106 case testVectorInt::ID:
5107 func(static_cast<testVectorInt &>(obj));
5108 return true;
5109 case testVectorIntObject::ID:
5110 func(static_cast<testVectorIntObject &>(obj));
5111 return true;
5112 case testVectorString::ID:
5113 func(static_cast<testVectorString &>(obj));
5114 return true;
5115 case testVectorStringObject::ID:
5116 func(static_cast<testVectorStringObject &>(obj));
5117 return true;
5118 case text::ID:
5119 func(static_cast<text &>(obj));
5120 return true;
5121 case textCompositionStyle::ID:
5122 func(static_cast<textCompositionStyle &>(obj));
5123 return true;
5124 case textEntities::ID:
5125 func(static_cast<textEntities &>(obj));
5126 return true;
5127 case textEntity::ID:
5128 func(static_cast<textEntity &>(obj));
5129 return true;
5130 case textEntityTypeMention::ID:
5131 func(static_cast<textEntityTypeMention &>(obj));
5132 return true;
5133 case textEntityTypeHashtag::ID:
5134 func(static_cast<textEntityTypeHashtag &>(obj));
5135 return true;
5136 case textEntityTypeCashtag::ID:
5137 func(static_cast<textEntityTypeCashtag &>(obj));
5138 return true;
5139 case textEntityTypeBotCommand::ID:
5140 func(static_cast<textEntityTypeBotCommand &>(obj));
5141 return true;
5142 case textEntityTypeUrl::ID:
5143 func(static_cast<textEntityTypeUrl &>(obj));
5144 return true;
5145 case textEntityTypeEmailAddress::ID:
5146 func(static_cast<textEntityTypeEmailAddress &>(obj));
5147 return true;
5148 case textEntityTypePhoneNumber::ID:
5149 func(static_cast<textEntityTypePhoneNumber &>(obj));
5150 return true;
5151 case textEntityTypeBankCardNumber::ID:
5152 func(static_cast<textEntityTypeBankCardNumber &>(obj));
5153 return true;
5154 case textEntityTypeBold::ID:
5155 func(static_cast<textEntityTypeBold &>(obj));
5156 return true;
5157 case textEntityTypeItalic::ID:
5158 func(static_cast<textEntityTypeItalic &>(obj));
5159 return true;
5160 case textEntityTypeUnderline::ID:
5161 func(static_cast<textEntityTypeUnderline &>(obj));
5162 return true;
5163 case textEntityTypeStrikethrough::ID:
5164 func(static_cast<textEntityTypeStrikethrough &>(obj));
5165 return true;
5166 case textEntityTypeSpoiler::ID:
5167 func(static_cast<textEntityTypeSpoiler &>(obj));
5168 return true;
5169 case textEntityTypeCode::ID:
5170 func(static_cast<textEntityTypeCode &>(obj));
5171 return true;
5172 case textEntityTypePre::ID:
5173 func(static_cast<textEntityTypePre &>(obj));
5174 return true;
5175 case textEntityTypePreCode::ID:
5176 func(static_cast<textEntityTypePreCode &>(obj));
5177 return true;
5178 case textEntityTypeBlockQuote::ID:
5179 func(static_cast<textEntityTypeBlockQuote &>(obj));
5180 return true;
5181 case textEntityTypeExpandableBlockQuote::ID:
5182 func(static_cast<textEntityTypeExpandableBlockQuote &>(obj));
5183 return true;
5184 case textEntityTypeTextUrl::ID:
5185 func(static_cast<textEntityTypeTextUrl &>(obj));
5186 return true;
5187 case textEntityTypeMentionName::ID:
5188 func(static_cast<textEntityTypeMentionName &>(obj));
5189 return true;
5190 case textEntityTypeCustomEmoji::ID:
5191 func(static_cast<textEntityTypeCustomEmoji &>(obj));
5192 return true;
5193 case textEntityTypeMediaTimestamp::ID:
5194 func(static_cast<textEntityTypeMediaTimestamp &>(obj));
5195 return true;
5196 case textEntityTypeDateTime::ID:
5197 func(static_cast<textEntityTypeDateTime &>(obj));
5198 return true;
5199 case textParseModeMarkdown::ID:
5200 func(static_cast<textParseModeMarkdown &>(obj));
5201 return true;
5202 case textParseModeHTML::ID:
5203 func(static_cast<textParseModeHTML &>(obj));
5204 return true;
5205 case textQuote::ID:
5206 func(static_cast<textQuote &>(obj));
5207 return true;
5208 case themeParameters::ID:
5209 func(static_cast<themeParameters &>(obj));
5210 return true;
5211 case themeSettings::ID:
5212 func(static_cast<themeSettings &>(obj));
5213 return true;
5214 case thumbnail::ID:
5215 func(static_cast<thumbnail &>(obj));
5216 return true;
5217 case thumbnailFormatJpeg::ID:
5218 func(static_cast<thumbnailFormatJpeg &>(obj));
5219 return true;
5220 case thumbnailFormatGif::ID:
5221 func(static_cast<thumbnailFormatGif &>(obj));
5222 return true;
5223 case thumbnailFormatMpeg4::ID:
5224 func(static_cast<thumbnailFormatMpeg4 &>(obj));
5225 return true;
5226 case thumbnailFormatPng::ID:
5227 func(static_cast<thumbnailFormatPng &>(obj));
5228 return true;
5229 case thumbnailFormatTgs::ID:
5230 func(static_cast<thumbnailFormatTgs &>(obj));
5231 return true;
5232 case thumbnailFormatWebm::ID:
5233 func(static_cast<thumbnailFormatWebm &>(obj));
5234 return true;
5235 case thumbnailFormatWebp::ID:
5236 func(static_cast<thumbnailFormatWebp &>(obj));
5237 return true;
5238 case timeZone::ID:
5239 func(static_cast<timeZone &>(obj));
5240 return true;
5241 case timeZones::ID:
5242 func(static_cast<timeZones &>(obj));
5243 return true;
5244 case tonRevenueStatistics::ID:
5245 func(static_cast<tonRevenueStatistics &>(obj));
5246 return true;
5247 case tonRevenueStatus::ID:
5248 func(static_cast<tonRevenueStatus &>(obj));
5249 return true;
5250 case tonTransaction::ID:
5251 func(static_cast<tonTransaction &>(obj));
5252 return true;
5253 case tonTransactionTypeFragmentDeposit::ID:
5254 func(static_cast<tonTransactionTypeFragmentDeposit &>(obj));
5255 return true;
5256 case tonTransactionTypeFragmentWithdrawal::ID:
5257 func(static_cast<tonTransactionTypeFragmentWithdrawal &>(obj));
5258 return true;
5259 case tonTransactionTypeSuggestedPostPayment::ID:
5260 func(static_cast<tonTransactionTypeSuggestedPostPayment &>(obj));
5261 return true;
5262 case tonTransactionTypeGiftPurchaseOffer::ID:
5263 func(static_cast<tonTransactionTypeGiftPurchaseOffer &>(obj));
5264 return true;
5265 case tonTransactionTypeUpgradedGiftPurchase::ID:
5266 func(static_cast<tonTransactionTypeUpgradedGiftPurchase &>(obj));
5267 return true;
5268 case tonTransactionTypeUpgradedGiftSale::ID:
5269 func(static_cast<tonTransactionTypeUpgradedGiftSale &>(obj));
5270 return true;
5271 case tonTransactionTypeStakeDiceStake::ID:
5272 func(static_cast<tonTransactionTypeStakeDiceStake &>(obj));
5273 return true;
5274 case tonTransactionTypeStakeDicePayout::ID:
5275 func(static_cast<tonTransactionTypeStakeDicePayout &>(obj));
5276 return true;
5277 case tonTransactionTypeUnsupported::ID:
5278 func(static_cast<tonTransactionTypeUnsupported &>(obj));
5279 return true;
5280 case tonTransactions::ID:
5281 func(static_cast<tonTransactions &>(obj));
5282 return true;
5283 case topChatCategoryUsers::ID:
5284 func(static_cast<topChatCategoryUsers &>(obj));
5285 return true;
5286 case topChatCategoryBots::ID:
5287 func(static_cast<topChatCategoryBots &>(obj));
5288 return true;
5289 case topChatCategoryGroups::ID:
5290 func(static_cast<topChatCategoryGroups &>(obj));
5291 return true;
5292 case topChatCategoryChannels::ID:
5293 func(static_cast<topChatCategoryChannels &>(obj));
5294 return true;
5295 case topChatCategoryInlineBots::ID:
5296 func(static_cast<topChatCategoryInlineBots &>(obj));
5297 return true;
5298 case topChatCategoryWebAppBots::ID:
5299 func(static_cast<topChatCategoryWebAppBots &>(obj));
5300 return true;
5301 case topChatCategoryCalls::ID:
5302 func(static_cast<topChatCategoryCalls &>(obj));
5303 return true;
5304 case topChatCategoryForwardChats::ID:
5305 func(static_cast<topChatCategoryForwardChats &>(obj));
5306 return true;
5307 case transactionDirectionIncoming::ID:
5308 func(static_cast<transactionDirectionIncoming &>(obj));
5309 return true;
5310 case transactionDirectionOutgoing::ID:
5311 func(static_cast<transactionDirectionOutgoing &>(obj));
5312 return true;
5313 case trendingStickerSets::ID:
5314 func(static_cast<trendingStickerSets &>(obj));
5315 return true;
5316 case unconfirmedSession::ID:
5317 func(static_cast<unconfirmedSession &>(obj));
5318 return true;
5319 case unreadReaction::ID:
5320 func(static_cast<unreadReaction &>(obj));
5321 return true;
5322 case updateAuthorizationState::ID:
5323 func(static_cast<updateAuthorizationState &>(obj));
5324 return true;
5325 case updateNewMessage::ID:
5326 func(static_cast<updateNewMessage &>(obj));
5327 return true;
5328 case updateMessageSendAcknowledged::ID:
5329 func(static_cast<updateMessageSendAcknowledged &>(obj));
5330 return true;
5331 case updateMessageSendSucceeded::ID:
5332 func(static_cast<updateMessageSendSucceeded &>(obj));
5333 return true;
5334 case updateMessageSendFailed::ID:
5335 func(static_cast<updateMessageSendFailed &>(obj));
5336 return true;
5337 case updateMessageContent::ID:
5338 func(static_cast<updateMessageContent &>(obj));
5339 return true;
5340 case updateMessageEdited::ID:
5341 func(static_cast<updateMessageEdited &>(obj));
5342 return true;
5343 case updateMessageIsPinned::ID:
5344 func(static_cast<updateMessageIsPinned &>(obj));
5345 return true;
5346 case updateMessageInteractionInfo::ID:
5347 func(static_cast<updateMessageInteractionInfo &>(obj));
5348 return true;
5349 case updateMessageContentOpened::ID:
5350 func(static_cast<updateMessageContentOpened &>(obj));
5351 return true;
5352 case updateMessageMentionRead::ID:
5353 func(static_cast<updateMessageMentionRead &>(obj));
5354 return true;
5355 case updateMessageUnreadReactions::ID:
5356 func(static_cast<updateMessageUnreadReactions &>(obj));
5357 return true;
5358 case updateMessageContainsUnreadPollVotes::ID:
5359 func(static_cast<updateMessageContainsUnreadPollVotes &>(obj));
5360 return true;
5361 case updateMessageFactCheck::ID:
5362 func(static_cast<updateMessageFactCheck &>(obj));
5363 return true;
5364 case updateMessageSuggestedPostInfo::ID:
5365 func(static_cast<updateMessageSuggestedPostInfo &>(obj));
5366 return true;
5367 case updateMessageLiveLocationViewed::ID:
5368 func(static_cast<updateMessageLiveLocationViewed &>(obj));
5369 return true;
5370 case updateVideoPublished::ID:
5371 func(static_cast<updateVideoPublished &>(obj));
5372 return true;
5373 case updateNewChat::ID:
5374 func(static_cast<updateNewChat &>(obj));
5375 return true;
5376 case updateChatTitle::ID:
5377 func(static_cast<updateChatTitle &>(obj));
5378 return true;
5379 case updateChatPhoto::ID:
5380 func(static_cast<updateChatPhoto &>(obj));
5381 return true;
5382 case updateChatAccentColors::ID:
5383 func(static_cast<updateChatAccentColors &>(obj));
5384 return true;
5385 case updateChatPermissions::ID:
5386 func(static_cast<updateChatPermissions &>(obj));
5387 return true;
5388 case updateChatLastMessage::ID:
5389 func(static_cast<updateChatLastMessage &>(obj));
5390 return true;
5391 case updateChatPosition::ID:
5392 func(static_cast<updateChatPosition &>(obj));
5393 return true;
5394 case updateChatAddedToList::ID:
5395 func(static_cast<updateChatAddedToList &>(obj));
5396 return true;
5397 case updateChatRemovedFromList::ID:
5398 func(static_cast<updateChatRemovedFromList &>(obj));
5399 return true;
5400 case updateChatReadInbox::ID:
5401 func(static_cast<updateChatReadInbox &>(obj));
5402 return true;
5403 case updateChatReadOutbox::ID:
5404 func(static_cast<updateChatReadOutbox &>(obj));
5405 return true;
5406 case updateChatActionBar::ID:
5407 func(static_cast<updateChatActionBar &>(obj));
5408 return true;
5409 case updateChatBusinessBotManageBar::ID:
5410 func(static_cast<updateChatBusinessBotManageBar &>(obj));
5411 return true;
5412 case updateChatAvailableReactions::ID:
5413 func(static_cast<updateChatAvailableReactions &>(obj));
5414 return true;
5415 case updateChatDraftMessage::ID:
5416 func(static_cast<updateChatDraftMessage &>(obj));
5417 return true;
5418 case updateChatEmojiStatus::ID:
5419 func(static_cast<updateChatEmojiStatus &>(obj));
5420 return true;
5421 case updateChatMessageSender::ID:
5422 func(static_cast<updateChatMessageSender &>(obj));
5423 return true;
5424 case updateChatMessageAutoDeleteTime::ID:
5425 func(static_cast<updateChatMessageAutoDeleteTime &>(obj));
5426 return true;
5427 case updateChatNotificationSettings::ID:
5428 func(static_cast<updateChatNotificationSettings &>(obj));
5429 return true;
5430 case updateChatPendingJoinRequests::ID:
5431 func(static_cast<updateChatPendingJoinRequests &>(obj));
5432 return true;
5433 case updateChatReplyMarkup::ID:
5434 func(static_cast<updateChatReplyMarkup &>(obj));
5435 return true;
5436 case updateChatBackground::ID:
5437 func(static_cast<updateChatBackground &>(obj));
5438 return true;
5439 case updateChatTheme::ID:
5440 func(static_cast<updateChatTheme &>(obj));
5441 return true;
5442 case updateChatUnreadMentionCount::ID:
5443 func(static_cast<updateChatUnreadMentionCount &>(obj));
5444 return true;
5445 case updateChatUnreadReactionCount::ID:
5446 func(static_cast<updateChatUnreadReactionCount &>(obj));
5447 return true;
5448 case updateChatUnreadPollVoteCount::ID:
5449 func(static_cast<updateChatUnreadPollVoteCount &>(obj));
5450 return true;
5451 case updateChatVideoChat::ID:
5452 func(static_cast<updateChatVideoChat &>(obj));
5453 return true;
5454 case updateChatDefaultDisableNotification::ID:
5455 func(static_cast<updateChatDefaultDisableNotification &>(obj));
5456 return true;
5457 case updateChatHasProtectedContent::ID:
5458 func(static_cast<updateChatHasProtectedContent &>(obj));
5459 return true;
5460 case updateChatIsTranslatable::ID:
5461 func(static_cast<updateChatIsTranslatable &>(obj));
5462 return true;
5463 case updateChatIsMarkedAsUnread::ID:
5464 func(static_cast<updateChatIsMarkedAsUnread &>(obj));
5465 return true;
5466 case updateChatViewAsTopics::ID:
5467 func(static_cast<updateChatViewAsTopics &>(obj));
5468 return true;
5469 case updateChatBlockList::ID:
5470 func(static_cast<updateChatBlockList &>(obj));
5471 return true;
5472 case updateChatHasScheduledMessages::ID:
5473 func(static_cast<updateChatHasScheduledMessages &>(obj));
5474 return true;
5475 case updateChatFolders::ID:
5476 func(static_cast<updateChatFolders &>(obj));
5477 return true;
5478 case updateChatOnlineMemberCount::ID:
5479 func(static_cast<updateChatOnlineMemberCount &>(obj));
5480 return true;
5481 case updateSavedMessagesTopic::ID:
5482 func(static_cast<updateSavedMessagesTopic &>(obj));
5483 return true;
5484 case updateSavedMessagesTopicCount::ID:
5485 func(static_cast<updateSavedMessagesTopicCount &>(obj));
5486 return true;
5487 case updateDirectMessagesChatTopic::ID:
5488 func(static_cast<updateDirectMessagesChatTopic &>(obj));
5489 return true;
5490 case updateTopicMessageCount::ID:
5491 func(static_cast<updateTopicMessageCount &>(obj));
5492 return true;
5493 case updateQuickReplyShortcut::ID:
5494 func(static_cast<updateQuickReplyShortcut &>(obj));
5495 return true;
5496 case updateQuickReplyShortcutDeleted::ID:
5497 func(static_cast<updateQuickReplyShortcutDeleted &>(obj));
5498 return true;
5499 case updateQuickReplyShortcuts::ID:
5500 func(static_cast<updateQuickReplyShortcuts &>(obj));
5501 return true;
5502 case updateQuickReplyShortcutMessages::ID:
5503 func(static_cast<updateQuickReplyShortcutMessages &>(obj));
5504 return true;
5505 case updateForumTopicInfo::ID:
5506 func(static_cast<updateForumTopicInfo &>(obj));
5507 return true;
5508 case updateForumTopic::ID:
5509 func(static_cast<updateForumTopic &>(obj));
5510 return true;
5511 case updateScopeNotificationSettings::ID:
5512 func(static_cast<updateScopeNotificationSettings &>(obj));
5513 return true;
5514 case updateReactionNotificationSettings::ID:
5515 func(static_cast<updateReactionNotificationSettings &>(obj));
5516 return true;
5517 case updateNotification::ID:
5518 func(static_cast<updateNotification &>(obj));
5519 return true;
5520 case updateNotificationGroup::ID:
5521 func(static_cast<updateNotificationGroup &>(obj));
5522 return true;
5523 case updateActiveNotifications::ID:
5524 func(static_cast<updateActiveNotifications &>(obj));
5525 return true;
5526 case updateHavePendingNotifications::ID:
5527 func(static_cast<updateHavePendingNotifications &>(obj));
5528 return true;
5529 case updateDeleteMessages::ID:
5530 func(static_cast<updateDeleteMessages &>(obj));
5531 return true;
5532 case updateChatAction::ID:
5533 func(static_cast<updateChatAction &>(obj));
5534 return true;
5535 case updatePendingTextMessage::ID:
5536 func(static_cast<updatePendingTextMessage &>(obj));
5537 return true;
5538 case updateUserStatus::ID:
5539 func(static_cast<updateUserStatus &>(obj));
5540 return true;
5541 case updateUser::ID:
5542 func(static_cast<updateUser &>(obj));
5543 return true;
5544 case updateBasicGroup::ID:
5545 func(static_cast<updateBasicGroup &>(obj));
5546 return true;
5547 case updateSupergroup::ID:
5548 func(static_cast<updateSupergroup &>(obj));
5549 return true;
5550 case updateSecretChat::ID:
5551 func(static_cast<updateSecretChat &>(obj));
5552 return true;
5553 case updateUserFullInfo::ID:
5554 func(static_cast<updateUserFullInfo &>(obj));
5555 return true;
5556 case updateBasicGroupFullInfo::ID:
5557 func(static_cast<updateBasicGroupFullInfo &>(obj));
5558 return true;
5559 case updateSupergroupFullInfo::ID:
5560 func(static_cast<updateSupergroupFullInfo &>(obj));
5561 return true;
5562 case updateServiceNotification::ID:
5563 func(static_cast<updateServiceNotification &>(obj));
5564 return true;
5565 case updateNewOauthRequest::ID:
5566 func(static_cast<updateNewOauthRequest &>(obj));
5567 return true;
5568 case updateFile::ID:
5569 func(static_cast<updateFile &>(obj));
5570 return true;
5571 case updateFileGenerationStart::ID:
5572 func(static_cast<updateFileGenerationStart &>(obj));
5573 return true;
5574 case updateFileGenerationStop::ID:
5575 func(static_cast<updateFileGenerationStop &>(obj));
5576 return true;
5577 case updateFileDownloads::ID:
5578 func(static_cast<updateFileDownloads &>(obj));
5579 return true;
5580 case updateFileAddedToDownloads::ID:
5581 func(static_cast<updateFileAddedToDownloads &>(obj));
5582 return true;
5583 case updateFileDownload::ID:
5584 func(static_cast<updateFileDownload &>(obj));
5585 return true;
5586 case updateFileRemovedFromDownloads::ID:
5587 func(static_cast<updateFileRemovedFromDownloads &>(obj));
5588 return true;
5589 case updateApplicationVerificationRequired::ID:
5590 func(static_cast<updateApplicationVerificationRequired &>(obj));
5591 return true;
5592 case updateApplicationRecaptchaVerificationRequired::ID:
5593 func(static_cast<updateApplicationRecaptchaVerificationRequired &>(obj));
5594 return true;
5595 case updateCall::ID:
5596 func(static_cast<updateCall &>(obj));
5597 return true;
5598 case updateGroupCall::ID:
5599 func(static_cast<updateGroupCall &>(obj));
5600 return true;
5601 case updateGroupCallParticipant::ID:
5602 func(static_cast<updateGroupCallParticipant &>(obj));
5603 return true;
5604 case updateGroupCallParticipants::ID:
5605 func(static_cast<updateGroupCallParticipants &>(obj));
5606 return true;
5607 case updateGroupCallVerificationState::ID:
5608 func(static_cast<updateGroupCallVerificationState &>(obj));
5609 return true;
5610 case updateNewGroupCallMessage::ID:
5611 func(static_cast<updateNewGroupCallMessage &>(obj));
5612 return true;
5613 case updateNewGroupCallPaidReaction::ID:
5614 func(static_cast<updateNewGroupCallPaidReaction &>(obj));
5615 return true;
5616 case updateGroupCallMessageSendFailed::ID:
5617 func(static_cast<updateGroupCallMessageSendFailed &>(obj));
5618 return true;
5619 case updateGroupCallMessagesDeleted::ID:
5620 func(static_cast<updateGroupCallMessagesDeleted &>(obj));
5621 return true;
5622 case updateLiveStoryTopDonors::ID:
5623 func(static_cast<updateLiveStoryTopDonors &>(obj));
5624 return true;
5625 case updateNewCallSignalingData::ID:
5626 func(static_cast<updateNewCallSignalingData &>(obj));
5627 return true;
5628 case updateGiftAuctionState::ID:
5629 func(static_cast<updateGiftAuctionState &>(obj));
5630 return true;
5631 case updateActiveGiftAuctions::ID:
5632 func(static_cast<updateActiveGiftAuctions &>(obj));
5633 return true;
5634 case updateUserPrivacySettingRules::ID:
5635 func(static_cast<updateUserPrivacySettingRules &>(obj));
5636 return true;
5637 case updateUnreadMessageCount::ID:
5638 func(static_cast<updateUnreadMessageCount &>(obj));
5639 return true;
5640 case updateUnreadChatCount::ID:
5641 func(static_cast<updateUnreadChatCount &>(obj));
5642 return true;
5643 case updateStory::ID:
5644 func(static_cast<updateStory &>(obj));
5645 return true;
5646 case updateStoryDeleted::ID:
5647 func(static_cast<updateStoryDeleted &>(obj));
5648 return true;
5649 case updateStoryPostSucceeded::ID:
5650 func(static_cast<updateStoryPostSucceeded &>(obj));
5651 return true;
5652 case updateStoryPostFailed::ID:
5653 func(static_cast<updateStoryPostFailed &>(obj));
5654 return true;
5655 case updateChatActiveStories::ID:
5656 func(static_cast<updateChatActiveStories &>(obj));
5657 return true;
5658 case updateStoryListChatCount::ID:
5659 func(static_cast<updateStoryListChatCount &>(obj));
5660 return true;
5661 case updateStoryStealthMode::ID:
5662 func(static_cast<updateStoryStealthMode &>(obj));
5663 return true;
5664 case updateTrustedMiniAppBots::ID:
5665 func(static_cast<updateTrustedMiniAppBots &>(obj));
5666 return true;
5667 case updateOption::ID:
5668 func(static_cast<updateOption &>(obj));
5669 return true;
5670 case updateStickerSet::ID:
5671 func(static_cast<updateStickerSet &>(obj));
5672 return true;
5673 case updateInstalledStickerSets::ID:
5674 func(static_cast<updateInstalledStickerSets &>(obj));
5675 return true;
5676 case updateTrendingStickerSets::ID:
5677 func(static_cast<updateTrendingStickerSets &>(obj));
5678 return true;
5679 case updateRecentStickers::ID:
5680 func(static_cast<updateRecentStickers &>(obj));
5681 return true;
5682 case updateFavoriteStickers::ID:
5683 func(static_cast<updateFavoriteStickers &>(obj));
5684 return true;
5685 case updateSavedAnimations::ID:
5686 func(static_cast<updateSavedAnimations &>(obj));
5687 return true;
5688 case updateSavedNotificationSounds::ID:
5689 func(static_cast<updateSavedNotificationSounds &>(obj));
5690 return true;
5691 case updateDefaultBackground::ID:
5692 func(static_cast<updateDefaultBackground &>(obj));
5693 return true;
5694 case updateEmojiChatThemes::ID:
5695 func(static_cast<updateEmojiChatThemes &>(obj));
5696 return true;
5697 case updateAccentColors::ID:
5698 func(static_cast<updateAccentColors &>(obj));
5699 return true;
5700 case updateProfileAccentColors::ID:
5701 func(static_cast<updateProfileAccentColors &>(obj));
5702 return true;
5703 case updateLanguagePackStrings::ID:
5704 func(static_cast<updateLanguagePackStrings &>(obj));
5705 return true;
5706 case updateConnectionState::ID:
5707 func(static_cast<updateConnectionState &>(obj));
5708 return true;
5709 case updateFreezeState::ID:
5710 func(static_cast<updateFreezeState &>(obj));
5711 return true;
5712 case updateAgeVerificationParameters::ID:
5713 func(static_cast<updateAgeVerificationParameters &>(obj));
5714 return true;
5715 case updateTermsOfService::ID:
5716 func(static_cast<updateTermsOfService &>(obj));
5717 return true;
5718 case updateUnconfirmedSession::ID:
5719 func(static_cast<updateUnconfirmedSession &>(obj));
5720 return true;
5721 case updateAttachmentMenuBots::ID:
5722 func(static_cast<updateAttachmentMenuBots &>(obj));
5723 return true;
5724 case updateWebAppMessageSent::ID:
5725 func(static_cast<updateWebAppMessageSent &>(obj));
5726 return true;
5727 case updateActiveEmojiReactions::ID:
5728 func(static_cast<updateActiveEmojiReactions &>(obj));
5729 return true;
5730 case updateAvailableMessageEffects::ID:
5731 func(static_cast<updateAvailableMessageEffects &>(obj));
5732 return true;
5733 case updateDefaultReactionType::ID:
5734 func(static_cast<updateDefaultReactionType &>(obj));
5735 return true;
5736 case updateDefaultPaidReactionType::ID:
5737 func(static_cast<updateDefaultPaidReactionType &>(obj));
5738 return true;
5739 case updateSavedMessagesTags::ID:
5740 func(static_cast<updateSavedMessagesTags &>(obj));
5741 return true;
5742 case updateActiveLiveLocationMessages::ID:
5743 func(static_cast<updateActiveLiveLocationMessages &>(obj));
5744 return true;
5745 case updateOwnedStarCount::ID:
5746 func(static_cast<updateOwnedStarCount &>(obj));
5747 return true;
5748 case updateOwnedTonCount::ID:
5749 func(static_cast<updateOwnedTonCount &>(obj));
5750 return true;
5751 case updateChatRevenueAmount::ID:
5752 func(static_cast<updateChatRevenueAmount &>(obj));
5753 return true;
5754 case updateStarRevenueStatus::ID:
5755 func(static_cast<updateStarRevenueStatus &>(obj));
5756 return true;
5757 case updateTonRevenueStatus::ID:
5758 func(static_cast<updateTonRevenueStatus &>(obj));
5759 return true;
5760 case updateSpeechRecognitionTrial::ID:
5761 func(static_cast<updateSpeechRecognitionTrial &>(obj));
5762 return true;
5763 case updateGroupCallMessageLevels::ID:
5764 func(static_cast<updateGroupCallMessageLevels &>(obj));
5765 return true;
5766 case updateDiceEmojis::ID:
5767 func(static_cast<updateDiceEmojis &>(obj));
5768 return true;
5769 case updateStakeDiceState::ID:
5770 func(static_cast<updateStakeDiceState &>(obj));
5771 return true;
5772 case updateAnimatedEmojiMessageClicked::ID:
5773 func(static_cast<updateAnimatedEmojiMessageClicked &>(obj));
5774 return true;
5775 case updateAnimationSearchParameters::ID:
5776 func(static_cast<updateAnimationSearchParameters &>(obj));
5777 return true;
5778 case updateTextCompositionStyles::ID:
5779 func(static_cast<updateTextCompositionStyles &>(obj));
5780 return true;
5781 case updateSuggestedActions::ID:
5782 func(static_cast<updateSuggestedActions &>(obj));
5783 return true;
5784 case updateSpeedLimitNotification::ID:
5785 func(static_cast<updateSpeedLimitNotification &>(obj));
5786 return true;
5787 case updateContactCloseBirthdays::ID:
5788 func(static_cast<updateContactCloseBirthdays &>(obj));
5789 return true;
5790 case updateAutosaveSettings::ID:
5791 func(static_cast<updateAutosaveSettings &>(obj));
5792 return true;
5793 case updateBusinessConnection::ID:
5794 func(static_cast<updateBusinessConnection &>(obj));
5795 return true;
5796 case updateNewBusinessMessage::ID:
5797 func(static_cast<updateNewBusinessMessage &>(obj));
5798 return true;
5799 case updateBusinessMessageEdited::ID:
5800 func(static_cast<updateBusinessMessageEdited &>(obj));
5801 return true;
5802 case updateBusinessMessagesDeleted::ID:
5803 func(static_cast<updateBusinessMessagesDeleted &>(obj));
5804 return true;
5805 case updateNewInlineQuery::ID:
5806 func(static_cast<updateNewInlineQuery &>(obj));
5807 return true;
5808 case updateNewChosenInlineResult::ID:
5809 func(static_cast<updateNewChosenInlineResult &>(obj));
5810 return true;
5811 case updateNewCallbackQuery::ID:
5812 func(static_cast<updateNewCallbackQuery &>(obj));
5813 return true;
5814 case updateNewInlineCallbackQuery::ID:
5815 func(static_cast<updateNewInlineCallbackQuery &>(obj));
5816 return true;
5817 case updateNewBusinessCallbackQuery::ID:
5818 func(static_cast<updateNewBusinessCallbackQuery &>(obj));
5819 return true;
5820 case updateNewShippingQuery::ID:
5821 func(static_cast<updateNewShippingQuery &>(obj));
5822 return true;
5823 case updateNewPreCheckoutQuery::ID:
5824 func(static_cast<updateNewPreCheckoutQuery &>(obj));
5825 return true;
5826 case updateNewCustomEvent::ID:
5827 func(static_cast<updateNewCustomEvent &>(obj));
5828 return true;
5829 case updateNewCustomQuery::ID:
5830 func(static_cast<updateNewCustomQuery &>(obj));
5831 return true;
5832 case updatePoll::ID:
5833 func(static_cast<updatePoll &>(obj));
5834 return true;
5835 case updatePollAnswer::ID:
5836 func(static_cast<updatePollAnswer &>(obj));
5837 return true;
5838 case updateManagedBot::ID:
5839 func(static_cast<updateManagedBot &>(obj));
5840 return true;
5841 case updateChatMember::ID:
5842 func(static_cast<updateChatMember &>(obj));
5843 return true;
5844 case updateNewChatJoinRequest::ID:
5845 func(static_cast<updateNewChatJoinRequest &>(obj));
5846 return true;
5847 case updateChatBoost::ID:
5848 func(static_cast<updateChatBoost &>(obj));
5849 return true;
5850 case updateMessageReaction::ID:
5851 func(static_cast<updateMessageReaction &>(obj));
5852 return true;
5853 case updateMessageReactions::ID:
5854 func(static_cast<updateMessageReactions &>(obj));
5855 return true;
5856 case updatePaidMediaPurchased::ID:
5857 func(static_cast<updatePaidMediaPurchased &>(obj));
5858 return true;
5859 case updates::ID:
5860 func(static_cast<updates &>(obj));
5861 return true;
5862 case upgradeGiftResult::ID:
5863 func(static_cast<upgradeGiftResult &>(obj));
5864 return true;
5865 case upgradedGift::ID:
5866 func(static_cast<upgradedGift &>(obj));
5867 return true;
5868 case upgradedGiftAttributeIdModel::ID:
5869 func(static_cast<upgradedGiftAttributeIdModel &>(obj));
5870 return true;
5871 case upgradedGiftAttributeIdSymbol::ID:
5872 func(static_cast<upgradedGiftAttributeIdSymbol &>(obj));
5873 return true;
5874 case upgradedGiftAttributeIdBackdrop::ID:
5875 func(static_cast<upgradedGiftAttributeIdBackdrop &>(obj));
5876 return true;
5877 case upgradedGiftAttributeRarityPerMille::ID:
5878 func(static_cast<upgradedGiftAttributeRarityPerMille &>(obj));
5879 return true;
5880 case upgradedGiftAttributeRarityUncommon::ID:
5881 func(static_cast<upgradedGiftAttributeRarityUncommon &>(obj));
5882 return true;
5883 case upgradedGiftAttributeRarityRare::ID:
5884 func(static_cast<upgradedGiftAttributeRarityRare &>(obj));
5885 return true;
5886 case upgradedGiftAttributeRarityEpic::ID:
5887 func(static_cast<upgradedGiftAttributeRarityEpic &>(obj));
5888 return true;
5889 case upgradedGiftAttributeRarityLegendary::ID:
5890 func(static_cast<upgradedGiftAttributeRarityLegendary &>(obj));
5891 return true;
5892 case upgradedGiftBackdrop::ID:
5893 func(static_cast<upgradedGiftBackdrop &>(obj));
5894 return true;
5895 case upgradedGiftBackdropColors::ID:
5896 func(static_cast<upgradedGiftBackdropColors &>(obj));
5897 return true;
5898 case upgradedGiftBackdropCount::ID:
5899 func(static_cast<upgradedGiftBackdropCount &>(obj));
5900 return true;
5901 case upgradedGiftColors::ID:
5902 func(static_cast<upgradedGiftColors &>(obj));
5903 return true;
5904 case upgradedGiftModel::ID:
5905 func(static_cast<upgradedGiftModel &>(obj));
5906 return true;
5907 case upgradedGiftModelCount::ID:
5908 func(static_cast<upgradedGiftModelCount &>(obj));
5909 return true;
5910 case upgradedGiftOriginUpgrade::ID:
5911 func(static_cast<upgradedGiftOriginUpgrade &>(obj));
5912 return true;
5913 case upgradedGiftOriginTransfer::ID:
5914 func(static_cast<upgradedGiftOriginTransfer &>(obj));
5915 return true;
5916 case upgradedGiftOriginResale::ID:
5917 func(static_cast<upgradedGiftOriginResale &>(obj));
5918 return true;
5919 case upgradedGiftOriginBlockchain::ID:
5920 func(static_cast<upgradedGiftOriginBlockchain &>(obj));
5921 return true;
5922 case upgradedGiftOriginPrepaidUpgrade::ID:
5923 func(static_cast<upgradedGiftOriginPrepaidUpgrade &>(obj));
5924 return true;
5925 case upgradedGiftOriginOffer::ID:
5926 func(static_cast<upgradedGiftOriginOffer &>(obj));
5927 return true;
5928 case upgradedGiftOriginCraft::ID:
5929 func(static_cast<upgradedGiftOriginCraft &>(obj));
5930 return true;
5931 case upgradedGiftOriginalDetails::ID:
5932 func(static_cast<upgradedGiftOriginalDetails &>(obj));
5933 return true;
5934 case upgradedGiftSymbol::ID:
5935 func(static_cast<upgradedGiftSymbol &>(obj));
5936 return true;
5937 case upgradedGiftSymbolCount::ID:
5938 func(static_cast<upgradedGiftSymbolCount &>(obj));
5939 return true;
5940 case upgradedGiftValueInfo::ID:
5941 func(static_cast<upgradedGiftValueInfo &>(obj));
5942 return true;
5943 case user::ID:
5944 func(static_cast<user &>(obj));
5945 return true;
5946 case userAuctionBid::ID:
5947 func(static_cast<userAuctionBid &>(obj));
5948 return true;
5949 case userFullInfo::ID:
5950 func(static_cast<userFullInfo &>(obj));
5951 return true;
5952 case userLink::ID:
5953 func(static_cast<userLink &>(obj));
5954 return true;
5955 case userPrivacySettingShowStatus::ID:
5956 func(static_cast<userPrivacySettingShowStatus &>(obj));
5957 return true;
5958 case userPrivacySettingShowProfilePhoto::ID:
5959 func(static_cast<userPrivacySettingShowProfilePhoto &>(obj));
5960 return true;
5961 case userPrivacySettingShowLinkInForwardedMessages::ID:
5962 func(static_cast<userPrivacySettingShowLinkInForwardedMessages &>(obj));
5963 return true;
5964 case userPrivacySettingShowPhoneNumber::ID:
5965 func(static_cast<userPrivacySettingShowPhoneNumber &>(obj));
5966 return true;
5967 case userPrivacySettingShowBio::ID:
5968 func(static_cast<userPrivacySettingShowBio &>(obj));
5969 return true;
5970 case userPrivacySettingShowBirthdate::ID:
5971 func(static_cast<userPrivacySettingShowBirthdate &>(obj));
5972 return true;
5973 case userPrivacySettingShowProfileAudio::ID:
5974 func(static_cast<userPrivacySettingShowProfileAudio &>(obj));
5975 return true;
5976 case userPrivacySettingAllowChatInvites::ID:
5977 func(static_cast<userPrivacySettingAllowChatInvites &>(obj));
5978 return true;
5979 case userPrivacySettingAllowCalls::ID:
5980 func(static_cast<userPrivacySettingAllowCalls &>(obj));
5981 return true;
5982 case userPrivacySettingAllowPeerToPeerCalls::ID:
5983 func(static_cast<userPrivacySettingAllowPeerToPeerCalls &>(obj));
5984 return true;
5985 case userPrivacySettingAllowFindingByPhoneNumber::ID:
5986 func(static_cast<userPrivacySettingAllowFindingByPhoneNumber &>(obj));
5987 return true;
5988 case userPrivacySettingAllowPrivateVoiceAndVideoNoteMessages::ID:
5989 func(static_cast<userPrivacySettingAllowPrivateVoiceAndVideoNoteMessages &>(obj));
5990 return true;
5991 case userPrivacySettingAutosaveGifts::ID:
5992 func(static_cast<userPrivacySettingAutosaveGifts &>(obj));
5993 return true;
5994 case userPrivacySettingAllowUnpaidMessages::ID:
5995 func(static_cast<userPrivacySettingAllowUnpaidMessages &>(obj));
5996 return true;
5997 case userPrivacySettingRuleAllowAll::ID:
5998 func(static_cast<userPrivacySettingRuleAllowAll &>(obj));
5999 return true;
6000 case userPrivacySettingRuleAllowContacts::ID:
6001 func(static_cast<userPrivacySettingRuleAllowContacts &>(obj));
6002 return true;
6003 case userPrivacySettingRuleAllowBots::ID:
6004 func(static_cast<userPrivacySettingRuleAllowBots &>(obj));
6005 return true;
6006 case userPrivacySettingRuleAllowPremiumUsers::ID:
6007 func(static_cast<userPrivacySettingRuleAllowPremiumUsers &>(obj));
6008 return true;
6009 case userPrivacySettingRuleAllowUsers::ID:
6010 func(static_cast<userPrivacySettingRuleAllowUsers &>(obj));
6011 return true;
6012 case userPrivacySettingRuleAllowChatMembers::ID:
6013 func(static_cast<userPrivacySettingRuleAllowChatMembers &>(obj));
6014 return true;
6015 case userPrivacySettingRuleRestrictAll::ID:
6016 func(static_cast<userPrivacySettingRuleRestrictAll &>(obj));
6017 return true;
6018 case userPrivacySettingRuleRestrictContacts::ID:
6019 func(static_cast<userPrivacySettingRuleRestrictContacts &>(obj));
6020 return true;
6021 case userPrivacySettingRuleRestrictBots::ID:
6022 func(static_cast<userPrivacySettingRuleRestrictBots &>(obj));
6023 return true;
6024 case userPrivacySettingRuleRestrictUsers::ID:
6025 func(static_cast<userPrivacySettingRuleRestrictUsers &>(obj));
6026 return true;
6027 case userPrivacySettingRuleRestrictChatMembers::ID:
6028 func(static_cast<userPrivacySettingRuleRestrictChatMembers &>(obj));
6029 return true;
6030 case userPrivacySettingRules::ID:
6031 func(static_cast<userPrivacySettingRules &>(obj));
6032 return true;
6033 case userRating::ID:
6034 func(static_cast<userRating &>(obj));
6035 return true;
6036 case userStatusEmpty::ID:
6037 func(static_cast<userStatusEmpty &>(obj));
6038 return true;
6039 case userStatusOnline::ID:
6040 func(static_cast<userStatusOnline &>(obj));
6041 return true;
6042 case userStatusOffline::ID:
6043 func(static_cast<userStatusOffline &>(obj));
6044 return true;
6045 case userStatusRecently::ID:
6046 func(static_cast<userStatusRecently &>(obj));
6047 return true;
6048 case userStatusLastWeek::ID:
6049 func(static_cast<userStatusLastWeek &>(obj));
6050 return true;
6051 case userStatusLastMonth::ID:
6052 func(static_cast<userStatusLastMonth &>(obj));
6053 return true;
6054 case userSupportInfo::ID:
6055 func(static_cast<userSupportInfo &>(obj));
6056 return true;
6057 case userTypeRegular::ID:
6058 func(static_cast<userTypeRegular &>(obj));
6059 return true;
6060 case userTypeDeleted::ID:
6061 func(static_cast<userTypeDeleted &>(obj));
6062 return true;
6063 case userTypeBot::ID:
6064 func(static_cast<userTypeBot &>(obj));
6065 return true;
6066 case userTypeUnknown::ID:
6067 func(static_cast<userTypeUnknown &>(obj));
6068 return true;
6069 case usernames::ID:
6070 func(static_cast<usernames &>(obj));
6071 return true;
6072 case users::ID:
6073 func(static_cast<users &>(obj));
6074 return true;
6075 case validatedOrderInfo::ID:
6076 func(static_cast<validatedOrderInfo &>(obj));
6077 return true;
6078 case vectorPathCommandLine::ID:
6079 func(static_cast<vectorPathCommandLine &>(obj));
6080 return true;
6081 case vectorPathCommandCubicBezierCurve::ID:
6082 func(static_cast<vectorPathCommandCubicBezierCurve &>(obj));
6083 return true;
6084 case venue::ID:
6085 func(static_cast<venue &>(obj));
6086 return true;
6087 case verificationStatus::ID:
6088 func(static_cast<verificationStatus &>(obj));
6089 return true;
6090 case video::ID:
6091 func(static_cast<video &>(obj));
6092 return true;
6093 case videoChat::ID:
6094 func(static_cast<videoChat &>(obj));
6095 return true;
6096 case videoMessageAdvertisement::ID:
6097 func(static_cast<videoMessageAdvertisement &>(obj));
6098 return true;
6099 case videoMessageAdvertisements::ID:
6100 func(static_cast<videoMessageAdvertisements &>(obj));
6101 return true;
6102 case videoNote::ID:
6103 func(static_cast<videoNote &>(obj));
6104 return true;
6105 case videoStoryboard::ID:
6106 func(static_cast<videoStoryboard &>(obj));
6107 return true;
6108 case voiceNote::ID:
6109 func(static_cast<voiceNote &>(obj));
6110 return true;
6111 case webApp::ID:
6112 func(static_cast<webApp &>(obj));
6113 return true;
6114 case webAppInfo::ID:
6115 func(static_cast<webAppInfo &>(obj));
6116 return true;
6117 case webAppOpenModeCompact::ID:
6118 func(static_cast<webAppOpenModeCompact &>(obj));
6119 return true;
6120 case webAppOpenModeFullSize::ID:
6121 func(static_cast<webAppOpenModeFullSize &>(obj));
6122 return true;
6123 case webAppOpenModeFullScreen::ID:
6124 func(static_cast<webAppOpenModeFullScreen &>(obj));
6125 return true;
6126 case webAppOpenParameters::ID:
6127 func(static_cast<webAppOpenParameters &>(obj));
6128 return true;
6129 case webPageInstantView::ID:
6130 func(static_cast<webPageInstantView &>(obj));
6131 return true;
6132 default:
6133 return false;
6134 }
6135}

◆ downcast_call() [120/203]

template<class T >
bool td::td_api::downcast_call ( OptionValue obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 12981 of file td_api.hpp.

12981 { //-V2008
12982 switch (obj.get_id()) {
12983 case optionValueBoolean::ID:
12984 func(static_cast<optionValueBoolean &>(obj));
12985 return true;
12986 case optionValueEmpty::ID:
12987 func(static_cast<optionValueEmpty &>(obj));
12988 return true;
12989 case optionValueInteger::ID:
12990 func(static_cast<optionValueInteger &>(obj));
12991 return true;
12992 case optionValueString::ID:
12993 func(static_cast<optionValueString &>(obj));
12994 return true;
12995 default:
12996 return false;
12997 }
12998}

◆ downcast_call() [121/203]

template<class T >
bool td::td_api::downcast_call ( PageBlock obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13007 of file td_api.hpp.

13007 { //-V2008
13008 switch (obj.get_id()) {
13009 case pageBlockTitle::ID:
13010 func(static_cast<pageBlockTitle &>(obj));
13011 return true;
13012 case pageBlockSubtitle::ID:
13013 func(static_cast<pageBlockSubtitle &>(obj));
13014 return true;
13015 case pageBlockAuthorDate::ID:
13016 func(static_cast<pageBlockAuthorDate &>(obj));
13017 return true;
13018 case pageBlockHeader::ID:
13019 func(static_cast<pageBlockHeader &>(obj));
13020 return true;
13021 case pageBlockSubheader::ID:
13022 func(static_cast<pageBlockSubheader &>(obj));
13023 return true;
13024 case pageBlockKicker::ID:
13025 func(static_cast<pageBlockKicker &>(obj));
13026 return true;
13027 case pageBlockParagraph::ID:
13028 func(static_cast<pageBlockParagraph &>(obj));
13029 return true;
13030 case pageBlockPreformatted::ID:
13031 func(static_cast<pageBlockPreformatted &>(obj));
13032 return true;
13033 case pageBlockFooter::ID:
13034 func(static_cast<pageBlockFooter &>(obj));
13035 return true;
13036 case pageBlockDivider::ID:
13037 func(static_cast<pageBlockDivider &>(obj));
13038 return true;
13039 case pageBlockAnchor::ID:
13040 func(static_cast<pageBlockAnchor &>(obj));
13041 return true;
13042 case pageBlockList::ID:
13043 func(static_cast<pageBlockList &>(obj));
13044 return true;
13045 case pageBlockBlockQuote::ID:
13046 func(static_cast<pageBlockBlockQuote &>(obj));
13047 return true;
13048 case pageBlockPullQuote::ID:
13049 func(static_cast<pageBlockPullQuote &>(obj));
13050 return true;
13051 case pageBlockAnimation::ID:
13052 func(static_cast<pageBlockAnimation &>(obj));
13053 return true;
13054 case pageBlockAudio::ID:
13055 func(static_cast<pageBlockAudio &>(obj));
13056 return true;
13057 case pageBlockPhoto::ID:
13058 func(static_cast<pageBlockPhoto &>(obj));
13059 return true;
13060 case pageBlockVideo::ID:
13061 func(static_cast<pageBlockVideo &>(obj));
13062 return true;
13063 case pageBlockVoiceNote::ID:
13064 func(static_cast<pageBlockVoiceNote &>(obj));
13065 return true;
13066 case pageBlockCover::ID:
13067 func(static_cast<pageBlockCover &>(obj));
13068 return true;
13069 case pageBlockEmbedded::ID:
13070 func(static_cast<pageBlockEmbedded &>(obj));
13071 return true;
13072 case pageBlockEmbeddedPost::ID:
13073 func(static_cast<pageBlockEmbeddedPost &>(obj));
13074 return true;
13075 case pageBlockCollage::ID:
13076 func(static_cast<pageBlockCollage &>(obj));
13077 return true;
13078 case pageBlockSlideshow::ID:
13079 func(static_cast<pageBlockSlideshow &>(obj));
13080 return true;
13081 case pageBlockChatLink::ID:
13082 func(static_cast<pageBlockChatLink &>(obj));
13083 return true;
13084 case pageBlockTable::ID:
13085 func(static_cast<pageBlockTable &>(obj));
13086 return true;
13087 case pageBlockDetails::ID:
13088 func(static_cast<pageBlockDetails &>(obj));
13089 return true;
13090 case pageBlockRelatedArticles::ID:
13091 func(static_cast<pageBlockRelatedArticles &>(obj));
13092 return true;
13093 case pageBlockMap::ID:
13094 func(static_cast<pageBlockMap &>(obj));
13095 return true;
13096 default:
13097 return false;
13098 }
13099}

◆ downcast_call() [122/203]

template<class T >
bool td::td_api::downcast_call ( PageBlockHorizontalAlignment obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13108 of file td_api.hpp.

13108 { //-V2008
13109 switch (obj.get_id()) {
13110 case pageBlockHorizontalAlignmentLeft::ID:
13111 func(static_cast<pageBlockHorizontalAlignmentLeft &>(obj));
13112 return true;
13113 case pageBlockHorizontalAlignmentCenter::ID:
13114 func(static_cast<pageBlockHorizontalAlignmentCenter &>(obj));
13115 return true;
13116 case pageBlockHorizontalAlignmentRight::ID:
13117 func(static_cast<pageBlockHorizontalAlignmentRight &>(obj));
13118 return true;
13119 default:
13120 return false;
13121 }
13122}

◆ downcast_call() [123/203]

template<class T >
bool td::td_api::downcast_call ( PageBlockVerticalAlignment obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13131 of file td_api.hpp.

13131 { //-V2008
13132 switch (obj.get_id()) {
13133 case pageBlockVerticalAlignmentTop::ID:
13134 func(static_cast<pageBlockVerticalAlignmentTop &>(obj));
13135 return true;
13136 case pageBlockVerticalAlignmentMiddle::ID:
13137 func(static_cast<pageBlockVerticalAlignmentMiddle &>(obj));
13138 return true;
13139 case pageBlockVerticalAlignmentBottom::ID:
13140 func(static_cast<pageBlockVerticalAlignmentBottom &>(obj));
13141 return true;
13142 default:
13143 return false;
13144 }
13145}

◆ downcast_call() [124/203]

template<class T >
bool td::td_api::downcast_call ( PaidMedia obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13154 of file td_api.hpp.

13154 { //-V2008
13155 switch (obj.get_id()) {
13156 case paidMediaPreview::ID:
13157 func(static_cast<paidMediaPreview &>(obj));
13158 return true;
13159 case paidMediaPhoto::ID:
13160 func(static_cast<paidMediaPhoto &>(obj));
13161 return true;
13162 case paidMediaVideo::ID:
13163 func(static_cast<paidMediaVideo &>(obj));
13164 return true;
13165 case paidMediaUnsupported::ID:
13166 func(static_cast<paidMediaUnsupported &>(obj));
13167 return true;
13168 default:
13169 return false;
13170 }
13171}

◆ downcast_call() [125/203]

template<class T >
bool td::td_api::downcast_call ( PaidReactionType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13180 of file td_api.hpp.

13180 { //-V2008
13181 switch (obj.get_id()) {
13182 case paidReactionTypeRegular::ID:
13183 func(static_cast<paidReactionTypeRegular &>(obj));
13184 return true;
13185 case paidReactionTypeAnonymous::ID:
13186 func(static_cast<paidReactionTypeAnonymous &>(obj));
13187 return true;
13188 case paidReactionTypeChat::ID:
13189 func(static_cast<paidReactionTypeChat &>(obj));
13190 return true;
13191 default:
13192 return false;
13193 }
13194}

◆ downcast_call() [126/203]

template<class T >
bool td::td_api::downcast_call ( PassportElement obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13203 of file td_api.hpp.

13203 { //-V2008
13204 switch (obj.get_id()) {
13205 case passportElementPersonalDetails::ID:
13206 func(static_cast<passportElementPersonalDetails &>(obj));
13207 return true;
13208 case passportElementPassport::ID:
13209 func(static_cast<passportElementPassport &>(obj));
13210 return true;
13211 case passportElementDriverLicense::ID:
13212 func(static_cast<passportElementDriverLicense &>(obj));
13213 return true;
13214 case passportElementIdentityCard::ID:
13215 func(static_cast<passportElementIdentityCard &>(obj));
13216 return true;
13217 case passportElementInternalPassport::ID:
13218 func(static_cast<passportElementInternalPassport &>(obj));
13219 return true;
13220 case passportElementAddress::ID:
13221 func(static_cast<passportElementAddress &>(obj));
13222 return true;
13223 case passportElementUtilityBill::ID:
13224 func(static_cast<passportElementUtilityBill &>(obj));
13225 return true;
13226 case passportElementBankStatement::ID:
13227 func(static_cast<passportElementBankStatement &>(obj));
13228 return true;
13229 case passportElementRentalAgreement::ID:
13230 func(static_cast<passportElementRentalAgreement &>(obj));
13231 return true;
13232 case passportElementPassportRegistration::ID:
13233 func(static_cast<passportElementPassportRegistration &>(obj));
13234 return true;
13235 case passportElementTemporaryRegistration::ID:
13236 func(static_cast<passportElementTemporaryRegistration &>(obj));
13237 return true;
13238 case passportElementPhoneNumber::ID:
13239 func(static_cast<passportElementPhoneNumber &>(obj));
13240 return true;
13241 case passportElementEmailAddress::ID:
13242 func(static_cast<passportElementEmailAddress &>(obj));
13243 return true;
13244 default:
13245 return false;
13246 }
13247}

◆ downcast_call() [127/203]

template<class T >
bool td::td_api::downcast_call ( PassportElementErrorSource obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13256 of file td_api.hpp.

13256 { //-V2008
13257 switch (obj.get_id()) {
13258 case passportElementErrorSourceUnspecified::ID:
13259 func(static_cast<passportElementErrorSourceUnspecified &>(obj));
13260 return true;
13261 case passportElementErrorSourceDataField::ID:
13262 func(static_cast<passportElementErrorSourceDataField &>(obj));
13263 return true;
13264 case passportElementErrorSourceFrontSide::ID:
13265 func(static_cast<passportElementErrorSourceFrontSide &>(obj));
13266 return true;
13267 case passportElementErrorSourceReverseSide::ID:
13268 func(static_cast<passportElementErrorSourceReverseSide &>(obj));
13269 return true;
13270 case passportElementErrorSourceSelfie::ID:
13271 func(static_cast<passportElementErrorSourceSelfie &>(obj));
13272 return true;
13273 case passportElementErrorSourceTranslationFile::ID:
13274 func(static_cast<passportElementErrorSourceTranslationFile &>(obj));
13275 return true;
13276 case passportElementErrorSourceTranslationFiles::ID:
13277 func(static_cast<passportElementErrorSourceTranslationFiles &>(obj));
13278 return true;
13279 case passportElementErrorSourceFile::ID:
13280 func(static_cast<passportElementErrorSourceFile &>(obj));
13281 return true;
13282 case passportElementErrorSourceFiles::ID:
13283 func(static_cast<passportElementErrorSourceFiles &>(obj));
13284 return true;
13285 default:
13286 return false;
13287 }
13288}

◆ downcast_call() [128/203]

template<class T >
bool td::td_api::downcast_call ( PassportElementType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13297 of file td_api.hpp.

13297 { //-V2008
13298 switch (obj.get_id()) {
13299 case passportElementTypePersonalDetails::ID:
13300 func(static_cast<passportElementTypePersonalDetails &>(obj));
13301 return true;
13302 case passportElementTypePassport::ID:
13303 func(static_cast<passportElementTypePassport &>(obj));
13304 return true;
13305 case passportElementTypeDriverLicense::ID:
13306 func(static_cast<passportElementTypeDriverLicense &>(obj));
13307 return true;
13308 case passportElementTypeIdentityCard::ID:
13309 func(static_cast<passportElementTypeIdentityCard &>(obj));
13310 return true;
13311 case passportElementTypeInternalPassport::ID:
13312 func(static_cast<passportElementTypeInternalPassport &>(obj));
13313 return true;
13314 case passportElementTypeAddress::ID:
13315 func(static_cast<passportElementTypeAddress &>(obj));
13316 return true;
13317 case passportElementTypeUtilityBill::ID:
13318 func(static_cast<passportElementTypeUtilityBill &>(obj));
13319 return true;
13320 case passportElementTypeBankStatement::ID:
13321 func(static_cast<passportElementTypeBankStatement &>(obj));
13322 return true;
13323 case passportElementTypeRentalAgreement::ID:
13324 func(static_cast<passportElementTypeRentalAgreement &>(obj));
13325 return true;
13326 case passportElementTypePassportRegistration::ID:
13327 func(static_cast<passportElementTypePassportRegistration &>(obj));
13328 return true;
13329 case passportElementTypeTemporaryRegistration::ID:
13330 func(static_cast<passportElementTypeTemporaryRegistration &>(obj));
13331 return true;
13332 case passportElementTypePhoneNumber::ID:
13333 func(static_cast<passportElementTypePhoneNumber &>(obj));
13334 return true;
13335 case passportElementTypeEmailAddress::ID:
13336 func(static_cast<passportElementTypeEmailAddress &>(obj));
13337 return true;
13338 default:
13339 return false;
13340 }
13341}

◆ downcast_call() [129/203]

template<class T >
bool td::td_api::downcast_call ( PaymentFormType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13350 of file td_api.hpp.

13350 { //-V2008
13351 switch (obj.get_id()) {
13352 case paymentFormTypeRegular::ID:
13353 func(static_cast<paymentFormTypeRegular &>(obj));
13354 return true;
13355 case paymentFormTypeStars::ID:
13356 func(static_cast<paymentFormTypeStars &>(obj));
13357 return true;
13358 case paymentFormTypeStarSubscription::ID:
13359 func(static_cast<paymentFormTypeStarSubscription &>(obj));
13360 return true;
13361 default:
13362 return false;
13363 }
13364}

◆ downcast_call() [130/203]

template<class T >
bool td::td_api::downcast_call ( PaymentProvider obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13373 of file td_api.hpp.

13373 { //-V2008
13374 switch (obj.get_id()) {
13375 case paymentProviderSmartGlocal::ID:
13376 func(static_cast<paymentProviderSmartGlocal &>(obj));
13377 return true;
13378 case paymentProviderStripe::ID:
13379 func(static_cast<paymentProviderStripe &>(obj));
13380 return true;
13381 case paymentProviderOther::ID:
13382 func(static_cast<paymentProviderOther &>(obj));
13383 return true;
13384 default:
13385 return false;
13386 }
13387}

◆ downcast_call() [131/203]

template<class T >
bool td::td_api::downcast_call ( PaymentReceiptType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13396 of file td_api.hpp.

13396 { //-V2008
13397 switch (obj.get_id()) {
13398 case paymentReceiptTypeRegular::ID:
13399 func(static_cast<paymentReceiptTypeRegular &>(obj));
13400 return true;
13401 case paymentReceiptTypeStars::ID:
13402 func(static_cast<paymentReceiptTypeStars &>(obj));
13403 return true;
13404 default:
13405 return false;
13406 }
13407}

◆ downcast_call() [132/203]

template<class T >
bool td::td_api::downcast_call ( PhoneNumberCodeType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13416 of file td_api.hpp.

13416 { //-V2008
13417 switch (obj.get_id()) {
13418 case phoneNumberCodeTypeChange::ID:
13419 func(static_cast<phoneNumberCodeTypeChange &>(obj));
13420 return true;
13421 case phoneNumberCodeTypeVerify::ID:
13422 func(static_cast<phoneNumberCodeTypeVerify &>(obj));
13423 return true;
13424 case phoneNumberCodeTypeConfirmOwnership::ID:
13425 func(static_cast<phoneNumberCodeTypeConfirmOwnership &>(obj));
13426 return true;
13427 default:
13428 return false;
13429 }
13430}

◆ downcast_call() [133/203]

template<class T >
bool td::td_api::downcast_call ( PollType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13439 of file td_api.hpp.

13439 { //-V2008
13440 switch (obj.get_id()) {
13441 case pollTypeRegular::ID:
13442 func(static_cast<pollTypeRegular &>(obj));
13443 return true;
13444 case pollTypeQuiz::ID:
13445 func(static_cast<pollTypeQuiz &>(obj));
13446 return true;
13447 default:
13448 return false;
13449 }
13450}

◆ downcast_call() [134/203]

template<class T >
bool td::td_api::downcast_call ( PollVoteRestrictionReason obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13459 of file td_api.hpp.

13459 { //-V2008
13460 switch (obj.get_id()) {
13461 case pollVoteRestrictionReasonMembershipRequired::ID:
13462 func(static_cast<pollVoteRestrictionReasonMembershipRequired &>(obj));
13463 return true;
13464 case pollVoteRestrictionReasonOther::ID:
13465 func(static_cast<pollVoteRestrictionReasonOther &>(obj));
13466 return true;
13467 default:
13468 return false;
13469 }
13470}

◆ downcast_call() [135/203]

template<class T >
bool td::td_api::downcast_call ( PremiumFeature obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13479 of file td_api.hpp.

13479 { //-V2008
13480 switch (obj.get_id()) {
13481 case premiumFeatureIncreasedLimits::ID:
13482 func(static_cast<premiumFeatureIncreasedLimits &>(obj));
13483 return true;
13484 case premiumFeatureIncreasedUploadFileSize::ID:
13485 func(static_cast<premiumFeatureIncreasedUploadFileSize &>(obj));
13486 return true;
13487 case premiumFeatureImprovedDownloadSpeed::ID:
13488 func(static_cast<premiumFeatureImprovedDownloadSpeed &>(obj));
13489 return true;
13490 case premiumFeatureVoiceRecognition::ID:
13491 func(static_cast<premiumFeatureVoiceRecognition &>(obj));
13492 return true;
13493 case premiumFeatureDisabledAds::ID:
13494 func(static_cast<premiumFeatureDisabledAds &>(obj));
13495 return true;
13496 case premiumFeatureUniqueReactions::ID:
13497 func(static_cast<premiumFeatureUniqueReactions &>(obj));
13498 return true;
13499 case premiumFeatureUniqueStickers::ID:
13500 func(static_cast<premiumFeatureUniqueStickers &>(obj));
13501 return true;
13502 case premiumFeatureCustomEmoji::ID:
13503 func(static_cast<premiumFeatureCustomEmoji &>(obj));
13504 return true;
13505 case premiumFeatureAdvancedChatManagement::ID:
13506 func(static_cast<premiumFeatureAdvancedChatManagement &>(obj));
13507 return true;
13508 case premiumFeatureProfileBadge::ID:
13509 func(static_cast<premiumFeatureProfileBadge &>(obj));
13510 return true;
13511 case premiumFeatureEmojiStatus::ID:
13512 func(static_cast<premiumFeatureEmojiStatus &>(obj));
13513 return true;
13514 case premiumFeatureAnimatedProfilePhoto::ID:
13515 func(static_cast<premiumFeatureAnimatedProfilePhoto &>(obj));
13516 return true;
13517 case premiumFeatureForumTopicIcon::ID:
13518 func(static_cast<premiumFeatureForumTopicIcon &>(obj));
13519 return true;
13520 case premiumFeatureAppIcons::ID:
13521 func(static_cast<premiumFeatureAppIcons &>(obj));
13522 return true;
13523 case premiumFeatureRealTimeChatTranslation::ID:
13524 func(static_cast<premiumFeatureRealTimeChatTranslation &>(obj));
13525 return true;
13526 case premiumFeatureUpgradedStories::ID:
13527 func(static_cast<premiumFeatureUpgradedStories &>(obj));
13528 return true;
13529 case premiumFeatureChatBoost::ID:
13530 func(static_cast<premiumFeatureChatBoost &>(obj));
13531 return true;
13532 case premiumFeatureAccentColor::ID:
13533 func(static_cast<premiumFeatureAccentColor &>(obj));
13534 return true;
13535 case premiumFeatureBackgroundForBoth::ID:
13536 func(static_cast<premiumFeatureBackgroundForBoth &>(obj));
13537 return true;
13538 case premiumFeatureSavedMessagesTags::ID:
13539 func(static_cast<premiumFeatureSavedMessagesTags &>(obj));
13540 return true;
13541 case premiumFeatureMessagePrivacy::ID:
13542 func(static_cast<premiumFeatureMessagePrivacy &>(obj));
13543 return true;
13544 case premiumFeatureLastSeenTimes::ID:
13545 func(static_cast<premiumFeatureLastSeenTimes &>(obj));
13546 return true;
13547 case premiumFeatureBusiness::ID:
13548 func(static_cast<premiumFeatureBusiness &>(obj));
13549 return true;
13550 case premiumFeatureMessageEffects::ID:
13551 func(static_cast<premiumFeatureMessageEffects &>(obj));
13552 return true;
13553 case premiumFeatureChecklists::ID:
13554 func(static_cast<premiumFeatureChecklists &>(obj));
13555 return true;
13556 case premiumFeaturePaidMessages::ID:
13557 func(static_cast<premiumFeaturePaidMessages &>(obj));
13558 return true;
13559 case premiumFeatureProtectPrivateChatContent::ID:
13560 func(static_cast<premiumFeatureProtectPrivateChatContent &>(obj));
13561 return true;
13562 case premiumFeatureTextComposition::ID:
13563 func(static_cast<premiumFeatureTextComposition &>(obj));
13564 return true;
13565 default:
13566 return false;
13567 }
13568}

◆ downcast_call() [136/203]

template<class T >
bool td::td_api::downcast_call ( PremiumLimitType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13577 of file td_api.hpp.

13577 { //-V2008
13578 switch (obj.get_id()) {
13579 case premiumLimitTypeSupergroupCount::ID:
13580 func(static_cast<premiumLimitTypeSupergroupCount &>(obj));
13581 return true;
13582 case premiumLimitTypePinnedChatCount::ID:
13583 func(static_cast<premiumLimitTypePinnedChatCount &>(obj));
13584 return true;
13585 case premiumLimitTypeCreatedPublicChatCount::ID:
13586 func(static_cast<premiumLimitTypeCreatedPublicChatCount &>(obj));
13587 return true;
13588 case premiumLimitTypeSavedAnimationCount::ID:
13589 func(static_cast<premiumLimitTypeSavedAnimationCount &>(obj));
13590 return true;
13591 case premiumLimitTypeFavoriteStickerCount::ID:
13592 func(static_cast<premiumLimitTypeFavoriteStickerCount &>(obj));
13593 return true;
13594 case premiumLimitTypeChatFolderCount::ID:
13595 func(static_cast<premiumLimitTypeChatFolderCount &>(obj));
13596 return true;
13597 case premiumLimitTypeChatFolderChosenChatCount::ID:
13598 func(static_cast<premiumLimitTypeChatFolderChosenChatCount &>(obj));
13599 return true;
13600 case premiumLimitTypePinnedArchivedChatCount::ID:
13601 func(static_cast<premiumLimitTypePinnedArchivedChatCount &>(obj));
13602 return true;
13603 case premiumLimitTypePinnedSavedMessagesTopicCount::ID:
13604 func(static_cast<premiumLimitTypePinnedSavedMessagesTopicCount &>(obj));
13605 return true;
13606 case premiumLimitTypeCaptionLength::ID:
13607 func(static_cast<premiumLimitTypeCaptionLength &>(obj));
13608 return true;
13609 case premiumLimitTypeBioLength::ID:
13610 func(static_cast<premiumLimitTypeBioLength &>(obj));
13611 return true;
13612 case premiumLimitTypeChatFolderInviteLinkCount::ID:
13613 func(static_cast<premiumLimitTypeChatFolderInviteLinkCount &>(obj));
13614 return true;
13615 case premiumLimitTypeShareableChatFolderCount::ID:
13616 func(static_cast<premiumLimitTypeShareableChatFolderCount &>(obj));
13617 return true;
13618 case premiumLimitTypeActiveStoryCount::ID:
13619 func(static_cast<premiumLimitTypeActiveStoryCount &>(obj));
13620 return true;
13621 case premiumLimitTypeWeeklyPostedStoryCount::ID:
13622 func(static_cast<premiumLimitTypeWeeklyPostedStoryCount &>(obj));
13623 return true;
13624 case premiumLimitTypeMonthlyPostedStoryCount::ID:
13625 func(static_cast<premiumLimitTypeMonthlyPostedStoryCount &>(obj));
13626 return true;
13627 case premiumLimitTypeStoryCaptionLength::ID:
13628 func(static_cast<premiumLimitTypeStoryCaptionLength &>(obj));
13629 return true;
13630 case premiumLimitTypeStorySuggestedReactionAreaCount::ID:
13631 func(static_cast<premiumLimitTypeStorySuggestedReactionAreaCount &>(obj));
13632 return true;
13633 case premiumLimitTypeSimilarChatCount::ID:
13634 func(static_cast<premiumLimitTypeSimilarChatCount &>(obj));
13635 return true;
13636 case premiumLimitTypeOwnedBotCount::ID:
13637 func(static_cast<premiumLimitTypeOwnedBotCount &>(obj));
13638 return true;
13639 default:
13640 return false;
13641 }
13642}

◆ downcast_call() [137/203]

template<class T >
bool td::td_api::downcast_call ( PremiumSource obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13651 of file td_api.hpp.

13651 { //-V2008
13652 switch (obj.get_id()) {
13653 case premiumSourceLimitExceeded::ID:
13654 func(static_cast<premiumSourceLimitExceeded &>(obj));
13655 return true;
13656 case premiumSourceFeature::ID:
13657 func(static_cast<premiumSourceFeature &>(obj));
13658 return true;
13659 case premiumSourceBusinessFeature::ID:
13660 func(static_cast<premiumSourceBusinessFeature &>(obj));
13661 return true;
13662 case premiumSourceStoryFeature::ID:
13663 func(static_cast<premiumSourceStoryFeature &>(obj));
13664 return true;
13665 case premiumSourceLink::ID:
13666 func(static_cast<premiumSourceLink &>(obj));
13667 return true;
13668 case premiumSourceSettings::ID:
13669 func(static_cast<premiumSourceSettings &>(obj));
13670 return true;
13671 default:
13672 return false;
13673 }
13674}

◆ downcast_call() [138/203]

template<class T >
bool td::td_api::downcast_call ( PremiumStoryFeature obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13683 of file td_api.hpp.

13683 { //-V2008
13684 switch (obj.get_id()) {
13685 case premiumStoryFeaturePriorityOrder::ID:
13686 func(static_cast<premiumStoryFeaturePriorityOrder &>(obj));
13687 return true;
13688 case premiumStoryFeatureStealthMode::ID:
13689 func(static_cast<premiumStoryFeatureStealthMode &>(obj));
13690 return true;
13691 case premiumStoryFeaturePermanentViewsHistory::ID:
13692 func(static_cast<premiumStoryFeaturePermanentViewsHistory &>(obj));
13693 return true;
13694 case premiumStoryFeatureCustomExpirationDuration::ID:
13695 func(static_cast<premiumStoryFeatureCustomExpirationDuration &>(obj));
13696 return true;
13697 case premiumStoryFeatureSaveStories::ID:
13698 func(static_cast<premiumStoryFeatureSaveStories &>(obj));
13699 return true;
13700 case premiumStoryFeatureLinksAndFormatting::ID:
13701 func(static_cast<premiumStoryFeatureLinksAndFormatting &>(obj));
13702 return true;
13703 case premiumStoryFeatureVideoQuality::ID:
13704 func(static_cast<premiumStoryFeatureVideoQuality &>(obj));
13705 return true;
13706 default:
13707 return false;
13708 }
13709}

◆ downcast_call() [139/203]

template<class T >
bool td::td_api::downcast_call ( ProfileTab obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13718 of file td_api.hpp.

13718 { //-V2008
13719 switch (obj.get_id()) {
13720 case profileTabPosts::ID:
13721 func(static_cast<profileTabPosts &>(obj));
13722 return true;
13723 case profileTabGifts::ID:
13724 func(static_cast<profileTabGifts &>(obj));
13725 return true;
13726 case profileTabMedia::ID:
13727 func(static_cast<profileTabMedia &>(obj));
13728 return true;
13729 case profileTabFiles::ID:
13730 func(static_cast<profileTabFiles &>(obj));
13731 return true;
13732 case profileTabLinks::ID:
13733 func(static_cast<profileTabLinks &>(obj));
13734 return true;
13735 case profileTabMusic::ID:
13736 func(static_cast<profileTabMusic &>(obj));
13737 return true;
13738 case profileTabVoice::ID:
13739 func(static_cast<profileTabVoice &>(obj));
13740 return true;
13741 case profileTabGifs::ID:
13742 func(static_cast<profileTabGifs &>(obj));
13743 return true;
13744 default:
13745 return false;
13746 }
13747}

◆ downcast_call() [140/203]

template<class T >
bool td::td_api::downcast_call ( ProxyType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13756 of file td_api.hpp.

13756 { //-V2008
13757 switch (obj.get_id()) {
13758 case proxyTypeSocks5::ID:
13759 func(static_cast<proxyTypeSocks5 &>(obj));
13760 return true;
13761 case proxyTypeHttp::ID:
13762 func(static_cast<proxyTypeHttp &>(obj));
13763 return true;
13764 case proxyTypeMtproto::ID:
13765 func(static_cast<proxyTypeMtproto &>(obj));
13766 return true;
13767 default:
13768 return false;
13769 }
13770}

◆ downcast_call() [141/203]

template<class T >
bool td::td_api::downcast_call ( PublicChatType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13779 of file td_api.hpp.

13779 { //-V2008
13780 switch (obj.get_id()) {
13781 case publicChatTypeHasUsername::ID:
13782 func(static_cast<publicChatTypeHasUsername &>(obj));
13783 return true;
13784 case publicChatTypeIsLocationBased::ID:
13785 func(static_cast<publicChatTypeIsLocationBased &>(obj));
13786 return true;
13787 default:
13788 return false;
13789 }
13790}

◆ downcast_call() [142/203]

template<class T >
bool td::td_api::downcast_call ( PublicForward obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13799 of file td_api.hpp.

13799 { //-V2008
13800 switch (obj.get_id()) {
13801 case publicForwardMessage::ID:
13802 func(static_cast<publicForwardMessage &>(obj));
13803 return true;
13804 case publicForwardStory::ID:
13805 func(static_cast<publicForwardStory &>(obj));
13806 return true;
13807 default:
13808 return false;
13809 }
13810}

◆ downcast_call() [143/203]

template<class T >
bool td::td_api::downcast_call ( PushMessageContent obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13819 of file td_api.hpp.

13819 { //-V2008
13820 switch (obj.get_id()) {
13821 case pushMessageContentHidden::ID:
13822 func(static_cast<pushMessageContentHidden &>(obj));
13823 return true;
13824 case pushMessageContentAnimation::ID:
13825 func(static_cast<pushMessageContentAnimation &>(obj));
13826 return true;
13827 case pushMessageContentAudio::ID:
13828 func(static_cast<pushMessageContentAudio &>(obj));
13829 return true;
13830 case pushMessageContentContact::ID:
13831 func(static_cast<pushMessageContentContact &>(obj));
13832 return true;
13833 case pushMessageContentContactRegistered::ID:
13834 func(static_cast<pushMessageContentContactRegistered &>(obj));
13835 return true;
13836 case pushMessageContentDocument::ID:
13837 func(static_cast<pushMessageContentDocument &>(obj));
13838 return true;
13839 case pushMessageContentGame::ID:
13840 func(static_cast<pushMessageContentGame &>(obj));
13841 return true;
13842 case pushMessageContentGameScore::ID:
13843 func(static_cast<pushMessageContentGameScore &>(obj));
13844 return true;
13845 case pushMessageContentInvoice::ID:
13846 func(static_cast<pushMessageContentInvoice &>(obj));
13847 return true;
13848 case pushMessageContentLocation::ID:
13849 func(static_cast<pushMessageContentLocation &>(obj));
13850 return true;
13851 case pushMessageContentPaidMedia::ID:
13852 func(static_cast<pushMessageContentPaidMedia &>(obj));
13853 return true;
13854 case pushMessageContentPhoto::ID:
13855 func(static_cast<pushMessageContentPhoto &>(obj));
13856 return true;
13857 case pushMessageContentPoll::ID:
13858 func(static_cast<pushMessageContentPoll &>(obj));
13859 return true;
13860 case pushMessageContentPremiumGiftCode::ID:
13861 func(static_cast<pushMessageContentPremiumGiftCode &>(obj));
13862 return true;
13863 case pushMessageContentGiveaway::ID:
13864 func(static_cast<pushMessageContentGiveaway &>(obj));
13865 return true;
13866 case pushMessageContentGift::ID:
13867 func(static_cast<pushMessageContentGift &>(obj));
13868 return true;
13869 case pushMessageContentUpgradedGift::ID:
13870 func(static_cast<pushMessageContentUpgradedGift &>(obj));
13871 return true;
13872 case pushMessageContentScreenshotTaken::ID:
13873 func(static_cast<pushMessageContentScreenshotTaken &>(obj));
13874 return true;
13875 case pushMessageContentSticker::ID:
13876 func(static_cast<pushMessageContentSticker &>(obj));
13877 return true;
13878 case pushMessageContentStory::ID:
13879 func(static_cast<pushMessageContentStory &>(obj));
13880 return true;
13881 case pushMessageContentText::ID:
13882 func(static_cast<pushMessageContentText &>(obj));
13883 return true;
13884 case pushMessageContentChecklist::ID:
13885 func(static_cast<pushMessageContentChecklist &>(obj));
13886 return true;
13887 case pushMessageContentVideo::ID:
13888 func(static_cast<pushMessageContentVideo &>(obj));
13889 return true;
13890 case pushMessageContentVideoNote::ID:
13891 func(static_cast<pushMessageContentVideoNote &>(obj));
13892 return true;
13893 case pushMessageContentVoiceNote::ID:
13894 func(static_cast<pushMessageContentVoiceNote &>(obj));
13895 return true;
13896 case pushMessageContentBasicGroupChatCreate::ID:
13897 func(static_cast<pushMessageContentBasicGroupChatCreate &>(obj));
13898 return true;
13899 case pushMessageContentVideoChatStarted::ID:
13900 func(static_cast<pushMessageContentVideoChatStarted &>(obj));
13901 return true;
13902 case pushMessageContentVideoChatEnded::ID:
13903 func(static_cast<pushMessageContentVideoChatEnded &>(obj));
13904 return true;
13905 case pushMessageContentInviteVideoChatParticipants::ID:
13906 func(static_cast<pushMessageContentInviteVideoChatParticipants &>(obj));
13907 return true;
13908 case pushMessageContentChatAddMembers::ID:
13909 func(static_cast<pushMessageContentChatAddMembers &>(obj));
13910 return true;
13911 case pushMessageContentChatChangePhoto::ID:
13912 func(static_cast<pushMessageContentChatChangePhoto &>(obj));
13913 return true;
13914 case pushMessageContentChatChangeTitle::ID:
13915 func(static_cast<pushMessageContentChatChangeTitle &>(obj));
13916 return true;
13917 case pushMessageContentChatSetBackground::ID:
13918 func(static_cast<pushMessageContentChatSetBackground &>(obj));
13919 return true;
13920 case pushMessageContentChatSetTheme::ID:
13921 func(static_cast<pushMessageContentChatSetTheme &>(obj));
13922 return true;
13923 case pushMessageContentChatDeleteMember::ID:
13924 func(static_cast<pushMessageContentChatDeleteMember &>(obj));
13925 return true;
13926 case pushMessageContentChatJoinByLink::ID:
13927 func(static_cast<pushMessageContentChatJoinByLink &>(obj));
13928 return true;
13929 case pushMessageContentChatJoinByRequest::ID:
13930 func(static_cast<pushMessageContentChatJoinByRequest &>(obj));
13931 return true;
13932 case pushMessageContentRecurringPayment::ID:
13933 func(static_cast<pushMessageContentRecurringPayment &>(obj));
13934 return true;
13935 case pushMessageContentSuggestProfilePhoto::ID:
13936 func(static_cast<pushMessageContentSuggestProfilePhoto &>(obj));
13937 return true;
13938 case pushMessageContentSuggestBirthdate::ID:
13939 func(static_cast<pushMessageContentSuggestBirthdate &>(obj));
13940 return true;
13941 case pushMessageContentProximityAlertTriggered::ID:
13942 func(static_cast<pushMessageContentProximityAlertTriggered &>(obj));
13943 return true;
13944 case pushMessageContentChecklistTasksAdded::ID:
13945 func(static_cast<pushMessageContentChecklistTasksAdded &>(obj));
13946 return true;
13947 case pushMessageContentChecklistTasksDone::ID:
13948 func(static_cast<pushMessageContentChecklistTasksDone &>(obj));
13949 return true;
13950 case pushMessageContentPollOptionAdded::ID:
13951 func(static_cast<pushMessageContentPollOptionAdded &>(obj));
13952 return true;
13953 case pushMessageContentMessageForwards::ID:
13954 func(static_cast<pushMessageContentMessageForwards &>(obj));
13955 return true;
13956 case pushMessageContentMediaAlbum::ID:
13957 func(static_cast<pushMessageContentMediaAlbum &>(obj));
13958 return true;
13959 default:
13960 return false;
13961 }
13962}

◆ downcast_call() [144/203]

template<class T >
bool td::td_api::downcast_call ( ReactionNotificationSource obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13971 of file td_api.hpp.

13971 { //-V2008
13972 switch (obj.get_id()) {
13973 case reactionNotificationSourceNone::ID:
13974 func(static_cast<reactionNotificationSourceNone &>(obj));
13975 return true;
13976 case reactionNotificationSourceContacts::ID:
13977 func(static_cast<reactionNotificationSourceContacts &>(obj));
13978 return true;
13979 case reactionNotificationSourceAll::ID:
13980 func(static_cast<reactionNotificationSourceAll &>(obj));
13981 return true;
13982 default:
13983 return false;
13984 }
13985}

◆ downcast_call() [145/203]

template<class T >
bool td::td_api::downcast_call ( ReactionType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 13994 of file td_api.hpp.

13994 { //-V2008
13995 switch (obj.get_id()) {
13996 case reactionTypeEmoji::ID:
13997 func(static_cast<reactionTypeEmoji &>(obj));
13998 return true;
13999 case reactionTypeCustomEmoji::ID:
14000 func(static_cast<reactionTypeCustomEmoji &>(obj));
14001 return true;
14002 case reactionTypePaid::ID:
14003 func(static_cast<reactionTypePaid &>(obj));
14004 return true;
14005 default:
14006 return false;
14007 }
14008}

◆ downcast_call() [146/203]

template<class T >
bool td::td_api::downcast_call ( ReactionUnavailabilityReason obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14017 of file td_api.hpp.

14017 { //-V2008
14018 switch (obj.get_id()) {
14019 case reactionUnavailabilityReasonAnonymousAdministrator::ID:
14020 func(static_cast<reactionUnavailabilityReasonAnonymousAdministrator &>(obj));
14021 return true;
14022 case reactionUnavailabilityReasonGuest::ID:
14023 func(static_cast<reactionUnavailabilityReasonGuest &>(obj));
14024 return true;
14025 default:
14026 return false;
14027 }
14028}

◆ downcast_call() [147/203]

template<class T >
bool td::td_api::downcast_call ( ReplyMarkup obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14037 of file td_api.hpp.

14037 { //-V2008
14038 switch (obj.get_id()) {
14039 case replyMarkupRemoveKeyboard::ID:
14040 func(static_cast<replyMarkupRemoveKeyboard &>(obj));
14041 return true;
14042 case replyMarkupForceReply::ID:
14043 func(static_cast<replyMarkupForceReply &>(obj));
14044 return true;
14045 case replyMarkupShowKeyboard::ID:
14046 func(static_cast<replyMarkupShowKeyboard &>(obj));
14047 return true;
14048 case replyMarkupInlineKeyboard::ID:
14049 func(static_cast<replyMarkupInlineKeyboard &>(obj));
14050 return true;
14051 default:
14052 return false;
14053 }
14054}

◆ downcast_call() [148/203]

template<class T >
bool td::td_api::downcast_call ( ReportChatResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14063 of file td_api.hpp.

14063 { //-V2008
14064 switch (obj.get_id()) {
14065 case reportChatResultOk::ID:
14066 func(static_cast<reportChatResultOk &>(obj));
14067 return true;
14068 case reportChatResultOptionRequired::ID:
14069 func(static_cast<reportChatResultOptionRequired &>(obj));
14070 return true;
14071 case reportChatResultTextRequired::ID:
14072 func(static_cast<reportChatResultTextRequired &>(obj));
14073 return true;
14074 case reportChatResultMessagesRequired::ID:
14075 func(static_cast<reportChatResultMessagesRequired &>(obj));
14076 return true;
14077 default:
14078 return false;
14079 }
14080}

◆ downcast_call() [149/203]

template<class T >
bool td::td_api::downcast_call ( ReportReason obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14089 of file td_api.hpp.

14089 { //-V2008
14090 switch (obj.get_id()) {
14091 case reportReasonSpam::ID:
14092 func(static_cast<reportReasonSpam &>(obj));
14093 return true;
14094 case reportReasonViolence::ID:
14095 func(static_cast<reportReasonViolence &>(obj));
14096 return true;
14097 case reportReasonPornography::ID:
14098 func(static_cast<reportReasonPornography &>(obj));
14099 return true;
14100 case reportReasonChildAbuse::ID:
14101 func(static_cast<reportReasonChildAbuse &>(obj));
14102 return true;
14103 case reportReasonCopyright::ID:
14104 func(static_cast<reportReasonCopyright &>(obj));
14105 return true;
14106 case reportReasonUnrelatedLocation::ID:
14107 func(static_cast<reportReasonUnrelatedLocation &>(obj));
14108 return true;
14109 case reportReasonFake::ID:
14110 func(static_cast<reportReasonFake &>(obj));
14111 return true;
14112 case reportReasonIllegalDrugs::ID:
14113 func(static_cast<reportReasonIllegalDrugs &>(obj));
14114 return true;
14115 case reportReasonPersonalDetails::ID:
14116 func(static_cast<reportReasonPersonalDetails &>(obj));
14117 return true;
14118 case reportReasonCustom::ID:
14119 func(static_cast<reportReasonCustom &>(obj));
14120 return true;
14121 default:
14122 return false;
14123 }
14124}

◆ downcast_call() [150/203]

template<class T >
bool td::td_api::downcast_call ( ReportSponsoredResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14133 of file td_api.hpp.

14133 { //-V2008
14134 switch (obj.get_id()) {
14135 case reportSponsoredResultOk::ID:
14136 func(static_cast<reportSponsoredResultOk &>(obj));
14137 return true;
14138 case reportSponsoredResultFailed::ID:
14139 func(static_cast<reportSponsoredResultFailed &>(obj));
14140 return true;
14141 case reportSponsoredResultOptionRequired::ID:
14142 func(static_cast<reportSponsoredResultOptionRequired &>(obj));
14143 return true;
14144 case reportSponsoredResultAdsHidden::ID:
14145 func(static_cast<reportSponsoredResultAdsHidden &>(obj));
14146 return true;
14147 case reportSponsoredResultPremiumRequired::ID:
14148 func(static_cast<reportSponsoredResultPremiumRequired &>(obj));
14149 return true;
14150 default:
14151 return false;
14152 }
14153}

◆ downcast_call() [151/203]

template<class T >
bool td::td_api::downcast_call ( ReportStoryResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14162 of file td_api.hpp.

14162 { //-V2008
14163 switch (obj.get_id()) {
14164 case reportStoryResultOk::ID:
14165 func(static_cast<reportStoryResultOk &>(obj));
14166 return true;
14167 case reportStoryResultOptionRequired::ID:
14168 func(static_cast<reportStoryResultOptionRequired &>(obj));
14169 return true;
14170 case reportStoryResultTextRequired::ID:
14171 func(static_cast<reportStoryResultTextRequired &>(obj));
14172 return true;
14173 default:
14174 return false;
14175 }
14176}

◆ downcast_call() [152/203]

template<class T >
bool td::td_api::downcast_call ( ResendCodeReason obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14185 of file td_api.hpp.

14185 { //-V2008
14186 switch (obj.get_id()) {
14187 case resendCodeReasonUserRequest::ID:
14188 func(static_cast<resendCodeReasonUserRequest &>(obj));
14189 return true;
14190 case resendCodeReasonVerificationFailed::ID:
14191 func(static_cast<resendCodeReasonVerificationFailed &>(obj));
14192 return true;
14193 default:
14194 return false;
14195 }
14196}

◆ downcast_call() [153/203]

template<class T >
bool td::td_api::downcast_call ( ResetPasswordResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14205 of file td_api.hpp.

14205 { //-V2008
14206 switch (obj.get_id()) {
14207 case resetPasswordResultOk::ID:
14208 func(static_cast<resetPasswordResultOk &>(obj));
14209 return true;
14210 case resetPasswordResultPending::ID:
14211 func(static_cast<resetPasswordResultPending &>(obj));
14212 return true;
14213 case resetPasswordResultDeclined::ID:
14214 func(static_cast<resetPasswordResultDeclined &>(obj));
14215 return true;
14216 default:
14217 return false;
14218 }
14219}

◆ downcast_call() [154/203]

template<class T >
bool td::td_api::downcast_call ( RevenueWithdrawalState obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14228 of file td_api.hpp.

14228 { //-V2008
14229 switch (obj.get_id()) {
14230 case revenueWithdrawalStatePending::ID:
14231 func(static_cast<revenueWithdrawalStatePending &>(obj));
14232 return true;
14233 case revenueWithdrawalStateSucceeded::ID:
14234 func(static_cast<revenueWithdrawalStateSucceeded &>(obj));
14235 return true;
14236 case revenueWithdrawalStateFailed::ID:
14237 func(static_cast<revenueWithdrawalStateFailed &>(obj));
14238 return true;
14239 default:
14240 return false;
14241 }
14242}

◆ downcast_call() [155/203]

template<class T >
bool td::td_api::downcast_call ( RichText obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14251 of file td_api.hpp.

14251 { //-V2008
14252 switch (obj.get_id()) {
14253 case richTextPlain::ID:
14254 func(static_cast<richTextPlain &>(obj));
14255 return true;
14256 case richTextBold::ID:
14257 func(static_cast<richTextBold &>(obj));
14258 return true;
14259 case richTextItalic::ID:
14260 func(static_cast<richTextItalic &>(obj));
14261 return true;
14262 case richTextUnderline::ID:
14263 func(static_cast<richTextUnderline &>(obj));
14264 return true;
14265 case richTextStrikethrough::ID:
14266 func(static_cast<richTextStrikethrough &>(obj));
14267 return true;
14268 case richTextFixed::ID:
14269 func(static_cast<richTextFixed &>(obj));
14270 return true;
14271 case richTextUrl::ID:
14272 func(static_cast<richTextUrl &>(obj));
14273 return true;
14274 case richTextEmailAddress::ID:
14275 func(static_cast<richTextEmailAddress &>(obj));
14276 return true;
14277 case richTextSubscript::ID:
14278 func(static_cast<richTextSubscript &>(obj));
14279 return true;
14280 case richTextSuperscript::ID:
14281 func(static_cast<richTextSuperscript &>(obj));
14282 return true;
14283 case richTextMarked::ID:
14284 func(static_cast<richTextMarked &>(obj));
14285 return true;
14286 case richTextPhoneNumber::ID:
14287 func(static_cast<richTextPhoneNumber &>(obj));
14288 return true;
14289 case richTextIcon::ID:
14290 func(static_cast<richTextIcon &>(obj));
14291 return true;
14292 case richTextReference::ID:
14293 func(static_cast<richTextReference &>(obj));
14294 return true;
14295 case richTextAnchor::ID:
14296 func(static_cast<richTextAnchor &>(obj));
14297 return true;
14298 case richTextAnchorLink::ID:
14299 func(static_cast<richTextAnchorLink &>(obj));
14300 return true;
14301 case richTexts::ID:
14302 func(static_cast<richTexts &>(obj));
14303 return true;
14304 default:
14305 return false;
14306 }
14307}

◆ downcast_call() [156/203]

template<class T >
bool td::td_api::downcast_call ( SavedMessagesTopicType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14316 of file td_api.hpp.

14316 { //-V2008
14317 switch (obj.get_id()) {
14318 case savedMessagesTopicTypeMyNotes::ID:
14319 func(static_cast<savedMessagesTopicTypeMyNotes &>(obj));
14320 return true;
14321 case savedMessagesTopicTypeAuthorHidden::ID:
14322 func(static_cast<savedMessagesTopicTypeAuthorHidden &>(obj));
14323 return true;
14324 case savedMessagesTopicTypeSavedFromChat::ID:
14325 func(static_cast<savedMessagesTopicTypeSavedFromChat &>(obj));
14326 return true;
14327 default:
14328 return false;
14329 }
14330}

◆ downcast_call() [157/203]

template<class T >
bool td::td_api::downcast_call ( SearchMessagesChatTypeFilter obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14339 of file td_api.hpp.

14339 { //-V2008
14340 switch (obj.get_id()) {
14341 case searchMessagesChatTypeFilterPrivate::ID:
14342 func(static_cast<searchMessagesChatTypeFilterPrivate &>(obj));
14343 return true;
14344 case searchMessagesChatTypeFilterGroup::ID:
14345 func(static_cast<searchMessagesChatTypeFilterGroup &>(obj));
14346 return true;
14347 case searchMessagesChatTypeFilterChannel::ID:
14348 func(static_cast<searchMessagesChatTypeFilterChannel &>(obj));
14349 return true;
14350 default:
14351 return false;
14352 }
14353}

◆ downcast_call() [158/203]

template<class T >
bool td::td_api::downcast_call ( SearchMessagesFilter obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14362 of file td_api.hpp.

14362 { //-V2008
14363 switch (obj.get_id()) {
14364 case searchMessagesFilterEmpty::ID:
14365 func(static_cast<searchMessagesFilterEmpty &>(obj));
14366 return true;
14367 case searchMessagesFilterAnimation::ID:
14368 func(static_cast<searchMessagesFilterAnimation &>(obj));
14369 return true;
14370 case searchMessagesFilterAudio::ID:
14371 func(static_cast<searchMessagesFilterAudio &>(obj));
14372 return true;
14373 case searchMessagesFilterDocument::ID:
14374 func(static_cast<searchMessagesFilterDocument &>(obj));
14375 return true;
14376 case searchMessagesFilterPhoto::ID:
14377 func(static_cast<searchMessagesFilterPhoto &>(obj));
14378 return true;
14379 case searchMessagesFilterPoll::ID:
14380 func(static_cast<searchMessagesFilterPoll &>(obj));
14381 return true;
14382 case searchMessagesFilterVideo::ID:
14383 func(static_cast<searchMessagesFilterVideo &>(obj));
14384 return true;
14385 case searchMessagesFilterVoiceNote::ID:
14386 func(static_cast<searchMessagesFilterVoiceNote &>(obj));
14387 return true;
14388 case searchMessagesFilterPhotoAndVideo::ID:
14389 func(static_cast<searchMessagesFilterPhotoAndVideo &>(obj));
14390 return true;
14391 case searchMessagesFilterUrl::ID:
14392 func(static_cast<searchMessagesFilterUrl &>(obj));
14393 return true;
14394 case searchMessagesFilterChatPhoto::ID:
14395 func(static_cast<searchMessagesFilterChatPhoto &>(obj));
14396 return true;
14397 case searchMessagesFilterVideoNote::ID:
14398 func(static_cast<searchMessagesFilterVideoNote &>(obj));
14399 return true;
14400 case searchMessagesFilterVoiceAndVideoNote::ID:
14401 func(static_cast<searchMessagesFilterVoiceAndVideoNote &>(obj));
14402 return true;
14403 case searchMessagesFilterMention::ID:
14404 func(static_cast<searchMessagesFilterMention &>(obj));
14405 return true;
14406 case searchMessagesFilterUnreadMention::ID:
14407 func(static_cast<searchMessagesFilterUnreadMention &>(obj));
14408 return true;
14409 case searchMessagesFilterUnreadReaction::ID:
14410 func(static_cast<searchMessagesFilterUnreadReaction &>(obj));
14411 return true;
14412 case searchMessagesFilterUnreadPollVote::ID:
14413 func(static_cast<searchMessagesFilterUnreadPollVote &>(obj));
14414 return true;
14415 case searchMessagesFilterFailedToSend::ID:
14416 func(static_cast<searchMessagesFilterFailedToSend &>(obj));
14417 return true;
14418 case searchMessagesFilterPinned::ID:
14419 func(static_cast<searchMessagesFilterPinned &>(obj));
14420 return true;
14421 default:
14422 return false;
14423 }
14424}

◆ downcast_call() [159/203]

template<class T >
bool td::td_api::downcast_call ( SecretChatState obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14433 of file td_api.hpp.

14433 { //-V2008
14434 switch (obj.get_id()) {
14435 case secretChatStatePending::ID:
14436 func(static_cast<secretChatStatePending &>(obj));
14437 return true;
14438 case secretChatStateReady::ID:
14439 func(static_cast<secretChatStateReady &>(obj));
14440 return true;
14441 case secretChatStateClosed::ID:
14442 func(static_cast<secretChatStateClosed &>(obj));
14443 return true;
14444 default:
14445 return false;
14446 }
14447}

◆ downcast_call() [160/203]

template<class T >
bool td::td_api::downcast_call ( SentGift obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14456 of file td_api.hpp.

14456 { //-V2008
14457 switch (obj.get_id()) {
14458 case sentGiftRegular::ID:
14459 func(static_cast<sentGiftRegular &>(obj));
14460 return true;
14461 case sentGiftUpgraded::ID:
14462 func(static_cast<sentGiftUpgraded &>(obj));
14463 return true;
14464 default:
14465 return false;
14466 }
14467}

◆ downcast_call() [161/203]

template<class T >
bool td::td_api::downcast_call ( SessionType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14476 of file td_api.hpp.

14476 { //-V2008
14477 switch (obj.get_id()) {
14478 case sessionTypeAndroid::ID:
14479 func(static_cast<sessionTypeAndroid &>(obj));
14480 return true;
14481 case sessionTypeApple::ID:
14482 func(static_cast<sessionTypeApple &>(obj));
14483 return true;
14484 case sessionTypeBrave::ID:
14485 func(static_cast<sessionTypeBrave &>(obj));
14486 return true;
14487 case sessionTypeChrome::ID:
14488 func(static_cast<sessionTypeChrome &>(obj));
14489 return true;
14490 case sessionTypeEdge::ID:
14491 func(static_cast<sessionTypeEdge &>(obj));
14492 return true;
14493 case sessionTypeFirefox::ID:
14494 func(static_cast<sessionTypeFirefox &>(obj));
14495 return true;
14496 case sessionTypeIpad::ID:
14497 func(static_cast<sessionTypeIpad &>(obj));
14498 return true;
14499 case sessionTypeIphone::ID:
14500 func(static_cast<sessionTypeIphone &>(obj));
14501 return true;
14502 case sessionTypeLinux::ID:
14503 func(static_cast<sessionTypeLinux &>(obj));
14504 return true;
14505 case sessionTypeMac::ID:
14506 func(static_cast<sessionTypeMac &>(obj));
14507 return true;
14508 case sessionTypeOpera::ID:
14509 func(static_cast<sessionTypeOpera &>(obj));
14510 return true;
14511 case sessionTypeSafari::ID:
14512 func(static_cast<sessionTypeSafari &>(obj));
14513 return true;
14514 case sessionTypeUbuntu::ID:
14515 func(static_cast<sessionTypeUbuntu &>(obj));
14516 return true;
14517 case sessionTypeUnknown::ID:
14518 func(static_cast<sessionTypeUnknown &>(obj));
14519 return true;
14520 case sessionTypeVivaldi::ID:
14521 func(static_cast<sessionTypeVivaldi &>(obj));
14522 return true;
14523 case sessionTypeWindows::ID:
14524 func(static_cast<sessionTypeWindows &>(obj));
14525 return true;
14526 case sessionTypeXbox::ID:
14527 func(static_cast<sessionTypeXbox &>(obj));
14528 return true;
14529 default:
14530 return false;
14531 }
14532}

◆ downcast_call() [162/203]

template<class T >
bool td::td_api::downcast_call ( SettingsSection obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14541 of file td_api.hpp.

14541 { //-V2008
14542 switch (obj.get_id()) {
14543 case settingsSectionAppearance::ID:
14544 func(static_cast<settingsSectionAppearance &>(obj));
14545 return true;
14546 case settingsSectionAskQuestion::ID:
14547 func(static_cast<settingsSectionAskQuestion &>(obj));
14548 return true;
14549 case settingsSectionBusiness::ID:
14550 func(static_cast<settingsSectionBusiness &>(obj));
14551 return true;
14552 case settingsSectionChatFolders::ID:
14553 func(static_cast<settingsSectionChatFolders &>(obj));
14554 return true;
14555 case settingsSectionDataAndStorage::ID:
14556 func(static_cast<settingsSectionDataAndStorage &>(obj));
14557 return true;
14558 case settingsSectionDevices::ID:
14559 func(static_cast<settingsSectionDevices &>(obj));
14560 return true;
14561 case settingsSectionEditProfile::ID:
14562 func(static_cast<settingsSectionEditProfile &>(obj));
14563 return true;
14564 case settingsSectionFaq::ID:
14565 func(static_cast<settingsSectionFaq &>(obj));
14566 return true;
14567 case settingsSectionFeatures::ID:
14568 func(static_cast<settingsSectionFeatures &>(obj));
14569 return true;
14570 case settingsSectionInAppBrowser::ID:
14571 func(static_cast<settingsSectionInAppBrowser &>(obj));
14572 return true;
14573 case settingsSectionLanguage::ID:
14574 func(static_cast<settingsSectionLanguage &>(obj));
14575 return true;
14576 case settingsSectionMyStars::ID:
14577 func(static_cast<settingsSectionMyStars &>(obj));
14578 return true;
14579 case settingsSectionMyToncoins::ID:
14580 func(static_cast<settingsSectionMyToncoins &>(obj));
14581 return true;
14582 case settingsSectionNotifications::ID:
14583 func(static_cast<settingsSectionNotifications &>(obj));
14584 return true;
14585 case settingsSectionPowerSaving::ID:
14586 func(static_cast<settingsSectionPowerSaving &>(obj));
14587 return true;
14588 case settingsSectionPremium::ID:
14589 func(static_cast<settingsSectionPremium &>(obj));
14590 return true;
14591 case settingsSectionPrivacyAndSecurity::ID:
14592 func(static_cast<settingsSectionPrivacyAndSecurity &>(obj));
14593 return true;
14594 case settingsSectionPrivacyPolicy::ID:
14595 func(static_cast<settingsSectionPrivacyPolicy &>(obj));
14596 return true;
14597 case settingsSectionQrCode::ID:
14598 func(static_cast<settingsSectionQrCode &>(obj));
14599 return true;
14600 case settingsSectionSearch::ID:
14601 func(static_cast<settingsSectionSearch &>(obj));
14602 return true;
14603 case settingsSectionSendGift::ID:
14604 func(static_cast<settingsSectionSendGift &>(obj));
14605 return true;
14606 default:
14607 return false;
14608 }
14609}

◆ downcast_call() [163/203]

template<class T >
bool td::td_api::downcast_call ( SpeechRecognitionResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14618 of file td_api.hpp.

14618 { //-V2008
14619 switch (obj.get_id()) {
14620 case speechRecognitionResultPending::ID:
14621 func(static_cast<speechRecognitionResultPending &>(obj));
14622 return true;
14623 case speechRecognitionResultText::ID:
14624 func(static_cast<speechRecognitionResultText &>(obj));
14625 return true;
14626 case speechRecognitionResultError::ID:
14627 func(static_cast<speechRecognitionResultError &>(obj));
14628 return true;
14629 default:
14630 return false;
14631 }
14632}

◆ downcast_call() [164/203]

template<class T >
bool td::td_api::downcast_call ( StarSubscriptionType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14641 of file td_api.hpp.

14641 { //-V2008
14642 switch (obj.get_id()) {
14643 case starSubscriptionTypeChannel::ID:
14644 func(static_cast<starSubscriptionTypeChannel &>(obj));
14645 return true;
14646 case starSubscriptionTypeBot::ID:
14647 func(static_cast<starSubscriptionTypeBot &>(obj));
14648 return true;
14649 default:
14650 return false;
14651 }
14652}

◆ downcast_call() [165/203]

template<class T >
bool td::td_api::downcast_call ( StartLiveStoryResult obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14810 of file td_api.hpp.

14810 { //-V2008
14811 switch (obj.get_id()) {
14812 case startLiveStoryResultOk::ID:
14813 func(static_cast<startLiveStoryResultOk &>(obj));
14814 return true;
14815 case startLiveStoryResultFail::ID:
14816 func(static_cast<startLiveStoryResultFail &>(obj));
14817 return true;
14818 default:
14819 return false;
14820 }
14821}

◆ downcast_call() [166/203]

template<class T >
bool td::td_api::downcast_call ( StarTransactionType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14661 of file td_api.hpp.

14661 { //-V2008
14662 switch (obj.get_id()) {
14663 case starTransactionTypePremiumBotDeposit::ID:
14664 func(static_cast<starTransactionTypePremiumBotDeposit &>(obj));
14665 return true;
14666 case starTransactionTypeAppStoreDeposit::ID:
14667 func(static_cast<starTransactionTypeAppStoreDeposit &>(obj));
14668 return true;
14669 case starTransactionTypeGooglePlayDeposit::ID:
14670 func(static_cast<starTransactionTypeGooglePlayDeposit &>(obj));
14671 return true;
14672 case starTransactionTypeFragmentDeposit::ID:
14673 func(static_cast<starTransactionTypeFragmentDeposit &>(obj));
14674 return true;
14675 case starTransactionTypeUserDeposit::ID:
14676 func(static_cast<starTransactionTypeUserDeposit &>(obj));
14677 return true;
14678 case starTransactionTypeGiveawayDeposit::ID:
14679 func(static_cast<starTransactionTypeGiveawayDeposit &>(obj));
14680 return true;
14681 case starTransactionTypeFragmentWithdrawal::ID:
14682 func(static_cast<starTransactionTypeFragmentWithdrawal &>(obj));
14683 return true;
14684 case starTransactionTypeTelegramAdsWithdrawal::ID:
14685 func(static_cast<starTransactionTypeTelegramAdsWithdrawal &>(obj));
14686 return true;
14687 case starTransactionTypeTelegramApiUsage::ID:
14688 func(static_cast<starTransactionTypeTelegramApiUsage &>(obj));
14689 return true;
14690 case starTransactionTypeBotPaidMediaPurchase::ID:
14691 func(static_cast<starTransactionTypeBotPaidMediaPurchase &>(obj));
14692 return true;
14693 case starTransactionTypeBotPaidMediaSale::ID:
14694 func(static_cast<starTransactionTypeBotPaidMediaSale &>(obj));
14695 return true;
14696 case starTransactionTypeChannelPaidMediaPurchase::ID:
14697 func(static_cast<starTransactionTypeChannelPaidMediaPurchase &>(obj));
14698 return true;
14699 case starTransactionTypeChannelPaidMediaSale::ID:
14700 func(static_cast<starTransactionTypeChannelPaidMediaSale &>(obj));
14701 return true;
14702 case starTransactionTypeBotInvoicePurchase::ID:
14703 func(static_cast<starTransactionTypeBotInvoicePurchase &>(obj));
14704 return true;
14705 case starTransactionTypeBotInvoiceSale::ID:
14706 func(static_cast<starTransactionTypeBotInvoiceSale &>(obj));
14707 return true;
14708 case starTransactionTypeBotSubscriptionPurchase::ID:
14709 func(static_cast<starTransactionTypeBotSubscriptionPurchase &>(obj));
14710 return true;
14711 case starTransactionTypeBotSubscriptionSale::ID:
14712 func(static_cast<starTransactionTypeBotSubscriptionSale &>(obj));
14713 return true;
14714 case starTransactionTypeChannelSubscriptionPurchase::ID:
14715 func(static_cast<starTransactionTypeChannelSubscriptionPurchase &>(obj));
14716 return true;
14717 case starTransactionTypeChannelSubscriptionSale::ID:
14718 func(static_cast<starTransactionTypeChannelSubscriptionSale &>(obj));
14719 return true;
14720 case starTransactionTypeGiftAuctionBid::ID:
14721 func(static_cast<starTransactionTypeGiftAuctionBid &>(obj));
14722 return true;
14723 case starTransactionTypeGiftPurchase::ID:
14724 func(static_cast<starTransactionTypeGiftPurchase &>(obj));
14725 return true;
14726 case starTransactionTypeGiftPurchaseOffer::ID:
14727 func(static_cast<starTransactionTypeGiftPurchaseOffer &>(obj));
14728 return true;
14729 case starTransactionTypeGiftTransfer::ID:
14730 func(static_cast<starTransactionTypeGiftTransfer &>(obj));
14731 return true;
14732 case starTransactionTypeGiftOriginalDetailsDrop::ID:
14733 func(static_cast<starTransactionTypeGiftOriginalDetailsDrop &>(obj));
14734 return true;
14735 case starTransactionTypeGiftSale::ID:
14736 func(static_cast<starTransactionTypeGiftSale &>(obj));
14737 return true;
14738 case starTransactionTypeGiftUpgrade::ID:
14739 func(static_cast<starTransactionTypeGiftUpgrade &>(obj));
14740 return true;
14741 case starTransactionTypeGiftUpgradePurchase::ID:
14742 func(static_cast<starTransactionTypeGiftUpgradePurchase &>(obj));
14743 return true;
14744 case starTransactionTypeUpgradedGiftPurchase::ID:
14745 func(static_cast<starTransactionTypeUpgradedGiftPurchase &>(obj));
14746 return true;
14747 case starTransactionTypeUpgradedGiftSale::ID:
14748 func(static_cast<starTransactionTypeUpgradedGiftSale &>(obj));
14749 return true;
14750 case starTransactionTypeChannelPaidReactionSend::ID:
14751 func(static_cast<starTransactionTypeChannelPaidReactionSend &>(obj));
14752 return true;
14753 case starTransactionTypeChannelPaidReactionReceive::ID:
14754 func(static_cast<starTransactionTypeChannelPaidReactionReceive &>(obj));
14755 return true;
14756 case starTransactionTypeAffiliateProgramCommission::ID:
14757 func(static_cast<starTransactionTypeAffiliateProgramCommission &>(obj));
14758 return true;
14759 case starTransactionTypePaidMessageSend::ID:
14760 func(static_cast<starTransactionTypePaidMessageSend &>(obj));
14761 return true;
14762 case starTransactionTypePaidMessageReceive::ID:
14763 func(static_cast<starTransactionTypePaidMessageReceive &>(obj));
14764 return true;
14765 case starTransactionTypePaidGroupCallMessageSend::ID:
14766 func(static_cast<starTransactionTypePaidGroupCallMessageSend &>(obj));
14767 return true;
14768 case starTransactionTypePaidGroupCallMessageReceive::ID:
14769 func(static_cast<starTransactionTypePaidGroupCallMessageReceive &>(obj));
14770 return true;
14771 case starTransactionTypePaidGroupCallReactionSend::ID:
14772 func(static_cast<starTransactionTypePaidGroupCallReactionSend &>(obj));
14773 return true;
14774 case starTransactionTypePaidGroupCallReactionReceive::ID:
14775 func(static_cast<starTransactionTypePaidGroupCallReactionReceive &>(obj));
14776 return true;
14777 case starTransactionTypeSuggestedPostPaymentSend::ID:
14778 func(static_cast<starTransactionTypeSuggestedPostPaymentSend &>(obj));
14779 return true;
14780 case starTransactionTypeSuggestedPostPaymentReceive::ID:
14781 func(static_cast<starTransactionTypeSuggestedPostPaymentReceive &>(obj));
14782 return true;
14783 case starTransactionTypePremiumPurchase::ID:
14784 func(static_cast<starTransactionTypePremiumPurchase &>(obj));
14785 return true;
14786 case starTransactionTypeBusinessBotTransferSend::ID:
14787 func(static_cast<starTransactionTypeBusinessBotTransferSend &>(obj));
14788 return true;
14789 case starTransactionTypeBusinessBotTransferReceive::ID:
14790 func(static_cast<starTransactionTypeBusinessBotTransferReceive &>(obj));
14791 return true;
14792 case starTransactionTypePublicPostSearch::ID:
14793 func(static_cast<starTransactionTypePublicPostSearch &>(obj));
14794 return true;
14795 case starTransactionTypeUnsupported::ID:
14796 func(static_cast<starTransactionTypeUnsupported &>(obj));
14797 return true;
14798 default:
14799 return false;
14800 }
14801}

◆ downcast_call() [167/203]

template<class T >
bool td::td_api::downcast_call ( StatisticalGraph obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14830 of file td_api.hpp.

14830 { //-V2008
14831 switch (obj.get_id()) {
14832 case statisticalGraphData::ID:
14833 func(static_cast<statisticalGraphData &>(obj));
14834 return true;
14835 case statisticalGraphAsync::ID:
14836 func(static_cast<statisticalGraphAsync &>(obj));
14837 return true;
14838 case statisticalGraphError::ID:
14839 func(static_cast<statisticalGraphError &>(obj));
14840 return true;
14841 default:
14842 return false;
14843 }
14844}

◆ downcast_call() [168/203]

template<class T >
bool td::td_api::downcast_call ( StickerFormat obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14853 of file td_api.hpp.

14853 { //-V2008
14854 switch (obj.get_id()) {
14855 case stickerFormatWebp::ID:
14856 func(static_cast<stickerFormatWebp &>(obj));
14857 return true;
14858 case stickerFormatTgs::ID:
14859 func(static_cast<stickerFormatTgs &>(obj));
14860 return true;
14861 case stickerFormatWebm::ID:
14862 func(static_cast<stickerFormatWebm &>(obj));
14863 return true;
14864 default:
14865 return false;
14866 }
14867}

◆ downcast_call() [169/203]

template<class T >
bool td::td_api::downcast_call ( StickerFullType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14876 of file td_api.hpp.

14876 { //-V2008
14877 switch (obj.get_id()) {
14878 case stickerFullTypeRegular::ID:
14879 func(static_cast<stickerFullTypeRegular &>(obj));
14880 return true;
14881 case stickerFullTypeMask::ID:
14882 func(static_cast<stickerFullTypeMask &>(obj));
14883 return true;
14884 case stickerFullTypeCustomEmoji::ID:
14885 func(static_cast<stickerFullTypeCustomEmoji &>(obj));
14886 return true;
14887 default:
14888 return false;
14889 }
14890}

◆ downcast_call() [170/203]

template<class T >
bool td::td_api::downcast_call ( StickerType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14899 of file td_api.hpp.

14899 { //-V2008
14900 switch (obj.get_id()) {
14901 case stickerTypeRegular::ID:
14902 func(static_cast<stickerTypeRegular &>(obj));
14903 return true;
14904 case stickerTypeMask::ID:
14905 func(static_cast<stickerTypeMask &>(obj));
14906 return true;
14907 case stickerTypeCustomEmoji::ID:
14908 func(static_cast<stickerTypeCustomEmoji &>(obj));
14909 return true;
14910 default:
14911 return false;
14912 }
14913}

◆ downcast_call() [171/203]

template<class T >
bool td::td_api::downcast_call ( StorePaymentPurpose obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14922 of file td_api.hpp.

14922 { //-V2008
14923 switch (obj.get_id()) {
14924 case storePaymentPurposePremiumSubscription::ID:
14925 func(static_cast<storePaymentPurposePremiumSubscription &>(obj));
14926 return true;
14927 case storePaymentPurposePremiumGift::ID:
14928 func(static_cast<storePaymentPurposePremiumGift &>(obj));
14929 return true;
14930 case storePaymentPurposePremiumGiftCodes::ID:
14931 func(static_cast<storePaymentPurposePremiumGiftCodes &>(obj));
14932 return true;
14933 case storePaymentPurposePremiumGiveaway::ID:
14934 func(static_cast<storePaymentPurposePremiumGiveaway &>(obj));
14935 return true;
14936 case storePaymentPurposeStarGiveaway::ID:
14937 func(static_cast<storePaymentPurposeStarGiveaway &>(obj));
14938 return true;
14939 case storePaymentPurposeStars::ID:
14940 func(static_cast<storePaymentPurposeStars &>(obj));
14941 return true;
14942 case storePaymentPurposeGiftedStars::ID:
14943 func(static_cast<storePaymentPurposeGiftedStars &>(obj));
14944 return true;
14945 default:
14946 return false;
14947 }
14948}

◆ downcast_call() [172/203]

template<class T >
bool td::td_api::downcast_call ( StoreTransaction obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14957 of file td_api.hpp.

14957 { //-V2008
14958 switch (obj.get_id()) {
14959 case storeTransactionAppStore::ID:
14960 func(static_cast<storeTransactionAppStore &>(obj));
14961 return true;
14962 case storeTransactionGooglePlay::ID:
14963 func(static_cast<storeTransactionGooglePlay &>(obj));
14964 return true;
14965 default:
14966 return false;
14967 }
14968}

◆ downcast_call() [173/203]

template<class T >
bool td::td_api::downcast_call ( StoryAreaType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 14977 of file td_api.hpp.

14977 { //-V2008
14978 switch (obj.get_id()) {
14979 case storyAreaTypeLocation::ID:
14980 func(static_cast<storyAreaTypeLocation &>(obj));
14981 return true;
14982 case storyAreaTypeVenue::ID:
14983 func(static_cast<storyAreaTypeVenue &>(obj));
14984 return true;
14985 case storyAreaTypeSuggestedReaction::ID:
14986 func(static_cast<storyAreaTypeSuggestedReaction &>(obj));
14987 return true;
14988 case storyAreaTypeMessage::ID:
14989 func(static_cast<storyAreaTypeMessage &>(obj));
14990 return true;
14991 case storyAreaTypeLink::ID:
14992 func(static_cast<storyAreaTypeLink &>(obj));
14993 return true;
14994 case storyAreaTypeWeather::ID:
14995 func(static_cast<storyAreaTypeWeather &>(obj));
14996 return true;
14997 case storyAreaTypeUpgradedGift::ID:
14998 func(static_cast<storyAreaTypeUpgradedGift &>(obj));
14999 return true;
15000 default:
15001 return false;
15002 }
15003}

◆ downcast_call() [174/203]

template<class T >
bool td::td_api::downcast_call ( StoryContent obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15012 of file td_api.hpp.

15012 { //-V2008
15013 switch (obj.get_id()) {
15014 case storyContentPhoto::ID:
15015 func(static_cast<storyContentPhoto &>(obj));
15016 return true;
15017 case storyContentVideo::ID:
15018 func(static_cast<storyContentVideo &>(obj));
15019 return true;
15020 case storyContentLive::ID:
15021 func(static_cast<storyContentLive &>(obj));
15022 return true;
15023 case storyContentUnsupported::ID:
15024 func(static_cast<storyContentUnsupported &>(obj));
15025 return true;
15026 default:
15027 return false;
15028 }
15029}

◆ downcast_call() [175/203]

template<class T >
bool td::td_api::downcast_call ( StoryContentType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15038 of file td_api.hpp.

15038 { //-V2008
15039 switch (obj.get_id()) {
15040 case storyContentTypePhoto::ID:
15041 func(static_cast<storyContentTypePhoto &>(obj));
15042 return true;
15043 case storyContentTypeVideo::ID:
15044 func(static_cast<storyContentTypeVideo &>(obj));
15045 return true;
15046 case storyContentTypeLive::ID:
15047 func(static_cast<storyContentTypeLive &>(obj));
15048 return true;
15049 case storyContentTypeUnsupported::ID:
15050 func(static_cast<storyContentTypeUnsupported &>(obj));
15051 return true;
15052 default:
15053 return false;
15054 }
15055}

◆ downcast_call() [176/203]

template<class T >
bool td::td_api::downcast_call ( StoryInteractionType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15064 of file td_api.hpp.

15064 { //-V2008
15065 switch (obj.get_id()) {
15066 case storyInteractionTypeView::ID:
15067 func(static_cast<storyInteractionTypeView &>(obj));
15068 return true;
15069 case storyInteractionTypeForward::ID:
15070 func(static_cast<storyInteractionTypeForward &>(obj));
15071 return true;
15072 case storyInteractionTypeRepost::ID:
15073 func(static_cast<storyInteractionTypeRepost &>(obj));
15074 return true;
15075 default:
15076 return false;
15077 }
15078}

◆ downcast_call() [177/203]

template<class T >
bool td::td_api::downcast_call ( StoryList obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15087 of file td_api.hpp.

15087 { //-V2008
15088 switch (obj.get_id()) {
15089 case storyListMain::ID:
15090 func(static_cast<storyListMain &>(obj));
15091 return true;
15092 case storyListArchive::ID:
15093 func(static_cast<storyListArchive &>(obj));
15094 return true;
15095 default:
15096 return false;
15097 }
15098}

◆ downcast_call() [178/203]

template<class T >
bool td::td_api::downcast_call ( StoryOrigin obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15107 of file td_api.hpp.

15107 { //-V2008
15108 switch (obj.get_id()) {
15109 case storyOriginPublicStory::ID:
15110 func(static_cast<storyOriginPublicStory &>(obj));
15111 return true;
15112 case storyOriginHiddenUser::ID:
15113 func(static_cast<storyOriginHiddenUser &>(obj));
15114 return true;
15115 default:
15116 return false;
15117 }
15118}

◆ downcast_call() [179/203]

template<class T >
bool td::td_api::downcast_call ( StoryPrivacySettings obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15127 of file td_api.hpp.

15127 { //-V2008
15128 switch (obj.get_id()) {
15129 case storyPrivacySettingsEveryone::ID:
15130 func(static_cast<storyPrivacySettingsEveryone &>(obj));
15131 return true;
15132 case storyPrivacySettingsContacts::ID:
15133 func(static_cast<storyPrivacySettingsContacts &>(obj));
15134 return true;
15135 case storyPrivacySettingsCloseFriends::ID:
15136 func(static_cast<storyPrivacySettingsCloseFriends &>(obj));
15137 return true;
15138 case storyPrivacySettingsSelectedUsers::ID:
15139 func(static_cast<storyPrivacySettingsSelectedUsers &>(obj));
15140 return true;
15141 default:
15142 return false;
15143 }
15144}

◆ downcast_call() [180/203]

template<class T >
bool td::td_api::downcast_call ( SuggestedAction obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15153 of file td_api.hpp.

15153 { //-V2008
15154 switch (obj.get_id()) {
15155 case suggestedActionEnableArchiveAndMuteNewChats::ID:
15156 func(static_cast<suggestedActionEnableArchiveAndMuteNewChats &>(obj));
15157 return true;
15158 case suggestedActionCheckPassword::ID:
15159 func(static_cast<suggestedActionCheckPassword &>(obj));
15160 return true;
15161 case suggestedActionCheckPhoneNumber::ID:
15162 func(static_cast<suggestedActionCheckPhoneNumber &>(obj));
15163 return true;
15164 case suggestedActionViewChecksHint::ID:
15165 func(static_cast<suggestedActionViewChecksHint &>(obj));
15166 return true;
15167 case suggestedActionConvertToBroadcastGroup::ID:
15168 func(static_cast<suggestedActionConvertToBroadcastGroup &>(obj));
15169 return true;
15170 case suggestedActionSetPassword::ID:
15171 func(static_cast<suggestedActionSetPassword &>(obj));
15172 return true;
15173 case suggestedActionUpgradePremium::ID:
15174 func(static_cast<suggestedActionUpgradePremium &>(obj));
15175 return true;
15176 case suggestedActionRestorePremium::ID:
15177 func(static_cast<suggestedActionRestorePremium &>(obj));
15178 return true;
15179 case suggestedActionSubscribeToAnnualPremium::ID:
15180 func(static_cast<suggestedActionSubscribeToAnnualPremium &>(obj));
15181 return true;
15182 case suggestedActionGiftPremiumForChristmas::ID:
15183 func(static_cast<suggestedActionGiftPremiumForChristmas &>(obj));
15184 return true;
15185 case suggestedActionSetBirthdate::ID:
15186 func(static_cast<suggestedActionSetBirthdate &>(obj));
15187 return true;
15188 case suggestedActionSetProfilePhoto::ID:
15189 func(static_cast<suggestedActionSetProfilePhoto &>(obj));
15190 return true;
15191 case suggestedActionExtendPremium::ID:
15192 func(static_cast<suggestedActionExtendPremium &>(obj));
15193 return true;
15194 case suggestedActionExtendStarSubscriptions::ID:
15195 func(static_cast<suggestedActionExtendStarSubscriptions &>(obj));
15196 return true;
15197 case suggestedActionCustom::ID:
15198 func(static_cast<suggestedActionCustom &>(obj));
15199 return true;
15200 case suggestedActionSetLoginEmailAddress::ID:
15201 func(static_cast<suggestedActionSetLoginEmailAddress &>(obj));
15202 return true;
15203 case suggestedActionAddLoginPasskey::ID:
15204 func(static_cast<suggestedActionAddLoginPasskey &>(obj));
15205 return true;
15206 default:
15207 return false;
15208 }
15209}

◆ downcast_call() [181/203]

template<class T >
bool td::td_api::downcast_call ( SuggestedPostPrice obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15218 of file td_api.hpp.

15218 { //-V2008
15219 switch (obj.get_id()) {
15220 case suggestedPostPriceStar::ID:
15221 func(static_cast<suggestedPostPriceStar &>(obj));
15222 return true;
15223 case suggestedPostPriceTon::ID:
15224 func(static_cast<suggestedPostPriceTon &>(obj));
15225 return true;
15226 default:
15227 return false;
15228 }
15229}

◆ downcast_call() [182/203]

template<class T >
bool td::td_api::downcast_call ( SuggestedPostRefundReason obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15238 of file td_api.hpp.

15238 { //-V2008
15239 switch (obj.get_id()) {
15240 case suggestedPostRefundReasonPostDeleted::ID:
15241 func(static_cast<suggestedPostRefundReasonPostDeleted &>(obj));
15242 return true;
15243 case suggestedPostRefundReasonPaymentRefunded::ID:
15244 func(static_cast<suggestedPostRefundReasonPaymentRefunded &>(obj));
15245 return true;
15246 default:
15247 return false;
15248 }
15249}

◆ downcast_call() [183/203]

template<class T >
bool td::td_api::downcast_call ( SuggestedPostState obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15258 of file td_api.hpp.

15258 { //-V2008
15259 switch (obj.get_id()) {
15260 case suggestedPostStatePending::ID:
15261 func(static_cast<suggestedPostStatePending &>(obj));
15262 return true;
15263 case suggestedPostStateApproved::ID:
15264 func(static_cast<suggestedPostStateApproved &>(obj));
15265 return true;
15266 case suggestedPostStateDeclined::ID:
15267 func(static_cast<suggestedPostStateDeclined &>(obj));
15268 return true;
15269 default:
15270 return false;
15271 }
15272}

◆ downcast_call() [184/203]

template<class T >
bool td::td_api::downcast_call ( SupergroupMembersFilter obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15281 of file td_api.hpp.

15281 { //-V2008
15282 switch (obj.get_id()) {
15283 case supergroupMembersFilterRecent::ID:
15284 func(static_cast<supergroupMembersFilterRecent &>(obj));
15285 return true;
15286 case supergroupMembersFilterContacts::ID:
15287 func(static_cast<supergroupMembersFilterContacts &>(obj));
15288 return true;
15289 case supergroupMembersFilterAdministrators::ID:
15290 func(static_cast<supergroupMembersFilterAdministrators &>(obj));
15291 return true;
15292 case supergroupMembersFilterSearch::ID:
15293 func(static_cast<supergroupMembersFilterSearch &>(obj));
15294 return true;
15295 case supergroupMembersFilterRestricted::ID:
15296 func(static_cast<supergroupMembersFilterRestricted &>(obj));
15297 return true;
15298 case supergroupMembersFilterBanned::ID:
15299 func(static_cast<supergroupMembersFilterBanned &>(obj));
15300 return true;
15301 case supergroupMembersFilterMention::ID:
15302 func(static_cast<supergroupMembersFilterMention &>(obj));
15303 return true;
15304 case supergroupMembersFilterBots::ID:
15305 func(static_cast<supergroupMembersFilterBots &>(obj));
15306 return true;
15307 default:
15308 return false;
15309 }
15310}

◆ downcast_call() [185/203]

template<class T >
bool td::td_api::downcast_call ( TargetChat obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15345 of file td_api.hpp.

15345 { //-V2008
15346 switch (obj.get_id()) {
15347 case targetChatCurrent::ID:
15348 func(static_cast<targetChatCurrent &>(obj));
15349 return true;
15350 case targetChatChosen::ID:
15351 func(static_cast<targetChatChosen &>(obj));
15352 return true;
15353 case targetChatInternalLink::ID:
15354 func(static_cast<targetChatInternalLink &>(obj));
15355 return true;
15356 default:
15357 return false;
15358 }
15359}

◆ downcast_call() [186/203]

template<class T >
bool td::td_api::downcast_call ( TelegramPaymentPurpose obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15368 of file td_api.hpp.

15368 { //-V2008
15369 switch (obj.get_id()) {
15370 case telegramPaymentPurposePremiumGift::ID:
15371 func(static_cast<telegramPaymentPurposePremiumGift &>(obj));
15372 return true;
15373 case telegramPaymentPurposePremiumGiftCodes::ID:
15374 func(static_cast<telegramPaymentPurposePremiumGiftCodes &>(obj));
15375 return true;
15376 case telegramPaymentPurposePremiumGiveaway::ID:
15377 func(static_cast<telegramPaymentPurposePremiumGiveaway &>(obj));
15378 return true;
15379 case telegramPaymentPurposeStars::ID:
15380 func(static_cast<telegramPaymentPurposeStars &>(obj));
15381 return true;
15382 case telegramPaymentPurposeGiftedStars::ID:
15383 func(static_cast<telegramPaymentPurposeGiftedStars &>(obj));
15384 return true;
15385 case telegramPaymentPurposeStarGiveaway::ID:
15386 func(static_cast<telegramPaymentPurposeStarGiveaway &>(obj));
15387 return true;
15388 case telegramPaymentPurposeJoinChat::ID:
15389 func(static_cast<telegramPaymentPurposeJoinChat &>(obj));
15390 return true;
15391 default:
15392 return false;
15393 }
15394}

◆ downcast_call() [187/203]

template<class T >
bool td::td_api::downcast_call ( TextEntityType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15403 of file td_api.hpp.

15403 { //-V2008
15404 switch (obj.get_id()) {
15405 case textEntityTypeMention::ID:
15406 func(static_cast<textEntityTypeMention &>(obj));
15407 return true;
15408 case textEntityTypeHashtag::ID:
15409 func(static_cast<textEntityTypeHashtag &>(obj));
15410 return true;
15411 case textEntityTypeCashtag::ID:
15412 func(static_cast<textEntityTypeCashtag &>(obj));
15413 return true;
15414 case textEntityTypeBotCommand::ID:
15415 func(static_cast<textEntityTypeBotCommand &>(obj));
15416 return true;
15417 case textEntityTypeUrl::ID:
15418 func(static_cast<textEntityTypeUrl &>(obj));
15419 return true;
15420 case textEntityTypeEmailAddress::ID:
15421 func(static_cast<textEntityTypeEmailAddress &>(obj));
15422 return true;
15423 case textEntityTypePhoneNumber::ID:
15424 func(static_cast<textEntityTypePhoneNumber &>(obj));
15425 return true;
15426 case textEntityTypeBankCardNumber::ID:
15427 func(static_cast<textEntityTypeBankCardNumber &>(obj));
15428 return true;
15429 case textEntityTypeBold::ID:
15430 func(static_cast<textEntityTypeBold &>(obj));
15431 return true;
15432 case textEntityTypeItalic::ID:
15433 func(static_cast<textEntityTypeItalic &>(obj));
15434 return true;
15435 case textEntityTypeUnderline::ID:
15436 func(static_cast<textEntityTypeUnderline &>(obj));
15437 return true;
15438 case textEntityTypeStrikethrough::ID:
15439 func(static_cast<textEntityTypeStrikethrough &>(obj));
15440 return true;
15441 case textEntityTypeSpoiler::ID:
15442 func(static_cast<textEntityTypeSpoiler &>(obj));
15443 return true;
15444 case textEntityTypeCode::ID:
15445 func(static_cast<textEntityTypeCode &>(obj));
15446 return true;
15447 case textEntityTypePre::ID:
15448 func(static_cast<textEntityTypePre &>(obj));
15449 return true;
15450 case textEntityTypePreCode::ID:
15451 func(static_cast<textEntityTypePreCode &>(obj));
15452 return true;
15453 case textEntityTypeBlockQuote::ID:
15454 func(static_cast<textEntityTypeBlockQuote &>(obj));
15455 return true;
15456 case textEntityTypeExpandableBlockQuote::ID:
15457 func(static_cast<textEntityTypeExpandableBlockQuote &>(obj));
15458 return true;
15459 case textEntityTypeTextUrl::ID:
15460 func(static_cast<textEntityTypeTextUrl &>(obj));
15461 return true;
15462 case textEntityTypeMentionName::ID:
15463 func(static_cast<textEntityTypeMentionName &>(obj));
15464 return true;
15465 case textEntityTypeCustomEmoji::ID:
15466 func(static_cast<textEntityTypeCustomEmoji &>(obj));
15467 return true;
15468 case textEntityTypeMediaTimestamp::ID:
15469 func(static_cast<textEntityTypeMediaTimestamp &>(obj));
15470 return true;
15471 case textEntityTypeDateTime::ID:
15472 func(static_cast<textEntityTypeDateTime &>(obj));
15473 return true;
15474 default:
15475 return false;
15476 }
15477}

◆ downcast_call() [188/203]

template<class T >
bool td::td_api::downcast_call ( TextParseMode obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15486 of file td_api.hpp.

15486 { //-V2008
15487 switch (obj.get_id()) {
15488 case textParseModeMarkdown::ID:
15489 func(static_cast<textParseModeMarkdown &>(obj));
15490 return true;
15491 case textParseModeHTML::ID:
15492 func(static_cast<textParseModeHTML &>(obj));
15493 return true;
15494 default:
15495 return false;
15496 }
15497}

◆ downcast_call() [189/203]

template<class T >
bool td::td_api::downcast_call ( ThumbnailFormat obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15506 of file td_api.hpp.

15506 { //-V2008
15507 switch (obj.get_id()) {
15508 case thumbnailFormatJpeg::ID:
15509 func(static_cast<thumbnailFormatJpeg &>(obj));
15510 return true;
15511 case thumbnailFormatGif::ID:
15512 func(static_cast<thumbnailFormatGif &>(obj));
15513 return true;
15514 case thumbnailFormatMpeg4::ID:
15515 func(static_cast<thumbnailFormatMpeg4 &>(obj));
15516 return true;
15517 case thumbnailFormatPng::ID:
15518 func(static_cast<thumbnailFormatPng &>(obj));
15519 return true;
15520 case thumbnailFormatTgs::ID:
15521 func(static_cast<thumbnailFormatTgs &>(obj));
15522 return true;
15523 case thumbnailFormatWebm::ID:
15524 func(static_cast<thumbnailFormatWebm &>(obj));
15525 return true;
15526 case thumbnailFormatWebp::ID:
15527 func(static_cast<thumbnailFormatWebp &>(obj));
15528 return true;
15529 default:
15530 return false;
15531 }
15532}

◆ downcast_call() [190/203]

template<class T >
bool td::td_api::downcast_call ( TMeUrlType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15319 of file td_api.hpp.

15319 { //-V2008
15320 switch (obj.get_id()) {
15321 case tMeUrlTypeUser::ID:
15322 func(static_cast<tMeUrlTypeUser &>(obj));
15323 return true;
15324 case tMeUrlTypeSupergroup::ID:
15325 func(static_cast<tMeUrlTypeSupergroup &>(obj));
15326 return true;
15327 case tMeUrlTypeChatInvite::ID:
15328 func(static_cast<tMeUrlTypeChatInvite &>(obj));
15329 return true;
15330 case tMeUrlTypeStickerSet::ID:
15331 func(static_cast<tMeUrlTypeStickerSet &>(obj));
15332 return true;
15333 default:
15334 return false;
15335 }
15336}

◆ downcast_call() [191/203]

template<class T >
bool td::td_api::downcast_call ( TonTransactionType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15541 of file td_api.hpp.

15541 { //-V2008
15542 switch (obj.get_id()) {
15543 case tonTransactionTypeFragmentDeposit::ID:
15544 func(static_cast<tonTransactionTypeFragmentDeposit &>(obj));
15545 return true;
15546 case tonTransactionTypeFragmentWithdrawal::ID:
15547 func(static_cast<tonTransactionTypeFragmentWithdrawal &>(obj));
15548 return true;
15549 case tonTransactionTypeSuggestedPostPayment::ID:
15550 func(static_cast<tonTransactionTypeSuggestedPostPayment &>(obj));
15551 return true;
15552 case tonTransactionTypeGiftPurchaseOffer::ID:
15553 func(static_cast<tonTransactionTypeGiftPurchaseOffer &>(obj));
15554 return true;
15555 case tonTransactionTypeUpgradedGiftPurchase::ID:
15556 func(static_cast<tonTransactionTypeUpgradedGiftPurchase &>(obj));
15557 return true;
15558 case tonTransactionTypeUpgradedGiftSale::ID:
15559 func(static_cast<tonTransactionTypeUpgradedGiftSale &>(obj));
15560 return true;
15561 case tonTransactionTypeStakeDiceStake::ID:
15562 func(static_cast<tonTransactionTypeStakeDiceStake &>(obj));
15563 return true;
15564 case tonTransactionTypeStakeDicePayout::ID:
15565 func(static_cast<tonTransactionTypeStakeDicePayout &>(obj));
15566 return true;
15567 case tonTransactionTypeUnsupported::ID:
15568 func(static_cast<tonTransactionTypeUnsupported &>(obj));
15569 return true;
15570 default:
15571 return false;
15572 }
15573}

◆ downcast_call() [192/203]

template<class T >
bool td::td_api::downcast_call ( TopChatCategory obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15582 of file td_api.hpp.

15582 { //-V2008
15583 switch (obj.get_id()) {
15584 case topChatCategoryUsers::ID:
15585 func(static_cast<topChatCategoryUsers &>(obj));
15586 return true;
15587 case topChatCategoryBots::ID:
15588 func(static_cast<topChatCategoryBots &>(obj));
15589 return true;
15590 case topChatCategoryGroups::ID:
15591 func(static_cast<topChatCategoryGroups &>(obj));
15592 return true;
15593 case topChatCategoryChannels::ID:
15594 func(static_cast<topChatCategoryChannels &>(obj));
15595 return true;
15596 case topChatCategoryInlineBots::ID:
15597 func(static_cast<topChatCategoryInlineBots &>(obj));
15598 return true;
15599 case topChatCategoryWebAppBots::ID:
15600 func(static_cast<topChatCategoryWebAppBots &>(obj));
15601 return true;
15602 case topChatCategoryCalls::ID:
15603 func(static_cast<topChatCategoryCalls &>(obj));
15604 return true;
15605 case topChatCategoryForwardChats::ID:
15606 func(static_cast<topChatCategoryForwardChats &>(obj));
15607 return true;
15608 default:
15609 return false;
15610 }
15611}

◆ downcast_call() [193/203]

template<class T >
bool td::td_api::downcast_call ( TransactionDirection obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15620 of file td_api.hpp.

15620 { //-V2008
15621 switch (obj.get_id()) {
15622 case transactionDirectionIncoming::ID:
15623 func(static_cast<transactionDirectionIncoming &>(obj));
15624 return true;
15625 case transactionDirectionOutgoing::ID:
15626 func(static_cast<transactionDirectionOutgoing &>(obj));
15627 return true;
15628 default:
15629 return false;
15630 }
15631}

◆ downcast_call() [194/203]

template<class T >
bool td::td_api::downcast_call ( Update obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 15640 of file td_api.hpp.

15640 { //-V2008
15641 switch (obj.get_id()) {
15642 case updateAuthorizationState::ID:
15643 func(static_cast<updateAuthorizationState &>(obj));
15644 return true;
15645 case updateNewMessage::ID:
15646 func(static_cast<updateNewMessage &>(obj));
15647 return true;
15648 case updateMessageSendAcknowledged::ID:
15649 func(static_cast<updateMessageSendAcknowledged &>(obj));
15650 return true;
15651 case updateMessageSendSucceeded::ID:
15652 func(static_cast<updateMessageSendSucceeded &>(obj));
15653 return true;
15654 case updateMessageSendFailed::ID:
15655 func(static_cast<updateMessageSendFailed &>(obj));
15656 return true;
15657 case updateMessageContent::ID:
15658 func(static_cast<updateMessageContent &>(obj));
15659 return true;
15660 case updateMessageEdited::ID:
15661 func(static_cast<updateMessageEdited &>(obj));
15662 return true;
15663 case updateMessageIsPinned::ID:
15664 func(static_cast<updateMessageIsPinned &>(obj));
15665 return true;
15666 case updateMessageInteractionInfo::ID:
15667 func(static_cast<updateMessageInteractionInfo &>(obj));
15668 return true;
15669 case updateMessageContentOpened::ID:
15670 func(static_cast<updateMessageContentOpened &>(obj));
15671 return true;
15672 case updateMessageMentionRead::ID:
15673 func(static_cast<updateMessageMentionRead &>(obj));
15674 return true;
15675 case updateMessageUnreadReactions::ID:
15676 func(static_cast<updateMessageUnreadReactions &>(obj));
15677 return true;
15678 case updateMessageContainsUnreadPollVotes::ID:
15679 func(static_cast<updateMessageContainsUnreadPollVotes &>(obj));
15680 return true;
15681 case updateMessageFactCheck::ID:
15682 func(static_cast<updateMessageFactCheck &>(obj));
15683 return true;
15684 case updateMessageSuggestedPostInfo::ID:
15685 func(static_cast<updateMessageSuggestedPostInfo &>(obj));
15686 return true;
15687 case updateMessageLiveLocationViewed::ID:
15688 func(static_cast<updateMessageLiveLocationViewed &>(obj));
15689 return true;
15690 case updateVideoPublished::ID:
15691 func(static_cast<updateVideoPublished &>(obj));
15692 return true;
15693 case updateNewChat::ID:
15694 func(static_cast<updateNewChat &>(obj));
15695 return true;
15696 case updateChatTitle::ID:
15697 func(static_cast<updateChatTitle &>(obj));
15698 return true;
15699 case updateChatPhoto::ID:
15700 func(static_cast<updateChatPhoto &>(obj));
15701 return true;
15702 case updateChatAccentColors::ID:
15703 func(static_cast<updateChatAccentColors &>(obj));
15704 return true;
15705 case updateChatPermissions::ID:
15706 func(static_cast<updateChatPermissions &>(obj));
15707 return true;
15708 case updateChatLastMessage::ID:
15709 func(static_cast<updateChatLastMessage &>(obj));
15710 return true;
15711 case updateChatPosition::ID:
15712 func(static_cast<updateChatPosition &>(obj));
15713 return true;
15714 case updateChatAddedToList::ID:
15715 func(static_cast<updateChatAddedToList &>(obj));
15716 return true;
15717 case updateChatRemovedFromList::ID:
15718 func(static_cast<updateChatRemovedFromList &>(obj));
15719 return true;
15720 case updateChatReadInbox::ID:
15721 func(static_cast<updateChatReadInbox &>(obj));
15722 return true;
15723 case updateChatReadOutbox::ID:
15724 func(static_cast<updateChatReadOutbox &>(obj));
15725 return true;
15726 case updateChatActionBar::ID:
15727 func(static_cast<updateChatActionBar &>(obj));
15728 return true;
15729 case updateChatBusinessBotManageBar::ID:
15730 func(static_cast<updateChatBusinessBotManageBar &>(obj));
15731 return true;
15732 case updateChatAvailableReactions::ID:
15733 func(static_cast<updateChatAvailableReactions &>(obj));
15734 return true;
15735 case updateChatDraftMessage::ID:
15736 func(static_cast<updateChatDraftMessage &>(obj));
15737 return true;
15738 case updateChatEmojiStatus::ID:
15739 func(static_cast<updateChatEmojiStatus &>(obj));
15740 return true;
15741 case updateChatMessageSender::ID:
15742 func(static_cast<updateChatMessageSender &>(obj));
15743 return true;
15744 case updateChatMessageAutoDeleteTime::ID:
15745 func(static_cast<updateChatMessageAutoDeleteTime &>(obj));
15746 return true;
15747 case updateChatNotificationSettings::ID:
15748 func(static_cast<updateChatNotificationSettings &>(obj));
15749 return true;
15750 case updateChatPendingJoinRequests::ID:
15751 func(static_cast<updateChatPendingJoinRequests &>(obj));
15752 return true;
15753 case updateChatReplyMarkup::ID:
15754 func(static_cast<updateChatReplyMarkup &>(obj));
15755 return true;
15756 case updateChatBackground::ID:
15757 func(static_cast<updateChatBackground &>(obj));
15758 return true;
15759 case updateChatTheme::ID:
15760 func(static_cast<updateChatTheme &>(obj));
15761 return true;
15762 case updateChatUnreadMentionCount::ID:
15763 func(static_cast<updateChatUnreadMentionCount &>(obj));
15764 return true;
15765 case updateChatUnreadReactionCount::ID:
15766 func(static_cast<updateChatUnreadReactionCount &>(obj));
15767 return true;
15768 case updateChatUnreadPollVoteCount::ID:
15769 func(static_cast<updateChatUnreadPollVoteCount &>(obj));
15770 return true;
15771 case updateChatVideoChat::ID:
15772 func(static_cast<updateChatVideoChat &>(obj));
15773 return true;
15774 case updateChatDefaultDisableNotification::ID:
15775 func(static_cast<updateChatDefaultDisableNotification &>(obj));
15776 return true;
15777 case updateChatHasProtectedContent::ID:
15778 func(static_cast<updateChatHasProtectedContent &>(obj));
15779 return true;
15780 case updateChatIsTranslatable::ID:
15781 func(static_cast<updateChatIsTranslatable &>(obj));
15782 return true;
15783 case updateChatIsMarkedAsUnread::ID:
15784 func(static_cast<updateChatIsMarkedAsUnread &>(obj));
15785 return true;
15786 case updateChatViewAsTopics::ID:
15787 func(static_cast<updateChatViewAsTopics &>(obj));
15788 return true;
15789 case updateChatBlockList::ID:
15790 func(static_cast<updateChatBlockList &>(obj));
15791 return true;
15792 case updateChatHasScheduledMessages::ID:
15793 func(static_cast<updateChatHasScheduledMessages &>(obj));
15794 return true;
15795 case updateChatFolders::ID:
15796 func(static_cast<updateChatFolders &>(obj));
15797 return true;
15798 case updateChatOnlineMemberCount::ID:
15799 func(static_cast<updateChatOnlineMemberCount &>(obj));
15800 return true;
15801 case updateSavedMessagesTopic::ID:
15802 func(static_cast<updateSavedMessagesTopic &>(obj));
15803 return true;
15804 case updateSavedMessagesTopicCount::ID:
15805 func(static_cast<updateSavedMessagesTopicCount &>(obj));
15806 return true;
15807 case updateDirectMessagesChatTopic::ID:
15808 func(static_cast<updateDirectMessagesChatTopic &>(obj));
15809 return true;
15810 case updateTopicMessageCount::ID:
15811 func(static_cast<updateTopicMessageCount &>(obj));
15812 return true;
15813 case updateQuickReplyShortcut::ID:
15814 func(static_cast<updateQuickReplyShortcut &>(obj));
15815 return true;
15816 case updateQuickReplyShortcutDeleted::ID:
15817 func(static_cast<updateQuickReplyShortcutDeleted &>(obj));
15818 return true;
15819 case updateQuickReplyShortcuts::ID:
15820 func(static_cast<updateQuickReplyShortcuts &>(obj));
15821 return true;
15822 case updateQuickReplyShortcutMessages::ID:
15823 func(static_cast<updateQuickReplyShortcutMessages &>(obj));
15824 return true;
15825 case updateForumTopicInfo::ID:
15826 func(static_cast<updateForumTopicInfo &>(obj));
15827 return true;
15828 case updateForumTopic::ID:
15829 func(static_cast<updateForumTopic &>(obj));
15830 return true;
15831 case updateScopeNotificationSettings::ID:
15832 func(static_cast<updateScopeNotificationSettings &>(obj));
15833 return true;
15834 case updateReactionNotificationSettings::ID:
15835 func(static_cast<updateReactionNotificationSettings &>(obj));
15836 return true;
15837 case updateNotification::ID:
15838 func(static_cast<updateNotification &>(obj));
15839 return true;
15840 case updateNotificationGroup::ID:
15841 func(static_cast<updateNotificationGroup &>(obj));
15842 return true;
15843 case updateActiveNotifications::ID:
15844 func(static_cast<updateActiveNotifications &>(obj));
15845 return true;
15846 case updateHavePendingNotifications::ID:
15847 func(static_cast<updateHavePendingNotifications &>(obj));
15848 return true;
15849 case updateDeleteMessages::ID:
15850 func(static_cast<updateDeleteMessages &>(obj));
15851 return true;
15852 case updateChatAction::ID:
15853 func(static_cast<updateChatAction &>(obj));
15854 return true;
15855 case updatePendingTextMessage::ID:
15856 func(static_cast<updatePendingTextMessage &>(obj));
15857 return true;
15858 case updateUserStatus::ID:
15859 func(static_cast<updateUserStatus &>(obj));
15860 return true;
15861 case updateUser::ID:
15862 func(static_cast<updateUser &>(obj));
15863 return true;
15864 case updateBasicGroup::ID:
15865 func(static_cast<updateBasicGroup &>(obj));
15866 return true;
15867 case updateSupergroup::ID:
15868 func(static_cast<updateSupergroup &>(obj));
15869 return true;
15870 case updateSecretChat::ID:
15871 func(static_cast<updateSecretChat &>(obj));
15872 return true;
15873 case updateUserFullInfo::ID:
15874 func(static_cast<updateUserFullInfo &>(obj));
15875 return true;
15876 case updateBasicGroupFullInfo::ID:
15877 func(static_cast<updateBasicGroupFullInfo &>(obj));
15878 return true;
15879 case updateSupergroupFullInfo::ID:
15880 func(static_cast<updateSupergroupFullInfo &>(obj));
15881 return true;
15882 case updateServiceNotification::ID:
15883 func(static_cast<updateServiceNotification &>(obj));
15884 return true;
15885 case updateNewOauthRequest::ID:
15886 func(static_cast<updateNewOauthRequest &>(obj));
15887 return true;
15888 case updateFile::ID:
15889 func(static_cast<updateFile &>(obj));
15890 return true;
15891 case updateFileGenerationStart::ID:
15892 func(static_cast<updateFileGenerationStart &>(obj));
15893 return true;
15894 case updateFileGenerationStop::ID:
15895 func(static_cast<updateFileGenerationStop &>(obj));
15896 return true;
15897 case updateFileDownloads::ID:
15898 func(static_cast<updateFileDownloads &>(obj));
15899 return true;
15900 case updateFileAddedToDownloads::ID:
15901 func(static_cast<updateFileAddedToDownloads &>(obj));
15902 return true;
15903 case updateFileDownload::ID:
15904 func(static_cast<updateFileDownload &>(obj));
15905 return true;
15906 case updateFileRemovedFromDownloads::ID:
15907 func(static_cast<updateFileRemovedFromDownloads &>(obj));
15908 return true;
15909 case updateApplicationVerificationRequired::ID:
15910 func(static_cast<updateApplicationVerificationRequired &>(obj));
15911 return true;
15912 case updateApplicationRecaptchaVerificationRequired::ID:
15913 func(static_cast<updateApplicationRecaptchaVerificationRequired &>(obj));
15914 return true;
15915 case updateCall::ID:
15916 func(static_cast<updateCall &>(obj));
15917 return true;
15918 case updateGroupCall::ID:
15919 func(static_cast<updateGroupCall &>(obj));
15920 return true;
15921 case updateGroupCallParticipant::ID:
15922 func(static_cast<updateGroupCallParticipant &>(obj));
15923 return true;
15924 case updateGroupCallParticipants::ID:
15925 func(static_cast<updateGroupCallParticipants &>(obj));
15926 return true;
15927 case updateGroupCallVerificationState::ID:
15928 func(static_cast<updateGroupCallVerificationState &>(obj));
15929 return true;
15930 case updateNewGroupCallMessage::ID:
15931 func(static_cast<updateNewGroupCallMessage &>(obj));
15932 return true;
15933 case updateNewGroupCallPaidReaction::ID:
15934 func(static_cast<updateNewGroupCallPaidReaction &>(obj));
15935 return true;
15936 case updateGroupCallMessageSendFailed::ID:
15937 func(static_cast<updateGroupCallMessageSendFailed &>(obj));
15938 return true;
15939 case updateGroupCallMessagesDeleted::ID:
15940 func(static_cast<updateGroupCallMessagesDeleted &>(obj));
15941 return true;
15942 case updateLiveStoryTopDonors::ID:
15943 func(static_cast<updateLiveStoryTopDonors &>(obj));
15944 return true;
15945 case updateNewCallSignalingData::ID:
15946 func(static_cast<updateNewCallSignalingData &>(obj));
15947 return true;
15948 case updateGiftAuctionState::ID:
15949 func(static_cast<updateGiftAuctionState &>(obj));
15950 return true;
15951 case updateActiveGiftAuctions::ID:
15952 func(static_cast<updateActiveGiftAuctions &>(obj));
15953 return true;
15954 case updateUserPrivacySettingRules::ID:
15955 func(static_cast<updateUserPrivacySettingRules &>(obj));
15956 return true;
15957 case updateUnreadMessageCount::ID:
15958 func(static_cast<updateUnreadMessageCount &>(obj));
15959 return true;
15960 case updateUnreadChatCount::ID:
15961 func(static_cast<updateUnreadChatCount &>(obj));
15962 return true;
15963 case updateStory::ID:
15964 func(static_cast<updateStory &>(obj));
15965 return true;
15966 case updateStoryDeleted::ID:
15967 func(static_cast<updateStoryDeleted &>(obj));
15968 return true;
15969 case updateStoryPostSucceeded::ID:
15970 func(static_cast<updateStoryPostSucceeded &>(obj));
15971 return true;
15972 case updateStoryPostFailed::ID:
15973 func(static_cast<updateStoryPostFailed &>(obj));
15974 return true;
15975 case updateChatActiveStories::ID:
15976 func(static_cast<updateChatActiveStories &>(obj));
15977 return true;
15978 case updateStoryListChatCount::ID:
15979 func(static_cast<updateStoryListChatCount &>(obj));
15980 return true;
15981 case updateStoryStealthMode::ID:
15982 func(static_cast<updateStoryStealthMode &>(obj));
15983 return true;
15984 case updateTrustedMiniAppBots::ID:
15985 func(static_cast<updateTrustedMiniAppBots &>(obj));
15986 return true;
15987 case updateOption::ID:
15988 func(static_cast<updateOption &>(obj));
15989 return true;
15990 case updateStickerSet::ID:
15991 func(static_cast<updateStickerSet &>(obj));
15992 return true;
15993 case updateInstalledStickerSets::ID:
15994 func(static_cast<updateInstalledStickerSets &>(obj));
15995 return true;
15996 case updateTrendingStickerSets::ID:
15997 func(static_cast<updateTrendingStickerSets &>(obj));
15998 return true;
15999 case updateRecentStickers::ID:
16000 func(static_cast<updateRecentStickers &>(obj));
16001 return true;
16002 case updateFavoriteStickers::ID:
16003 func(static_cast<updateFavoriteStickers &>(obj));
16004 return true;
16005 case updateSavedAnimations::ID:
16006 func(static_cast<updateSavedAnimations &>(obj));
16007 return true;
16008 case updateSavedNotificationSounds::ID:
16009 func(static_cast<updateSavedNotificationSounds &>(obj));
16010 return true;
16011 case updateDefaultBackground::ID:
16012 func(static_cast<updateDefaultBackground &>(obj));
16013 return true;
16014 case updateEmojiChatThemes::ID:
16015 func(static_cast<updateEmojiChatThemes &>(obj));
16016 return true;
16017 case updateAccentColors::ID:
16018 func(static_cast<updateAccentColors &>(obj));
16019 return true;
16020 case updateProfileAccentColors::ID:
16021 func(static_cast<updateProfileAccentColors &>(obj));
16022 return true;
16023 case updateLanguagePackStrings::ID:
16024 func(static_cast<updateLanguagePackStrings &>(obj));
16025 return true;
16026 case updateConnectionState::ID:
16027 func(static_cast<updateConnectionState &>(obj));
16028 return true;
16029 case updateFreezeState::ID:
16030 func(static_cast<updateFreezeState &>(obj));
16031 return true;
16032 case updateAgeVerificationParameters::ID:
16033 func(static_cast<updateAgeVerificationParameters &>(obj));
16034 return true;
16035 case updateTermsOfService::ID:
16036 func(static_cast<updateTermsOfService &>(obj));
16037 return true;
16038 case updateUnconfirmedSession::ID:
16039 func(static_cast<updateUnconfirmedSession &>(obj));
16040 return true;
16041 case updateAttachmentMenuBots::ID:
16042 func(static_cast<updateAttachmentMenuBots &>(obj));
16043 return true;
16044 case updateWebAppMessageSent::ID:
16045 func(static_cast<updateWebAppMessageSent &>(obj));
16046 return true;
16047 case updateActiveEmojiReactions::ID:
16048 func(static_cast<updateActiveEmojiReactions &>(obj));
16049 return true;
16050 case updateAvailableMessageEffects::ID:
16051 func(static_cast<updateAvailableMessageEffects &>(obj));
16052 return true;
16053 case updateDefaultReactionType::ID:
16054 func(static_cast<updateDefaultReactionType &>(obj));
16055 return true;
16056 case updateDefaultPaidReactionType::ID:
16057 func(static_cast<updateDefaultPaidReactionType &>(obj));
16058 return true;
16059 case updateSavedMessagesTags::ID:
16060 func(static_cast<updateSavedMessagesTags &>(obj));
16061 return true;
16062 case updateActiveLiveLocationMessages::ID:
16063 func(static_cast<updateActiveLiveLocationMessages &>(obj));
16064 return true;
16065 case updateOwnedStarCount::ID:
16066 func(static_cast<updateOwnedStarCount &>(obj));
16067 return true;
16068 case updateOwnedTonCount::ID:
16069 func(static_cast<updateOwnedTonCount &>(obj));
16070 return true;
16071 case updateChatRevenueAmount::ID:
16072 func(static_cast<updateChatRevenueAmount &>(obj));
16073 return true;
16074 case updateStarRevenueStatus::ID:
16075 func(static_cast<updateStarRevenueStatus &>(obj));
16076 return true;
16077 case updateTonRevenueStatus::ID:
16078 func(static_cast<updateTonRevenueStatus &>(obj));
16079 return true;
16080 case updateSpeechRecognitionTrial::ID:
16081 func(static_cast<updateSpeechRecognitionTrial &>(obj));
16082 return true;
16083 case updateGroupCallMessageLevels::ID:
16084 func(static_cast<updateGroupCallMessageLevels &>(obj));
16085 return true;
16086 case updateDiceEmojis::ID:
16087 func(static_cast<updateDiceEmojis &>(obj));
16088 return true;
16089 case updateStakeDiceState::ID:
16090 func(static_cast<updateStakeDiceState &>(obj));
16091 return true;
16092 case updateAnimatedEmojiMessageClicked::ID:
16093 func(static_cast<updateAnimatedEmojiMessageClicked &>(obj));
16094 return true;
16095 case updateAnimationSearchParameters::ID:
16096 func(static_cast<updateAnimationSearchParameters &>(obj));
16097 return true;
16098 case updateTextCompositionStyles::ID:
16099 func(static_cast<updateTextCompositionStyles &>(obj));
16100 return true;
16101 case updateSuggestedActions::ID:
16102 func(static_cast<updateSuggestedActions &>(obj));
16103 return true;
16104 case updateSpeedLimitNotification::ID:
16105 func(static_cast<updateSpeedLimitNotification &>(obj));
16106 return true;
16107 case updateContactCloseBirthdays::ID:
16108 func(static_cast<updateContactCloseBirthdays &>(obj));
16109 return true;
16110 case updateAutosaveSettings::ID:
16111 func(static_cast<updateAutosaveSettings &>(obj));
16112 return true;
16113 case updateBusinessConnection::ID:
16114 func(static_cast<updateBusinessConnection &>(obj));
16115 return true;
16116 case updateNewBusinessMessage::ID:
16117 func(static_cast<updateNewBusinessMessage &>(obj));
16118 return true;
16119 case updateBusinessMessageEdited::ID:
16120 func(static_cast<updateBusinessMessageEdited &>(obj));
16121 return true;
16122 case updateBusinessMessagesDeleted::ID:
16123 func(static_cast<updateBusinessMessagesDeleted &>(obj));
16124 return true;
16125 case updateNewInlineQuery::ID:
16126 func(static_cast<updateNewInlineQuery &>(obj));
16127 return true;
16128 case updateNewChosenInlineResult::ID:
16129 func(static_cast<updateNewChosenInlineResult &>(obj));
16130 return true;
16131 case updateNewCallbackQuery::ID:
16132 func(static_cast<updateNewCallbackQuery &>(obj));
16133 return true;
16134 case updateNewInlineCallbackQuery::ID:
16135 func(static_cast<updateNewInlineCallbackQuery &>(obj));
16136 return true;
16137 case updateNewBusinessCallbackQuery::ID:
16138 func(static_cast<updateNewBusinessCallbackQuery &>(obj));
16139 return true;
16140 case updateNewShippingQuery::ID:
16141 func(static_cast<updateNewShippingQuery &>(obj));
16142 return true;
16143 case updateNewPreCheckoutQuery::ID:
16144 func(static_cast<updateNewPreCheckoutQuery &>(obj));
16145 return true;
16146 case updateNewCustomEvent::ID:
16147 func(static_cast<updateNewCustomEvent &>(obj));
16148 return true;
16149 case updateNewCustomQuery::ID:
16150 func(static_cast<updateNewCustomQuery &>(obj));
16151 return true;
16152 case updatePoll::ID:
16153 func(static_cast<updatePoll &>(obj));
16154 return true;
16155 case updatePollAnswer::ID:
16156 func(static_cast<updatePollAnswer &>(obj));
16157 return true;
16158 case updateManagedBot::ID:
16159 func(static_cast<updateManagedBot &>(obj));
16160 return true;
16161 case updateChatMember::ID:
16162 func(static_cast<updateChatMember &>(obj));
16163 return true;
16164 case updateNewChatJoinRequest::ID:
16165 func(static_cast<updateNewChatJoinRequest &>(obj));
16166 return true;
16167 case updateChatBoost::ID:
16168 func(static_cast<updateChatBoost &>(obj));
16169 return true;
16170 case updateMessageReaction::ID:
16171 func(static_cast<updateMessageReaction &>(obj));
16172 return true;
16173 case updateMessageReactions::ID:
16174 func(static_cast<updateMessageReactions &>(obj));
16175 return true;
16176 case updatePaidMediaPurchased::ID:
16177 func(static_cast<updatePaidMediaPurchased &>(obj));
16178 return true;
16179 default:
16180 return false;
16181 }
16182}

◆ downcast_call() [195/203]

template<class T >
bool td::td_api::downcast_call ( UpgradedGiftAttributeId obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 16191 of file td_api.hpp.

16191 { //-V2008
16192 switch (obj.get_id()) {
16193 case upgradedGiftAttributeIdModel::ID:
16194 func(static_cast<upgradedGiftAttributeIdModel &>(obj));
16195 return true;
16196 case upgradedGiftAttributeIdSymbol::ID:
16197 func(static_cast<upgradedGiftAttributeIdSymbol &>(obj));
16198 return true;
16199 case upgradedGiftAttributeIdBackdrop::ID:
16200 func(static_cast<upgradedGiftAttributeIdBackdrop &>(obj));
16201 return true;
16202 default:
16203 return false;
16204 }
16205}

◆ downcast_call() [196/203]

template<class T >
bool td::td_api::downcast_call ( UpgradedGiftAttributeRarity obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 16214 of file td_api.hpp.

16214 { //-V2008
16215 switch (obj.get_id()) {
16216 case upgradedGiftAttributeRarityPerMille::ID:
16217 func(static_cast<upgradedGiftAttributeRarityPerMille &>(obj));
16218 return true;
16219 case upgradedGiftAttributeRarityUncommon::ID:
16220 func(static_cast<upgradedGiftAttributeRarityUncommon &>(obj));
16221 return true;
16222 case upgradedGiftAttributeRarityRare::ID:
16223 func(static_cast<upgradedGiftAttributeRarityRare &>(obj));
16224 return true;
16225 case upgradedGiftAttributeRarityEpic::ID:
16226 func(static_cast<upgradedGiftAttributeRarityEpic &>(obj));
16227 return true;
16228 case upgradedGiftAttributeRarityLegendary::ID:
16229 func(static_cast<upgradedGiftAttributeRarityLegendary &>(obj));
16230 return true;
16231 default:
16232 return false;
16233 }
16234}

◆ downcast_call() [197/203]

template<class T >
bool td::td_api::downcast_call ( UpgradedGiftOrigin obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 16243 of file td_api.hpp.

16243 { //-V2008
16244 switch (obj.get_id()) {
16245 case upgradedGiftOriginUpgrade::ID:
16246 func(static_cast<upgradedGiftOriginUpgrade &>(obj));
16247 return true;
16248 case upgradedGiftOriginTransfer::ID:
16249 func(static_cast<upgradedGiftOriginTransfer &>(obj));
16250 return true;
16251 case upgradedGiftOriginResale::ID:
16252 func(static_cast<upgradedGiftOriginResale &>(obj));
16253 return true;
16254 case upgradedGiftOriginBlockchain::ID:
16255 func(static_cast<upgradedGiftOriginBlockchain &>(obj));
16256 return true;
16257 case upgradedGiftOriginPrepaidUpgrade::ID:
16258 func(static_cast<upgradedGiftOriginPrepaidUpgrade &>(obj));
16259 return true;
16260 case upgradedGiftOriginOffer::ID:
16261 func(static_cast<upgradedGiftOriginOffer &>(obj));
16262 return true;
16263 case upgradedGiftOriginCraft::ID:
16264 func(static_cast<upgradedGiftOriginCraft &>(obj));
16265 return true;
16266 default:
16267 return false;
16268 }
16269}

◆ downcast_call() [198/203]

template<class T >
bool td::td_api::downcast_call ( UserPrivacySetting obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 16278 of file td_api.hpp.

16278 { //-V2008
16279 switch (obj.get_id()) {
16280 case userPrivacySettingShowStatus::ID:
16281 func(static_cast<userPrivacySettingShowStatus &>(obj));
16282 return true;
16283 case userPrivacySettingShowProfilePhoto::ID:
16284 func(static_cast<userPrivacySettingShowProfilePhoto &>(obj));
16285 return true;
16286 case userPrivacySettingShowLinkInForwardedMessages::ID:
16287 func(static_cast<userPrivacySettingShowLinkInForwardedMessages &>(obj));
16288 return true;
16289 case userPrivacySettingShowPhoneNumber::ID:
16290 func(static_cast<userPrivacySettingShowPhoneNumber &>(obj));
16291 return true;
16292 case userPrivacySettingShowBio::ID:
16293 func(static_cast<userPrivacySettingShowBio &>(obj));
16294 return true;
16295 case userPrivacySettingShowBirthdate::ID:
16296 func(static_cast<userPrivacySettingShowBirthdate &>(obj));
16297 return true;
16298 case userPrivacySettingShowProfileAudio::ID:
16299 func(static_cast<userPrivacySettingShowProfileAudio &>(obj));
16300 return true;
16301 case userPrivacySettingAllowChatInvites::ID:
16302 func(static_cast<userPrivacySettingAllowChatInvites &>(obj));
16303 return true;
16304 case userPrivacySettingAllowCalls::ID:
16305 func(static_cast<userPrivacySettingAllowCalls &>(obj));
16306 return true;
16307 case userPrivacySettingAllowPeerToPeerCalls::ID:
16308 func(static_cast<userPrivacySettingAllowPeerToPeerCalls &>(obj));
16309 return true;
16310 case userPrivacySettingAllowFindingByPhoneNumber::ID:
16311 func(static_cast<userPrivacySettingAllowFindingByPhoneNumber &>(obj));
16312 return true;
16313 case userPrivacySettingAllowPrivateVoiceAndVideoNoteMessages::ID:
16314 func(static_cast<userPrivacySettingAllowPrivateVoiceAndVideoNoteMessages &>(obj));
16315 return true;
16316 case userPrivacySettingAutosaveGifts::ID:
16317 func(static_cast<userPrivacySettingAutosaveGifts &>(obj));
16318 return true;
16319 case userPrivacySettingAllowUnpaidMessages::ID:
16320 func(static_cast<userPrivacySettingAllowUnpaidMessages &>(obj));
16321 return true;
16322 default:
16323 return false;
16324 }
16325}

◆ downcast_call() [199/203]

template<class T >
bool td::td_api::downcast_call ( UserPrivacySettingRule obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 16334 of file td_api.hpp.

16334 { //-V2008
16335 switch (obj.get_id()) {
16336 case userPrivacySettingRuleAllowAll::ID:
16337 func(static_cast<userPrivacySettingRuleAllowAll &>(obj));
16338 return true;
16339 case userPrivacySettingRuleAllowContacts::ID:
16340 func(static_cast<userPrivacySettingRuleAllowContacts &>(obj));
16341 return true;
16342 case userPrivacySettingRuleAllowBots::ID:
16343 func(static_cast<userPrivacySettingRuleAllowBots &>(obj));
16344 return true;
16345 case userPrivacySettingRuleAllowPremiumUsers::ID:
16346 func(static_cast<userPrivacySettingRuleAllowPremiumUsers &>(obj));
16347 return true;
16348 case userPrivacySettingRuleAllowUsers::ID:
16349 func(static_cast<userPrivacySettingRuleAllowUsers &>(obj));
16350 return true;
16351 case userPrivacySettingRuleAllowChatMembers::ID:
16352 func(static_cast<userPrivacySettingRuleAllowChatMembers &>(obj));
16353 return true;
16354 case userPrivacySettingRuleRestrictAll::ID:
16355 func(static_cast<userPrivacySettingRuleRestrictAll &>(obj));
16356 return true;
16357 case userPrivacySettingRuleRestrictContacts::ID:
16358 func(static_cast<userPrivacySettingRuleRestrictContacts &>(obj));
16359 return true;
16360 case userPrivacySettingRuleRestrictBots::ID:
16361 func(static_cast<userPrivacySettingRuleRestrictBots &>(obj));
16362 return true;
16363 case userPrivacySettingRuleRestrictUsers::ID:
16364 func(static_cast<userPrivacySettingRuleRestrictUsers &>(obj));
16365 return true;
16366 case userPrivacySettingRuleRestrictChatMembers::ID:
16367 func(static_cast<userPrivacySettingRuleRestrictChatMembers &>(obj));
16368 return true;
16369 default:
16370 return false;
16371 }
16372}

◆ downcast_call() [200/203]

template<class T >
bool td::td_api::downcast_call ( UserStatus obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 16381 of file td_api.hpp.

16381 { //-V2008
16382 switch (obj.get_id()) {
16383 case userStatusEmpty::ID:
16384 func(static_cast<userStatusEmpty &>(obj));
16385 return true;
16386 case userStatusOnline::ID:
16387 func(static_cast<userStatusOnline &>(obj));
16388 return true;
16389 case userStatusOffline::ID:
16390 func(static_cast<userStatusOffline &>(obj));
16391 return true;
16392 case userStatusRecently::ID:
16393 func(static_cast<userStatusRecently &>(obj));
16394 return true;
16395 case userStatusLastWeek::ID:
16396 func(static_cast<userStatusLastWeek &>(obj));
16397 return true;
16398 case userStatusLastMonth::ID:
16399 func(static_cast<userStatusLastMonth &>(obj));
16400 return true;
16401 default:
16402 return false;
16403 }
16404}

◆ downcast_call() [201/203]

template<class T >
bool td::td_api::downcast_call ( UserType obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 16413 of file td_api.hpp.

16413 { //-V2008
16414 switch (obj.get_id()) {
16415 case userTypeRegular::ID:
16416 func(static_cast<userTypeRegular &>(obj));
16417 return true;
16418 case userTypeDeleted::ID:
16419 func(static_cast<userTypeDeleted &>(obj));
16420 return true;
16421 case userTypeBot::ID:
16422 func(static_cast<userTypeBot &>(obj));
16423 return true;
16424 case userTypeUnknown::ID:
16425 func(static_cast<userTypeUnknown &>(obj));
16426 return true;
16427 default:
16428 return false;
16429 }
16430}

◆ downcast_call() [202/203]

template<class T >
bool td::td_api::downcast_call ( VectorPathCommand obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 16439 of file td_api.hpp.

16439 { //-V2008
16440 switch (obj.get_id()) {
16441 case vectorPathCommandLine::ID:
16442 func(static_cast<vectorPathCommandLine &>(obj));
16443 return true;
16444 case vectorPathCommandCubicBezierCurve::ID:
16445 func(static_cast<vectorPathCommandCubicBezierCurve &>(obj));
16446 return true;
16447 default:
16448 return false;
16449 }
16450}

◆ downcast_call() [203/203]

template<class T >
bool td::td_api::downcast_call ( WebAppOpenMode obj,
const T &  func 
)

Calls the specified function object with the given object downcasted to its most derived type.

Parameters
[in]objObject to pass as an argument to the function object.
[in]funcFunction object to which the object will be passed.
Returns
Whether function object call has happened. Should always return true for correct parameters.

Definition at line 16459 of file td_api.hpp.

16459 { //-V2008
16460 switch (obj.get_id()) {
16461 case webAppOpenModeCompact::ID:
16462 func(static_cast<webAppOpenModeCompact &>(obj));
16463 return true;
16464 case webAppOpenModeFullSize::ID:
16465 func(static_cast<webAppOpenModeFullSize &>(obj));
16466 return true;
16467 case webAppOpenModeFullScreen::ID:
16468 func(static_cast<webAppOpenModeFullScreen &>(obj));
16469 return true;
16470 default:
16471 return false;
16472 }
16473}