TDLib
Loading...
Searching...
No Matches
td_api.hpp
Go to the documentation of this file.
1#pragma once
2
8#include "td_api.h"
9
10namespace td {
11namespace td_api {
12
19template <class T>
20bool downcast_call(Object &obj, const T &func) {
21 switch (obj.get_id()) {
22 case accentColor::ID:
23 func(static_cast<accentColor &>(obj));
24 return true;
25 case acceptedGiftTypes::ID:
26 func(static_cast<acceptedGiftTypes &>(obj));
27 return true;
28 case accountInfo::ID:
29 func(static_cast<accountInfo &>(obj));
30 return true;
31 case accountTtl::ID:
32 func(static_cast<accountTtl &>(obj));
33 return true;
34 case activeStoryStateLive::ID:
35 func(static_cast<activeStoryStateLive &>(obj));
36 return true;
37 case activeStoryStateUnread::ID:
38 func(static_cast<activeStoryStateUnread &>(obj));
39 return true;
40 case activeStoryStateRead::ID:
41 func(static_cast<activeStoryStateRead &>(obj));
42 return true;
43 case addedProxies::ID:
44 func(static_cast<addedProxies &>(obj));
45 return true;
46 case addedProxy::ID:
47 func(static_cast<addedProxy &>(obj));
48 return true;
49 case addedReaction::ID:
50 func(static_cast<addedReaction &>(obj));
51 return true;
52 case addedReactions::ID:
53 func(static_cast<addedReactions &>(obj));
54 return true;
55 case address::ID:
56 func(static_cast<address &>(obj));
57 return true;
58 case advertisementSponsor::ID:
59 func(static_cast<advertisementSponsor &>(obj));
60 return true;
61 case affiliateInfo::ID:
62 func(static_cast<affiliateInfo &>(obj));
63 return true;
64 case affiliateProgramInfo::ID:
65 func(static_cast<affiliateProgramInfo &>(obj));
66 return true;
67 case affiliateProgramParameters::ID:
68 func(static_cast<affiliateProgramParameters &>(obj));
69 return true;
70 case affiliateProgramSortOrderProfitability::ID:
71 func(static_cast<affiliateProgramSortOrderProfitability &>(obj));
72 return true;
73 case affiliateProgramSortOrderCreationDate::ID:
74 func(static_cast<affiliateProgramSortOrderCreationDate &>(obj));
75 return true;
76 case affiliateProgramSortOrderRevenue::ID:
77 func(static_cast<affiliateProgramSortOrderRevenue &>(obj));
78 return true;
79 case affiliateTypeCurrentUser::ID:
80 func(static_cast<affiliateTypeCurrentUser &>(obj));
81 return true;
82 case affiliateTypeBot::ID:
83 func(static_cast<affiliateTypeBot &>(obj));
84 return true;
85 case affiliateTypeChannel::ID:
86 func(static_cast<affiliateTypeChannel &>(obj));
87 return true;
88 case ageVerificationParameters::ID:
89 func(static_cast<ageVerificationParameters &>(obj));
90 return true;
91 case alternativeVideo::ID:
92 func(static_cast<alternativeVideo &>(obj));
93 return true;
94 case animatedChatPhoto::ID:
95 func(static_cast<animatedChatPhoto &>(obj));
96 return true;
97 case animatedEmoji::ID:
98 func(static_cast<animatedEmoji &>(obj));
99 return true;
100 case animation::ID:
101 func(static_cast<animation &>(obj));
102 return true;
103 case animations::ID:
104 func(static_cast<animations &>(obj));
105 return true;
106 case archiveChatListSettings::ID:
107 func(static_cast<archiveChatListSettings &>(obj));
108 return true;
109 case attachmentMenuBot::ID:
110 func(static_cast<attachmentMenuBot &>(obj));
111 return true;
112 case attachmentMenuBotColor::ID:
113 func(static_cast<attachmentMenuBotColor &>(obj));
114 return true;
115 case attributeCraftPersistenceProbability::ID:
116 func(static_cast<attributeCraftPersistenceProbability &>(obj));
117 return true;
118 case auctionBid::ID:
119 func(static_cast<auctionBid &>(obj));
120 return true;
121 case auctionRound::ID:
122 func(static_cast<auctionRound &>(obj));
123 return true;
124 case auctionStateActive::ID:
125 func(static_cast<auctionStateActive &>(obj));
126 return true;
127 case auctionStateFinished::ID:
128 func(static_cast<auctionStateFinished &>(obj));
129 return true;
130 case audio::ID:
131 func(static_cast<audio &>(obj));
132 return true;
133 case audios::ID:
134 func(static_cast<audios &>(obj));
135 return true;
136 case authenticationCodeInfo::ID:
137 func(static_cast<authenticationCodeInfo &>(obj));
138 return true;
139 case authenticationCodeTypeTelegramMessage::ID:
140 func(static_cast<authenticationCodeTypeTelegramMessage &>(obj));
141 return true;
142 case authenticationCodeTypeSms::ID:
143 func(static_cast<authenticationCodeTypeSms &>(obj));
144 return true;
145 case authenticationCodeTypeSmsWord::ID:
146 func(static_cast<authenticationCodeTypeSmsWord &>(obj));
147 return true;
148 case authenticationCodeTypeSmsPhrase::ID:
149 func(static_cast<authenticationCodeTypeSmsPhrase &>(obj));
150 return true;
151 case authenticationCodeTypeCall::ID:
152 func(static_cast<authenticationCodeTypeCall &>(obj));
153 return true;
154 case authenticationCodeTypeFlashCall::ID:
155 func(static_cast<authenticationCodeTypeFlashCall &>(obj));
156 return true;
157 case authenticationCodeTypeMissedCall::ID:
158 func(static_cast<authenticationCodeTypeMissedCall &>(obj));
159 return true;
160 case authenticationCodeTypeFragment::ID:
161 func(static_cast<authenticationCodeTypeFragment &>(obj));
162 return true;
163 case authenticationCodeTypeFirebaseAndroid::ID:
164 func(static_cast<authenticationCodeTypeFirebaseAndroid &>(obj));
165 return true;
166 case authenticationCodeTypeFirebaseIos::ID:
167 func(static_cast<authenticationCodeTypeFirebaseIos &>(obj));
168 return true;
169 case authorizationStateWaitTdlibParameters::ID:
170 func(static_cast<authorizationStateWaitTdlibParameters &>(obj));
171 return true;
172 case authorizationStateWaitPhoneNumber::ID:
173 func(static_cast<authorizationStateWaitPhoneNumber &>(obj));
174 return true;
175 case authorizationStateWaitPremiumPurchase::ID:
176 func(static_cast<authorizationStateWaitPremiumPurchase &>(obj));
177 return true;
178 case authorizationStateWaitEmailAddress::ID:
179 func(static_cast<authorizationStateWaitEmailAddress &>(obj));
180 return true;
181 case authorizationStateWaitEmailCode::ID:
182 func(static_cast<authorizationStateWaitEmailCode &>(obj));
183 return true;
184 case authorizationStateWaitCode::ID:
185 func(static_cast<authorizationStateWaitCode &>(obj));
186 return true;
187 case authorizationStateWaitOtherDeviceConfirmation::ID:
188 func(static_cast<authorizationStateWaitOtherDeviceConfirmation &>(obj));
189 return true;
190 case authorizationStateWaitRegistration::ID:
191 func(static_cast<authorizationStateWaitRegistration &>(obj));
192 return true;
193 case authorizationStateWaitPassword::ID:
194 func(static_cast<authorizationStateWaitPassword &>(obj));
195 return true;
196 case authorizationStateReady::ID:
197 func(static_cast<authorizationStateReady &>(obj));
198 return true;
199 case authorizationStateLoggingOut::ID:
200 func(static_cast<authorizationStateLoggingOut &>(obj));
201 return true;
202 case authorizationStateClosing::ID:
203 func(static_cast<authorizationStateClosing &>(obj));
204 return true;
205 case authorizationStateClosed::ID:
206 func(static_cast<authorizationStateClosed &>(obj));
207 return true;
208 case autoDownloadSettings::ID:
209 func(static_cast<autoDownloadSettings &>(obj));
210 return true;
211 case autoDownloadSettingsPresets::ID:
212 func(static_cast<autoDownloadSettingsPresets &>(obj));
213 return true;
214 case autosaveSettings::ID:
215 func(static_cast<autosaveSettings &>(obj));
216 return true;
217 case autosaveSettingsException::ID:
218 func(static_cast<autosaveSettingsException &>(obj));
219 return true;
220 case autosaveSettingsScopePrivateChats::ID:
221 func(static_cast<autosaveSettingsScopePrivateChats &>(obj));
222 return true;
223 case autosaveSettingsScopeGroupChats::ID:
224 func(static_cast<autosaveSettingsScopeGroupChats &>(obj));
225 return true;
226 case autosaveSettingsScopeChannelChats::ID:
227 func(static_cast<autosaveSettingsScopeChannelChats &>(obj));
228 return true;
229 case autosaveSettingsScopeChat::ID:
230 func(static_cast<autosaveSettingsScopeChat &>(obj));
231 return true;
232 case availableGift::ID:
233 func(static_cast<availableGift &>(obj));
234 return true;
235 case availableGifts::ID:
236 func(static_cast<availableGifts &>(obj));
237 return true;
238 case availableReaction::ID:
239 func(static_cast<availableReaction &>(obj));
240 return true;
241 case availableReactions::ID:
242 func(static_cast<availableReactions &>(obj));
243 return true;
244 case background::ID:
245 func(static_cast<background &>(obj));
246 return true;
247 case backgroundFillSolid::ID:
248 func(static_cast<backgroundFillSolid &>(obj));
249 return true;
250 case backgroundFillGradient::ID:
251 func(static_cast<backgroundFillGradient &>(obj));
252 return true;
253 case backgroundFillFreeformGradient::ID:
254 func(static_cast<backgroundFillFreeformGradient &>(obj));
255 return true;
256 case backgroundTypeWallpaper::ID:
257 func(static_cast<backgroundTypeWallpaper &>(obj));
258 return true;
259 case backgroundTypePattern::ID:
260 func(static_cast<backgroundTypePattern &>(obj));
261 return true;
262 case backgroundTypeFill::ID:
263 func(static_cast<backgroundTypeFill &>(obj));
264 return true;
265 case backgroundTypeChatTheme::ID:
266 func(static_cast<backgroundTypeChatTheme &>(obj));
267 return true;
268 case backgrounds::ID:
269 func(static_cast<backgrounds &>(obj));
270 return true;
271 case bankCardActionOpenUrl::ID:
272 func(static_cast<bankCardActionOpenUrl &>(obj));
273 return true;
274 case bankCardInfo::ID:
275 func(static_cast<bankCardInfo &>(obj));
276 return true;
277 case basicGroup::ID:
278 func(static_cast<basicGroup &>(obj));
279 return true;
280 case basicGroupFullInfo::ID:
281 func(static_cast<basicGroupFullInfo &>(obj));
282 return true;
283 case birthdate::ID:
284 func(static_cast<birthdate &>(obj));
285 return true;
286 case blockListMain::ID:
287 func(static_cast<blockListMain &>(obj));
288 return true;
289 case blockListStories::ID:
290 func(static_cast<blockListStories &>(obj));
291 return true;
292 case botAccessSettings::ID:
293 func(static_cast<botAccessSettings &>(obj));
294 return true;
295 case botCommand::ID:
296 func(static_cast<botCommand &>(obj));
297 return true;
298 case botCommandScopeDefault::ID:
299 func(static_cast<botCommandScopeDefault &>(obj));
300 return true;
301 case botCommandScopeAllPrivateChats::ID:
302 func(static_cast<botCommandScopeAllPrivateChats &>(obj));
303 return true;
304 case botCommandScopeAllGroupChats::ID:
305 func(static_cast<botCommandScopeAllGroupChats &>(obj));
306 return true;
307 case botCommandScopeAllChatAdministrators::ID:
308 func(static_cast<botCommandScopeAllChatAdministrators &>(obj));
309 return true;
310 case botCommandScopeChat::ID:
311 func(static_cast<botCommandScopeChat &>(obj));
312 return true;
313 case botCommandScopeChatAdministrators::ID:
314 func(static_cast<botCommandScopeChatAdministrators &>(obj));
315 return true;
316 case botCommandScopeChatMember::ID:
317 func(static_cast<botCommandScopeChatMember &>(obj));
318 return true;
319 case botCommands::ID:
320 func(static_cast<botCommands &>(obj));
321 return true;
322 case botInfo::ID:
323 func(static_cast<botInfo &>(obj));
324 return true;
325 case botMediaPreview::ID:
326 func(static_cast<botMediaPreview &>(obj));
327 return true;
328 case botMediaPreviewInfo::ID:
329 func(static_cast<botMediaPreviewInfo &>(obj));
330 return true;
331 case botMediaPreviews::ID:
332 func(static_cast<botMediaPreviews &>(obj));
333 return true;
334 case botMenuButton::ID:
335 func(static_cast<botMenuButton &>(obj));
336 return true;
337 case botVerification::ID:
338 func(static_cast<botVerification &>(obj));
339 return true;
340 case botVerificationParameters::ID:
341 func(static_cast<botVerificationParameters &>(obj));
342 return true;
343 case botWriteAccessAllowReasonConnectedWebsite::ID:
344 func(static_cast<botWriteAccessAllowReasonConnectedWebsite &>(obj));
345 return true;
346 case botWriteAccessAllowReasonAddedToAttachmentMenu::ID:
347 func(static_cast<botWriteAccessAllowReasonAddedToAttachmentMenu &>(obj));
348 return true;
349 case botWriteAccessAllowReasonLaunchedWebApp::ID:
350 func(static_cast<botWriteAccessAllowReasonLaunchedWebApp &>(obj));
351 return true;
352 case botWriteAccessAllowReasonAcceptedRequest::ID:
353 func(static_cast<botWriteAccessAllowReasonAcceptedRequest &>(obj));
354 return true;
355 case builtInThemeClassic::ID:
356 func(static_cast<builtInThemeClassic &>(obj));
357 return true;
358 case builtInThemeDay::ID:
359 func(static_cast<builtInThemeDay &>(obj));
360 return true;
361 case builtInThemeNight::ID:
362 func(static_cast<builtInThemeNight &>(obj));
363 return true;
364 case builtInThemeTinted::ID:
365 func(static_cast<builtInThemeTinted &>(obj));
366 return true;
367 case builtInThemeArctic::ID:
368 func(static_cast<builtInThemeArctic &>(obj));
369 return true;
370 case businessAwayMessageScheduleAlways::ID:
371 func(static_cast<businessAwayMessageScheduleAlways &>(obj));
372 return true;
373 case businessAwayMessageScheduleOutsideOfOpeningHours::ID:
374 func(static_cast<businessAwayMessageScheduleOutsideOfOpeningHours &>(obj));
375 return true;
376 case businessAwayMessageScheduleCustom::ID:
377 func(static_cast<businessAwayMessageScheduleCustom &>(obj));
378 return true;
379 case businessAwayMessageSettings::ID:
380 func(static_cast<businessAwayMessageSettings &>(obj));
381 return true;
382 case businessBotManageBar::ID:
383 func(static_cast<businessBotManageBar &>(obj));
384 return true;
385 case businessBotRights::ID:
386 func(static_cast<businessBotRights &>(obj));
387 return true;
388 case businessChatLink::ID:
389 func(static_cast<businessChatLink &>(obj));
390 return true;
391 case businessChatLinkInfo::ID:
392 func(static_cast<businessChatLinkInfo &>(obj));
393 return true;
394 case businessChatLinks::ID:
395 func(static_cast<businessChatLinks &>(obj));
396 return true;
397 case businessConnectedBot::ID:
398 func(static_cast<businessConnectedBot &>(obj));
399 return true;
400 case businessConnectedBotInfo::ID:
401 func(static_cast<businessConnectedBotInfo &>(obj));
402 return true;
403 case businessConnection::ID:
404 func(static_cast<businessConnection &>(obj));
405 return true;
406 case businessFeatureLocation::ID:
407 func(static_cast<businessFeatureLocation &>(obj));
408 return true;
409 case businessFeatureOpeningHours::ID:
410 func(static_cast<businessFeatureOpeningHours &>(obj));
411 return true;
412 case businessFeatureQuickReplies::ID:
413 func(static_cast<businessFeatureQuickReplies &>(obj));
414 return true;
415 case businessFeatureGreetingMessage::ID:
416 func(static_cast<businessFeatureGreetingMessage &>(obj));
417 return true;
418 case businessFeatureAwayMessage::ID:
419 func(static_cast<businessFeatureAwayMessage &>(obj));
420 return true;
421 case businessFeatureAccountLinks::ID:
422 func(static_cast<businessFeatureAccountLinks &>(obj));
423 return true;
424 case businessFeatureStartPage::ID:
425 func(static_cast<businessFeatureStartPage &>(obj));
426 return true;
427 case businessFeatureBots::ID:
428 func(static_cast<businessFeatureBots &>(obj));
429 return true;
430 case businessFeatureEmojiStatus::ID:
431 func(static_cast<businessFeatureEmojiStatus &>(obj));
432 return true;
433 case businessFeatureChatFolderTags::ID:
434 func(static_cast<businessFeatureChatFolderTags &>(obj));
435 return true;
436 case businessFeatureUpgradedStories::ID:
437 func(static_cast<businessFeatureUpgradedStories &>(obj));
438 return true;
439 case businessFeaturePromotionAnimation::ID:
440 func(static_cast<businessFeaturePromotionAnimation &>(obj));
441 return true;
442 case businessFeatures::ID:
443 func(static_cast<businessFeatures &>(obj));
444 return true;
445 case businessGreetingMessageSettings::ID:
446 func(static_cast<businessGreetingMessageSettings &>(obj));
447 return true;
448 case businessInfo::ID:
449 func(static_cast<businessInfo &>(obj));
450 return true;
451 case businessLocation::ID:
452 func(static_cast<businessLocation &>(obj));
453 return true;
454 case businessMessage::ID:
455 func(static_cast<businessMessage &>(obj));
456 return true;
457 case businessMessages::ID:
458 func(static_cast<businessMessages &>(obj));
459 return true;
460 case businessOpeningHours::ID:
461 func(static_cast<businessOpeningHours &>(obj));
462 return true;
463 case businessOpeningHoursInterval::ID:
464 func(static_cast<businessOpeningHoursInterval &>(obj));
465 return true;
466 case businessRecipients::ID:
467 func(static_cast<businessRecipients &>(obj));
468 return true;
469 case businessStartPage::ID:
470 func(static_cast<businessStartPage &>(obj));
471 return true;
472 case buttonStyleDefault::ID:
473 func(static_cast<buttonStyleDefault &>(obj));
474 return true;
475 case buttonStylePrimary::ID:
476 func(static_cast<buttonStylePrimary &>(obj));
477 return true;
478 case buttonStyleDanger::ID:
479 func(static_cast<buttonStyleDanger &>(obj));
480 return true;
481 case buttonStyleSuccess::ID:
482 func(static_cast<buttonStyleSuccess &>(obj));
483 return true;
484 case call::ID:
485 func(static_cast<call &>(obj));
486 return true;
487 case callDiscardReasonEmpty::ID:
488 func(static_cast<callDiscardReasonEmpty &>(obj));
489 return true;
490 case callDiscardReasonMissed::ID:
491 func(static_cast<callDiscardReasonMissed &>(obj));
492 return true;
493 case callDiscardReasonDeclined::ID:
494 func(static_cast<callDiscardReasonDeclined &>(obj));
495 return true;
496 case callDiscardReasonDisconnected::ID:
497 func(static_cast<callDiscardReasonDisconnected &>(obj));
498 return true;
499 case callDiscardReasonHungUp::ID:
500 func(static_cast<callDiscardReasonHungUp &>(obj));
501 return true;
502 case callDiscardReasonUpgradeToGroupCall::ID:
503 func(static_cast<callDiscardReasonUpgradeToGroupCall &>(obj));
504 return true;
505 case callId::ID:
506 func(static_cast<callId &>(obj));
507 return true;
508 case callProblemEcho::ID:
509 func(static_cast<callProblemEcho &>(obj));
510 return true;
511 case callProblemNoise::ID:
512 func(static_cast<callProblemNoise &>(obj));
513 return true;
514 case callProblemInterruptions::ID:
515 func(static_cast<callProblemInterruptions &>(obj));
516 return true;
517 case callProblemDistortedSpeech::ID:
518 func(static_cast<callProblemDistortedSpeech &>(obj));
519 return true;
520 case callProblemSilentLocal::ID:
521 func(static_cast<callProblemSilentLocal &>(obj));
522 return true;
523 case callProblemSilentRemote::ID:
524 func(static_cast<callProblemSilentRemote &>(obj));
525 return true;
526 case callProblemDropped::ID:
527 func(static_cast<callProblemDropped &>(obj));
528 return true;
529 case callProblemDistortedVideo::ID:
530 func(static_cast<callProblemDistortedVideo &>(obj));
531 return true;
532 case callProblemPixelatedVideo::ID:
533 func(static_cast<callProblemPixelatedVideo &>(obj));
534 return true;
535 case callProtocol::ID:
536 func(static_cast<callProtocol &>(obj));
537 return true;
538 case callServer::ID:
539 func(static_cast<callServer &>(obj));
540 return true;
541 case callServerTypeTelegramReflector::ID:
542 func(static_cast<callServerTypeTelegramReflector &>(obj));
543 return true;
544 case callServerTypeWebrtc::ID:
545 func(static_cast<callServerTypeWebrtc &>(obj));
546 return true;
547 case callStatePending::ID:
548 func(static_cast<callStatePending &>(obj));
549 return true;
550 case callStateExchangingKeys::ID:
551 func(static_cast<callStateExchangingKeys &>(obj));
552 return true;
553 case callStateReady::ID:
554 func(static_cast<callStateReady &>(obj));
555 return true;
556 case callStateHangingUp::ID:
557 func(static_cast<callStateHangingUp &>(obj));
558 return true;
559 case callStateDiscarded::ID:
560 func(static_cast<callStateDiscarded &>(obj));
561 return true;
562 case callStateError::ID:
563 func(static_cast<callStateError &>(obj));
564 return true;
565 case callbackQueryAnswer::ID:
566 func(static_cast<callbackQueryAnswer &>(obj));
567 return true;
568 case callbackQueryPayloadData::ID:
569 func(static_cast<callbackQueryPayloadData &>(obj));
570 return true;
571 case callbackQueryPayloadDataWithPassword::ID:
572 func(static_cast<callbackQueryPayloadDataWithPassword &>(obj));
573 return true;
574 case callbackQueryPayloadGame::ID:
575 func(static_cast<callbackQueryPayloadGame &>(obj));
576 return true;
577 case canPostStoryResultOk::ID:
578 func(static_cast<canPostStoryResultOk &>(obj));
579 return true;
580 case canPostStoryResultPremiumNeeded::ID:
581 func(static_cast<canPostStoryResultPremiumNeeded &>(obj));
582 return true;
583 case canPostStoryResultBoostNeeded::ID:
584 func(static_cast<canPostStoryResultBoostNeeded &>(obj));
585 return true;
586 case canPostStoryResultActiveStoryLimitExceeded::ID:
587 func(static_cast<canPostStoryResultActiveStoryLimitExceeded &>(obj));
588 return true;
589 case canPostStoryResultWeeklyLimitExceeded::ID:
590 func(static_cast<canPostStoryResultWeeklyLimitExceeded &>(obj));
591 return true;
592 case canPostStoryResultMonthlyLimitExceeded::ID:
593 func(static_cast<canPostStoryResultMonthlyLimitExceeded &>(obj));
594 return true;
595 case canPostStoryResultLiveStoryIsActive::ID:
596 func(static_cast<canPostStoryResultLiveStoryIsActive &>(obj));
597 return true;
598 case canSendGiftResultOk::ID:
599 func(static_cast<canSendGiftResultOk &>(obj));
600 return true;
601 case canSendGiftResultFail::ID:
602 func(static_cast<canSendGiftResultFail &>(obj));
603 return true;
604 case canSendMessageToUserResultOk::ID:
605 func(static_cast<canSendMessageToUserResultOk &>(obj));
606 return true;
607 case canSendMessageToUserResultUserHasPaidMessages::ID:
608 func(static_cast<canSendMessageToUserResultUserHasPaidMessages &>(obj));
609 return true;
610 case canSendMessageToUserResultUserIsDeleted::ID:
611 func(static_cast<canSendMessageToUserResultUserIsDeleted &>(obj));
612 return true;
613 case canSendMessageToUserResultUserRestrictsNewChats::ID:
614 func(static_cast<canSendMessageToUserResultUserRestrictsNewChats &>(obj));
615 return true;
616 case canTransferOwnershipResultOk::ID:
617 func(static_cast<canTransferOwnershipResultOk &>(obj));
618 return true;
619 case canTransferOwnershipResultPasswordNeeded::ID:
620 func(static_cast<canTransferOwnershipResultPasswordNeeded &>(obj));
621 return true;
622 case canTransferOwnershipResultPasswordTooFresh::ID:
623 func(static_cast<canTransferOwnershipResultPasswordTooFresh &>(obj));
624 return true;
625 case canTransferOwnershipResultSessionTooFresh::ID:
626 func(static_cast<canTransferOwnershipResultSessionTooFresh &>(obj));
627 return true;
628 case chat::ID:
629 func(static_cast<chat &>(obj));
630 return true;
631 case chatActionTyping::ID:
632 func(static_cast<chatActionTyping &>(obj));
633 return true;
634 case chatActionRecordingVideo::ID:
635 func(static_cast<chatActionRecordingVideo &>(obj));
636 return true;
637 case chatActionUploadingVideo::ID:
638 func(static_cast<chatActionUploadingVideo &>(obj));
639 return true;
640 case chatActionRecordingVoiceNote::ID:
641 func(static_cast<chatActionRecordingVoiceNote &>(obj));
642 return true;
643 case chatActionUploadingVoiceNote::ID:
644 func(static_cast<chatActionUploadingVoiceNote &>(obj));
645 return true;
646 case chatActionUploadingPhoto::ID:
647 func(static_cast<chatActionUploadingPhoto &>(obj));
648 return true;
649 case chatActionUploadingDocument::ID:
650 func(static_cast<chatActionUploadingDocument &>(obj));
651 return true;
652 case chatActionChoosingSticker::ID:
653 func(static_cast<chatActionChoosingSticker &>(obj));
654 return true;
655 case chatActionChoosingLocation::ID:
656 func(static_cast<chatActionChoosingLocation &>(obj));
657 return true;
658 case chatActionChoosingContact::ID:
659 func(static_cast<chatActionChoosingContact &>(obj));
660 return true;
661 case chatActionStartPlayingGame::ID:
662 func(static_cast<chatActionStartPlayingGame &>(obj));
663 return true;
664 case chatActionRecordingVideoNote::ID:
665 func(static_cast<chatActionRecordingVideoNote &>(obj));
666 return true;
667 case chatActionUploadingVideoNote::ID:
668 func(static_cast<chatActionUploadingVideoNote &>(obj));
669 return true;
670 case chatActionWatchingAnimations::ID:
671 func(static_cast<chatActionWatchingAnimations &>(obj));
672 return true;
673 case chatActionCancel::ID:
674 func(static_cast<chatActionCancel &>(obj));
675 return true;
676 case chatActionBarReportSpam::ID:
677 func(static_cast<chatActionBarReportSpam &>(obj));
678 return true;
679 case chatActionBarInviteMembers::ID:
680 func(static_cast<chatActionBarInviteMembers &>(obj));
681 return true;
682 case chatActionBarReportAddBlock::ID:
683 func(static_cast<chatActionBarReportAddBlock &>(obj));
684 return true;
685 case chatActionBarAddContact::ID:
686 func(static_cast<chatActionBarAddContact &>(obj));
687 return true;
688 case chatActionBarSharePhoneNumber::ID:
689 func(static_cast<chatActionBarSharePhoneNumber &>(obj));
690 return true;
691 case chatActionBarJoinRequest::ID:
692 func(static_cast<chatActionBarJoinRequest &>(obj));
693 return true;
694 case chatActiveStories::ID:
695 func(static_cast<chatActiveStories &>(obj));
696 return true;
697 case chatAdministrator::ID:
698 func(static_cast<chatAdministrator &>(obj));
699 return true;
700 case chatAdministratorRights::ID:
701 func(static_cast<chatAdministratorRights &>(obj));
702 return true;
703 case chatAdministrators::ID:
704 func(static_cast<chatAdministrators &>(obj));
705 return true;
706 case chatAvailableReactionsAll::ID:
707 func(static_cast<chatAvailableReactionsAll &>(obj));
708 return true;
709 case chatAvailableReactionsSome::ID:
710 func(static_cast<chatAvailableReactionsSome &>(obj));
711 return true;
712 case chatBackground::ID:
713 func(static_cast<chatBackground &>(obj));
714 return true;
715 case chatBoost::ID:
716 func(static_cast<chatBoost &>(obj));
717 return true;
718 case chatBoostFeatures::ID:
719 func(static_cast<chatBoostFeatures &>(obj));
720 return true;
721 case chatBoostLevelFeatures::ID:
722 func(static_cast<chatBoostLevelFeatures &>(obj));
723 return true;
724 case chatBoostLink::ID:
725 func(static_cast<chatBoostLink &>(obj));
726 return true;
727 case chatBoostLinkInfo::ID:
728 func(static_cast<chatBoostLinkInfo &>(obj));
729 return true;
730 case chatBoostSlot::ID:
731 func(static_cast<chatBoostSlot &>(obj));
732 return true;
733 case chatBoostSlots::ID:
734 func(static_cast<chatBoostSlots &>(obj));
735 return true;
736 case chatBoostSourceGiftCode::ID:
737 func(static_cast<chatBoostSourceGiftCode &>(obj));
738 return true;
739 case chatBoostSourceGiveaway::ID:
740 func(static_cast<chatBoostSourceGiveaway &>(obj));
741 return true;
742 case chatBoostSourcePremium::ID:
743 func(static_cast<chatBoostSourcePremium &>(obj));
744 return true;
745 case chatBoostStatus::ID:
746 func(static_cast<chatBoostStatus &>(obj));
747 return true;
748 case chatEvent::ID:
749 func(static_cast<chatEvent &>(obj));
750 return true;
751 case chatEventMessageEdited::ID:
752 func(static_cast<chatEventMessageEdited &>(obj));
753 return true;
754 case chatEventMessageDeleted::ID:
755 func(static_cast<chatEventMessageDeleted &>(obj));
756 return true;
757 case chatEventMessagePinned::ID:
758 func(static_cast<chatEventMessagePinned &>(obj));
759 return true;
760 case chatEventMessageUnpinned::ID:
761 func(static_cast<chatEventMessageUnpinned &>(obj));
762 return true;
763 case chatEventPollStopped::ID:
764 func(static_cast<chatEventPollStopped &>(obj));
765 return true;
766 case chatEventMemberJoined::ID:
767 func(static_cast<chatEventMemberJoined &>(obj));
768 return true;
769 case chatEventMemberJoinedByInviteLink::ID:
770 func(static_cast<chatEventMemberJoinedByInviteLink &>(obj));
771 return true;
772 case chatEventMemberJoinedByRequest::ID:
773 func(static_cast<chatEventMemberJoinedByRequest &>(obj));
774 return true;
775 case chatEventMemberInvited::ID:
776 func(static_cast<chatEventMemberInvited &>(obj));
777 return true;
778 case chatEventMemberLeft::ID:
779 func(static_cast<chatEventMemberLeft &>(obj));
780 return true;
781 case chatEventMemberPromoted::ID:
782 func(static_cast<chatEventMemberPromoted &>(obj));
783 return true;
784 case chatEventMemberRestricted::ID:
785 func(static_cast<chatEventMemberRestricted &>(obj));
786 return true;
787 case chatEventMemberTagChanged::ID:
788 func(static_cast<chatEventMemberTagChanged &>(obj));
789 return true;
790 case chatEventMemberSubscriptionExtended::ID:
791 func(static_cast<chatEventMemberSubscriptionExtended &>(obj));
792 return true;
793 case chatEventAvailableReactionsChanged::ID:
794 func(static_cast<chatEventAvailableReactionsChanged &>(obj));
795 return true;
796 case chatEventBackgroundChanged::ID:
797 func(static_cast<chatEventBackgroundChanged &>(obj));
798 return true;
799 case chatEventDescriptionChanged::ID:
800 func(static_cast<chatEventDescriptionChanged &>(obj));
801 return true;
802 case chatEventEmojiStatusChanged::ID:
803 func(static_cast<chatEventEmojiStatusChanged &>(obj));
804 return true;
805 case chatEventLinkedChatChanged::ID:
806 func(static_cast<chatEventLinkedChatChanged &>(obj));
807 return true;
808 case chatEventLocationChanged::ID:
809 func(static_cast<chatEventLocationChanged &>(obj));
810 return true;
811 case chatEventMessageAutoDeleteTimeChanged::ID:
812 func(static_cast<chatEventMessageAutoDeleteTimeChanged &>(obj));
813 return true;
814 case chatEventPermissionsChanged::ID:
815 func(static_cast<chatEventPermissionsChanged &>(obj));
816 return true;
817 case chatEventPhotoChanged::ID:
818 func(static_cast<chatEventPhotoChanged &>(obj));
819 return true;
820 case chatEventSlowModeDelayChanged::ID:
821 func(static_cast<chatEventSlowModeDelayChanged &>(obj));
822 return true;
823 case chatEventStickerSetChanged::ID:
824 func(static_cast<chatEventStickerSetChanged &>(obj));
825 return true;
826 case chatEventCustomEmojiStickerSetChanged::ID:
827 func(static_cast<chatEventCustomEmojiStickerSetChanged &>(obj));
828 return true;
829 case chatEventTitleChanged::ID:
830 func(static_cast<chatEventTitleChanged &>(obj));
831 return true;
832 case chatEventUsernameChanged::ID:
833 func(static_cast<chatEventUsernameChanged &>(obj));
834 return true;
835 case chatEventActiveUsernamesChanged::ID:
836 func(static_cast<chatEventActiveUsernamesChanged &>(obj));
837 return true;
838 case chatEventAccentColorChanged::ID:
839 func(static_cast<chatEventAccentColorChanged &>(obj));
840 return true;
841 case chatEventProfileAccentColorChanged::ID:
842 func(static_cast<chatEventProfileAccentColorChanged &>(obj));
843 return true;
844 case chatEventHasProtectedContentToggled::ID:
845 func(static_cast<chatEventHasProtectedContentToggled &>(obj));
846 return true;
847 case chatEventInvitesToggled::ID:
848 func(static_cast<chatEventInvitesToggled &>(obj));
849 return true;
850 case chatEventIsAllHistoryAvailableToggled::ID:
851 func(static_cast<chatEventIsAllHistoryAvailableToggled &>(obj));
852 return true;
853 case chatEventHasAggressiveAntiSpamEnabledToggled::ID:
854 func(static_cast<chatEventHasAggressiveAntiSpamEnabledToggled &>(obj));
855 return true;
856 case chatEventSignMessagesToggled::ID:
857 func(static_cast<chatEventSignMessagesToggled &>(obj));
858 return true;
859 case chatEventShowMessageSenderToggled::ID:
860 func(static_cast<chatEventShowMessageSenderToggled &>(obj));
861 return true;
862 case chatEventAutomaticTranslationToggled::ID:
863 func(static_cast<chatEventAutomaticTranslationToggled &>(obj));
864 return true;
865 case chatEventInviteLinkEdited::ID:
866 func(static_cast<chatEventInviteLinkEdited &>(obj));
867 return true;
868 case chatEventInviteLinkRevoked::ID:
869 func(static_cast<chatEventInviteLinkRevoked &>(obj));
870 return true;
871 case chatEventInviteLinkDeleted::ID:
872 func(static_cast<chatEventInviteLinkDeleted &>(obj));
873 return true;
874 case chatEventVideoChatCreated::ID:
875 func(static_cast<chatEventVideoChatCreated &>(obj));
876 return true;
877 case chatEventVideoChatEnded::ID:
878 func(static_cast<chatEventVideoChatEnded &>(obj));
879 return true;
880 case chatEventVideoChatMuteNewParticipantsToggled::ID:
881 func(static_cast<chatEventVideoChatMuteNewParticipantsToggled &>(obj));
882 return true;
883 case chatEventVideoChatParticipantIsMutedToggled::ID:
884 func(static_cast<chatEventVideoChatParticipantIsMutedToggled &>(obj));
885 return true;
886 case chatEventVideoChatParticipantVolumeLevelChanged::ID:
887 func(static_cast<chatEventVideoChatParticipantVolumeLevelChanged &>(obj));
888 return true;
889 case chatEventIsForumToggled::ID:
890 func(static_cast<chatEventIsForumToggled &>(obj));
891 return true;
892 case chatEventForumTopicCreated::ID:
893 func(static_cast<chatEventForumTopicCreated &>(obj));
894 return true;
895 case chatEventForumTopicEdited::ID:
896 func(static_cast<chatEventForumTopicEdited &>(obj));
897 return true;
898 case chatEventForumTopicToggleIsClosed::ID:
899 func(static_cast<chatEventForumTopicToggleIsClosed &>(obj));
900 return true;
901 case chatEventForumTopicToggleIsHidden::ID:
902 func(static_cast<chatEventForumTopicToggleIsHidden &>(obj));
903 return true;
904 case chatEventForumTopicDeleted::ID:
905 func(static_cast<chatEventForumTopicDeleted &>(obj));
906 return true;
907 case chatEventForumTopicPinned::ID:
908 func(static_cast<chatEventForumTopicPinned &>(obj));
909 return true;
910 case chatEventLogFilters::ID:
911 func(static_cast<chatEventLogFilters &>(obj));
912 return true;
913 case chatEvents::ID:
914 func(static_cast<chatEvents &>(obj));
915 return true;
916 case chatFolder::ID:
917 func(static_cast<chatFolder &>(obj));
918 return true;
919 case chatFolderIcon::ID:
920 func(static_cast<chatFolderIcon &>(obj));
921 return true;
922 case chatFolderInfo::ID:
923 func(static_cast<chatFolderInfo &>(obj));
924 return true;
925 case chatFolderInviteLink::ID:
926 func(static_cast<chatFolderInviteLink &>(obj));
927 return true;
928 case chatFolderInviteLinkInfo::ID:
929 func(static_cast<chatFolderInviteLinkInfo &>(obj));
930 return true;
931 case chatFolderInviteLinks::ID:
932 func(static_cast<chatFolderInviteLinks &>(obj));
933 return true;
934 case chatFolderName::ID:
935 func(static_cast<chatFolderName &>(obj));
936 return true;
937 case chatInviteLink::ID:
938 func(static_cast<chatInviteLink &>(obj));
939 return true;
940 case chatInviteLinkCount::ID:
941 func(static_cast<chatInviteLinkCount &>(obj));
942 return true;
943 case chatInviteLinkCounts::ID:
944 func(static_cast<chatInviteLinkCounts &>(obj));
945 return true;
946 case chatInviteLinkInfo::ID:
947 func(static_cast<chatInviteLinkInfo &>(obj));
948 return true;
949 case chatInviteLinkMember::ID:
950 func(static_cast<chatInviteLinkMember &>(obj));
951 return true;
952 case chatInviteLinkMembers::ID:
953 func(static_cast<chatInviteLinkMembers &>(obj));
954 return true;
955 case chatInviteLinkSubscriptionInfo::ID:
956 func(static_cast<chatInviteLinkSubscriptionInfo &>(obj));
957 return true;
958 case chatInviteLinks::ID:
959 func(static_cast<chatInviteLinks &>(obj));
960 return true;
961 case chatJoinRequest::ID:
962 func(static_cast<chatJoinRequest &>(obj));
963 return true;
964 case chatJoinRequestResultApproved::ID:
965 func(static_cast<chatJoinRequestResultApproved &>(obj));
966 return true;
967 case chatJoinRequestResultDeclined::ID:
968 func(static_cast<chatJoinRequestResultDeclined &>(obj));
969 return true;
970 case chatJoinRequestResultQueued::ID:
971 func(static_cast<chatJoinRequestResultQueued &>(obj));
972 return true;
973 case chatJoinRequests::ID:
974 func(static_cast<chatJoinRequests &>(obj));
975 return true;
976 case chatJoinRequestsInfo::ID:
977 func(static_cast<chatJoinRequestsInfo &>(obj));
978 return true;
979 case chatJoinResultSuccess::ID:
980 func(static_cast<chatJoinResultSuccess &>(obj));
981 return true;
982 case chatJoinResultRequestSent::ID:
983 func(static_cast<chatJoinResultRequestSent &>(obj));
984 return true;
985 case chatJoinResultGuardBotApprovalRequired::ID:
986 func(static_cast<chatJoinResultGuardBotApprovalRequired &>(obj));
987 return true;
988 case chatJoinResultDeclined::ID:
989 func(static_cast<chatJoinResultDeclined &>(obj));
990 return true;
991 case chatListMain::ID:
992 func(static_cast<chatListMain &>(obj));
993 return true;
994 case chatListArchive::ID:
995 func(static_cast<chatListArchive &>(obj));
996 return true;
997 case chatListFolder::ID:
998 func(static_cast<chatListFolder &>(obj));
999 return true;
1000 case chatLists::ID:
1001 func(static_cast<chatLists &>(obj));
1002 return true;
1003 case chatLocation::ID:
1004 func(static_cast<chatLocation &>(obj));
1005 return true;
1006 case chatMember::ID:
1007 func(static_cast<chatMember &>(obj));
1008 return true;
1009 case chatMemberStatusCreator::ID:
1010 func(static_cast<chatMemberStatusCreator &>(obj));
1011 return true;
1012 case chatMemberStatusAdministrator::ID:
1013 func(static_cast<chatMemberStatusAdministrator &>(obj));
1014 return true;
1015 case chatMemberStatusMember::ID:
1016 func(static_cast<chatMemberStatusMember &>(obj));
1017 return true;
1018 case chatMemberStatusRestricted::ID:
1019 func(static_cast<chatMemberStatusRestricted &>(obj));
1020 return true;
1021 case chatMemberStatusLeft::ID:
1022 func(static_cast<chatMemberStatusLeft &>(obj));
1023 return true;
1024 case chatMemberStatusBanned::ID:
1025 func(static_cast<chatMemberStatusBanned &>(obj));
1026 return true;
1027 case chatMembers::ID:
1028 func(static_cast<chatMembers &>(obj));
1029 return true;
1030 case chatMembersFilterContacts::ID:
1031 func(static_cast<chatMembersFilterContacts &>(obj));
1032 return true;
1033 case chatMembersFilterAdministrators::ID:
1034 func(static_cast<chatMembersFilterAdministrators &>(obj));
1035 return true;
1036 case chatMembersFilterMembers::ID:
1037 func(static_cast<chatMembersFilterMembers &>(obj));
1038 return true;
1039 case chatMembersFilterMention::ID:
1040 func(static_cast<chatMembersFilterMention &>(obj));
1041 return true;
1042 case chatMembersFilterRestricted::ID:
1043 func(static_cast<chatMembersFilterRestricted &>(obj));
1044 return true;
1045 case chatMembersFilterBanned::ID:
1046 func(static_cast<chatMembersFilterBanned &>(obj));
1047 return true;
1048 case chatMembersFilterBots::ID:
1049 func(static_cast<chatMembersFilterBots &>(obj));
1050 return true;
1051 case chatMessageSender::ID:
1052 func(static_cast<chatMessageSender &>(obj));
1053 return true;
1054 case chatMessageSenders::ID:
1055 func(static_cast<chatMessageSenders &>(obj));
1056 return true;
1057 case chatNotificationSettings::ID:
1058 func(static_cast<chatNotificationSettings &>(obj));
1059 return true;
1060 case chatPermissions::ID:
1061 func(static_cast<chatPermissions &>(obj));
1062 return true;
1063 case chatPhoto::ID:
1064 func(static_cast<chatPhoto &>(obj));
1065 return true;
1066 case chatPhotoInfo::ID:
1067 func(static_cast<chatPhotoInfo &>(obj));
1068 return true;
1069 case chatPhotoSticker::ID:
1070 func(static_cast<chatPhotoSticker &>(obj));
1071 return true;
1072 case chatPhotoStickerTypeRegularOrMask::ID:
1073 func(static_cast<chatPhotoStickerTypeRegularOrMask &>(obj));
1074 return true;
1075 case chatPhotoStickerTypeCustomEmoji::ID:
1076 func(static_cast<chatPhotoStickerTypeCustomEmoji &>(obj));
1077 return true;
1078 case chatPhotos::ID:
1079 func(static_cast<chatPhotos &>(obj));
1080 return true;
1081 case chatPosition::ID:
1082 func(static_cast<chatPosition &>(obj));
1083 return true;
1084 case chatRevenueAmount::ID:
1085 func(static_cast<chatRevenueAmount &>(obj));
1086 return true;
1087 case chatRevenueStatistics::ID:
1088 func(static_cast<chatRevenueStatistics &>(obj));
1089 return true;
1090 case chatRevenueTransaction::ID:
1091 func(static_cast<chatRevenueTransaction &>(obj));
1092 return true;
1093 case chatRevenueTransactionTypeUnsupported::ID:
1094 func(static_cast<chatRevenueTransactionTypeUnsupported &>(obj));
1095 return true;
1096 case chatRevenueTransactionTypeSponsoredMessageEarnings::ID:
1098 return true;
1099 case chatRevenueTransactionTypeSuggestedPostEarnings::ID:
1100 func(static_cast<chatRevenueTransactionTypeSuggestedPostEarnings &>(obj));
1101 return true;
1102 case chatRevenueTransactionTypeFragmentWithdrawal::ID:
1103 func(static_cast<chatRevenueTransactionTypeFragmentWithdrawal &>(obj));
1104 return true;
1105 case chatRevenueTransactionTypeFragmentRefund::ID:
1106 func(static_cast<chatRevenueTransactionTypeFragmentRefund &>(obj));
1107 return true;
1108 case chatRevenueTransactions::ID:
1109 func(static_cast<chatRevenueTransactions &>(obj));
1110 return true;
1111 case chatSourceMtprotoProxy::ID:
1112 func(static_cast<chatSourceMtprotoProxy &>(obj));
1113 return true;
1114 case chatSourcePublicServiceAnnouncement::ID:
1115 func(static_cast<chatSourcePublicServiceAnnouncement &>(obj));
1116 return true;
1117 case chatStatisticsSupergroup::ID:
1118 func(static_cast<chatStatisticsSupergroup &>(obj));
1119 return true;
1120 case chatStatisticsChannel::ID:
1121 func(static_cast<chatStatisticsChannel &>(obj));
1122 return true;
1123 case chatStatisticsAdministratorActionsInfo::ID:
1124 func(static_cast<chatStatisticsAdministratorActionsInfo &>(obj));
1125 return true;
1126 case chatStatisticsInteractionInfo::ID:
1127 func(static_cast<chatStatisticsInteractionInfo &>(obj));
1128 return true;
1129 case chatStatisticsInviterInfo::ID:
1130 func(static_cast<chatStatisticsInviterInfo &>(obj));
1131 return true;
1132 case chatStatisticsMessageSenderInfo::ID:
1133 func(static_cast<chatStatisticsMessageSenderInfo &>(obj));
1134 return true;
1135 case chatStatisticsObjectTypeMessage::ID:
1136 func(static_cast<chatStatisticsObjectTypeMessage &>(obj));
1137 return true;
1138 case chatStatisticsObjectTypeStory::ID:
1139 func(static_cast<chatStatisticsObjectTypeStory &>(obj));
1140 return true;
1141 case chatThemeEmoji::ID:
1142 func(static_cast<chatThemeEmoji &>(obj));
1143 return true;
1144 case chatThemeGift::ID:
1145 func(static_cast<chatThemeGift &>(obj));
1146 return true;
1147 case chatTypePrivate::ID:
1148 func(static_cast<chatTypePrivate &>(obj));
1149 return true;
1150 case chatTypeBasicGroup::ID:
1151 func(static_cast<chatTypeBasicGroup &>(obj));
1152 return true;
1153 case chatTypeSupergroup::ID:
1154 func(static_cast<chatTypeSupergroup &>(obj));
1155 return true;
1156 case chatTypeSecret::ID:
1157 func(static_cast<chatTypeSecret &>(obj));
1158 return true;
1159 case chats::ID:
1160 func(static_cast<chats &>(obj));
1161 return true;
1162 case checkChatUsernameResultOk::ID:
1163 func(static_cast<checkChatUsernameResultOk &>(obj));
1164 return true;
1165 case checkChatUsernameResultUsernameInvalid::ID:
1166 func(static_cast<checkChatUsernameResultUsernameInvalid &>(obj));
1167 return true;
1168 case checkChatUsernameResultUsernameOccupied::ID:
1169 func(static_cast<checkChatUsernameResultUsernameOccupied &>(obj));
1170 return true;
1171 case checkChatUsernameResultUsernamePurchasable::ID:
1172 func(static_cast<checkChatUsernameResultUsernamePurchasable &>(obj));
1173 return true;
1174 case checkChatUsernameResultPublicChatsTooMany::ID:
1175 func(static_cast<checkChatUsernameResultPublicChatsTooMany &>(obj));
1176 return true;
1177 case checkChatUsernameResultPublicGroupsUnavailable::ID:
1178 func(static_cast<checkChatUsernameResultPublicGroupsUnavailable &>(obj));
1179 return true;
1180 case checkStickerSetNameResultOk::ID:
1181 func(static_cast<checkStickerSetNameResultOk &>(obj));
1182 return true;
1183 case checkStickerSetNameResultNameInvalid::ID:
1184 func(static_cast<checkStickerSetNameResultNameInvalid &>(obj));
1185 return true;
1186 case checkStickerSetNameResultNameOccupied::ID:
1187 func(static_cast<checkStickerSetNameResultNameOccupied &>(obj));
1188 return true;
1189 case checklist::ID:
1190 func(static_cast<checklist &>(obj));
1191 return true;
1192 case checklistTask::ID:
1193 func(static_cast<checklistTask &>(obj));
1194 return true;
1195 case closeBirthdayUser::ID:
1196 func(static_cast<closeBirthdayUser &>(obj));
1197 return true;
1198 case closedVectorPath::ID:
1199 func(static_cast<closedVectorPath &>(obj));
1200 return true;
1201 case collectibleItemInfo::ID:
1202 func(static_cast<collectibleItemInfo &>(obj));
1203 return true;
1204 case collectibleItemTypeUsername::ID:
1205 func(static_cast<collectibleItemTypeUsername &>(obj));
1206 return true;
1207 case collectibleItemTypePhoneNumber::ID:
1208 func(static_cast<collectibleItemTypePhoneNumber &>(obj));
1209 return true;
1210 case community::ID:
1211 func(static_cast<community &>(obj));
1212 return true;
1213 case communityAdministratorRights::ID:
1214 func(static_cast<communityAdministratorRights &>(obj));
1215 return true;
1216 case communityMemberStatusCreator::ID:
1217 func(static_cast<communityMemberStatusCreator &>(obj));
1218 return true;
1219 case communityMemberStatusAdministrator::ID:
1220 func(static_cast<communityMemberStatusAdministrator &>(obj));
1221 return true;
1222 case communityMemberStatusMember::ID:
1223 func(static_cast<communityMemberStatusMember &>(obj));
1224 return true;
1225 case communityMemberStatusLeft::ID:
1226 func(static_cast<communityMemberStatusLeft &>(obj));
1227 return true;
1228 case communityMemberStatusBanned::ID:
1229 func(static_cast<communityMemberStatusBanned &>(obj));
1230 return true;
1231 case communityPermissions::ID:
1232 func(static_cast<communityPermissions &>(obj));
1233 return true;
1234 case connectedAffiliateProgram::ID:
1235 func(static_cast<connectedAffiliateProgram &>(obj));
1236 return true;
1237 case connectedAffiliatePrograms::ID:
1238 func(static_cast<connectedAffiliatePrograms &>(obj));
1239 return true;
1240 case connectedWebsite::ID:
1241 func(static_cast<connectedWebsite &>(obj));
1242 return true;
1243 case connectedWebsites::ID:
1244 func(static_cast<connectedWebsites &>(obj));
1245 return true;
1246 case connectionStateWaitingForNetwork::ID:
1247 func(static_cast<connectionStateWaitingForNetwork &>(obj));
1248 return true;
1249 case connectionStateConnectingToProxy::ID:
1250 func(static_cast<connectionStateConnectingToProxy &>(obj));
1251 return true;
1252 case connectionStateConnecting::ID:
1253 func(static_cast<connectionStateConnecting &>(obj));
1254 return true;
1255 case connectionStateUpdating::ID:
1256 func(static_cast<connectionStateUpdating &>(obj));
1257 return true;
1258 case connectionStateReady::ID:
1259 func(static_cast<connectionStateReady &>(obj));
1260 return true;
1261 case contact::ID:
1262 func(static_cast<contact &>(obj));
1263 return true;
1264 case count::ID:
1265 func(static_cast<count &>(obj));
1266 return true;
1267 case countries::ID:
1268 func(static_cast<countries &>(obj));
1269 return true;
1270 case countryInfo::ID:
1271 func(static_cast<countryInfo &>(obj));
1272 return true;
1273 case craftGiftResultSuccess::ID:
1274 func(static_cast<craftGiftResultSuccess &>(obj));
1275 return true;
1276 case craftGiftResultTooEarly::ID:
1277 func(static_cast<craftGiftResultTooEarly &>(obj));
1278 return true;
1279 case craftGiftResultInvalidGift::ID:
1280 func(static_cast<craftGiftResultInvalidGift &>(obj));
1281 return true;
1282 case craftGiftResultFail::ID:
1283 func(static_cast<craftGiftResultFail &>(obj));
1284 return true;
1285 case createdBasicGroupChat::ID:
1286 func(static_cast<createdBasicGroupChat &>(obj));
1287 return true;
1288 case currentWeather::ID:
1289 func(static_cast<currentWeather &>(obj));
1290 return true;
1291 case customRequestResult::ID:
1292 func(static_cast<customRequestResult &>(obj));
1293 return true;
1294 case data::ID:
1295 func(static_cast<data &>(obj));
1296 return true;
1297 case databaseStatistics::ID:
1298 func(static_cast<databaseStatistics &>(obj));
1299 return true;
1300 case date::ID:
1301 func(static_cast<date &>(obj));
1302 return true;
1303 case dateRange::ID:
1304 func(static_cast<dateRange &>(obj));
1305 return true;
1306 case dateTimeFormattingTypeRelative::ID:
1307 func(static_cast<dateTimeFormattingTypeRelative &>(obj));
1308 return true;
1309 case dateTimeFormattingTypeAbsolute::ID:
1310 func(static_cast<dateTimeFormattingTypeAbsolute &>(obj));
1311 return true;
1312 case dateTimePartPrecisionNone::ID:
1313 func(static_cast<dateTimePartPrecisionNone &>(obj));
1314 return true;
1315 case dateTimePartPrecisionShort::ID:
1316 func(static_cast<dateTimePartPrecisionShort &>(obj));
1317 return true;
1318 case dateTimePartPrecisionLong::ID:
1319 func(static_cast<dateTimePartPrecisionLong &>(obj));
1320 return true;
1321 case datedFile::ID:
1322 func(static_cast<datedFile &>(obj));
1323 return true;
1324 case deepLinkInfo::ID:
1325 func(static_cast<deepLinkInfo &>(obj));
1326 return true;
1327 case deviceTokenFirebaseCloudMessaging::ID:
1328 func(static_cast<deviceTokenFirebaseCloudMessaging &>(obj));
1329 return true;
1330 case deviceTokenApplePush::ID:
1331 func(static_cast<deviceTokenApplePush &>(obj));
1332 return true;
1333 case deviceTokenApplePushVoIP::ID:
1334 func(static_cast<deviceTokenApplePushVoIP &>(obj));
1335 return true;
1336 case deviceTokenWindowsPush::ID:
1337 func(static_cast<deviceTokenWindowsPush &>(obj));
1338 return true;
1339 case deviceTokenMicrosoftPush::ID:
1340 func(static_cast<deviceTokenMicrosoftPush &>(obj));
1341 return true;
1342 case deviceTokenMicrosoftPushVoIP::ID:
1343 func(static_cast<deviceTokenMicrosoftPushVoIP &>(obj));
1344 return true;
1345 case deviceTokenWebPush::ID:
1346 func(static_cast<deviceTokenWebPush &>(obj));
1347 return true;
1348 case deviceTokenSimplePush::ID:
1349 func(static_cast<deviceTokenSimplePush &>(obj));
1350 return true;
1351 case deviceTokenUbuntuPush::ID:
1352 func(static_cast<deviceTokenUbuntuPush &>(obj));
1353 return true;
1354 case deviceTokenBlackBerryPush::ID:
1355 func(static_cast<deviceTokenBlackBerryPush &>(obj));
1356 return true;
1357 case deviceTokenTizenPush::ID:
1358 func(static_cast<deviceTokenTizenPush &>(obj));
1359 return true;
1360 case deviceTokenHuaweiPush::ID:
1361 func(static_cast<deviceTokenHuaweiPush &>(obj));
1362 return true;
1363 case diceStickersRegular::ID:
1364 func(static_cast<diceStickersRegular &>(obj));
1365 return true;
1366 case diceStickersSlotMachine::ID:
1367 func(static_cast<diceStickersSlotMachine &>(obj));
1368 return true;
1369 case diffEntity::ID:
1370 func(static_cast<diffEntity &>(obj));
1371 return true;
1372 case diffEntityTypeInsert::ID:
1373 func(static_cast<diffEntityTypeInsert &>(obj));
1374 return true;
1375 case diffEntityTypeReplace::ID:
1376 func(static_cast<diffEntityTypeReplace &>(obj));
1377 return true;
1378 case diffEntityTypeDelete::ID:
1379 func(static_cast<diffEntityTypeDelete &>(obj));
1380 return true;
1381 case diffText::ID:
1382 func(static_cast<diffText &>(obj));
1383 return true;
1384 case directMessagesChatTopic::ID:
1385 func(static_cast<directMessagesChatTopic &>(obj));
1386 return true;
1387 case document::ID:
1388 func(static_cast<document &>(obj));
1389 return true;
1390 case downloadedFileCounts::ID:
1391 func(static_cast<downloadedFileCounts &>(obj));
1392 return true;
1393 case draftMessage::ID:
1394 func(static_cast<draftMessage &>(obj));
1395 return true;
1396 case draftMessageContentText::ID:
1397 func(static_cast<draftMessageContentText &>(obj));
1398 return true;
1399 case draftMessageContentRichMessage::ID:
1400 func(static_cast<draftMessageContentRichMessage &>(obj));
1401 return true;
1402 case draftMessageContentVideoNote::ID:
1403 func(static_cast<draftMessageContentVideoNote &>(obj));
1404 return true;
1405 case draftMessageContentVoiceNote::ID:
1406 func(static_cast<draftMessageContentVoiceNote &>(obj));
1407 return true;
1408 case emailAddressAuthenticationCode::ID:
1409 func(static_cast<emailAddressAuthenticationCode &>(obj));
1410 return true;
1411 case emailAddressAuthenticationAppleId::ID:
1412 func(static_cast<emailAddressAuthenticationAppleId &>(obj));
1413 return true;
1414 case emailAddressAuthenticationGoogleId::ID:
1415 func(static_cast<emailAddressAuthenticationGoogleId &>(obj));
1416 return true;
1417 case emailAddressAuthenticationCodeInfo::ID:
1418 func(static_cast<emailAddressAuthenticationCodeInfo &>(obj));
1419 return true;
1420 case emailAddressResetStateAvailable::ID:
1421 func(static_cast<emailAddressResetStateAvailable &>(obj));
1422 return true;
1423 case emailAddressResetStatePending::ID:
1424 func(static_cast<emailAddressResetStatePending &>(obj));
1425 return true;
1426 case emojiCategories::ID:
1427 func(static_cast<emojiCategories &>(obj));
1428 return true;
1429 case emojiCategory::ID:
1430 func(static_cast<emojiCategory &>(obj));
1431 return true;
1432 case emojiCategorySourceSearch::ID:
1433 func(static_cast<emojiCategorySourceSearch &>(obj));
1434 return true;
1435 case emojiCategorySourcePremium::ID:
1436 func(static_cast<emojiCategorySourcePremium &>(obj));
1437 return true;
1438 case emojiCategoryTypeDefault::ID:
1439 func(static_cast<emojiCategoryTypeDefault &>(obj));
1440 return true;
1441 case emojiCategoryTypeRegularStickers::ID:
1442 func(static_cast<emojiCategoryTypeRegularStickers &>(obj));
1443 return true;
1444 case emojiCategoryTypeEmojiStatus::ID:
1445 func(static_cast<emojiCategoryTypeEmojiStatus &>(obj));
1446 return true;
1447 case emojiCategoryTypeChatPhoto::ID:
1448 func(static_cast<emojiCategoryTypeChatPhoto &>(obj));
1449 return true;
1450 case emojiChatTheme::ID:
1451 func(static_cast<emojiChatTheme &>(obj));
1452 return true;
1453 case emojiKeyword::ID:
1454 func(static_cast<emojiKeyword &>(obj));
1455 return true;
1456 case emojiKeywords::ID:
1457 func(static_cast<emojiKeywords &>(obj));
1458 return true;
1459 case emojiReaction::ID:
1460 func(static_cast<emojiReaction &>(obj));
1461 return true;
1462 case emojiStatus::ID:
1463 func(static_cast<emojiStatus &>(obj));
1464 return true;
1465 case emojiStatusCustomEmojis::ID:
1466 func(static_cast<emojiStatusCustomEmojis &>(obj));
1467 return true;
1468 case emojiStatusTypeCustomEmoji::ID:
1469 func(static_cast<emojiStatusTypeCustomEmoji &>(obj));
1470 return true;
1471 case emojiStatusTypeUpgradedGift::ID:
1472 func(static_cast<emojiStatusTypeUpgradedGift &>(obj));
1473 return true;
1474 case emojiStatuses::ID:
1475 func(static_cast<emojiStatuses &>(obj));
1476 return true;
1477 case emojis::ID:
1478 func(static_cast<emojis &>(obj));
1479 return true;
1480 case encryptedCredentials::ID:
1481 func(static_cast<encryptedCredentials &>(obj));
1482 return true;
1483 case encryptedPassportElement::ID:
1484 func(static_cast<encryptedPassportElement &>(obj));
1485 return true;
1486 case error::ID:
1487 func(static_cast<error &>(obj));
1488 return true;
1489 case factCheck::ID:
1490 func(static_cast<factCheck &>(obj));
1491 return true;
1492 case failedToAddMember::ID:
1493 func(static_cast<failedToAddMember &>(obj));
1494 return true;
1495 case failedToAddMembers::ID:
1496 func(static_cast<failedToAddMembers &>(obj));
1497 return true;
1498 case file::ID:
1499 func(static_cast<file &>(obj));
1500 return true;
1501 case fileDownload::ID:
1502 func(static_cast<fileDownload &>(obj));
1503 return true;
1504 case fileDownloadedPrefixSize::ID:
1505 func(static_cast<fileDownloadedPrefixSize &>(obj));
1506 return true;
1507 case fileTypeNone::ID:
1508 func(static_cast<fileTypeNone &>(obj));
1509 return true;
1510 case fileTypeAnimation::ID:
1511 func(static_cast<fileTypeAnimation &>(obj));
1512 return true;
1513 case fileTypeAudio::ID:
1514 func(static_cast<fileTypeAudio &>(obj));
1515 return true;
1516 case fileTypeDocument::ID:
1517 func(static_cast<fileTypeDocument &>(obj));
1518 return true;
1519 case fileTypeLivePhotoVideo::ID:
1520 func(static_cast<fileTypeLivePhotoVideo &>(obj));
1521 return true;
1522 case fileTypeNotificationSound::ID:
1523 func(static_cast<fileTypeNotificationSound &>(obj));
1524 return true;
1525 case fileTypePhoto::ID:
1526 func(static_cast<fileTypePhoto &>(obj));
1527 return true;
1528 case fileTypePhotoStory::ID:
1529 func(static_cast<fileTypePhotoStory &>(obj));
1530 return true;
1531 case fileTypeProfilePhoto::ID:
1532 func(static_cast<fileTypeProfilePhoto &>(obj));
1533 return true;
1534 case fileTypeSecret::ID:
1535 func(static_cast<fileTypeSecret &>(obj));
1536 return true;
1537 case fileTypeSecretThumbnail::ID:
1538 func(static_cast<fileTypeSecretThumbnail &>(obj));
1539 return true;
1540 case fileTypeSecure::ID:
1541 func(static_cast<fileTypeSecure &>(obj));
1542 return true;
1543 case fileTypeSelfDestructingLivePhotoVideo::ID:
1544 func(static_cast<fileTypeSelfDestructingLivePhotoVideo &>(obj));
1545 return true;
1546 case fileTypeSelfDestructingPhoto::ID:
1547 func(static_cast<fileTypeSelfDestructingPhoto &>(obj));
1548 return true;
1549 case fileTypeSelfDestructingVideo::ID:
1550 func(static_cast<fileTypeSelfDestructingVideo &>(obj));
1551 return true;
1552 case fileTypeSelfDestructingVideoNote::ID:
1553 func(static_cast<fileTypeSelfDestructingVideoNote &>(obj));
1554 return true;
1555 case fileTypeSelfDestructingVoiceNote::ID:
1556 func(static_cast<fileTypeSelfDestructingVoiceNote &>(obj));
1557 return true;
1558 case fileTypeSticker::ID:
1559 func(static_cast<fileTypeSticker &>(obj));
1560 return true;
1561 case fileTypeThumbnail::ID:
1562 func(static_cast<fileTypeThumbnail &>(obj));
1563 return true;
1564 case fileTypeUnknown::ID:
1565 func(static_cast<fileTypeUnknown &>(obj));
1566 return true;
1567 case fileTypeVideo::ID:
1568 func(static_cast<fileTypeVideo &>(obj));
1569 return true;
1570 case fileTypeVideoNote::ID:
1571 func(static_cast<fileTypeVideoNote &>(obj));
1572 return true;
1573 case fileTypeVideoStory::ID:
1574 func(static_cast<fileTypeVideoStory &>(obj));
1575 return true;
1576 case fileTypeVoiceNote::ID:
1577 func(static_cast<fileTypeVoiceNote &>(obj));
1578 return true;
1579 case fileTypeWallpaper::ID:
1580 func(static_cast<fileTypeWallpaper &>(obj));
1581 return true;
1582 case firebaseAuthenticationSettingsAndroid::ID:
1583 func(static_cast<firebaseAuthenticationSettingsAndroid &>(obj));
1584 return true;
1585 case firebaseAuthenticationSettingsIos::ID:
1586 func(static_cast<firebaseAuthenticationSettingsIos &>(obj));
1587 return true;
1588 case firebaseDeviceVerificationParametersSafetyNet::ID:
1589 func(static_cast<firebaseDeviceVerificationParametersSafetyNet &>(obj));
1590 return true;
1591 case firebaseDeviceVerificationParametersPlayIntegrity::ID:
1592 func(static_cast<firebaseDeviceVerificationParametersPlayIntegrity &>(obj));
1593 return true;
1594 case fixedText::ID:
1595 func(static_cast<fixedText &>(obj));
1596 return true;
1597 case formattedText::ID:
1598 func(static_cast<formattedText &>(obj));
1599 return true;
1600 case forumTopic::ID:
1601 func(static_cast<forumTopic &>(obj));
1602 return true;
1603 case forumTopicIcon::ID:
1604 func(static_cast<forumTopicIcon &>(obj));
1605 return true;
1606 case forumTopicInfo::ID:
1607 func(static_cast<forumTopicInfo &>(obj));
1608 return true;
1609 case forumTopics::ID:
1610 func(static_cast<forumTopics &>(obj));
1611 return true;
1612 case forwardSource::ID:
1613 func(static_cast<forwardSource &>(obj));
1614 return true;
1615 case foundAffiliateProgram::ID:
1616 func(static_cast<foundAffiliateProgram &>(obj));
1617 return true;
1618 case foundAffiliatePrograms::ID:
1619 func(static_cast<foundAffiliatePrograms &>(obj));
1620 return true;
1621 case foundChatBoosts::ID:
1622 func(static_cast<foundChatBoosts &>(obj));
1623 return true;
1624 case foundChatMessages::ID:
1625 func(static_cast<foundChatMessages &>(obj));
1626 return true;
1627 case foundFileDownloads::ID:
1628 func(static_cast<foundFileDownloads &>(obj));
1629 return true;
1630 case foundMessages::ID:
1631 func(static_cast<foundMessages &>(obj));
1632 return true;
1633 case foundPosition::ID:
1634 func(static_cast<foundPosition &>(obj));
1635 return true;
1636 case foundPositions::ID:
1637 func(static_cast<foundPositions &>(obj));
1638 return true;
1639 case foundPublicPosts::ID:
1640 func(static_cast<foundPublicPosts &>(obj));
1641 return true;
1642 case foundStories::ID:
1643 func(static_cast<foundStories &>(obj));
1644 return true;
1645 case foundUsers::ID:
1646 func(static_cast<foundUsers &>(obj));
1647 return true;
1648 case foundWebApp::ID:
1649 func(static_cast<foundWebApp &>(obj));
1650 return true;
1651 case game::ID:
1652 func(static_cast<game &>(obj));
1653 return true;
1654 case gameHighScore::ID:
1655 func(static_cast<gameHighScore &>(obj));
1656 return true;
1657 case gameHighScores::ID:
1658 func(static_cast<gameHighScores &>(obj));
1659 return true;
1660 case gift::ID:
1661 func(static_cast<gift &>(obj));
1662 return true;
1663 case giftAuction::ID:
1664 func(static_cast<giftAuction &>(obj));
1665 return true;
1666 case giftAuctionAcquiredGift::ID:
1667 func(static_cast<giftAuctionAcquiredGift &>(obj));
1668 return true;
1669 case giftAuctionAcquiredGifts::ID:
1670 func(static_cast<giftAuctionAcquiredGifts &>(obj));
1671 return true;
1672 case giftAuctionState::ID:
1673 func(static_cast<giftAuctionState &>(obj));
1674 return true;
1675 case giftBackground::ID:
1676 func(static_cast<giftBackground &>(obj));
1677 return true;
1678 case giftChatTheme::ID:
1679 func(static_cast<giftChatTheme &>(obj));
1680 return true;
1681 case giftChatThemes::ID:
1682 func(static_cast<giftChatThemes &>(obj));
1683 return true;
1684 case giftCollection::ID:
1685 func(static_cast<giftCollection &>(obj));
1686 return true;
1687 case giftCollections::ID:
1688 func(static_cast<giftCollections &>(obj));
1689 return true;
1690 case giftForResale::ID:
1691 func(static_cast<giftForResale &>(obj));
1692 return true;
1693 case giftForResaleOrderPrice::ID:
1694 func(static_cast<giftForResaleOrderPrice &>(obj));
1695 return true;
1696 case giftForResaleOrderPriceChangeDate::ID:
1697 func(static_cast<giftForResaleOrderPriceChangeDate &>(obj));
1698 return true;
1699 case giftForResaleOrderNumber::ID:
1700 func(static_cast<giftForResaleOrderNumber &>(obj));
1701 return true;
1702 case giftPurchaseLimits::ID:
1703 func(static_cast<giftPurchaseLimits &>(obj));
1704 return true;
1705 case giftPurchaseOfferStatePending::ID:
1706 func(static_cast<giftPurchaseOfferStatePending &>(obj));
1707 return true;
1708 case giftPurchaseOfferStateAccepted::ID:
1709 func(static_cast<giftPurchaseOfferStateAccepted &>(obj));
1710 return true;
1711 case giftPurchaseOfferStateRejected::ID:
1712 func(static_cast<giftPurchaseOfferStateRejected &>(obj));
1713 return true;
1714 case giftResaleParameters::ID:
1715 func(static_cast<giftResaleParameters &>(obj));
1716 return true;
1717 case giftResalePriceStar::ID:
1718 func(static_cast<giftResalePriceStar &>(obj));
1719 return true;
1720 case giftResalePriceGram::ID:
1721 func(static_cast<giftResalePriceGram &>(obj));
1722 return true;
1723 case giftResaleResultOk::ID:
1724 func(static_cast<giftResaleResultOk &>(obj));
1725 return true;
1726 case giftResaleResultPriceIncreased::ID:
1727 func(static_cast<giftResaleResultPriceIncreased &>(obj));
1728 return true;
1729 case giftSettings::ID:
1730 func(static_cast<giftSettings &>(obj));
1731 return true;
1732 case giftUpgradePreview::ID:
1733 func(static_cast<giftUpgradePreview &>(obj));
1734 return true;
1735 case giftUpgradePrice::ID:
1736 func(static_cast<giftUpgradePrice &>(obj));
1737 return true;
1738 case giftUpgradeVariants::ID:
1739 func(static_cast<giftUpgradeVariants &>(obj));
1740 return true;
1741 case giftsForCrafting::ID:
1742 func(static_cast<giftsForCrafting &>(obj));
1743 return true;
1744 case giftsForResale::ID:
1745 func(static_cast<giftsForResale &>(obj));
1746 return true;
1747 case giveawayInfoOngoing::ID:
1748 func(static_cast<giveawayInfoOngoing &>(obj));
1749 return true;
1750 case giveawayInfoCompleted::ID:
1751 func(static_cast<giveawayInfoCompleted &>(obj));
1752 return true;
1753 case giveawayParameters::ID:
1754 func(static_cast<giveawayParameters &>(obj));
1755 return true;
1756 case giveawayParticipantStatusEligible::ID:
1757 func(static_cast<giveawayParticipantStatusEligible &>(obj));
1758 return true;
1759 case giveawayParticipantStatusParticipating::ID:
1760 func(static_cast<giveawayParticipantStatusParticipating &>(obj));
1761 return true;
1762 case giveawayParticipantStatusAlreadyWasMember::ID:
1763 func(static_cast<giveawayParticipantStatusAlreadyWasMember &>(obj));
1764 return true;
1765 case giveawayParticipantStatusAdministrator::ID:
1766 func(static_cast<giveawayParticipantStatusAdministrator &>(obj));
1767 return true;
1768 case giveawayParticipantStatusDisallowedCountry::ID:
1769 func(static_cast<giveawayParticipantStatusDisallowedCountry &>(obj));
1770 return true;
1771 case giveawayPrizePremium::ID:
1772 func(static_cast<giveawayPrizePremium &>(obj));
1773 return true;
1774 case giveawayPrizeStars::ID:
1775 func(static_cast<giveawayPrizeStars &>(obj));
1776 return true;
1777 case gramRevenueStatistics::ID:
1778 func(static_cast<gramRevenueStatistics &>(obj));
1779 return true;
1780 case gramRevenueStatus::ID:
1781 func(static_cast<gramRevenueStatus &>(obj));
1782 return true;
1783 case groupCall::ID:
1784 func(static_cast<groupCall &>(obj));
1785 return true;
1786 case groupCallDataChannelMain::ID:
1787 func(static_cast<groupCallDataChannelMain &>(obj));
1788 return true;
1789 case groupCallDataChannelScreenSharing::ID:
1790 func(static_cast<groupCallDataChannelScreenSharing &>(obj));
1791 return true;
1792 case groupCallId::ID:
1793 func(static_cast<groupCallId &>(obj));
1794 return true;
1795 case groupCallInfo::ID:
1796 func(static_cast<groupCallInfo &>(obj));
1797 return true;
1798 case groupCallJoinParameters::ID:
1799 func(static_cast<groupCallJoinParameters &>(obj));
1800 return true;
1801 case groupCallMessage::ID:
1802 func(static_cast<groupCallMessage &>(obj));
1803 return true;
1804 case groupCallMessageLevel::ID:
1805 func(static_cast<groupCallMessageLevel &>(obj));
1806 return true;
1807 case groupCallParticipant::ID:
1808 func(static_cast<groupCallParticipant &>(obj));
1809 return true;
1810 case groupCallParticipantVideoInfo::ID:
1811 func(static_cast<groupCallParticipantVideoInfo &>(obj));
1812 return true;
1813 case groupCallParticipants::ID:
1814 func(static_cast<groupCallParticipants &>(obj));
1815 return true;
1816 case groupCallRecentSpeaker::ID:
1817 func(static_cast<groupCallRecentSpeaker &>(obj));
1818 return true;
1819 case groupCallStream::ID:
1820 func(static_cast<groupCallStream &>(obj));
1821 return true;
1822 case groupCallStreams::ID:
1823 func(static_cast<groupCallStreams &>(obj));
1824 return true;
1825 case groupCallVideoQualityThumbnail::ID:
1826 func(static_cast<groupCallVideoQualityThumbnail &>(obj));
1827 return true;
1828 case groupCallVideoQualityMedium::ID:
1829 func(static_cast<groupCallVideoQualityMedium &>(obj));
1830 return true;
1831 case groupCallVideoQualityFull::ID:
1832 func(static_cast<groupCallVideoQualityFull &>(obj));
1833 return true;
1834 case groupCallVideoSourceGroup::ID:
1835 func(static_cast<groupCallVideoSourceGroup &>(obj));
1836 return true;
1837 case hashtags::ID:
1838 func(static_cast<hashtags &>(obj));
1839 return true;
1840 case httpUrl::ID:
1841 func(static_cast<httpUrl &>(obj));
1842 return true;
1843 case identityDocument::ID:
1844 func(static_cast<identityDocument &>(obj));
1845 return true;
1846 case importedContact::ID:
1847 func(static_cast<importedContact &>(obj));
1848 return true;
1849 case importedContacts::ID:
1850 func(static_cast<importedContacts &>(obj));
1851 return true;
1852 case inlineKeyboardButton::ID:
1853 func(static_cast<inlineKeyboardButton &>(obj));
1854 return true;
1855 case inlineKeyboardButtonTypeUrl::ID:
1856 func(static_cast<inlineKeyboardButtonTypeUrl &>(obj));
1857 return true;
1858 case inlineKeyboardButtonTypeLoginUrl::ID:
1859 func(static_cast<inlineKeyboardButtonTypeLoginUrl &>(obj));
1860 return true;
1861 case inlineKeyboardButtonTypeWebApp::ID:
1862 func(static_cast<inlineKeyboardButtonTypeWebApp &>(obj));
1863 return true;
1864 case inlineKeyboardButtonTypeCallback::ID:
1865 func(static_cast<inlineKeyboardButtonTypeCallback &>(obj));
1866 return true;
1867 case inlineKeyboardButtonTypeCallbackWithPassword::ID:
1868 func(static_cast<inlineKeyboardButtonTypeCallbackWithPassword &>(obj));
1869 return true;
1870 case inlineKeyboardButtonTypeCallbackGame::ID:
1871 func(static_cast<inlineKeyboardButtonTypeCallbackGame &>(obj));
1872 return true;
1873 case inlineKeyboardButtonTypeSwitchInline::ID:
1874 func(static_cast<inlineKeyboardButtonTypeSwitchInline &>(obj));
1875 return true;
1876 case inlineKeyboardButtonTypeBuy::ID:
1877 func(static_cast<inlineKeyboardButtonTypeBuy &>(obj));
1878 return true;
1879 case inlineKeyboardButtonTypeUser::ID:
1880 func(static_cast<inlineKeyboardButtonTypeUser &>(obj));
1881 return true;
1882 case inlineKeyboardButtonTypeCopyText::ID:
1883 func(static_cast<inlineKeyboardButtonTypeCopyText &>(obj));
1884 return true;
1885 case inlineMessageId::ID:
1886 func(static_cast<inlineMessageId &>(obj));
1887 return true;
1888 case inlineQueryResultArticle::ID:
1889 func(static_cast<inlineQueryResultArticle &>(obj));
1890 return true;
1891 case inlineQueryResultContact::ID:
1892 func(static_cast<inlineQueryResultContact &>(obj));
1893 return true;
1894 case inlineQueryResultLocation::ID:
1895 func(static_cast<inlineQueryResultLocation &>(obj));
1896 return true;
1897 case inlineQueryResultVenue::ID:
1898 func(static_cast<inlineQueryResultVenue &>(obj));
1899 return true;
1900 case inlineQueryResultGame::ID:
1901 func(static_cast<inlineQueryResultGame &>(obj));
1902 return true;
1903 case inlineQueryResultAnimation::ID:
1904 func(static_cast<inlineQueryResultAnimation &>(obj));
1905 return true;
1906 case inlineQueryResultAudio::ID:
1907 func(static_cast<inlineQueryResultAudio &>(obj));
1908 return true;
1909 case inlineQueryResultDocument::ID:
1910 func(static_cast<inlineQueryResultDocument &>(obj));
1911 return true;
1912 case inlineQueryResultPhoto::ID:
1913 func(static_cast<inlineQueryResultPhoto &>(obj));
1914 return true;
1915 case inlineQueryResultSticker::ID:
1916 func(static_cast<inlineQueryResultSticker &>(obj));
1917 return true;
1918 case inlineQueryResultVideo::ID:
1919 func(static_cast<inlineQueryResultVideo &>(obj));
1920 return true;
1921 case inlineQueryResultVoiceNote::ID:
1922 func(static_cast<inlineQueryResultVoiceNote &>(obj));
1923 return true;
1924 case inlineQueryResults::ID:
1925 func(static_cast<inlineQueryResults &>(obj));
1926 return true;
1927 case inlineQueryResultsButton::ID:
1928 func(static_cast<inlineQueryResultsButton &>(obj));
1929 return true;
1930 case inlineQueryResultsButtonTypeStartBot::ID:
1931 func(static_cast<inlineQueryResultsButtonTypeStartBot &>(obj));
1932 return true;
1933 case inlineQueryResultsButtonTypeWebApp::ID:
1934 func(static_cast<inlineQueryResultsButtonTypeWebApp &>(obj));
1935 return true;
1936 case inputAnimation::ID:
1937 func(static_cast<inputAnimation &>(obj));
1938 return true;
1939 case inputAudio::ID:
1940 func(static_cast<inputAudio &>(obj));
1941 return true;
1942 case inputBackgroundLocal::ID:
1943 func(static_cast<inputBackgroundLocal &>(obj));
1944 return true;
1945 case inputBackgroundRemote::ID:
1946 func(static_cast<inputBackgroundRemote &>(obj));
1947 return true;
1948 case inputBackgroundPrevious::ID:
1949 func(static_cast<inputBackgroundPrevious &>(obj));
1950 return true;
1951 case inputBusinessChatLink::ID:
1952 func(static_cast<inputBusinessChatLink &>(obj));
1953 return true;
1954 case inputBusinessStartPage::ID:
1955 func(static_cast<inputBusinessStartPage &>(obj));
1956 return true;
1957 case inputCallDiscarded::ID:
1958 func(static_cast<inputCallDiscarded &>(obj));
1959 return true;
1960 case inputCallFromMessage::ID:
1961 func(static_cast<inputCallFromMessage &>(obj));
1962 return true;
1963 case inputChatPhotoPrevious::ID:
1964 func(static_cast<inputChatPhotoPrevious &>(obj));
1965 return true;
1966 case inputChatPhotoStatic::ID:
1967 func(static_cast<inputChatPhotoStatic &>(obj));
1968 return true;
1969 case inputChatPhotoAnimation::ID:
1970 func(static_cast<inputChatPhotoAnimation &>(obj));
1971 return true;
1972 case inputChatPhotoSticker::ID:
1973 func(static_cast<inputChatPhotoSticker &>(obj));
1974 return true;
1975 case inputChatThemeEmoji::ID:
1976 func(static_cast<inputChatThemeEmoji &>(obj));
1977 return true;
1978 case inputChatThemeGift::ID:
1979 func(static_cast<inputChatThemeGift &>(obj));
1980 return true;
1981 case inputChecklist::ID:
1982 func(static_cast<inputChecklist &>(obj));
1983 return true;
1984 case inputChecklistTask::ID:
1985 func(static_cast<inputChecklistTask &>(obj));
1986 return true;
1987 case inputCredentialsSaved::ID:
1988 func(static_cast<inputCredentialsSaved &>(obj));
1989 return true;
1990 case inputCredentialsNew::ID:
1991 func(static_cast<inputCredentialsNew &>(obj));
1992 return true;
1993 case inputCredentialsApplePay::ID:
1994 func(static_cast<inputCredentialsApplePay &>(obj));
1995 return true;
1996 case inputCredentialsGooglePay::ID:
1997 func(static_cast<inputCredentialsGooglePay &>(obj));
1998 return true;
1999 case inputDocument::ID:
2000 func(static_cast<inputDocument &>(obj));
2001 return true;
2002 case inputFileId::ID:
2003 func(static_cast<inputFileId &>(obj));
2004 return true;
2005 case inputFileRemote::ID:
2006 func(static_cast<inputFileRemote &>(obj));
2007 return true;
2008 case inputFileLocal::ID:
2009 func(static_cast<inputFileLocal &>(obj));
2010 return true;
2011 case inputFileGenerated::ID:
2012 func(static_cast<inputFileGenerated &>(obj));
2013 return true;
2014 case inputGroupCallLink::ID:
2015 func(static_cast<inputGroupCallLink &>(obj));
2016 return true;
2017 case inputGroupCallMessage::ID:
2018 func(static_cast<inputGroupCallMessage &>(obj));
2019 return true;
2020 case inputIdentityDocument::ID:
2021 func(static_cast<inputIdentityDocument &>(obj));
2022 return true;
2023 case inputInlineQueryResultAnimation::ID:
2024 func(static_cast<inputInlineQueryResultAnimation &>(obj));
2025 return true;
2026 case inputInlineQueryResultArticle::ID:
2027 func(static_cast<inputInlineQueryResultArticle &>(obj));
2028 return true;
2029 case inputInlineQueryResultAudio::ID:
2030 func(static_cast<inputInlineQueryResultAudio &>(obj));
2031 return true;
2032 case inputInlineQueryResultContact::ID:
2033 func(static_cast<inputInlineQueryResultContact &>(obj));
2034 return true;
2035 case inputInlineQueryResultDocument::ID:
2036 func(static_cast<inputInlineQueryResultDocument &>(obj));
2037 return true;
2038 case inputInlineQueryResultGame::ID:
2039 func(static_cast<inputInlineQueryResultGame &>(obj));
2040 return true;
2041 case inputInlineQueryResultLocation::ID:
2042 func(static_cast<inputInlineQueryResultLocation &>(obj));
2043 return true;
2044 case inputInlineQueryResultPhoto::ID:
2045 func(static_cast<inputInlineQueryResultPhoto &>(obj));
2046 return true;
2047 case inputInlineQueryResultSticker::ID:
2048 func(static_cast<inputInlineQueryResultSticker &>(obj));
2049 return true;
2050 case inputInlineQueryResultVenue::ID:
2051 func(static_cast<inputInlineQueryResultVenue &>(obj));
2052 return true;
2053 case inputInlineQueryResultVideo::ID:
2054 func(static_cast<inputInlineQueryResultVideo &>(obj));
2055 return true;
2056 case inputInlineQueryResultVoiceNote::ID:
2057 func(static_cast<inputInlineQueryResultVoiceNote &>(obj));
2058 return true;
2059 case inputInvoiceMessage::ID:
2060 func(static_cast<inputInvoiceMessage &>(obj));
2061 return true;
2062 case inputInvoiceName::ID:
2063 func(static_cast<inputInvoiceName &>(obj));
2064 return true;
2065 case inputInvoiceTelegram::ID:
2066 func(static_cast<inputInvoiceTelegram &>(obj));
2067 return true;
2068 case inputMessageText::ID:
2069 func(static_cast<inputMessageText &>(obj));
2070 return true;
2071 case inputMessageRichMessage::ID:
2072 func(static_cast<inputMessageRichMessage &>(obj));
2073 return true;
2074 case inputMessageAnimation::ID:
2075 func(static_cast<inputMessageAnimation &>(obj));
2076 return true;
2077 case inputMessageAudio::ID:
2078 func(static_cast<inputMessageAudio &>(obj));
2079 return true;
2080 case inputMessageDocument::ID:
2081 func(static_cast<inputMessageDocument &>(obj));
2082 return true;
2083 case inputMessagePaidMedia::ID:
2084 func(static_cast<inputMessagePaidMedia &>(obj));
2085 return true;
2086 case inputMessagePhoto::ID:
2087 func(static_cast<inputMessagePhoto &>(obj));
2088 return true;
2089 case inputMessageSticker::ID:
2090 func(static_cast<inputMessageSticker &>(obj));
2091 return true;
2092 case inputMessageVideo::ID:
2093 func(static_cast<inputMessageVideo &>(obj));
2094 return true;
2095 case inputMessageVideoNote::ID:
2096 func(static_cast<inputMessageVideoNote &>(obj));
2097 return true;
2098 case inputMessageVoiceNote::ID:
2099 func(static_cast<inputMessageVoiceNote &>(obj));
2100 return true;
2101 case inputMessageLiveLocation::ID:
2102 func(static_cast<inputMessageLiveLocation &>(obj));
2103 return true;
2104 case inputMessageLocation::ID:
2105 func(static_cast<inputMessageLocation &>(obj));
2106 return true;
2107 case inputMessageVenue::ID:
2108 func(static_cast<inputMessageVenue &>(obj));
2109 return true;
2110 case inputMessageContact::ID:
2111 func(static_cast<inputMessageContact &>(obj));
2112 return true;
2113 case inputMessageDice::ID:
2114 func(static_cast<inputMessageDice &>(obj));
2115 return true;
2116 case inputMessageGame::ID:
2117 func(static_cast<inputMessageGame &>(obj));
2118 return true;
2119 case inputMessageInvoice::ID:
2120 func(static_cast<inputMessageInvoice &>(obj));
2121 return true;
2122 case inputMessagePoll::ID:
2123 func(static_cast<inputMessagePoll &>(obj));
2124 return true;
2125 case inputMessageStakeDice::ID:
2126 func(static_cast<inputMessageStakeDice &>(obj));
2127 return true;
2128 case inputMessageStory::ID:
2129 func(static_cast<inputMessageStory &>(obj));
2130 return true;
2131 case inputMessageChecklist::ID:
2132 func(static_cast<inputMessageChecklist &>(obj));
2133 return true;
2134 case inputMessageForwarded::ID:
2135 func(static_cast<inputMessageForwarded &>(obj));
2136 return true;
2137 case inputMessageReplyToMessage::ID:
2138 func(static_cast<inputMessageReplyToMessage &>(obj));
2139 return true;
2140 case inputMessageReplyToExternalMessage::ID:
2141 func(static_cast<inputMessageReplyToExternalMessage &>(obj));
2142 return true;
2143 case inputMessageReplyToStory::ID:
2144 func(static_cast<inputMessageReplyToStory &>(obj));
2145 return true;
2146 case inputMessageReplyToEphemeralMessage::ID:
2147 func(static_cast<inputMessageReplyToEphemeralMessage &>(obj));
2148 return true;
2149 case inputPageBlockSectionHeading::ID:
2150 func(static_cast<inputPageBlockSectionHeading &>(obj));
2151 return true;
2152 case inputPageBlockParagraph::ID:
2153 func(static_cast<inputPageBlockParagraph &>(obj));
2154 return true;
2155 case inputPageBlockPreformatted::ID:
2156 func(static_cast<inputPageBlockPreformatted &>(obj));
2157 return true;
2158 case inputPageBlockFooter::ID:
2159 func(static_cast<inputPageBlockFooter &>(obj));
2160 return true;
2161 case inputPageBlockThinking::ID:
2162 func(static_cast<inputPageBlockThinking &>(obj));
2163 return true;
2164 case inputPageBlockDivider::ID:
2165 func(static_cast<inputPageBlockDivider &>(obj));
2166 return true;
2167 case inputPageBlockMathematicalExpression::ID:
2168 func(static_cast<inputPageBlockMathematicalExpression &>(obj));
2169 return true;
2170 case inputPageBlockAnchor::ID:
2171 func(static_cast<inputPageBlockAnchor &>(obj));
2172 return true;
2173 case inputPageBlockList::ID:
2174 func(static_cast<inputPageBlockList &>(obj));
2175 return true;
2176 case inputPageBlockBlockQuote::ID:
2177 func(static_cast<inputPageBlockBlockQuote &>(obj));
2178 return true;
2179 case inputPageBlockPullQuote::ID:
2180 func(static_cast<inputPageBlockPullQuote &>(obj));
2181 return true;
2182 case inputPageBlockAnimation::ID:
2183 func(static_cast<inputPageBlockAnimation &>(obj));
2184 return true;
2185 case inputPageBlockAudio::ID:
2186 func(static_cast<inputPageBlockAudio &>(obj));
2187 return true;
2188 case inputPageBlockPhoto::ID:
2189 func(static_cast<inputPageBlockPhoto &>(obj));
2190 return true;
2191 case inputPageBlockVideo::ID:
2192 func(static_cast<inputPageBlockVideo &>(obj));
2193 return true;
2194 case inputPageBlockVoiceNote::ID:
2195 func(static_cast<inputPageBlockVoiceNote &>(obj));
2196 return true;
2197 case inputPageBlockCollage::ID:
2198 func(static_cast<inputPageBlockCollage &>(obj));
2199 return true;
2200 case inputPageBlockSlideshow::ID:
2201 func(static_cast<inputPageBlockSlideshow &>(obj));
2202 return true;
2203 case inputPageBlockTable::ID:
2204 func(static_cast<inputPageBlockTable &>(obj));
2205 return true;
2206 case inputPageBlockDetails::ID:
2207 func(static_cast<inputPageBlockDetails &>(obj));
2208 return true;
2209 case inputPageBlockMap::ID:
2210 func(static_cast<inputPageBlockMap &>(obj));
2211 return true;
2212 case inputPageBlockListItem::ID:
2213 func(static_cast<inputPageBlockListItem &>(obj));
2214 return true;
2215 case inputPaidMedia::ID:
2216 func(static_cast<inputPaidMedia &>(obj));
2217 return true;
2218 case inputPaidMediaTypePhoto::ID:
2219 func(static_cast<inputPaidMediaTypePhoto &>(obj));
2220 return true;
2221 case inputPaidMediaTypeVideo::ID:
2222 func(static_cast<inputPaidMediaTypeVideo &>(obj));
2223 return true;
2224 case inputPassportElementPersonalDetails::ID:
2225 func(static_cast<inputPassportElementPersonalDetails &>(obj));
2226 return true;
2227 case inputPassportElementPassport::ID:
2228 func(static_cast<inputPassportElementPassport &>(obj));
2229 return true;
2230 case inputPassportElementDriverLicense::ID:
2231 func(static_cast<inputPassportElementDriverLicense &>(obj));
2232 return true;
2233 case inputPassportElementIdentityCard::ID:
2234 func(static_cast<inputPassportElementIdentityCard &>(obj));
2235 return true;
2236 case inputPassportElementInternalPassport::ID:
2237 func(static_cast<inputPassportElementInternalPassport &>(obj));
2238 return true;
2239 case inputPassportElementAddress::ID:
2240 func(static_cast<inputPassportElementAddress &>(obj));
2241 return true;
2242 case inputPassportElementUtilityBill::ID:
2243 func(static_cast<inputPassportElementUtilityBill &>(obj));
2244 return true;
2245 case inputPassportElementBankStatement::ID:
2246 func(static_cast<inputPassportElementBankStatement &>(obj));
2247 return true;
2248 case inputPassportElementRentalAgreement::ID:
2249 func(static_cast<inputPassportElementRentalAgreement &>(obj));
2250 return true;
2251 case inputPassportElementPassportRegistration::ID:
2252 func(static_cast<inputPassportElementPassportRegistration &>(obj));
2253 return true;
2254 case inputPassportElementTemporaryRegistration::ID:
2255 func(static_cast<inputPassportElementTemporaryRegistration &>(obj));
2256 return true;
2257 case inputPassportElementPhoneNumber::ID:
2258 func(static_cast<inputPassportElementPhoneNumber &>(obj));
2259 return true;
2260 case inputPassportElementEmailAddress::ID:
2261 func(static_cast<inputPassportElementEmailAddress &>(obj));
2262 return true;
2263 case inputPassportElementError::ID:
2264 func(static_cast<inputPassportElementError &>(obj));
2265 return true;
2266 case inputPassportElementErrorSourceUnspecified::ID:
2267 func(static_cast<inputPassportElementErrorSourceUnspecified &>(obj));
2268 return true;
2269 case inputPassportElementErrorSourceDataField::ID:
2270 func(static_cast<inputPassportElementErrorSourceDataField &>(obj));
2271 return true;
2272 case inputPassportElementErrorSourceFrontSide::ID:
2273 func(static_cast<inputPassportElementErrorSourceFrontSide &>(obj));
2274 return true;
2275 case inputPassportElementErrorSourceReverseSide::ID:
2276 func(static_cast<inputPassportElementErrorSourceReverseSide &>(obj));
2277 return true;
2278 case inputPassportElementErrorSourceSelfie::ID:
2279 func(static_cast<inputPassportElementErrorSourceSelfie &>(obj));
2280 return true;
2281 case inputPassportElementErrorSourceTranslationFile::ID:
2282 func(static_cast<inputPassportElementErrorSourceTranslationFile &>(obj));
2283 return true;
2284 case inputPassportElementErrorSourceTranslationFiles::ID:
2285 func(static_cast<inputPassportElementErrorSourceTranslationFiles &>(obj));
2286 return true;
2287 case inputPassportElementErrorSourceFile::ID:
2288 func(static_cast<inputPassportElementErrorSourceFile &>(obj));
2289 return true;
2290 case inputPassportElementErrorSourceFiles::ID:
2291 func(static_cast<inputPassportElementErrorSourceFiles &>(obj));
2292 return true;
2293 case inputPersonalDocument::ID:
2294 func(static_cast<inputPersonalDocument &>(obj));
2295 return true;
2296 case inputPhoto::ID:
2297 func(static_cast<inputPhoto &>(obj));
2298 return true;
2299 case inputPollMediaAnimation::ID:
2300 func(static_cast<inputPollMediaAnimation &>(obj));
2301 return true;
2302 case inputPollMediaAudio::ID:
2303 func(static_cast<inputPollMediaAudio &>(obj));
2304 return true;
2305 case inputPollMediaDocument::ID:
2306 func(static_cast<inputPollMediaDocument &>(obj));
2307 return true;
2308 case inputPollMediaLink::ID:
2309 func(static_cast<inputPollMediaLink &>(obj));
2310 return true;
2311 case inputPollMediaLocation::ID:
2312 func(static_cast<inputPollMediaLocation &>(obj));
2313 return true;
2314 case inputPollMediaPhoto::ID:
2315 func(static_cast<inputPollMediaPhoto &>(obj));
2316 return true;
2317 case inputPollMediaSticker::ID:
2318 func(static_cast<inputPollMediaSticker &>(obj));
2319 return true;
2320 case inputPollMediaVenue::ID:
2321 func(static_cast<inputPollMediaVenue &>(obj));
2322 return true;
2323 case inputPollMediaVideo::ID:
2324 func(static_cast<inputPollMediaVideo &>(obj));
2325 return true;
2326 case inputPollOption::ID:
2327 func(static_cast<inputPollOption &>(obj));
2328 return true;
2329 case inputPollTypeRegular::ID:
2330 func(static_cast<inputPollTypeRegular &>(obj));
2331 return true;
2332 case inputPollTypeQuiz::ID:
2333 func(static_cast<inputPollTypeQuiz &>(obj));
2334 return true;
2335 case inputRichMessage::ID:
2336 func(static_cast<inputRichMessage &>(obj));
2337 return true;
2338 case inputRichMessageMedia::ID:
2339 func(static_cast<inputRichMessageMedia &>(obj));
2340 return true;
2341 case inputSticker::ID:
2342 func(static_cast<inputSticker &>(obj));
2343 return true;
2344 case inputStoryArea::ID:
2345 func(static_cast<inputStoryArea &>(obj));
2346 return true;
2347 case inputStoryAreaTypeLocation::ID:
2348 func(static_cast<inputStoryAreaTypeLocation &>(obj));
2349 return true;
2350 case inputStoryAreaTypeFoundVenue::ID:
2351 func(static_cast<inputStoryAreaTypeFoundVenue &>(obj));
2352 return true;
2353 case inputStoryAreaTypePreviousVenue::ID:
2354 func(static_cast<inputStoryAreaTypePreviousVenue &>(obj));
2355 return true;
2356 case inputStoryAreaTypeSuggestedReaction::ID:
2357 func(static_cast<inputStoryAreaTypeSuggestedReaction &>(obj));
2358 return true;
2359 case inputStoryAreaTypeMessage::ID:
2360 func(static_cast<inputStoryAreaTypeMessage &>(obj));
2361 return true;
2362 case inputStoryAreaTypeLink::ID:
2363 func(static_cast<inputStoryAreaTypeLink &>(obj));
2364 return true;
2365 case inputStoryAreaTypeWeather::ID:
2366 func(static_cast<inputStoryAreaTypeWeather &>(obj));
2367 return true;
2368 case inputStoryAreaTypeUpgradedGift::ID:
2369 func(static_cast<inputStoryAreaTypeUpgradedGift &>(obj));
2370 return true;
2371 case inputStoryAreas::ID:
2372 func(static_cast<inputStoryAreas &>(obj));
2373 return true;
2374 case inputStoryContentPhoto::ID:
2375 func(static_cast<inputStoryContentPhoto &>(obj));
2376 return true;
2377 case inputStoryContentVideo::ID:
2378 func(static_cast<inputStoryContentVideo &>(obj));
2379 return true;
2380 case inputSuggestedPostInfo::ID:
2381 func(static_cast<inputSuggestedPostInfo &>(obj));
2382 return true;
2383 case inputTextQuote::ID:
2384 func(static_cast<inputTextQuote &>(obj));
2385 return true;
2386 case inputThumbnail::ID:
2387 func(static_cast<inputThumbnail &>(obj));
2388 return true;
2389 case inputVideo::ID:
2390 func(static_cast<inputVideo &>(obj));
2391 return true;
2392 case inputVideoNote::ID:
2393 func(static_cast<inputVideoNote &>(obj));
2394 return true;
2395 case inputVoiceNote::ID:
2396 func(static_cast<inputVoiceNote &>(obj));
2397 return true;
2398 case internalLinkTypeAttachmentMenuBot::ID:
2399 func(static_cast<internalLinkTypeAttachmentMenuBot &>(obj));
2400 return true;
2401 case internalLinkTypeAuthenticationCode::ID:
2402 func(static_cast<internalLinkTypeAuthenticationCode &>(obj));
2403 return true;
2404 case internalLinkTypeBackground::ID:
2405 func(static_cast<internalLinkTypeBackground &>(obj));
2406 return true;
2407 case internalLinkTypeBotAddToChannel::ID:
2408 func(static_cast<internalLinkTypeBotAddToChannel &>(obj));
2409 return true;
2410 case internalLinkTypeBotStart::ID:
2411 func(static_cast<internalLinkTypeBotStart &>(obj));
2412 return true;
2413 case internalLinkTypeBotStartInGroup::ID:
2414 func(static_cast<internalLinkTypeBotStartInGroup &>(obj));
2415 return true;
2416 case internalLinkTypeBusinessChat::ID:
2417 func(static_cast<internalLinkTypeBusinessChat &>(obj));
2418 return true;
2419 case internalLinkTypeCallsPage::ID:
2420 func(static_cast<internalLinkTypeCallsPage &>(obj));
2421 return true;
2422 case internalLinkTypeChatAffiliateProgram::ID:
2423 func(static_cast<internalLinkTypeChatAffiliateProgram &>(obj));
2424 return true;
2425 case internalLinkTypeChatBoost::ID:
2426 func(static_cast<internalLinkTypeChatBoost &>(obj));
2427 return true;
2428 case internalLinkTypeChatFolderInvite::ID:
2429 func(static_cast<internalLinkTypeChatFolderInvite &>(obj));
2430 return true;
2431 case internalLinkTypeChatInvite::ID:
2432 func(static_cast<internalLinkTypeChatInvite &>(obj));
2433 return true;
2434 case internalLinkTypeChatSelection::ID:
2435 func(static_cast<internalLinkTypeChatSelection &>(obj));
2436 return true;
2437 case internalLinkTypeContactsPage::ID:
2438 func(static_cast<internalLinkTypeContactsPage &>(obj));
2439 return true;
2440 case internalLinkTypeDirectMessagesChat::ID:
2441 func(static_cast<internalLinkTypeDirectMessagesChat &>(obj));
2442 return true;
2443 case internalLinkTypeGame::ID:
2444 func(static_cast<internalLinkTypeGame &>(obj));
2445 return true;
2446 case internalLinkTypeGiftAuction::ID:
2447 func(static_cast<internalLinkTypeGiftAuction &>(obj));
2448 return true;
2449 case internalLinkTypeGiftCollection::ID:
2450 func(static_cast<internalLinkTypeGiftCollection &>(obj));
2451 return true;
2452 case internalLinkTypeGroupCall::ID:
2453 func(static_cast<internalLinkTypeGroupCall &>(obj));
2454 return true;
2455 case internalLinkTypeInstantView::ID:
2456 func(static_cast<internalLinkTypeInstantView &>(obj));
2457 return true;
2458 case internalLinkTypeInvoice::ID:
2459 func(static_cast<internalLinkTypeInvoice &>(obj));
2460 return true;
2461 case internalLinkTypeLanguagePack::ID:
2462 func(static_cast<internalLinkTypeLanguagePack &>(obj));
2463 return true;
2464 case internalLinkTypeLiveStory::ID:
2465 func(static_cast<internalLinkTypeLiveStory &>(obj));
2466 return true;
2467 case internalLinkTypeMainWebApp::ID:
2468 func(static_cast<internalLinkTypeMainWebApp &>(obj));
2469 return true;
2470 case internalLinkTypeMessage::ID:
2471 func(static_cast<internalLinkTypeMessage &>(obj));
2472 return true;
2473 case internalLinkTypeMessageDraft::ID:
2474 func(static_cast<internalLinkTypeMessageDraft &>(obj));
2475 return true;
2476 case internalLinkTypeMyProfilePage::ID:
2477 func(static_cast<internalLinkTypeMyProfilePage &>(obj));
2478 return true;
2479 case internalLinkTypeNewChannelChat::ID:
2480 func(static_cast<internalLinkTypeNewChannelChat &>(obj));
2481 return true;
2482 case internalLinkTypeNewGroupChat::ID:
2483 func(static_cast<internalLinkTypeNewGroupChat &>(obj));
2484 return true;
2485 case internalLinkTypeNewPrivateChat::ID:
2486 func(static_cast<internalLinkTypeNewPrivateChat &>(obj));
2487 return true;
2488 case internalLinkTypeNewStory::ID:
2489 func(static_cast<internalLinkTypeNewStory &>(obj));
2490 return true;
2491 case internalLinkTypeOauth::ID:
2492 func(static_cast<internalLinkTypeOauth &>(obj));
2493 return true;
2494 case internalLinkTypePassportDataRequest::ID:
2495 func(static_cast<internalLinkTypePassportDataRequest &>(obj));
2496 return true;
2497 case internalLinkTypePhoneNumberConfirmation::ID:
2498 func(static_cast<internalLinkTypePhoneNumberConfirmation &>(obj));
2499 return true;
2500 case internalLinkTypePremiumFeaturesPage::ID:
2501 func(static_cast<internalLinkTypePremiumFeaturesPage &>(obj));
2502 return true;
2503 case internalLinkTypePremiumGiftCode::ID:
2504 func(static_cast<internalLinkTypePremiumGiftCode &>(obj));
2505 return true;
2506 case internalLinkTypePremiumGiftPurchase::ID:
2507 func(static_cast<internalLinkTypePremiumGiftPurchase &>(obj));
2508 return true;
2509 case internalLinkTypeProxy::ID:
2510 func(static_cast<internalLinkTypeProxy &>(obj));
2511 return true;
2512 case internalLinkTypePublicChat::ID:
2513 func(static_cast<internalLinkTypePublicChat &>(obj));
2514 return true;
2515 case internalLinkTypeQrCodeAuthentication::ID:
2516 func(static_cast<internalLinkTypeQrCodeAuthentication &>(obj));
2517 return true;
2518 case internalLinkTypeRequestManagedBot::ID:
2519 func(static_cast<internalLinkTypeRequestManagedBot &>(obj));
2520 return true;
2521 case internalLinkTypeRestorePurchases::ID:
2522 func(static_cast<internalLinkTypeRestorePurchases &>(obj));
2523 return true;
2524 case internalLinkTypeSavedMessages::ID:
2525 func(static_cast<internalLinkTypeSavedMessages &>(obj));
2526 return true;
2527 case internalLinkTypeSearch::ID:
2528 func(static_cast<internalLinkTypeSearch &>(obj));
2529 return true;
2530 case internalLinkTypeSettings::ID:
2531 func(static_cast<internalLinkTypeSettings &>(obj));
2532 return true;
2533 case internalLinkTypeStarPurchase::ID:
2534 func(static_cast<internalLinkTypeStarPurchase &>(obj));
2535 return true;
2536 case internalLinkTypeStickerSet::ID:
2537 func(static_cast<internalLinkTypeStickerSet &>(obj));
2538 return true;
2539 case internalLinkTypeStory::ID:
2540 func(static_cast<internalLinkTypeStory &>(obj));
2541 return true;
2542 case internalLinkTypeStoryAlbum::ID:
2543 func(static_cast<internalLinkTypeStoryAlbum &>(obj));
2544 return true;
2545 case internalLinkTypeTextCompositionStyle::ID:
2546 func(static_cast<internalLinkTypeTextCompositionStyle &>(obj));
2547 return true;
2548 case internalLinkTypeTheme::ID:
2549 func(static_cast<internalLinkTypeTheme &>(obj));
2550 return true;
2551 case internalLinkTypeUnknownDeepLink::ID:
2552 func(static_cast<internalLinkTypeUnknownDeepLink &>(obj));
2553 return true;
2554 case internalLinkTypeUpgradedGift::ID:
2555 func(static_cast<internalLinkTypeUpgradedGift &>(obj));
2556 return true;
2557 case internalLinkTypeUserPhoneNumber::ID:
2558 func(static_cast<internalLinkTypeUserPhoneNumber &>(obj));
2559 return true;
2560 case internalLinkTypeUserToken::ID:
2561 func(static_cast<internalLinkTypeUserToken &>(obj));
2562 return true;
2563 case internalLinkTypeVideoChat::ID:
2564 func(static_cast<internalLinkTypeVideoChat &>(obj));
2565 return true;
2566 case internalLinkTypeWebApp::ID:
2567 func(static_cast<internalLinkTypeWebApp &>(obj));
2568 return true;
2569 case inviteGroupCallParticipantResultUserPrivacyRestricted::ID:
2571 return true;
2572 case inviteGroupCallParticipantResultUserAlreadyParticipant::ID:
2574 return true;
2575 case inviteGroupCallParticipantResultUserWasBanned::ID:
2576 func(static_cast<inviteGroupCallParticipantResultUserWasBanned &>(obj));
2577 return true;
2578 case inviteGroupCallParticipantResultSuccess::ID:
2579 func(static_cast<inviteGroupCallParticipantResultSuccess &>(obj));
2580 return true;
2581 case inviteLinkChatTypeBasicGroup::ID:
2582 func(static_cast<inviteLinkChatTypeBasicGroup &>(obj));
2583 return true;
2584 case inviteLinkChatTypeSupergroup::ID:
2585 func(static_cast<inviteLinkChatTypeSupergroup &>(obj));
2586 return true;
2587 case inviteLinkChatTypeChannel::ID:
2588 func(static_cast<inviteLinkChatTypeChannel &>(obj));
2589 return true;
2590 case invoice::ID:
2591 func(static_cast<invoice &>(obj));
2592 return true;
2593 case jsonObjectMember::ID:
2594 func(static_cast<jsonObjectMember &>(obj));
2595 return true;
2596 case jsonValueNull::ID:
2597 func(static_cast<jsonValueNull &>(obj));
2598 return true;
2599 case jsonValueBoolean::ID:
2600 func(static_cast<jsonValueBoolean &>(obj));
2601 return true;
2602 case jsonValueNumber::ID:
2603 func(static_cast<jsonValueNumber &>(obj));
2604 return true;
2605 case jsonValueString::ID:
2606 func(static_cast<jsonValueString &>(obj));
2607 return true;
2608 case jsonValueArray::ID:
2609 func(static_cast<jsonValueArray &>(obj));
2610 return true;
2611 case jsonValueObject::ID:
2612 func(static_cast<jsonValueObject &>(obj));
2613 return true;
2614 case keyboardButton::ID:
2615 func(static_cast<keyboardButton &>(obj));
2616 return true;
2617 case keyboardButtonSourceMessage::ID:
2618 func(static_cast<keyboardButtonSourceMessage &>(obj));
2619 return true;
2620 case keyboardButtonSourceWebApp::ID:
2621 func(static_cast<keyboardButtonSourceWebApp &>(obj));
2622 return true;
2623 case keyboardButtonTypeText::ID:
2624 func(static_cast<keyboardButtonTypeText &>(obj));
2625 return true;
2626 case keyboardButtonTypeRequestPhoneNumber::ID:
2627 func(static_cast<keyboardButtonTypeRequestPhoneNumber &>(obj));
2628 return true;
2629 case keyboardButtonTypeRequestLocation::ID:
2630 func(static_cast<keyboardButtonTypeRequestLocation &>(obj));
2631 return true;
2632 case keyboardButtonTypeRequestPoll::ID:
2633 func(static_cast<keyboardButtonTypeRequestPoll &>(obj));
2634 return true;
2635 case keyboardButtonTypeRequestUsers::ID:
2636 func(static_cast<keyboardButtonTypeRequestUsers &>(obj));
2637 return true;
2638 case keyboardButtonTypeRequestChat::ID:
2639 func(static_cast<keyboardButtonTypeRequestChat &>(obj));
2640 return true;
2641 case keyboardButtonTypeRequestManagedBot::ID:
2642 func(static_cast<keyboardButtonTypeRequestManagedBot &>(obj));
2643 return true;
2644 case keyboardButtonTypeWebApp::ID:
2645 func(static_cast<keyboardButtonTypeWebApp &>(obj));
2646 return true;
2647 case labeledPricePart::ID:
2648 func(static_cast<labeledPricePart &>(obj));
2649 return true;
2650 case languagePackInfo::ID:
2651 func(static_cast<languagePackInfo &>(obj));
2652 return true;
2653 case languagePackString::ID:
2654 func(static_cast<languagePackString &>(obj));
2655 return true;
2656 case languagePackStringValueOrdinary::ID:
2657 func(static_cast<languagePackStringValueOrdinary &>(obj));
2658 return true;
2659 case languagePackStringValuePluralized::ID:
2660 func(static_cast<languagePackStringValuePluralized &>(obj));
2661 return true;
2662 case languagePackStringValueDeleted::ID:
2663 func(static_cast<languagePackStringValueDeleted &>(obj));
2664 return true;
2665 case languagePackStrings::ID:
2666 func(static_cast<languagePackStrings &>(obj));
2667 return true;
2668 case linkPreview::ID:
2669 func(static_cast<linkPreview &>(obj));
2670 return true;
2671 case linkPreviewAlbumMediaPhoto::ID:
2672 func(static_cast<linkPreviewAlbumMediaPhoto &>(obj));
2673 return true;
2674 case linkPreviewAlbumMediaVideo::ID:
2675 func(static_cast<linkPreviewAlbumMediaVideo &>(obj));
2676 return true;
2677 case linkPreviewOptions::ID:
2678 func(static_cast<linkPreviewOptions &>(obj));
2679 return true;
2680 case linkPreviewTypeAlbum::ID:
2681 func(static_cast<linkPreviewTypeAlbum &>(obj));
2682 return true;
2683 case linkPreviewTypeAnimation::ID:
2684 func(static_cast<linkPreviewTypeAnimation &>(obj));
2685 return true;
2686 case linkPreviewTypeApp::ID:
2687 func(static_cast<linkPreviewTypeApp &>(obj));
2688 return true;
2689 case linkPreviewTypeArticle::ID:
2690 func(static_cast<linkPreviewTypeArticle &>(obj));
2691 return true;
2692 case linkPreviewTypeAudio::ID:
2693 func(static_cast<linkPreviewTypeAudio &>(obj));
2694 return true;
2695 case linkPreviewTypeBackground::ID:
2696 func(static_cast<linkPreviewTypeBackground &>(obj));
2697 return true;
2698 case linkPreviewTypeChannelBoost::ID:
2699 func(static_cast<linkPreviewTypeChannelBoost &>(obj));
2700 return true;
2701 case linkPreviewTypeChat::ID:
2702 func(static_cast<linkPreviewTypeChat &>(obj));
2703 return true;
2704 case linkPreviewTypeDirectMessagesChat::ID:
2705 func(static_cast<linkPreviewTypeDirectMessagesChat &>(obj));
2706 return true;
2707 case linkPreviewTypeDocument::ID:
2708 func(static_cast<linkPreviewTypeDocument &>(obj));
2709 return true;
2710 case linkPreviewTypeEmbeddedAnimationPlayer::ID:
2711 func(static_cast<linkPreviewTypeEmbeddedAnimationPlayer &>(obj));
2712 return true;
2713 case linkPreviewTypeEmbeddedAudioPlayer::ID:
2714 func(static_cast<linkPreviewTypeEmbeddedAudioPlayer &>(obj));
2715 return true;
2716 case linkPreviewTypeEmbeddedVideoPlayer::ID:
2717 func(static_cast<linkPreviewTypeEmbeddedVideoPlayer &>(obj));
2718 return true;
2719 case linkPreviewTypeExternalAudio::ID:
2720 func(static_cast<linkPreviewTypeExternalAudio &>(obj));
2721 return true;
2722 case linkPreviewTypeExternalVideo::ID:
2723 func(static_cast<linkPreviewTypeExternalVideo &>(obj));
2724 return true;
2725 case linkPreviewTypeGiftAuction::ID:
2726 func(static_cast<linkPreviewTypeGiftAuction &>(obj));
2727 return true;
2728 case linkPreviewTypeGiftCollection::ID:
2729 func(static_cast<linkPreviewTypeGiftCollection &>(obj));
2730 return true;
2731 case linkPreviewTypeGroupCall::ID:
2732 func(static_cast<linkPreviewTypeGroupCall &>(obj));
2733 return true;
2734 case linkPreviewTypeInvoice::ID:
2735 func(static_cast<linkPreviewTypeInvoice &>(obj));
2736 return true;
2737 case linkPreviewTypeLiveStory::ID:
2738 func(static_cast<linkPreviewTypeLiveStory &>(obj));
2739 return true;
2740 case linkPreviewTypeMessage::ID:
2741 func(static_cast<linkPreviewTypeMessage &>(obj));
2742 return true;
2743 case linkPreviewTypePhoto::ID:
2744 func(static_cast<linkPreviewTypePhoto &>(obj));
2745 return true;
2746 case linkPreviewTypePremiumGiftCode::ID:
2747 func(static_cast<linkPreviewTypePremiumGiftCode &>(obj));
2748 return true;
2749 case linkPreviewTypeRequestManagedBot::ID:
2750 func(static_cast<linkPreviewTypeRequestManagedBot &>(obj));
2751 return true;
2752 case linkPreviewTypeShareableChatFolder::ID:
2753 func(static_cast<linkPreviewTypeShareableChatFolder &>(obj));
2754 return true;
2755 case linkPreviewTypeSticker::ID:
2756 func(static_cast<linkPreviewTypeSticker &>(obj));
2757 return true;
2758 case linkPreviewTypeStickerSet::ID:
2759 func(static_cast<linkPreviewTypeStickerSet &>(obj));
2760 return true;
2761 case linkPreviewTypeStory::ID:
2762 func(static_cast<linkPreviewTypeStory &>(obj));
2763 return true;
2764 case linkPreviewTypeStoryAlbum::ID:
2765 func(static_cast<linkPreviewTypeStoryAlbum &>(obj));
2766 return true;
2767 case linkPreviewTypeSupergroupBoost::ID:
2768 func(static_cast<linkPreviewTypeSupergroupBoost &>(obj));
2769 return true;
2770 case linkPreviewTypeTextCompositionStyle::ID:
2771 func(static_cast<linkPreviewTypeTextCompositionStyle &>(obj));
2772 return true;
2773 case linkPreviewTypeTheme::ID:
2774 func(static_cast<linkPreviewTypeTheme &>(obj));
2775 return true;
2776 case linkPreviewTypeUnsupported::ID:
2777 func(static_cast<linkPreviewTypeUnsupported &>(obj));
2778 return true;
2779 case linkPreviewTypeUpgradedGift::ID:
2780 func(static_cast<linkPreviewTypeUpgradedGift &>(obj));
2781 return true;
2782 case linkPreviewTypeUser::ID:
2783 func(static_cast<linkPreviewTypeUser &>(obj));
2784 return true;
2785 case linkPreviewTypeVideo::ID:
2786 func(static_cast<linkPreviewTypeVideo &>(obj));
2787 return true;
2788 case linkPreviewTypeVideoChat::ID:
2789 func(static_cast<linkPreviewTypeVideoChat &>(obj));
2790 return true;
2791 case linkPreviewTypeVideoNote::ID:
2792 func(static_cast<linkPreviewTypeVideoNote &>(obj));
2793 return true;
2794 case linkPreviewTypeVoiceNote::ID:
2795 func(static_cast<linkPreviewTypeVoiceNote &>(obj));
2796 return true;
2797 case linkPreviewTypeWebApp::ID:
2798 func(static_cast<linkPreviewTypeWebApp &>(obj));
2799 return true;
2800 case liveLocation::ID:
2801 func(static_cast<liveLocation &>(obj));
2802 return true;
2803 case liveStoryDonors::ID:
2804 func(static_cast<liveStoryDonors &>(obj));
2805 return true;
2806 case localFile::ID:
2807 func(static_cast<localFile &>(obj));
2808 return true;
2809 case localizationTargetInfo::ID:
2810 func(static_cast<localizationTargetInfo &>(obj));
2811 return true;
2812 case location::ID:
2813 func(static_cast<location &>(obj));
2814 return true;
2815 case locationAddress::ID:
2816 func(static_cast<locationAddress &>(obj));
2817 return true;
2818 case logStreamDefault::ID:
2819 func(static_cast<logStreamDefault &>(obj));
2820 return true;
2821 case logStreamFile::ID:
2822 func(static_cast<logStreamFile &>(obj));
2823 return true;
2824 case logStreamEmpty::ID:
2825 func(static_cast<logStreamEmpty &>(obj));
2826 return true;
2827 case logTags::ID:
2828 func(static_cast<logTags &>(obj));
2829 return true;
2830 case logVerbosityLevel::ID:
2831 func(static_cast<logVerbosityLevel &>(obj));
2832 return true;
2833 case loginUrlInfoOpen::ID:
2834 func(static_cast<loginUrlInfoOpen &>(obj));
2835 return true;
2836 case loginUrlInfoRequestConfirmation::ID:
2837 func(static_cast<loginUrlInfoRequestConfirmation &>(obj));
2838 return true;
2839 case mainWebApp::ID:
2840 func(static_cast<mainWebApp &>(obj));
2841 return true;
2842 case maskPointForehead::ID:
2843 func(static_cast<maskPointForehead &>(obj));
2844 return true;
2845 case maskPointEyes::ID:
2846 func(static_cast<maskPointEyes &>(obj));
2847 return true;
2848 case maskPointMouth::ID:
2849 func(static_cast<maskPointMouth &>(obj));
2850 return true;
2851 case maskPointChin::ID:
2852 func(static_cast<maskPointChin &>(obj));
2853 return true;
2854 case maskPosition::ID:
2855 func(static_cast<maskPosition &>(obj));
2856 return true;
2857 case message::ID:
2858 func(static_cast<message &>(obj));
2859 return true;
2860 case messageAutoDeleteTime::ID:
2861 func(static_cast<messageAutoDeleteTime &>(obj));
2862 return true;
2863 case messageCalendar::ID:
2864 func(static_cast<messageCalendar &>(obj));
2865 return true;
2866 case messageCalendarDay::ID:
2867 func(static_cast<messageCalendarDay &>(obj));
2868 return true;
2869 case messageText::ID:
2870 func(static_cast<messageText &>(obj));
2871 return true;
2872 case messageRichMessage::ID:
2873 func(static_cast<messageRichMessage &>(obj));
2874 return true;
2875 case messageAnimation::ID:
2876 func(static_cast<messageAnimation &>(obj));
2877 return true;
2878 case messageAudio::ID:
2879 func(static_cast<messageAudio &>(obj));
2880 return true;
2881 case messageDocument::ID:
2882 func(static_cast<messageDocument &>(obj));
2883 return true;
2884 case messagePaidMedia::ID:
2885 func(static_cast<messagePaidMedia &>(obj));
2886 return true;
2887 case messagePhoto::ID:
2888 func(static_cast<messagePhoto &>(obj));
2889 return true;
2890 case messageSticker::ID:
2891 func(static_cast<messageSticker &>(obj));
2892 return true;
2893 case messageVideo::ID:
2894 func(static_cast<messageVideo &>(obj));
2895 return true;
2896 case messageVideoNote::ID:
2897 func(static_cast<messageVideoNote &>(obj));
2898 return true;
2899 case messageVoiceNote::ID:
2900 func(static_cast<messageVoiceNote &>(obj));
2901 return true;
2902 case messageExpiredPhoto::ID:
2903 func(static_cast<messageExpiredPhoto &>(obj));
2904 return true;
2905 case messageExpiredVideo::ID:
2906 func(static_cast<messageExpiredVideo &>(obj));
2907 return true;
2908 case messageExpiredVideoNote::ID:
2909 func(static_cast<messageExpiredVideoNote &>(obj));
2910 return true;
2911 case messageExpiredVoiceNote::ID:
2912 func(static_cast<messageExpiredVoiceNote &>(obj));
2913 return true;
2914 case messageLiveLocation::ID:
2915 func(static_cast<messageLiveLocation &>(obj));
2916 return true;
2917 case messageLocation::ID:
2918 func(static_cast<messageLocation &>(obj));
2919 return true;
2920 case messageVenue::ID:
2921 func(static_cast<messageVenue &>(obj));
2922 return true;
2923 case messageContact::ID:
2924 func(static_cast<messageContact &>(obj));
2925 return true;
2926 case messageAnimatedEmoji::ID:
2927 func(static_cast<messageAnimatedEmoji &>(obj));
2928 return true;
2929 case messageDice::ID:
2930 func(static_cast<messageDice &>(obj));
2931 return true;
2932 case messageGame::ID:
2933 func(static_cast<messageGame &>(obj));
2934 return true;
2935 case messagePoll::ID:
2936 func(static_cast<messagePoll &>(obj));
2937 return true;
2938 case messageStakeDice::ID:
2939 func(static_cast<messageStakeDice &>(obj));
2940 return true;
2941 case messageStory::ID:
2942 func(static_cast<messageStory &>(obj));
2943 return true;
2944 case messageChecklist::ID:
2945 func(static_cast<messageChecklist &>(obj));
2946 return true;
2947 case messageInvoice::ID:
2948 func(static_cast<messageInvoice &>(obj));
2949 return true;
2950 case messageCall::ID:
2951 func(static_cast<messageCall &>(obj));
2952 return true;
2953 case messageGroupCall::ID:
2954 func(static_cast<messageGroupCall &>(obj));
2955 return true;
2956 case messageVideoChatScheduled::ID:
2957 func(static_cast<messageVideoChatScheduled &>(obj));
2958 return true;
2959 case messageVideoChatStarted::ID:
2960 func(static_cast<messageVideoChatStarted &>(obj));
2961 return true;
2962 case messageVideoChatEnded::ID:
2963 func(static_cast<messageVideoChatEnded &>(obj));
2964 return true;
2965 case messageInviteVideoChatParticipants::ID:
2966 func(static_cast<messageInviteVideoChatParticipants &>(obj));
2967 return true;
2968 case messagePollOptionAdded::ID:
2969 func(static_cast<messagePollOptionAdded &>(obj));
2970 return true;
2971 case messagePollOptionDeleted::ID:
2972 func(static_cast<messagePollOptionDeleted &>(obj));
2973 return true;
2974 case messageBasicGroupChatCreate::ID:
2975 func(static_cast<messageBasicGroupChatCreate &>(obj));
2976 return true;
2977 case messageSupergroupChatCreate::ID:
2978 func(static_cast<messageSupergroupChatCreate &>(obj));
2979 return true;
2980 case messageChatChangeTitle::ID:
2981 func(static_cast<messageChatChangeTitle &>(obj));
2982 return true;
2983 case messageChatChangePhoto::ID:
2984 func(static_cast<messageChatChangePhoto &>(obj));
2985 return true;
2986 case messageChatDeletePhoto::ID:
2987 func(static_cast<messageChatDeletePhoto &>(obj));
2988 return true;
2989 case messageChatOwnerLeft::ID:
2990 func(static_cast<messageChatOwnerLeft &>(obj));
2991 return true;
2992 case messageChatOwnerChanged::ID:
2993 func(static_cast<messageChatOwnerChanged &>(obj));
2994 return true;
2995 case messageChatHasProtectedContentToggled::ID:
2996 func(static_cast<messageChatHasProtectedContentToggled &>(obj));
2997 return true;
2998 case messageChatHasProtectedContentDisableRequested::ID:
2999 func(static_cast<messageChatHasProtectedContentDisableRequested &>(obj));
3000 return true;
3001 case messageChatAddMembers::ID:
3002 func(static_cast<messageChatAddMembers &>(obj));
3003 return true;
3004 case messageChatJoinByLink::ID:
3005 func(static_cast<messageChatJoinByLink &>(obj));
3006 return true;
3007 case messageChatJoinByRequest::ID:
3008 func(static_cast<messageChatJoinByRequest &>(obj));
3009 return true;
3010 case messageChatDeleteMember::ID:
3011 func(static_cast<messageChatDeleteMember &>(obj));
3012 return true;
3013 case messageChatAddedToCommunity::ID:
3014 func(static_cast<messageChatAddedToCommunity &>(obj));
3015 return true;
3016 case messageChatRemovedFromCommunity::ID:
3017 func(static_cast<messageChatRemovedFromCommunity &>(obj));
3018 return true;
3019 case messageChatUpgradeTo::ID:
3020 func(static_cast<messageChatUpgradeTo &>(obj));
3021 return true;
3022 case messageChatUpgradeFrom::ID:
3023 func(static_cast<messageChatUpgradeFrom &>(obj));
3024 return true;
3025 case messagePinMessage::ID:
3026 func(static_cast<messagePinMessage &>(obj));
3027 return true;
3028 case messageScreenshotTaken::ID:
3029 func(static_cast<messageScreenshotTaken &>(obj));
3030 return true;
3031 case messageChatSetBackground::ID:
3032 func(static_cast<messageChatSetBackground &>(obj));
3033 return true;
3034 case messageChatSetTheme::ID:
3035 func(static_cast<messageChatSetTheme &>(obj));
3036 return true;
3037 case messageChatSetMessageAutoDeleteTime::ID:
3038 func(static_cast<messageChatSetMessageAutoDeleteTime &>(obj));
3039 return true;
3040 case messageChatBoost::ID:
3041 func(static_cast<messageChatBoost &>(obj));
3042 return true;
3043 case messageForumTopicCreated::ID:
3044 func(static_cast<messageForumTopicCreated &>(obj));
3045 return true;
3046 case messageForumTopicEdited::ID:
3047 func(static_cast<messageForumTopicEdited &>(obj));
3048 return true;
3049 case messageForumTopicIsClosedToggled::ID:
3050 func(static_cast<messageForumTopicIsClosedToggled &>(obj));
3051 return true;
3052 case messageForumTopicIsHiddenToggled::ID:
3053 func(static_cast<messageForumTopicIsHiddenToggled &>(obj));
3054 return true;
3055 case messageSuggestProfilePhoto::ID:
3056 func(static_cast<messageSuggestProfilePhoto &>(obj));
3057 return true;
3058 case messageSuggestBirthdate::ID:
3059 func(static_cast<messageSuggestBirthdate &>(obj));
3060 return true;
3061 case messageCustomServiceAction::ID:
3062 func(static_cast<messageCustomServiceAction &>(obj));
3063 return true;
3064 case messageGameScore::ID:
3065 func(static_cast<messageGameScore &>(obj));
3066 return true;
3067 case messageManagedBotCreated::ID:
3068 func(static_cast<messageManagedBotCreated &>(obj));
3069 return true;
3070 case messagePaymentSuccessful::ID:
3071 func(static_cast<messagePaymentSuccessful &>(obj));
3072 return true;
3073 case messagePaymentSuccessfulBot::ID:
3074 func(static_cast<messagePaymentSuccessfulBot &>(obj));
3075 return true;
3076 case messagePaymentRefunded::ID:
3077 func(static_cast<messagePaymentRefunded &>(obj));
3078 return true;
3079 case messageGiftedPremium::ID:
3080 func(static_cast<messageGiftedPremium &>(obj));
3081 return true;
3082 case messagePremiumGiftCode::ID:
3083 func(static_cast<messagePremiumGiftCode &>(obj));
3084 return true;
3085 case messageGiveawayCreated::ID:
3086 func(static_cast<messageGiveawayCreated &>(obj));
3087 return true;
3088 case messageGiveaway::ID:
3089 func(static_cast<messageGiveaway &>(obj));
3090 return true;
3091 case messageGiveawayCompleted::ID:
3092 func(static_cast<messageGiveawayCompleted &>(obj));
3093 return true;
3094 case messageGiveawayWinners::ID:
3095 func(static_cast<messageGiveawayWinners &>(obj));
3096 return true;
3097 case messageGiftedStars::ID:
3098 func(static_cast<messageGiftedStars &>(obj));
3099 return true;
3100 case messageGiftedTon::ID:
3101 func(static_cast<messageGiftedTon &>(obj));
3102 return true;
3103 case messageGiveawayPrizeStars::ID:
3104 func(static_cast<messageGiveawayPrizeStars &>(obj));
3105 return true;
3106 case messageGift::ID:
3107 func(static_cast<messageGift &>(obj));
3108 return true;
3109 case messageUpgradedGift::ID:
3110 func(static_cast<messageUpgradedGift &>(obj));
3111 return true;
3112 case messageRefundedUpgradedGift::ID:
3113 func(static_cast<messageRefundedUpgradedGift &>(obj));
3114 return true;
3115 case messageUpgradedGiftPurchaseOffer::ID:
3116 func(static_cast<messageUpgradedGiftPurchaseOffer &>(obj));
3117 return true;
3118 case messageUpgradedGiftPurchaseOfferRejected::ID:
3119 func(static_cast<messageUpgradedGiftPurchaseOfferRejected &>(obj));
3120 return true;
3121 case messagePaidMessagesRefunded::ID:
3122 func(static_cast<messagePaidMessagesRefunded &>(obj));
3123 return true;
3124 case messagePaidMessagePriceChanged::ID:
3125 func(static_cast<messagePaidMessagePriceChanged &>(obj));
3126 return true;
3127 case messageDirectMessagePriceChanged::ID:
3128 func(static_cast<messageDirectMessagePriceChanged &>(obj));
3129 return true;
3130 case messageChecklistTasksDone::ID:
3131 func(static_cast<messageChecklistTasksDone &>(obj));
3132 return true;
3133 case messageChecklistTasksAdded::ID:
3134 func(static_cast<messageChecklistTasksAdded &>(obj));
3135 return true;
3136 case messageSuggestedPostApprovalFailed::ID:
3137 func(static_cast<messageSuggestedPostApprovalFailed &>(obj));
3138 return true;
3139 case messageSuggestedPostApproved::ID:
3140 func(static_cast<messageSuggestedPostApproved &>(obj));
3141 return true;
3142 case messageSuggestedPostDeclined::ID:
3143 func(static_cast<messageSuggestedPostDeclined &>(obj));
3144 return true;
3145 case messageSuggestedPostPaid::ID:
3146 func(static_cast<messageSuggestedPostPaid &>(obj));
3147 return true;
3148 case messageSuggestedPostRefunded::ID:
3149 func(static_cast<messageSuggestedPostRefunded &>(obj));
3150 return true;
3151 case messageContactRegistered::ID:
3152 func(static_cast<messageContactRegistered &>(obj));
3153 return true;
3154 case messageUsersShared::ID:
3155 func(static_cast<messageUsersShared &>(obj));
3156 return true;
3157 case messageChatShared::ID:
3158 func(static_cast<messageChatShared &>(obj));
3159 return true;
3160 case messageBotWriteAccessAllowed::ID:
3161 func(static_cast<messageBotWriteAccessAllowed &>(obj));
3162 return true;
3163 case messageWebAppDataSent::ID:
3164 func(static_cast<messageWebAppDataSent &>(obj));
3165 return true;
3166 case messageWebAppDataReceived::ID:
3167 func(static_cast<messageWebAppDataReceived &>(obj));
3168 return true;
3169 case messagePassportDataSent::ID:
3170 func(static_cast<messagePassportDataSent &>(obj));
3171 return true;
3172 case messagePassportDataReceived::ID:
3173 func(static_cast<messagePassportDataReceived &>(obj));
3174 return true;
3175 case messageProximityAlertTriggered::ID:
3176 func(static_cast<messageProximityAlertTriggered &>(obj));
3177 return true;
3178 case messageUnsupported::ID:
3179 func(static_cast<messageUnsupported &>(obj));
3180 return true;
3181 case messageCopyOptions::ID:
3182 func(static_cast<messageCopyOptions &>(obj));
3183 return true;
3184 case messageEffect::ID:
3185 func(static_cast<messageEffect &>(obj));
3186 return true;
3187 case messageEffectTypeEmojiReaction::ID:
3188 func(static_cast<messageEffectTypeEmojiReaction &>(obj));
3189 return true;
3190 case messageEffectTypePremiumSticker::ID:
3191 func(static_cast<messageEffectTypePremiumSticker &>(obj));
3192 return true;
3193 case messageFileTypePrivate::ID:
3194 func(static_cast<messageFileTypePrivate &>(obj));
3195 return true;
3196 case messageFileTypeGroup::ID:
3197 func(static_cast<messageFileTypeGroup &>(obj));
3198 return true;
3199 case messageFileTypeUnknown::ID:
3200 func(static_cast<messageFileTypeUnknown &>(obj));
3201 return true;
3202 case messageForwardInfo::ID:
3203 func(static_cast<messageForwardInfo &>(obj));
3204 return true;
3205 case messageImportInfo::ID:
3206 func(static_cast<messageImportInfo &>(obj));
3207 return true;
3208 case messageInteractionInfo::ID:
3209 func(static_cast<messageInteractionInfo &>(obj));
3210 return true;
3211 case messageLink::ID:
3212 func(static_cast<messageLink &>(obj));
3213 return true;
3214 case messageLinkInfo::ID:
3215 func(static_cast<messageLinkInfo &>(obj));
3216 return true;
3217 case messageOriginUser::ID:
3218 func(static_cast<messageOriginUser &>(obj));
3219 return true;
3220 case messageOriginHiddenUser::ID:
3221 func(static_cast<messageOriginHiddenUser &>(obj));
3222 return true;
3223 case messageOriginChat::ID:
3224 func(static_cast<messageOriginChat &>(obj));
3225 return true;
3226 case messageOriginChannel::ID:
3227 func(static_cast<messageOriginChannel &>(obj));
3228 return true;
3229 case messagePosition::ID:
3230 func(static_cast<messagePosition &>(obj));
3231 return true;
3232 case messagePositions::ID:
3233 func(static_cast<messagePositions &>(obj));
3234 return true;
3235 case messageProperties::ID:
3236 func(static_cast<messageProperties &>(obj));
3237 return true;
3238 case messageReaction::ID:
3239 func(static_cast<messageReaction &>(obj));
3240 return true;
3241 case messageReactions::ID:
3242 func(static_cast<messageReactions &>(obj));
3243 return true;
3244 case messageReadDateRead::ID:
3245 func(static_cast<messageReadDateRead &>(obj));
3246 return true;
3247 case messageReadDateUnread::ID:
3248 func(static_cast<messageReadDateUnread &>(obj));
3249 return true;
3250 case messageReadDateTooOld::ID:
3251 func(static_cast<messageReadDateTooOld &>(obj));
3252 return true;
3253 case messageReadDateUserPrivacyRestricted::ID:
3254 func(static_cast<messageReadDateUserPrivacyRestricted &>(obj));
3255 return true;
3256 case messageReadDateMyPrivacyRestricted::ID:
3257 func(static_cast<messageReadDateMyPrivacyRestricted &>(obj));
3258 return true;
3259 case messageReplyInfo::ID:
3260 func(static_cast<messageReplyInfo &>(obj));
3261 return true;
3262 case messageReplyToMessage::ID:
3263 func(static_cast<messageReplyToMessage &>(obj));
3264 return true;
3265 case messageReplyToStory::ID:
3266 func(static_cast<messageReplyToStory &>(obj));
3267 return true;
3268 case messageSchedulingStateSendAtDate::ID:
3269 func(static_cast<messageSchedulingStateSendAtDate &>(obj));
3270 return true;
3271 case messageSchedulingStateSendWhenOnline::ID:
3272 func(static_cast<messageSchedulingStateSendWhenOnline &>(obj));
3273 return true;
3274 case messageSchedulingStateSendWhenVideoProcessed::ID:
3275 func(static_cast<messageSchedulingStateSendWhenVideoProcessed &>(obj));
3276 return true;
3277 case messageSelfDestructTypeTimer::ID:
3278 func(static_cast<messageSelfDestructTypeTimer &>(obj));
3279 return true;
3280 case messageSelfDestructTypeImmediately::ID:
3281 func(static_cast<messageSelfDestructTypeImmediately &>(obj));
3282 return true;
3283 case messageSendOptions::ID:
3284 func(static_cast<messageSendOptions &>(obj));
3285 return true;
3286 case messageSenderUser::ID:
3287 func(static_cast<messageSenderUser &>(obj));
3288 return true;
3289 case messageSenderChat::ID:
3290 func(static_cast<messageSenderChat &>(obj));
3291 return true;
3292 case messageSenders::ID:
3293 func(static_cast<messageSenders &>(obj));
3294 return true;
3295 case messageSendingStatePending::ID:
3296 func(static_cast<messageSendingStatePending &>(obj));
3297 return true;
3298 case messageSendingStateFailed::ID:
3299 func(static_cast<messageSendingStateFailed &>(obj));
3300 return true;
3301 case messageSourceChatHistory::ID:
3302 func(static_cast<messageSourceChatHistory &>(obj));
3303 return true;
3304 case messageSourceMessageThreadHistory::ID:
3305 func(static_cast<messageSourceMessageThreadHistory &>(obj));
3306 return true;
3307 case messageSourceForumTopicHistory::ID:
3308 func(static_cast<messageSourceForumTopicHistory &>(obj));
3309 return true;
3310 case messageSourceDirectMessagesChatTopicHistory::ID:
3311 func(static_cast<messageSourceDirectMessagesChatTopicHistory &>(obj));
3312 return true;
3313 case messageSourceHistoryPreview::ID:
3314 func(static_cast<messageSourceHistoryPreview &>(obj));
3315 return true;
3316 case messageSourceChatList::ID:
3317 func(static_cast<messageSourceChatList &>(obj));
3318 return true;
3319 case messageSourceSearch::ID:
3320 func(static_cast<messageSourceSearch &>(obj));
3321 return true;
3322 case messageSourceChatEventLog::ID:
3323 func(static_cast<messageSourceChatEventLog &>(obj));
3324 return true;
3325 case messageSourceNotification::ID:
3326 func(static_cast<messageSourceNotification &>(obj));
3327 return true;
3328 case messageSourceScreenshot::ID:
3329 func(static_cast<messageSourceScreenshot &>(obj));
3330 return true;
3331 case messageSourceOther::ID:
3332 func(static_cast<messageSourceOther &>(obj));
3333 return true;
3334 case messageStatistics::ID:
3335 func(static_cast<messageStatistics &>(obj));
3336 return true;
3337 case messageThreadInfo::ID:
3338 func(static_cast<messageThreadInfo &>(obj));
3339 return true;
3340 case messageTopicThread::ID:
3341 func(static_cast<messageTopicThread &>(obj));
3342 return true;
3343 case messageTopicForum::ID:
3344 func(static_cast<messageTopicForum &>(obj));
3345 return true;
3346 case messageTopicDirectMessages::ID:
3347 func(static_cast<messageTopicDirectMessages &>(obj));
3348 return true;
3349 case messageTopicSavedMessages::ID:
3350 func(static_cast<messageTopicSavedMessages &>(obj));
3351 return true;
3352 case messageViewer::ID:
3353 func(static_cast<messageViewer &>(obj));
3354 return true;
3355 case messageViewers::ID:
3356 func(static_cast<messageViewers &>(obj));
3357 return true;
3358 case messages::ID:
3359 func(static_cast<messages &>(obj));
3360 return true;
3361 case minithumbnail::ID:
3362 func(static_cast<minithumbnail &>(obj));
3363 return true;
3364 case networkStatistics::ID:
3365 func(static_cast<networkStatistics &>(obj));
3366 return true;
3367 case networkStatisticsEntryFile::ID:
3368 func(static_cast<networkStatisticsEntryFile &>(obj));
3369 return true;
3370 case networkStatisticsEntryCall::ID:
3371 func(static_cast<networkStatisticsEntryCall &>(obj));
3372 return true;
3373 case networkTypeNone::ID:
3374 func(static_cast<networkTypeNone &>(obj));
3375 return true;
3376 case networkTypeMobile::ID:
3377 func(static_cast<networkTypeMobile &>(obj));
3378 return true;
3379 case networkTypeMobileRoaming::ID:
3380 func(static_cast<networkTypeMobileRoaming &>(obj));
3381 return true;
3382 case networkTypeWiFi::ID:
3383 func(static_cast<networkTypeWiFi &>(obj));
3384 return true;
3385 case networkTypeOther::ID:
3386 func(static_cast<networkTypeOther &>(obj));
3387 return true;
3388 case newChatPrivacySettings::ID:
3389 func(static_cast<newChatPrivacySettings &>(obj));
3390 return true;
3391 case newSticker::ID:
3392 func(static_cast<newSticker &>(obj));
3393 return true;
3394 case notification::ID:
3395 func(static_cast<notification &>(obj));
3396 return true;
3397 case notificationGroup::ID:
3398 func(static_cast<notificationGroup &>(obj));
3399 return true;
3400 case notificationGroupTypeMessages::ID:
3401 func(static_cast<notificationGroupTypeMessages &>(obj));
3402 return true;
3403 case notificationGroupTypeMentions::ID:
3404 func(static_cast<notificationGroupTypeMentions &>(obj));
3405 return true;
3406 case notificationGroupTypeSecretChat::ID:
3407 func(static_cast<notificationGroupTypeSecretChat &>(obj));
3408 return true;
3409 case notificationGroupTypeCalls::ID:
3410 func(static_cast<notificationGroupTypeCalls &>(obj));
3411 return true;
3412 case notificationSettingsScopePrivateChats::ID:
3413 func(static_cast<notificationSettingsScopePrivateChats &>(obj));
3414 return true;
3415 case notificationSettingsScopeGroupChats::ID:
3416 func(static_cast<notificationSettingsScopeGroupChats &>(obj));
3417 return true;
3418 case notificationSettingsScopeChannelChats::ID:
3419 func(static_cast<notificationSettingsScopeChannelChats &>(obj));
3420 return true;
3421 case notificationSound::ID:
3422 func(static_cast<notificationSound &>(obj));
3423 return true;
3424 case notificationSounds::ID:
3425 func(static_cast<notificationSounds &>(obj));
3426 return true;
3427 case notificationTypeNewMessage::ID:
3428 func(static_cast<notificationTypeNewMessage &>(obj));
3429 return true;
3430 case notificationTypeNewSecretChat::ID:
3431 func(static_cast<notificationTypeNewSecretChat &>(obj));
3432 return true;
3433 case notificationTypeNewCall::ID:
3434 func(static_cast<notificationTypeNewCall &>(obj));
3435 return true;
3436 case notificationTypeNewPushMessage::ID:
3437 func(static_cast<notificationTypeNewPushMessage &>(obj));
3438 return true;
3439 case oauthLinkInfo::ID:
3440 func(static_cast<oauthLinkInfo &>(obj));
3441 return true;
3442 case ok::ID:
3443 func(static_cast<ok &>(obj));
3444 return true;
3445 case optionValueBoolean::ID:
3446 func(static_cast<optionValueBoolean &>(obj));
3447 return true;
3448 case optionValueEmpty::ID:
3449 func(static_cast<optionValueEmpty &>(obj));
3450 return true;
3451 case optionValueInteger::ID:
3452 func(static_cast<optionValueInteger &>(obj));
3453 return true;
3454 case optionValueString::ID:
3455 func(static_cast<optionValueString &>(obj));
3456 return true;
3457 case orderInfo::ID:
3458 func(static_cast<orderInfo &>(obj));
3459 return true;
3460 case outline::ID:
3461 func(static_cast<outline &>(obj));
3462 return true;
3463 case pageBlockTitle::ID:
3464 func(static_cast<pageBlockTitle &>(obj));
3465 return true;
3466 case pageBlockSubtitle::ID:
3467 func(static_cast<pageBlockSubtitle &>(obj));
3468 return true;
3469 case pageBlockAuthorDate::ID:
3470 func(static_cast<pageBlockAuthorDate &>(obj));
3471 return true;
3472 case pageBlockHeader::ID:
3473 func(static_cast<pageBlockHeader &>(obj));
3474 return true;
3475 case pageBlockSubheader::ID:
3476 func(static_cast<pageBlockSubheader &>(obj));
3477 return true;
3478 case pageBlockSectionHeading::ID:
3479 func(static_cast<pageBlockSectionHeading &>(obj));
3480 return true;
3481 case pageBlockKicker::ID:
3482 func(static_cast<pageBlockKicker &>(obj));
3483 return true;
3484 case pageBlockParagraph::ID:
3485 func(static_cast<pageBlockParagraph &>(obj));
3486 return true;
3487 case pageBlockPreformatted::ID:
3488 func(static_cast<pageBlockPreformatted &>(obj));
3489 return true;
3490 case pageBlockFooter::ID:
3491 func(static_cast<pageBlockFooter &>(obj));
3492 return true;
3493 case pageBlockThinking::ID:
3494 func(static_cast<pageBlockThinking &>(obj));
3495 return true;
3496 case pageBlockDivider::ID:
3497 func(static_cast<pageBlockDivider &>(obj));
3498 return true;
3499 case pageBlockMathematicalExpression::ID:
3500 func(static_cast<pageBlockMathematicalExpression &>(obj));
3501 return true;
3502 case pageBlockAnchor::ID:
3503 func(static_cast<pageBlockAnchor &>(obj));
3504 return true;
3505 case pageBlockList::ID:
3506 func(static_cast<pageBlockList &>(obj));
3507 return true;
3508 case pageBlockBlockQuote::ID:
3509 func(static_cast<pageBlockBlockQuote &>(obj));
3510 return true;
3511 case pageBlockPullQuote::ID:
3512 func(static_cast<pageBlockPullQuote &>(obj));
3513 return true;
3514 case pageBlockAnimation::ID:
3515 func(static_cast<pageBlockAnimation &>(obj));
3516 return true;
3517 case pageBlockAudio::ID:
3518 func(static_cast<pageBlockAudio &>(obj));
3519 return true;
3520 case pageBlockPhoto::ID:
3521 func(static_cast<pageBlockPhoto &>(obj));
3522 return true;
3523 case pageBlockVideo::ID:
3524 func(static_cast<pageBlockVideo &>(obj));
3525 return true;
3526 case pageBlockVoiceNote::ID:
3527 func(static_cast<pageBlockVoiceNote &>(obj));
3528 return true;
3529 case pageBlockCover::ID:
3530 func(static_cast<pageBlockCover &>(obj));
3531 return true;
3532 case pageBlockEmbedded::ID:
3533 func(static_cast<pageBlockEmbedded &>(obj));
3534 return true;
3535 case pageBlockEmbeddedPost::ID:
3536 func(static_cast<pageBlockEmbeddedPost &>(obj));
3537 return true;
3538 case pageBlockCollage::ID:
3539 func(static_cast<pageBlockCollage &>(obj));
3540 return true;
3541 case pageBlockSlideshow::ID:
3542 func(static_cast<pageBlockSlideshow &>(obj));
3543 return true;
3544 case pageBlockChatLink::ID:
3545 func(static_cast<pageBlockChatLink &>(obj));
3546 return true;
3547 case pageBlockTable::ID:
3548 func(static_cast<pageBlockTable &>(obj));
3549 return true;
3550 case pageBlockDetails::ID:
3551 func(static_cast<pageBlockDetails &>(obj));
3552 return true;
3553 case pageBlockRelatedArticles::ID:
3554 func(static_cast<pageBlockRelatedArticles &>(obj));
3555 return true;
3556 case pageBlockMap::ID:
3557 func(static_cast<pageBlockMap &>(obj));
3558 return true;
3559 case pageBlockCaption::ID:
3560 func(static_cast<pageBlockCaption &>(obj));
3561 return true;
3562 case pageBlockHorizontalAlignmentLeft::ID:
3563 func(static_cast<pageBlockHorizontalAlignmentLeft &>(obj));
3564 return true;
3565 case pageBlockHorizontalAlignmentCenter::ID:
3566 func(static_cast<pageBlockHorizontalAlignmentCenter &>(obj));
3567 return true;
3568 case pageBlockHorizontalAlignmentRight::ID:
3569 func(static_cast<pageBlockHorizontalAlignmentRight &>(obj));
3570 return true;
3571 case pageBlockListItem::ID:
3572 func(static_cast<pageBlockListItem &>(obj));
3573 return true;
3574 case pageBlockRelatedArticle::ID:
3575 func(static_cast<pageBlockRelatedArticle &>(obj));
3576 return true;
3577 case pageBlockTableCell::ID:
3578 func(static_cast<pageBlockTableCell &>(obj));
3579 return true;
3580 case pageBlockVerticalAlignmentTop::ID:
3581 func(static_cast<pageBlockVerticalAlignmentTop &>(obj));
3582 return true;
3583 case pageBlockVerticalAlignmentMiddle::ID:
3584 func(static_cast<pageBlockVerticalAlignmentMiddle &>(obj));
3585 return true;
3586 case pageBlockVerticalAlignmentBottom::ID:
3587 func(static_cast<pageBlockVerticalAlignmentBottom &>(obj));
3588 return true;
3589 case paidMediaPreview::ID:
3590 func(static_cast<paidMediaPreview &>(obj));
3591 return true;
3592 case paidMediaPhoto::ID:
3593 func(static_cast<paidMediaPhoto &>(obj));
3594 return true;
3595 case paidMediaVideo::ID:
3596 func(static_cast<paidMediaVideo &>(obj));
3597 return true;
3598 case paidMediaUnsupported::ID:
3599 func(static_cast<paidMediaUnsupported &>(obj));
3600 return true;
3601 case paidReactionTypeRegular::ID:
3602 func(static_cast<paidReactionTypeRegular &>(obj));
3603 return true;
3604 case paidReactionTypeAnonymous::ID:
3605 func(static_cast<paidReactionTypeAnonymous &>(obj));
3606 return true;
3607 case paidReactionTypeChat::ID:
3608 func(static_cast<paidReactionTypeChat &>(obj));
3609 return true;
3610 case paidReactor::ID:
3611 func(static_cast<paidReactor &>(obj));
3612 return true;
3613 case passkey::ID:
3614 func(static_cast<passkey &>(obj));
3615 return true;
3616 case passkeys::ID:
3617 func(static_cast<passkeys &>(obj));
3618 return true;
3619 case passportAuthorizationForm::ID:
3620 func(static_cast<passportAuthorizationForm &>(obj));
3621 return true;
3622 case passportElementPersonalDetails::ID:
3623 func(static_cast<passportElementPersonalDetails &>(obj));
3624 return true;
3625 case passportElementPassport::ID:
3626 func(static_cast<passportElementPassport &>(obj));
3627 return true;
3628 case passportElementDriverLicense::ID:
3629 func(static_cast<passportElementDriverLicense &>(obj));
3630 return true;
3631 case passportElementIdentityCard::ID:
3632 func(static_cast<passportElementIdentityCard &>(obj));
3633 return true;
3634 case passportElementInternalPassport::ID:
3635 func(static_cast<passportElementInternalPassport &>(obj));
3636 return true;
3637 case passportElementAddress::ID:
3638 func(static_cast<passportElementAddress &>(obj));
3639 return true;
3640 case passportElementUtilityBill::ID:
3641 func(static_cast<passportElementUtilityBill &>(obj));
3642 return true;
3643 case passportElementBankStatement::ID:
3644 func(static_cast<passportElementBankStatement &>(obj));
3645 return true;
3646 case passportElementRentalAgreement::ID:
3647 func(static_cast<passportElementRentalAgreement &>(obj));
3648 return true;
3649 case passportElementPassportRegistration::ID:
3650 func(static_cast<passportElementPassportRegistration &>(obj));
3651 return true;
3652 case passportElementTemporaryRegistration::ID:
3653 func(static_cast<passportElementTemporaryRegistration &>(obj));
3654 return true;
3655 case passportElementPhoneNumber::ID:
3656 func(static_cast<passportElementPhoneNumber &>(obj));
3657 return true;
3658 case passportElementEmailAddress::ID:
3659 func(static_cast<passportElementEmailAddress &>(obj));
3660 return true;
3661 case passportElementError::ID:
3662 func(static_cast<passportElementError &>(obj));
3663 return true;
3664 case passportElementErrorSourceUnspecified::ID:
3665 func(static_cast<passportElementErrorSourceUnspecified &>(obj));
3666 return true;
3667 case passportElementErrorSourceDataField::ID:
3668 func(static_cast<passportElementErrorSourceDataField &>(obj));
3669 return true;
3670 case passportElementErrorSourceFrontSide::ID:
3671 func(static_cast<passportElementErrorSourceFrontSide &>(obj));
3672 return true;
3673 case passportElementErrorSourceReverseSide::ID:
3674 func(static_cast<passportElementErrorSourceReverseSide &>(obj));
3675 return true;
3676 case passportElementErrorSourceSelfie::ID:
3677 func(static_cast<passportElementErrorSourceSelfie &>(obj));
3678 return true;
3679 case passportElementErrorSourceTranslationFile::ID:
3680 func(static_cast<passportElementErrorSourceTranslationFile &>(obj));
3681 return true;
3682 case passportElementErrorSourceTranslationFiles::ID:
3683 func(static_cast<passportElementErrorSourceTranslationFiles &>(obj));
3684 return true;
3685 case passportElementErrorSourceFile::ID:
3686 func(static_cast<passportElementErrorSourceFile &>(obj));
3687 return true;
3688 case passportElementErrorSourceFiles::ID:
3689 func(static_cast<passportElementErrorSourceFiles &>(obj));
3690 return true;
3691 case passportElementTypePersonalDetails::ID:
3692 func(static_cast<passportElementTypePersonalDetails &>(obj));
3693 return true;
3694 case passportElementTypePassport::ID:
3695 func(static_cast<passportElementTypePassport &>(obj));
3696 return true;
3697 case passportElementTypeDriverLicense::ID:
3698 func(static_cast<passportElementTypeDriverLicense &>(obj));
3699 return true;
3700 case passportElementTypeIdentityCard::ID:
3701 func(static_cast<passportElementTypeIdentityCard &>(obj));
3702 return true;
3703 case passportElementTypeInternalPassport::ID:
3704 func(static_cast<passportElementTypeInternalPassport &>(obj));
3705 return true;
3706 case passportElementTypeAddress::ID:
3707 func(static_cast<passportElementTypeAddress &>(obj));
3708 return true;
3709 case passportElementTypeUtilityBill::ID:
3710 func(static_cast<passportElementTypeUtilityBill &>(obj));
3711 return true;
3712 case passportElementTypeBankStatement::ID:
3713 func(static_cast<passportElementTypeBankStatement &>(obj));
3714 return true;
3715 case passportElementTypeRentalAgreement::ID:
3716 func(static_cast<passportElementTypeRentalAgreement &>(obj));
3717 return true;
3718 case passportElementTypePassportRegistration::ID:
3719 func(static_cast<passportElementTypePassportRegistration &>(obj));
3720 return true;
3721 case passportElementTypeTemporaryRegistration::ID:
3722 func(static_cast<passportElementTypeTemporaryRegistration &>(obj));
3723 return true;
3724 case passportElementTypePhoneNumber::ID:
3725 func(static_cast<passportElementTypePhoneNumber &>(obj));
3726 return true;
3727 case passportElementTypeEmailAddress::ID:
3728 func(static_cast<passportElementTypeEmailAddress &>(obj));
3729 return true;
3730 case passportElements::ID:
3731 func(static_cast<passportElements &>(obj));
3732 return true;
3733 case passportElementsWithErrors::ID:
3734 func(static_cast<passportElementsWithErrors &>(obj));
3735 return true;
3736 case passportRequiredElement::ID:
3737 func(static_cast<passportRequiredElement &>(obj));
3738 return true;
3739 case passportSuitableElement::ID:
3740 func(static_cast<passportSuitableElement &>(obj));
3741 return true;
3742 case passwordState::ID:
3743 func(static_cast<passwordState &>(obj));
3744 return true;
3745 case paymentForm::ID:
3746 func(static_cast<paymentForm &>(obj));
3747 return true;
3748 case paymentFormTypeRegular::ID:
3749 func(static_cast<paymentFormTypeRegular &>(obj));
3750 return true;
3751 case paymentFormTypeStars::ID:
3752 func(static_cast<paymentFormTypeStars &>(obj));
3753 return true;
3754 case paymentFormTypeStarSubscription::ID:
3755 func(static_cast<paymentFormTypeStarSubscription &>(obj));
3756 return true;
3757 case paymentOption::ID:
3758 func(static_cast<paymentOption &>(obj));
3759 return true;
3760 case paymentProviderSmartGlocal::ID:
3761 func(static_cast<paymentProviderSmartGlocal &>(obj));
3762 return true;
3763 case paymentProviderStripe::ID:
3764 func(static_cast<paymentProviderStripe &>(obj));
3765 return true;
3766 case paymentProviderOther::ID:
3767 func(static_cast<paymentProviderOther &>(obj));
3768 return true;
3769 case paymentReceipt::ID:
3770 func(static_cast<paymentReceipt &>(obj));
3771 return true;
3772 case paymentReceiptTypeRegular::ID:
3773 func(static_cast<paymentReceiptTypeRegular &>(obj));
3774 return true;
3775 case paymentReceiptTypeStars::ID:
3776 func(static_cast<paymentReceiptTypeStars &>(obj));
3777 return true;
3778 case paymentResult::ID:
3779 func(static_cast<paymentResult &>(obj));
3780 return true;
3781 case personalDetails::ID:
3782 func(static_cast<personalDetails &>(obj));
3783 return true;
3784 case personalDocument::ID:
3785 func(static_cast<personalDocument &>(obj));
3786 return true;
3787 case phoneNumberAuthenticationSettings::ID:
3788 func(static_cast<phoneNumberAuthenticationSettings &>(obj));
3789 return true;
3790 case phoneNumberCodeTypeChange::ID:
3791 func(static_cast<phoneNumberCodeTypeChange &>(obj));
3792 return true;
3793 case phoneNumberCodeTypeVerify::ID:
3794 func(static_cast<phoneNumberCodeTypeVerify &>(obj));
3795 return true;
3796 case phoneNumberCodeTypeConfirmOwnership::ID:
3797 func(static_cast<phoneNumberCodeTypeConfirmOwnership &>(obj));
3798 return true;
3799 case phoneNumberInfo::ID:
3800 func(static_cast<phoneNumberInfo &>(obj));
3801 return true;
3802 case photo::ID:
3803 func(static_cast<photo &>(obj));
3804 return true;
3805 case photoSize::ID:
3806 func(static_cast<photoSize &>(obj));
3807 return true;
3808 case point::ID:
3809 func(static_cast<point &>(obj));
3810 return true;
3811 case poll::ID:
3812 func(static_cast<poll &>(obj));
3813 return true;
3814 case pollMediaAnimation::ID:
3815 func(static_cast<pollMediaAnimation &>(obj));
3816 return true;
3817 case pollMediaAudio::ID:
3818 func(static_cast<pollMediaAudio &>(obj));
3819 return true;
3820 case pollMediaDocument::ID:
3821 func(static_cast<pollMediaDocument &>(obj));
3822 return true;
3823 case pollMediaLink::ID:
3824 func(static_cast<pollMediaLink &>(obj));
3825 return true;
3826 case pollMediaLocation::ID:
3827 func(static_cast<pollMediaLocation &>(obj));
3828 return true;
3829 case pollMediaPhoto::ID:
3830 func(static_cast<pollMediaPhoto &>(obj));
3831 return true;
3832 case pollMediaSticker::ID:
3833 func(static_cast<pollMediaSticker &>(obj));
3834 return true;
3835 case pollMediaVenue::ID:
3836 func(static_cast<pollMediaVenue &>(obj));
3837 return true;
3838 case pollMediaVideo::ID:
3839 func(static_cast<pollMediaVideo &>(obj));
3840 return true;
3841 case pollOption::ID:
3842 func(static_cast<pollOption &>(obj));
3843 return true;
3844 case pollOptionProperties::ID:
3845 func(static_cast<pollOptionProperties &>(obj));
3846 return true;
3847 case pollTypeRegular::ID:
3848 func(static_cast<pollTypeRegular &>(obj));
3849 return true;
3850 case pollTypeQuiz::ID:
3851 func(static_cast<pollTypeQuiz &>(obj));
3852 return true;
3853 case pollVoteRestrictionReasonClosed::ID:
3854 func(static_cast<pollVoteRestrictionReasonClosed &>(obj));
3855 return true;
3856 case pollVoteRestrictionReasonYetUnsent::ID:
3857 func(static_cast<pollVoteRestrictionReasonYetUnsent &>(obj));
3858 return true;
3859 case pollVoteRestrictionReasonScheduled::ID:
3860 func(static_cast<pollVoteRestrictionReasonScheduled &>(obj));
3861 return true;
3862 case pollVoteRestrictionReasonCountryRestricted::ID:
3863 func(static_cast<pollVoteRestrictionReasonCountryRestricted &>(obj));
3864 return true;
3865 case pollVoteRestrictionReasonMembershipRequired::ID:
3866 func(static_cast<pollVoteRestrictionReasonMembershipRequired &>(obj));
3867 return true;
3868 case pollVoteRestrictionReasonOther::ID:
3869 func(static_cast<pollVoteRestrictionReasonOther &>(obj));
3870 return true;
3871 case pollVoteStatistics::ID:
3872 func(static_cast<pollVoteStatistics &>(obj));
3873 return true;
3874 case pollVoter::ID:
3875 func(static_cast<pollVoter &>(obj));
3876 return true;
3877 case pollVoters::ID:
3878 func(static_cast<pollVoters &>(obj));
3879 return true;
3880 case premiumFeatureIncreasedLimits::ID:
3881 func(static_cast<premiumFeatureIncreasedLimits &>(obj));
3882 return true;
3883 case premiumFeatureIncreasedUploadFileSize::ID:
3884 func(static_cast<premiumFeatureIncreasedUploadFileSize &>(obj));
3885 return true;
3886 case premiumFeatureImprovedDownloadSpeed::ID:
3887 func(static_cast<premiumFeatureImprovedDownloadSpeed &>(obj));
3888 return true;
3889 case premiumFeatureVoiceRecognition::ID:
3890 func(static_cast<premiumFeatureVoiceRecognition &>(obj));
3891 return true;
3892 case premiumFeatureDisabledAds::ID:
3893 func(static_cast<premiumFeatureDisabledAds &>(obj));
3894 return true;
3895 case premiumFeatureUniqueReactions::ID:
3896 func(static_cast<premiumFeatureUniqueReactions &>(obj));
3897 return true;
3898 case premiumFeatureUniqueStickers::ID:
3899 func(static_cast<premiumFeatureUniqueStickers &>(obj));
3900 return true;
3901 case premiumFeatureCustomEmoji::ID:
3902 func(static_cast<premiumFeatureCustomEmoji &>(obj));
3903 return true;
3904 case premiumFeatureAdvancedChatManagement::ID:
3905 func(static_cast<premiumFeatureAdvancedChatManagement &>(obj));
3906 return true;
3907 case premiumFeatureProfileBadge::ID:
3908 func(static_cast<premiumFeatureProfileBadge &>(obj));
3909 return true;
3910 case premiumFeatureEmojiStatus::ID:
3911 func(static_cast<premiumFeatureEmojiStatus &>(obj));
3912 return true;
3913 case premiumFeatureAnimatedProfilePhoto::ID:
3914 func(static_cast<premiumFeatureAnimatedProfilePhoto &>(obj));
3915 return true;
3916 case premiumFeatureForumTopicIcon::ID:
3917 func(static_cast<premiumFeatureForumTopicIcon &>(obj));
3918 return true;
3919 case premiumFeatureAppIcons::ID:
3920 func(static_cast<premiumFeatureAppIcons &>(obj));
3921 return true;
3922 case premiumFeatureRealTimeChatTranslation::ID:
3923 func(static_cast<premiumFeatureRealTimeChatTranslation &>(obj));
3924 return true;
3925 case premiumFeatureUpgradedStories::ID:
3926 func(static_cast<premiumFeatureUpgradedStories &>(obj));
3927 return true;
3928 case premiumFeatureChatBoost::ID:
3929 func(static_cast<premiumFeatureChatBoost &>(obj));
3930 return true;
3931 case premiumFeatureAccentColor::ID:
3932 func(static_cast<premiumFeatureAccentColor &>(obj));
3933 return true;
3934 case premiumFeatureBackgroundForBoth::ID:
3935 func(static_cast<premiumFeatureBackgroundForBoth &>(obj));
3936 return true;
3937 case premiumFeatureSavedMessagesTags::ID:
3938 func(static_cast<premiumFeatureSavedMessagesTags &>(obj));
3939 return true;
3940 case premiumFeatureMessagePrivacy::ID:
3941 func(static_cast<premiumFeatureMessagePrivacy &>(obj));
3942 return true;
3943 case premiumFeatureLastSeenTimes::ID:
3944 func(static_cast<premiumFeatureLastSeenTimes &>(obj));
3945 return true;
3946 case premiumFeatureBusiness::ID:
3947 func(static_cast<premiumFeatureBusiness &>(obj));
3948 return true;
3949 case premiumFeatureMessageEffects::ID:
3950 func(static_cast<premiumFeatureMessageEffects &>(obj));
3951 return true;
3952 case premiumFeatureChecklists::ID:
3953 func(static_cast<premiumFeatureChecklists &>(obj));
3954 return true;
3955 case premiumFeaturePaidMessages::ID:
3956 func(static_cast<premiumFeaturePaidMessages &>(obj));
3957 return true;
3958 case premiumFeatureProtectPrivateChatContent::ID:
3959 func(static_cast<premiumFeatureProtectPrivateChatContent &>(obj));
3960 return true;
3961 case premiumFeatureTextComposition::ID:
3962 func(static_cast<premiumFeatureTextComposition &>(obj));
3963 return true;
3964 case premiumFeatureRichMessages::ID:
3965 func(static_cast<premiumFeatureRichMessages &>(obj));
3966 return true;
3967 case premiumFeaturePromotionAnimation::ID:
3968 func(static_cast<premiumFeaturePromotionAnimation &>(obj));
3969 return true;
3970 case premiumFeatures::ID:
3971 func(static_cast<premiumFeatures &>(obj));
3972 return true;
3973 case premiumGiftCodeInfo::ID:
3974 func(static_cast<premiumGiftCodeInfo &>(obj));
3975 return true;
3976 case premiumGiftPaymentOption::ID:
3977 func(static_cast<premiumGiftPaymentOption &>(obj));
3978 return true;
3979 case premiumGiftPaymentOptions::ID:
3980 func(static_cast<premiumGiftPaymentOptions &>(obj));
3981 return true;
3982 case premiumGiveawayPaymentOption::ID:
3983 func(static_cast<premiumGiveawayPaymentOption &>(obj));
3984 return true;
3985 case premiumGiveawayPaymentOptions::ID:
3986 func(static_cast<premiumGiveawayPaymentOptions &>(obj));
3987 return true;
3988 case premiumLimit::ID:
3989 func(static_cast<premiumLimit &>(obj));
3990 return true;
3991 case premiumLimitTypeSupergroupCount::ID:
3992 func(static_cast<premiumLimitTypeSupergroupCount &>(obj));
3993 return true;
3994 case premiumLimitTypePinnedChatCount::ID:
3995 func(static_cast<premiumLimitTypePinnedChatCount &>(obj));
3996 return true;
3997 case premiumLimitTypeCreatedPublicChatCount::ID:
3998 func(static_cast<premiumLimitTypeCreatedPublicChatCount &>(obj));
3999 return true;
4000 case premiumLimitTypeSavedAnimationCount::ID:
4001 func(static_cast<premiumLimitTypeSavedAnimationCount &>(obj));
4002 return true;
4003 case premiumLimitTypeFavoriteStickerCount::ID:
4004 func(static_cast<premiumLimitTypeFavoriteStickerCount &>(obj));
4005 return true;
4006 case premiumLimitTypeChatFolderCount::ID:
4007 func(static_cast<premiumLimitTypeChatFolderCount &>(obj));
4008 return true;
4009 case premiumLimitTypeChatFolderChosenChatCount::ID:
4010 func(static_cast<premiumLimitTypeChatFolderChosenChatCount &>(obj));
4011 return true;
4012 case premiumLimitTypePinnedArchivedChatCount::ID:
4013 func(static_cast<premiumLimitTypePinnedArchivedChatCount &>(obj));
4014 return true;
4015 case premiumLimitTypePinnedSavedMessagesTopicCount::ID:
4016 func(static_cast<premiumLimitTypePinnedSavedMessagesTopicCount &>(obj));
4017 return true;
4018 case premiumLimitTypeMessageTextLength::ID:
4019 func(static_cast<premiumLimitTypeMessageTextLength &>(obj));
4020 return true;
4021 case premiumLimitTypeCaptionLength::ID:
4022 func(static_cast<premiumLimitTypeCaptionLength &>(obj));
4023 return true;
4024 case premiumLimitTypeBioLength::ID:
4025 func(static_cast<premiumLimitTypeBioLength &>(obj));
4026 return true;
4027 case premiumLimitTypeChatFolderInviteLinkCount::ID:
4028 func(static_cast<premiumLimitTypeChatFolderInviteLinkCount &>(obj));
4029 return true;
4030 case premiumLimitTypeShareableChatFolderCount::ID:
4031 func(static_cast<premiumLimitTypeShareableChatFolderCount &>(obj));
4032 return true;
4033 case premiumLimitTypeActiveStoryCount::ID:
4034 func(static_cast<premiumLimitTypeActiveStoryCount &>(obj));
4035 return true;
4036 case premiumLimitTypeWeeklyPostedStoryCount::ID:
4037 func(static_cast<premiumLimitTypeWeeklyPostedStoryCount &>(obj));
4038 return true;
4039 case premiumLimitTypeMonthlyPostedStoryCount::ID:
4040 func(static_cast<premiumLimitTypeMonthlyPostedStoryCount &>(obj));
4041 return true;
4042 case premiumLimitTypeStoryCaptionLength::ID:
4043 func(static_cast<premiumLimitTypeStoryCaptionLength &>(obj));
4044 return true;
4045 case premiumLimitTypeStorySuggestedReactionAreaCount::ID:
4046 func(static_cast<premiumLimitTypeStorySuggestedReactionAreaCount &>(obj));
4047 return true;
4048 case premiumLimitTypeSimilarChatCount::ID:
4049 func(static_cast<premiumLimitTypeSimilarChatCount &>(obj));
4050 return true;
4051 case premiumLimitTypeOwnedBotCount::ID:
4052 func(static_cast<premiumLimitTypeOwnedBotCount &>(obj));
4053 return true;
4054 case premiumLimitTypeCustomTextCompositionStyleCount::ID:
4055 func(static_cast<premiumLimitTypeCustomTextCompositionStyleCount &>(obj));
4056 return true;
4057 case premiumPaymentOption::ID:
4058 func(static_cast<premiumPaymentOption &>(obj));
4059 return true;
4060 case premiumSourceLimitExceeded::ID:
4061 func(static_cast<premiumSourceLimitExceeded &>(obj));
4062 return true;
4063 case premiumSourceFeature::ID:
4064 func(static_cast<premiumSourceFeature &>(obj));
4065 return true;
4066 case premiumSourceBusinessFeature::ID:
4067 func(static_cast<premiumSourceBusinessFeature &>(obj));
4068 return true;
4069 case premiumSourceStoryFeature::ID:
4070 func(static_cast<premiumSourceStoryFeature &>(obj));
4071 return true;
4072 case premiumSourceLink::ID:
4073 func(static_cast<premiumSourceLink &>(obj));
4074 return true;
4075 case premiumSourceSettings::ID:
4076 func(static_cast<premiumSourceSettings &>(obj));
4077 return true;
4078 case premiumState::ID:
4079 func(static_cast<premiumState &>(obj));
4080 return true;
4081 case premiumStatePaymentOption::ID:
4082 func(static_cast<premiumStatePaymentOption &>(obj));
4083 return true;
4084 case premiumStoryFeaturePriorityOrder::ID:
4085 func(static_cast<premiumStoryFeaturePriorityOrder &>(obj));
4086 return true;
4087 case premiumStoryFeatureStealthMode::ID:
4088 func(static_cast<premiumStoryFeatureStealthMode &>(obj));
4089 return true;
4090 case premiumStoryFeaturePermanentViewsHistory::ID:
4091 func(static_cast<premiumStoryFeaturePermanentViewsHistory &>(obj));
4092 return true;
4093 case premiumStoryFeatureCustomExpirationDuration::ID:
4094 func(static_cast<premiumStoryFeatureCustomExpirationDuration &>(obj));
4095 return true;
4096 case premiumStoryFeatureSaveStories::ID:
4097 func(static_cast<premiumStoryFeatureSaveStories &>(obj));
4098 return true;
4099 case premiumStoryFeatureLinksAndFormatting::ID:
4100 func(static_cast<premiumStoryFeatureLinksAndFormatting &>(obj));
4101 return true;
4102 case premiumStoryFeatureVideoQuality::ID:
4103 func(static_cast<premiumStoryFeatureVideoQuality &>(obj));
4104 return true;
4105 case prepaidGiveaway::ID:
4106 func(static_cast<prepaidGiveaway &>(obj));
4107 return true;
4108 case preparedInlineMessage::ID:
4109 func(static_cast<preparedInlineMessage &>(obj));
4110 return true;
4111 case preparedInlineMessageId::ID:
4112 func(static_cast<preparedInlineMessageId &>(obj));
4113 return true;
4114 case productInfo::ID:
4115 func(static_cast<productInfo &>(obj));
4116 return true;
4117 case profileAccentColor::ID:
4118 func(static_cast<profileAccentColor &>(obj));
4119 return true;
4120 case profileAccentColors::ID:
4121 func(static_cast<profileAccentColors &>(obj));
4122 return true;
4123 case profilePhoto::ID:
4124 func(static_cast<profilePhoto &>(obj));
4125 return true;
4126 case profileTabPosts::ID:
4127 func(static_cast<profileTabPosts &>(obj));
4128 return true;
4129 case profileTabGifts::ID:
4130 func(static_cast<profileTabGifts &>(obj));
4131 return true;
4132 case profileTabMedia::ID:
4133 func(static_cast<profileTabMedia &>(obj));
4134 return true;
4135 case profileTabFiles::ID:
4136 func(static_cast<profileTabFiles &>(obj));
4137 return true;
4138 case profileTabLinks::ID:
4139 func(static_cast<profileTabLinks &>(obj));
4140 return true;
4141 case profileTabMusic::ID:
4142 func(static_cast<profileTabMusic &>(obj));
4143 return true;
4144 case profileTabVoice::ID:
4145 func(static_cast<profileTabVoice &>(obj));
4146 return true;
4147 case profileTabGifs::ID:
4148 func(static_cast<profileTabGifs &>(obj));
4149 return true;
4150 case proxy::ID:
4151 func(static_cast<proxy &>(obj));
4152 return true;
4153 case proxyTypeSocks5::ID:
4154 func(static_cast<proxyTypeSocks5 &>(obj));
4155 return true;
4156 case proxyTypeHttp::ID:
4157 func(static_cast<proxyTypeHttp &>(obj));
4158 return true;
4159 case proxyTypeMtproto::ID:
4160 func(static_cast<proxyTypeMtproto &>(obj));
4161 return true;
4162 case publicChatTypeHasUsername::ID:
4163 func(static_cast<publicChatTypeHasUsername &>(obj));
4164 return true;
4165 case publicChatTypeIsLocationBased::ID:
4166 func(static_cast<publicChatTypeIsLocationBased &>(obj));
4167 return true;
4168 case publicForwardMessage::ID:
4169 func(static_cast<publicForwardMessage &>(obj));
4170 return true;
4171 case publicForwardStory::ID:
4172 func(static_cast<publicForwardStory &>(obj));
4173 return true;
4174 case publicForwards::ID:
4175 func(static_cast<publicForwards &>(obj));
4176 return true;
4177 case publicPostSearchLimits::ID:
4178 func(static_cast<publicPostSearchLimits &>(obj));
4179 return true;
4180 case pushMessageContentHidden::ID:
4181 func(static_cast<pushMessageContentHidden &>(obj));
4182 return true;
4183 case pushMessageContentAnimation::ID:
4184 func(static_cast<pushMessageContentAnimation &>(obj));
4185 return true;
4186 case pushMessageContentAudio::ID:
4187 func(static_cast<pushMessageContentAudio &>(obj));
4188 return true;
4189 case pushMessageContentContact::ID:
4190 func(static_cast<pushMessageContentContact &>(obj));
4191 return true;
4192 case pushMessageContentContactRegistered::ID:
4193 func(static_cast<pushMessageContentContactRegistered &>(obj));
4194 return true;
4195 case pushMessageContentDocument::ID:
4196 func(static_cast<pushMessageContentDocument &>(obj));
4197 return true;
4198 case pushMessageContentGame::ID:
4199 func(static_cast<pushMessageContentGame &>(obj));
4200 return true;
4201 case pushMessageContentGameScore::ID:
4202 func(static_cast<pushMessageContentGameScore &>(obj));
4203 return true;
4204 case pushMessageContentInvoice::ID:
4205 func(static_cast<pushMessageContentInvoice &>(obj));
4206 return true;
4207 case pushMessageContentLocation::ID:
4208 func(static_cast<pushMessageContentLocation &>(obj));
4209 return true;
4210 case pushMessageContentPaidMedia::ID:
4211 func(static_cast<pushMessageContentPaidMedia &>(obj));
4212 return true;
4213 case pushMessageContentPhoto::ID:
4214 func(static_cast<pushMessageContentPhoto &>(obj));
4215 return true;
4216 case pushMessageContentPoll::ID:
4217 func(static_cast<pushMessageContentPoll &>(obj));
4218 return true;
4219 case pushMessageContentPremiumGiftCode::ID:
4220 func(static_cast<pushMessageContentPremiumGiftCode &>(obj));
4221 return true;
4222 case pushMessageContentGiveaway::ID:
4223 func(static_cast<pushMessageContentGiveaway &>(obj));
4224 return true;
4225 case pushMessageContentGift::ID:
4226 func(static_cast<pushMessageContentGift &>(obj));
4227 return true;
4228 case pushMessageContentUpgradedGift::ID:
4229 func(static_cast<pushMessageContentUpgradedGift &>(obj));
4230 return true;
4231 case pushMessageContentScreenshotTaken::ID:
4232 func(static_cast<pushMessageContentScreenshotTaken &>(obj));
4233 return true;
4234 case pushMessageContentSticker::ID:
4235 func(static_cast<pushMessageContentSticker &>(obj));
4236 return true;
4237 case pushMessageContentStory::ID:
4238 func(static_cast<pushMessageContentStory &>(obj));
4239 return true;
4240 case pushMessageContentText::ID:
4241 func(static_cast<pushMessageContentText &>(obj));
4242 return true;
4243 case pushMessageContentChecklist::ID:
4244 func(static_cast<pushMessageContentChecklist &>(obj));
4245 return true;
4246 case pushMessageContentVideo::ID:
4247 func(static_cast<pushMessageContentVideo &>(obj));
4248 return true;
4249 case pushMessageContentVideoNote::ID:
4250 func(static_cast<pushMessageContentVideoNote &>(obj));
4251 return true;
4252 case pushMessageContentVoiceNote::ID:
4253 func(static_cast<pushMessageContentVoiceNote &>(obj));
4254 return true;
4255 case pushMessageContentBasicGroupChatCreate::ID:
4256 func(static_cast<pushMessageContentBasicGroupChatCreate &>(obj));
4257 return true;
4258 case pushMessageContentVideoChatStarted::ID:
4259 func(static_cast<pushMessageContentVideoChatStarted &>(obj));
4260 return true;
4261 case pushMessageContentVideoChatEnded::ID:
4262 func(static_cast<pushMessageContentVideoChatEnded &>(obj));
4263 return true;
4264 case pushMessageContentInviteVideoChatParticipants::ID:
4265 func(static_cast<pushMessageContentInviteVideoChatParticipants &>(obj));
4266 return true;
4267 case pushMessageContentChatAddMembers::ID:
4268 func(static_cast<pushMessageContentChatAddMembers &>(obj));
4269 return true;
4270 case pushMessageContentChatChangePhoto::ID:
4271 func(static_cast<pushMessageContentChatChangePhoto &>(obj));
4272 return true;
4273 case pushMessageContentChatChangeTitle::ID:
4274 func(static_cast<pushMessageContentChatChangeTitle &>(obj));
4275 return true;
4276 case pushMessageContentChatSetBackground::ID:
4277 func(static_cast<pushMessageContentChatSetBackground &>(obj));
4278 return true;
4279 case pushMessageContentChatSetTheme::ID:
4280 func(static_cast<pushMessageContentChatSetTheme &>(obj));
4281 return true;
4282 case pushMessageContentChatDeleteMember::ID:
4283 func(static_cast<pushMessageContentChatDeleteMember &>(obj));
4284 return true;
4285 case pushMessageContentChatJoinByLink::ID:
4286 func(static_cast<pushMessageContentChatJoinByLink &>(obj));
4287 return true;
4288 case pushMessageContentChatJoinByRequest::ID:
4289 func(static_cast<pushMessageContentChatJoinByRequest &>(obj));
4290 return true;
4291 case pushMessageContentRecurringPayment::ID:
4292 func(static_cast<pushMessageContentRecurringPayment &>(obj));
4293 return true;
4294 case pushMessageContentSuggestProfilePhoto::ID:
4295 func(static_cast<pushMessageContentSuggestProfilePhoto &>(obj));
4296 return true;
4297 case pushMessageContentSuggestBirthdate::ID:
4298 func(static_cast<pushMessageContentSuggestBirthdate &>(obj));
4299 return true;
4300 case pushMessageContentProximityAlertTriggered::ID:
4301 func(static_cast<pushMessageContentProximityAlertTriggered &>(obj));
4302 return true;
4303 case pushMessageContentChecklistTasksAdded::ID:
4304 func(static_cast<pushMessageContentChecklistTasksAdded &>(obj));
4305 return true;
4306 case pushMessageContentChecklistTasksDone::ID:
4307 func(static_cast<pushMessageContentChecklistTasksDone &>(obj));
4308 return true;
4309 case pushMessageContentPollOptionAdded::ID:
4310 func(static_cast<pushMessageContentPollOptionAdded &>(obj));
4311 return true;
4312 case pushMessageContentMessageForwards::ID:
4313 func(static_cast<pushMessageContentMessageForwards &>(obj));
4314 return true;
4315 case pushMessageContentMediaAlbum::ID:
4316 func(static_cast<pushMessageContentMediaAlbum &>(obj));
4317 return true;
4318 case pushReceiverId::ID:
4319 func(static_cast<pushReceiverId &>(obj));
4320 return true;
4321 case quickReplyMessage::ID:
4322 func(static_cast<quickReplyMessage &>(obj));
4323 return true;
4324 case quickReplyMessages::ID:
4325 func(static_cast<quickReplyMessages &>(obj));
4326 return true;
4327 case quickReplyShortcut::ID:
4328 func(static_cast<quickReplyShortcut &>(obj));
4329 return true;
4330 case reactionNotificationSettings::ID:
4331 func(static_cast<reactionNotificationSettings &>(obj));
4332 return true;
4333 case reactionNotificationSourceNone::ID:
4334 func(static_cast<reactionNotificationSourceNone &>(obj));
4335 return true;
4336 case reactionNotificationSourceContacts::ID:
4337 func(static_cast<reactionNotificationSourceContacts &>(obj));
4338 return true;
4339 case reactionNotificationSourceAll::ID:
4340 func(static_cast<reactionNotificationSourceAll &>(obj));
4341 return true;
4342 case reactionTypeEmoji::ID:
4343 func(static_cast<reactionTypeEmoji &>(obj));
4344 return true;
4345 case reactionTypeCustomEmoji::ID:
4346 func(static_cast<reactionTypeCustomEmoji &>(obj));
4347 return true;
4348 case reactionTypePaid::ID:
4349 func(static_cast<reactionTypePaid &>(obj));
4350 return true;
4351 case reactionUnavailabilityReasonAnonymousAdministrator::ID:
4353 return true;
4354 case reactionUnavailabilityReasonGuest::ID:
4355 func(static_cast<reactionUnavailabilityReasonGuest &>(obj));
4356 return true;
4357 case reactionUnavailabilityReasonRestricted::ID:
4358 func(static_cast<reactionUnavailabilityReasonRestricted &>(obj));
4359 return true;
4360 case readDatePrivacySettings::ID:
4361 func(static_cast<readDatePrivacySettings &>(obj));
4362 return true;
4363 case receivedGift::ID:
4364 func(static_cast<receivedGift &>(obj));
4365 return true;
4366 case receivedGifts::ID:
4367 func(static_cast<receivedGifts &>(obj));
4368 return true;
4369 case recommendedChatFolder::ID:
4370 func(static_cast<recommendedChatFolder &>(obj));
4371 return true;
4372 case recommendedChatFolders::ID:
4373 func(static_cast<recommendedChatFolders &>(obj));
4374 return true;
4375 case recoveryEmailAddress::ID:
4376 func(static_cast<recoveryEmailAddress &>(obj));
4377 return true;
4378 case remoteFile::ID:
4379 func(static_cast<remoteFile &>(obj));
4380 return true;
4381 case replyMarkupRemoveKeyboard::ID:
4382 func(static_cast<replyMarkupRemoveKeyboard &>(obj));
4383 return true;
4384 case replyMarkupForceReply::ID:
4385 func(static_cast<replyMarkupForceReply &>(obj));
4386 return true;
4387 case replyMarkupShowKeyboard::ID:
4388 func(static_cast<replyMarkupShowKeyboard &>(obj));
4389 return true;
4390 case replyMarkupInlineKeyboard::ID:
4391 func(static_cast<replyMarkupInlineKeyboard &>(obj));
4392 return true;
4393 case reportChatResultOk::ID:
4394 func(static_cast<reportChatResultOk &>(obj));
4395 return true;
4396 case reportChatResultOptionRequired::ID:
4397 func(static_cast<reportChatResultOptionRequired &>(obj));
4398 return true;
4399 case reportChatResultTextRequired::ID:
4400 func(static_cast<reportChatResultTextRequired &>(obj));
4401 return true;
4402 case reportChatResultMessagesRequired::ID:
4403 func(static_cast<reportChatResultMessagesRequired &>(obj));
4404 return true;
4405 case reportOption::ID:
4406 func(static_cast<reportOption &>(obj));
4407 return true;
4408 case reportReasonSpam::ID:
4409 func(static_cast<reportReasonSpam &>(obj));
4410 return true;
4411 case reportReasonViolence::ID:
4412 func(static_cast<reportReasonViolence &>(obj));
4413 return true;
4414 case reportReasonPornography::ID:
4415 func(static_cast<reportReasonPornography &>(obj));
4416 return true;
4417 case reportReasonChildAbuse::ID:
4418 func(static_cast<reportReasonChildAbuse &>(obj));
4419 return true;
4420 case reportReasonCopyright::ID:
4421 func(static_cast<reportReasonCopyright &>(obj));
4422 return true;
4423 case reportReasonUnrelatedLocation::ID:
4424 func(static_cast<reportReasonUnrelatedLocation &>(obj));
4425 return true;
4426 case reportReasonFake::ID:
4427 func(static_cast<reportReasonFake &>(obj));
4428 return true;
4429 case reportReasonIllegalDrugs::ID:
4430 func(static_cast<reportReasonIllegalDrugs &>(obj));
4431 return true;
4432 case reportReasonPersonalDetails::ID:
4433 func(static_cast<reportReasonPersonalDetails &>(obj));
4434 return true;
4435 case reportReasonCustom::ID:
4436 func(static_cast<reportReasonCustom &>(obj));
4437 return true;
4438 case reportSponsoredResultOk::ID:
4439 func(static_cast<reportSponsoredResultOk &>(obj));
4440 return true;
4441 case reportSponsoredResultFailed::ID:
4442 func(static_cast<reportSponsoredResultFailed &>(obj));
4443 return true;
4444 case reportSponsoredResultOptionRequired::ID:
4445 func(static_cast<reportSponsoredResultOptionRequired &>(obj));
4446 return true;
4447 case reportSponsoredResultAdsHidden::ID:
4448 func(static_cast<reportSponsoredResultAdsHidden &>(obj));
4449 return true;
4450 case reportSponsoredResultPremiumRequired::ID:
4451 func(static_cast<reportSponsoredResultPremiumRequired &>(obj));
4452 return true;
4453 case reportStoryResultOk::ID:
4454 func(static_cast<reportStoryResultOk &>(obj));
4455 return true;
4456 case reportStoryResultOptionRequired::ID:
4457 func(static_cast<reportStoryResultOptionRequired &>(obj));
4458 return true;
4459 case reportStoryResultTextRequired::ID:
4460 func(static_cast<reportStoryResultTextRequired &>(obj));
4461 return true;
4462 case resendCodeReasonUserRequest::ID:
4463 func(static_cast<resendCodeReasonUserRequest &>(obj));
4464 return true;
4465 case resendCodeReasonVerificationFailed::ID:
4466 func(static_cast<resendCodeReasonVerificationFailed &>(obj));
4467 return true;
4468 case resetPasswordResultOk::ID:
4469 func(static_cast<resetPasswordResultOk &>(obj));
4470 return true;
4471 case resetPasswordResultPending::ID:
4472 func(static_cast<resetPasswordResultPending &>(obj));
4473 return true;
4474 case resetPasswordResultDeclined::ID:
4475 func(static_cast<resetPasswordResultDeclined &>(obj));
4476 return true;
4477 case restrictionInfo::ID:
4478 func(static_cast<restrictionInfo &>(obj));
4479 return true;
4480 case revenueWithdrawalStatePending::ID:
4481 func(static_cast<revenueWithdrawalStatePending &>(obj));
4482 return true;
4483 case revenueWithdrawalStateSucceeded::ID:
4484 func(static_cast<revenueWithdrawalStateSucceeded &>(obj));
4485 return true;
4486 case revenueWithdrawalStateFailed::ID:
4487 func(static_cast<revenueWithdrawalStateFailed &>(obj));
4488 return true;
4489 case richMessage::ID:
4490 func(static_cast<richMessage &>(obj));
4491 return true;
4492 case richMessageSourceBlocks::ID:
4493 func(static_cast<richMessageSourceBlocks &>(obj));
4494 return true;
4495 case richMessageSourceMarkdown::ID:
4496 func(static_cast<richMessageSourceMarkdown &>(obj));
4497 return true;
4498 case richMessageSourceHtml::ID:
4499 func(static_cast<richMessageSourceHtml &>(obj));
4500 return true;
4501 case richTextPlain::ID:
4502 func(static_cast<richTextPlain &>(obj));
4503 return true;
4504 case richTextBold::ID:
4505 func(static_cast<richTextBold &>(obj));
4506 return true;
4507 case richTextItalic::ID:
4508 func(static_cast<richTextItalic &>(obj));
4509 return true;
4510 case richTextUnderline::ID:
4511 func(static_cast<richTextUnderline &>(obj));
4512 return true;
4513 case richTextStrikethrough::ID:
4514 func(static_cast<richTextStrikethrough &>(obj));
4515 return true;
4516 case richTextSpoiler::ID:
4517 func(static_cast<richTextSpoiler &>(obj));
4518 return true;
4519 case richTextSubscript::ID:
4520 func(static_cast<richTextSubscript &>(obj));
4521 return true;
4522 case richTextSuperscript::ID:
4523 func(static_cast<richTextSuperscript &>(obj));
4524 return true;
4525 case richTextMarked::ID:
4526 func(static_cast<richTextMarked &>(obj));
4527 return true;
4528 case richTextDateTime::ID:
4529 func(static_cast<richTextDateTime &>(obj));
4530 return true;
4531 case richTextMention::ID:
4532 func(static_cast<richTextMention &>(obj));
4533 return true;
4534 case richTextHashtag::ID:
4535 func(static_cast<richTextHashtag &>(obj));
4536 return true;
4537 case richTextCashtag::ID:
4538 func(static_cast<richTextCashtag &>(obj));
4539 return true;
4540 case richTextBankCardNumber::ID:
4541 func(static_cast<richTextBankCardNumber &>(obj));
4542 return true;
4543 case richTextBotCommand::ID:
4544 func(static_cast<richTextBotCommand &>(obj));
4545 return true;
4546 case richTextFixed::ID:
4547 func(static_cast<richTextFixed &>(obj));
4548 return true;
4549 case richTextMentionName::ID:
4550 func(static_cast<richTextMentionName &>(obj));
4551 return true;
4552 case richTextUrl::ID:
4553 func(static_cast<richTextUrl &>(obj));
4554 return true;
4555 case richTextEmailAddress::ID:
4556 func(static_cast<richTextEmailAddress &>(obj));
4557 return true;
4558 case richTextPhoneNumber::ID:
4559 func(static_cast<richTextPhoneNumber &>(obj));
4560 return true;
4561 case richTextCustomEmoji::ID:
4562 func(static_cast<richTextCustomEmoji &>(obj));
4563 return true;
4564 case richTextIcon::ID:
4565 func(static_cast<richTextIcon &>(obj));
4566 return true;
4567 case richTextMathematicalExpression::ID:
4568 func(static_cast<richTextMathematicalExpression &>(obj));
4569 return true;
4570 case richTextDiff::ID:
4571 func(static_cast<richTextDiff &>(obj));
4572 return true;
4573 case richTextReference::ID:
4574 func(static_cast<richTextReference &>(obj));
4575 return true;
4576 case richTextReferenceLink::ID:
4577 func(static_cast<richTextReferenceLink &>(obj));
4578 return true;
4579 case richTextAnchor::ID:
4580 func(static_cast<richTextAnchor &>(obj));
4581 return true;
4582 case richTextAnchorLink::ID:
4583 func(static_cast<richTextAnchorLink &>(obj));
4584 return true;
4585 case richTexts::ID:
4586 func(static_cast<richTexts &>(obj));
4587 return true;
4588 case rtmpUrl::ID:
4589 func(static_cast<rtmpUrl &>(obj));
4590 return true;
4591 case savedCredentials::ID:
4592 func(static_cast<savedCredentials &>(obj));
4593 return true;
4594 case savedMessagesTag::ID:
4595 func(static_cast<savedMessagesTag &>(obj));
4596 return true;
4597 case savedMessagesTags::ID:
4598 func(static_cast<savedMessagesTags &>(obj));
4599 return true;
4600 case savedMessagesTopic::ID:
4601 func(static_cast<savedMessagesTopic &>(obj));
4602 return true;
4603 case savedMessagesTopicTypeMyNotes::ID:
4604 func(static_cast<savedMessagesTopicTypeMyNotes &>(obj));
4605 return true;
4606 case savedMessagesTopicTypeAuthorHidden::ID:
4607 func(static_cast<savedMessagesTopicTypeAuthorHidden &>(obj));
4608 return true;
4609 case savedMessagesTopicTypeSavedFromChat::ID:
4610 func(static_cast<savedMessagesTopicTypeSavedFromChat &>(obj));
4611 return true;
4612 case scopeAutosaveSettings::ID:
4613 func(static_cast<scopeAutosaveSettings &>(obj));
4614 return true;
4615 case scopeNotificationSettings::ID:
4616 func(static_cast<scopeNotificationSettings &>(obj));
4617 return true;
4618 case searchChatTypeFilterBot::ID:
4619 func(static_cast<searchChatTypeFilterBot &>(obj));
4620 return true;
4621 case searchChatTypeFilterChannel::ID:
4622 func(static_cast<searchChatTypeFilterChannel &>(obj));
4623 return true;
4624 case searchMessagesChatTypeFilterPrivate::ID:
4625 func(static_cast<searchMessagesChatTypeFilterPrivate &>(obj));
4626 return true;
4627 case searchMessagesChatTypeFilterGroup::ID:
4628 func(static_cast<searchMessagesChatTypeFilterGroup &>(obj));
4629 return true;
4630 case searchMessagesChatTypeFilterChannel::ID:
4631 func(static_cast<searchMessagesChatTypeFilterChannel &>(obj));
4632 return true;
4633 case searchMessagesFilterEmpty::ID:
4634 func(static_cast<searchMessagesFilterEmpty &>(obj));
4635 return true;
4636 case searchMessagesFilterAnimation::ID:
4637 func(static_cast<searchMessagesFilterAnimation &>(obj));
4638 return true;
4639 case searchMessagesFilterAudio::ID:
4640 func(static_cast<searchMessagesFilterAudio &>(obj));
4641 return true;
4642 case searchMessagesFilterDocument::ID:
4643 func(static_cast<searchMessagesFilterDocument &>(obj));
4644 return true;
4645 case searchMessagesFilterPhoto::ID:
4646 func(static_cast<searchMessagesFilterPhoto &>(obj));
4647 return true;
4648 case searchMessagesFilterPoll::ID:
4649 func(static_cast<searchMessagesFilterPoll &>(obj));
4650 return true;
4651 case searchMessagesFilterVideo::ID:
4652 func(static_cast<searchMessagesFilterVideo &>(obj));
4653 return true;
4654 case searchMessagesFilterVoiceNote::ID:
4655 func(static_cast<searchMessagesFilterVoiceNote &>(obj));
4656 return true;
4657 case searchMessagesFilterPhotoAndVideo::ID:
4658 func(static_cast<searchMessagesFilterPhotoAndVideo &>(obj));
4659 return true;
4660 case searchMessagesFilterUrl::ID:
4661 func(static_cast<searchMessagesFilterUrl &>(obj));
4662 return true;
4663 case searchMessagesFilterChatPhoto::ID:
4664 func(static_cast<searchMessagesFilterChatPhoto &>(obj));
4665 return true;
4666 case searchMessagesFilterVideoNote::ID:
4667 func(static_cast<searchMessagesFilterVideoNote &>(obj));
4668 return true;
4669 case searchMessagesFilterVoiceAndVideoNote::ID:
4670 func(static_cast<searchMessagesFilterVoiceAndVideoNote &>(obj));
4671 return true;
4672 case searchMessagesFilterMention::ID:
4673 func(static_cast<searchMessagesFilterMention &>(obj));
4674 return true;
4675 case searchMessagesFilterUnreadMention::ID:
4676 func(static_cast<searchMessagesFilterUnreadMention &>(obj));
4677 return true;
4678 case searchMessagesFilterUnreadReaction::ID:
4679 func(static_cast<searchMessagesFilterUnreadReaction &>(obj));
4680 return true;
4681 case searchMessagesFilterUnreadPollVote::ID:
4682 func(static_cast<searchMessagesFilterUnreadPollVote &>(obj));
4683 return true;
4684 case searchMessagesFilterFailedToSend::ID:
4685 func(static_cast<searchMessagesFilterFailedToSend &>(obj));
4686 return true;
4687 case searchMessagesFilterPinned::ID:
4688 func(static_cast<searchMessagesFilterPinned &>(obj));
4689 return true;
4690 case seconds::ID:
4691 func(static_cast<seconds &>(obj));
4692 return true;
4693 case secretChat::ID:
4694 func(static_cast<secretChat &>(obj));
4695 return true;
4696 case secretChatStatePending::ID:
4697 func(static_cast<secretChatStatePending &>(obj));
4698 return true;
4699 case secretChatStateReady::ID:
4700 func(static_cast<secretChatStateReady &>(obj));
4701 return true;
4702 case secretChatStateClosed::ID:
4703 func(static_cast<secretChatStateClosed &>(obj));
4704 return true;
4705 case sentGiftRegular::ID:
4706 func(static_cast<sentGiftRegular &>(obj));
4707 return true;
4708 case sentGiftUpgraded::ID:
4709 func(static_cast<sentGiftUpgraded &>(obj));
4710 return true;
4711 case session::ID:
4712 func(static_cast<session &>(obj));
4713 return true;
4714 case sessionDeviceTypeAndroid::ID:
4715 func(static_cast<sessionDeviceTypeAndroid &>(obj));
4716 return true;
4717 case sessionDeviceTypeApple::ID:
4718 func(static_cast<sessionDeviceTypeApple &>(obj));
4719 return true;
4720 case sessionDeviceTypeBrave::ID:
4721 func(static_cast<sessionDeviceTypeBrave &>(obj));
4722 return true;
4723 case sessionDeviceTypeChrome::ID:
4724 func(static_cast<sessionDeviceTypeChrome &>(obj));
4725 return true;
4726 case sessionDeviceTypeEdge::ID:
4727 func(static_cast<sessionDeviceTypeEdge &>(obj));
4728 return true;
4729 case sessionDeviceTypeFirefox::ID:
4730 func(static_cast<sessionDeviceTypeFirefox &>(obj));
4731 return true;
4732 case sessionDeviceTypeIpad::ID:
4733 func(static_cast<sessionDeviceTypeIpad &>(obj));
4734 return true;
4735 case sessionDeviceTypeIphone::ID:
4736 func(static_cast<sessionDeviceTypeIphone &>(obj));
4737 return true;
4738 case sessionDeviceTypeLinux::ID:
4739 func(static_cast<sessionDeviceTypeLinux &>(obj));
4740 return true;
4741 case sessionDeviceTypeMac::ID:
4742 func(static_cast<sessionDeviceTypeMac &>(obj));
4743 return true;
4744 case sessionDeviceTypeOpera::ID:
4745 func(static_cast<sessionDeviceTypeOpera &>(obj));
4746 return true;
4747 case sessionDeviceTypeSafari::ID:
4748 func(static_cast<sessionDeviceTypeSafari &>(obj));
4749 return true;
4750 case sessionDeviceTypeUbuntu::ID:
4751 func(static_cast<sessionDeviceTypeUbuntu &>(obj));
4752 return true;
4753 case sessionDeviceTypeUnknown::ID:
4754 func(static_cast<sessionDeviceTypeUnknown &>(obj));
4755 return true;
4756 case sessionDeviceTypeVivaldi::ID:
4757 func(static_cast<sessionDeviceTypeVivaldi &>(obj));
4758 return true;
4759 case sessionDeviceTypeWindows::ID:
4760 func(static_cast<sessionDeviceTypeWindows &>(obj));
4761 return true;
4762 case sessionDeviceTypeXbox::ID:
4763 func(static_cast<sessionDeviceTypeXbox &>(obj));
4764 return true;
4765 case sessionTypeDevice::ID:
4766 func(static_cast<sessionTypeDevice &>(obj));
4767 return true;
4768 case sessionTypeConnectedBot::ID:
4769 func(static_cast<sessionTypeConnectedBot &>(obj));
4770 return true;
4771 case sessions::ID:
4772 func(static_cast<sessions &>(obj));
4773 return true;
4774 case settingsSectionAppearance::ID:
4775 func(static_cast<settingsSectionAppearance &>(obj));
4776 return true;
4777 case settingsSectionAskQuestion::ID:
4778 func(static_cast<settingsSectionAskQuestion &>(obj));
4779 return true;
4780 case settingsSectionBusiness::ID:
4781 func(static_cast<settingsSectionBusiness &>(obj));
4782 return true;
4783 case settingsSectionChatFolders::ID:
4784 func(static_cast<settingsSectionChatFolders &>(obj));
4785 return true;
4786 case settingsSectionDataAndStorage::ID:
4787 func(static_cast<settingsSectionDataAndStorage &>(obj));
4788 return true;
4789 case settingsSectionDevices::ID:
4790 func(static_cast<settingsSectionDevices &>(obj));
4791 return true;
4792 case settingsSectionEditProfile::ID:
4793 func(static_cast<settingsSectionEditProfile &>(obj));
4794 return true;
4795 case settingsSectionFaq::ID:
4796 func(static_cast<settingsSectionFaq &>(obj));
4797 return true;
4798 case settingsSectionFeatures::ID:
4799 func(static_cast<settingsSectionFeatures &>(obj));
4800 return true;
4801 case settingsSectionInAppBrowser::ID:
4802 func(static_cast<settingsSectionInAppBrowser &>(obj));
4803 return true;
4804 case settingsSectionLanguage::ID:
4805 func(static_cast<settingsSectionLanguage &>(obj));
4806 return true;
4807 case settingsSectionMyStars::ID:
4808 func(static_cast<settingsSectionMyStars &>(obj));
4809 return true;
4810 case settingsSectionMyGrams::ID:
4811 func(static_cast<settingsSectionMyGrams &>(obj));
4812 return true;
4813 case settingsSectionNotifications::ID:
4814 func(static_cast<settingsSectionNotifications &>(obj));
4815 return true;
4816 case settingsSectionPowerSaving::ID:
4817 func(static_cast<settingsSectionPowerSaving &>(obj));
4818 return true;
4819 case settingsSectionPremium::ID:
4820 func(static_cast<settingsSectionPremium &>(obj));
4821 return true;
4822 case settingsSectionPrivacyAndSecurity::ID:
4823 func(static_cast<settingsSectionPrivacyAndSecurity &>(obj));
4824 return true;
4825 case settingsSectionPrivacyPolicy::ID:
4826 func(static_cast<settingsSectionPrivacyPolicy &>(obj));
4827 return true;
4828 case settingsSectionQrCode::ID:
4829 func(static_cast<settingsSectionQrCode &>(obj));
4830 return true;
4831 case settingsSectionSearch::ID:
4832 func(static_cast<settingsSectionSearch &>(obj));
4833 return true;
4834 case settingsSectionSendGift::ID:
4835 func(static_cast<settingsSectionSendGift &>(obj));
4836 return true;
4837 case sharedChat::ID:
4838 func(static_cast<sharedChat &>(obj));
4839 return true;
4840 case sharedUser::ID:
4841 func(static_cast<sharedUser &>(obj));
4842 return true;
4843 case shippingOption::ID:
4844 func(static_cast<shippingOption &>(obj));
4845 return true;
4846 case speechRecognitionResultPending::ID:
4847 func(static_cast<speechRecognitionResultPending &>(obj));
4848 return true;
4849 case speechRecognitionResultText::ID:
4850 func(static_cast<speechRecognitionResultText &>(obj));
4851 return true;
4852 case speechRecognitionResultError::ID:
4853 func(static_cast<speechRecognitionResultError &>(obj));
4854 return true;
4855 case sponsoredChat::ID:
4856 func(static_cast<sponsoredChat &>(obj));
4857 return true;
4858 case sponsoredChats::ID:
4859 func(static_cast<sponsoredChats &>(obj));
4860 return true;
4861 case sponsoredMessage::ID:
4862 func(static_cast<sponsoredMessage &>(obj));
4863 return true;
4864 case sponsoredMessages::ID:
4865 func(static_cast<sponsoredMessages &>(obj));
4866 return true;
4867 case stakeDiceState::ID:
4868 func(static_cast<stakeDiceState &>(obj));
4869 return true;
4870 case starAmount::ID:
4871 func(static_cast<starAmount &>(obj));
4872 return true;
4873 case starCount::ID:
4874 func(static_cast<starCount &>(obj));
4875 return true;
4876 case starGiveawayPaymentOption::ID:
4877 func(static_cast<starGiveawayPaymentOption &>(obj));
4878 return true;
4879 case starGiveawayPaymentOptions::ID:
4880 func(static_cast<starGiveawayPaymentOptions &>(obj));
4881 return true;
4882 case starGiveawayWinnerOption::ID:
4883 func(static_cast<starGiveawayWinnerOption &>(obj));
4884 return true;
4885 case starPaymentOption::ID:
4886 func(static_cast<starPaymentOption &>(obj));
4887 return true;
4888 case starPaymentOptions::ID:
4889 func(static_cast<starPaymentOptions &>(obj));
4890 return true;
4891 case starRevenueStatistics::ID:
4892 func(static_cast<starRevenueStatistics &>(obj));
4893 return true;
4894 case starRevenueStatus::ID:
4895 func(static_cast<starRevenueStatus &>(obj));
4896 return true;
4897 case starSubscription::ID:
4898 func(static_cast<starSubscription &>(obj));
4899 return true;
4900 case starSubscriptionPricing::ID:
4901 func(static_cast<starSubscriptionPricing &>(obj));
4902 return true;
4903 case starSubscriptionTypeChannel::ID:
4904 func(static_cast<starSubscriptionTypeChannel &>(obj));
4905 return true;
4906 case starSubscriptionTypeBot::ID:
4907 func(static_cast<starSubscriptionTypeBot &>(obj));
4908 return true;
4909 case starSubscriptions::ID:
4910 func(static_cast<starSubscriptions &>(obj));
4911 return true;
4912 case starTransaction::ID:
4913 func(static_cast<starTransaction &>(obj));
4914 return true;
4915 case starTransactionTypePremiumBotDeposit::ID:
4916 func(static_cast<starTransactionTypePremiumBotDeposit &>(obj));
4917 return true;
4918 case starTransactionTypeAppStoreDeposit::ID:
4919 func(static_cast<starTransactionTypeAppStoreDeposit &>(obj));
4920 return true;
4921 case starTransactionTypeGooglePlayDeposit::ID:
4922 func(static_cast<starTransactionTypeGooglePlayDeposit &>(obj));
4923 return true;
4924 case starTransactionTypeFragmentDeposit::ID:
4925 func(static_cast<starTransactionTypeFragmentDeposit &>(obj));
4926 return true;
4927 case starTransactionTypeUserDeposit::ID:
4928 func(static_cast<starTransactionTypeUserDeposit &>(obj));
4929 return true;
4930 case starTransactionTypeGiveawayDeposit::ID:
4931 func(static_cast<starTransactionTypeGiveawayDeposit &>(obj));
4932 return true;
4933 case starTransactionTypeFragmentWithdrawal::ID:
4934 func(static_cast<starTransactionTypeFragmentWithdrawal &>(obj));
4935 return true;
4936 case starTransactionTypeTelegramAdsWithdrawal::ID:
4937 func(static_cast<starTransactionTypeTelegramAdsWithdrawal &>(obj));
4938 return true;
4939 case starTransactionTypeTelegramApiUsage::ID:
4940 func(static_cast<starTransactionTypeTelegramApiUsage &>(obj));
4941 return true;
4942 case starTransactionTypeBotPaidMediaPurchase::ID:
4943 func(static_cast<starTransactionTypeBotPaidMediaPurchase &>(obj));
4944 return true;
4945 case starTransactionTypeBotPaidMediaSale::ID:
4946 func(static_cast<starTransactionTypeBotPaidMediaSale &>(obj));
4947 return true;
4948 case starTransactionTypeChannelPaidMediaPurchase::ID:
4949 func(static_cast<starTransactionTypeChannelPaidMediaPurchase &>(obj));
4950 return true;
4951 case starTransactionTypeChannelPaidMediaSale::ID:
4952 func(static_cast<starTransactionTypeChannelPaidMediaSale &>(obj));
4953 return true;
4954 case starTransactionTypeBotInvoicePurchase::ID:
4955 func(static_cast<starTransactionTypeBotInvoicePurchase &>(obj));
4956 return true;
4957 case starTransactionTypeBotInvoiceSale::ID:
4958 func(static_cast<starTransactionTypeBotInvoiceSale &>(obj));
4959 return true;
4960 case starTransactionTypeBotSubscriptionPurchase::ID:
4961 func(static_cast<starTransactionTypeBotSubscriptionPurchase &>(obj));
4962 return true;
4963 case starTransactionTypeBotSubscriptionSale::ID:
4964 func(static_cast<starTransactionTypeBotSubscriptionSale &>(obj));
4965 return true;
4966 case starTransactionTypeChannelSubscriptionPurchase::ID:
4967 func(static_cast<starTransactionTypeChannelSubscriptionPurchase &>(obj));
4968 return true;
4969 case starTransactionTypeChannelSubscriptionSale::ID:
4970 func(static_cast<starTransactionTypeChannelSubscriptionSale &>(obj));
4971 return true;
4972 case starTransactionTypeGiftAuctionBid::ID:
4973 func(static_cast<starTransactionTypeGiftAuctionBid &>(obj));
4974 return true;
4975 case starTransactionTypeGiftPurchase::ID:
4976 func(static_cast<starTransactionTypeGiftPurchase &>(obj));
4977 return true;
4978 case starTransactionTypeGiftPurchaseOffer::ID:
4979 func(static_cast<starTransactionTypeGiftPurchaseOffer &>(obj));
4980 return true;
4981 case starTransactionTypeGiftTransfer::ID:
4982 func(static_cast<starTransactionTypeGiftTransfer &>(obj));
4983 return true;
4984 case starTransactionTypeGiftOriginalDetailsDrop::ID:
4985 func(static_cast<starTransactionTypeGiftOriginalDetailsDrop &>(obj));
4986 return true;
4987 case starTransactionTypeGiftSale::ID:
4988 func(static_cast<starTransactionTypeGiftSale &>(obj));
4989 return true;
4990 case starTransactionTypeGiftUpgrade::ID:
4991 func(static_cast<starTransactionTypeGiftUpgrade &>(obj));
4992 return true;
4993 case starTransactionTypeGiftUpgradePurchase::ID:
4994 func(static_cast<starTransactionTypeGiftUpgradePurchase &>(obj));
4995 return true;
4996 case starTransactionTypeUpgradedGiftPurchase::ID:
4997 func(static_cast<starTransactionTypeUpgradedGiftPurchase &>(obj));
4998 return true;
4999 case starTransactionTypeUpgradedGiftSale::ID:
5000 func(static_cast<starTransactionTypeUpgradedGiftSale &>(obj));
5001 return true;
5002 case starTransactionTypeChannelPaidReactionSend::ID:
5003 func(static_cast<starTransactionTypeChannelPaidReactionSend &>(obj));
5004 return true;
5005 case starTransactionTypeChannelPaidReactionReceive::ID:
5006 func(static_cast<starTransactionTypeChannelPaidReactionReceive &>(obj));
5007 return true;
5008 case starTransactionTypeAffiliateProgramCommission::ID:
5009 func(static_cast<starTransactionTypeAffiliateProgramCommission &>(obj));
5010 return true;
5011 case starTransactionTypePaidMessageSend::ID:
5012 func(static_cast<starTransactionTypePaidMessageSend &>(obj));
5013 return true;
5014 case starTransactionTypePaidMessageReceive::ID:
5015 func(static_cast<starTransactionTypePaidMessageReceive &>(obj));
5016 return true;
5017 case starTransactionTypePaidGroupCallMessageSend::ID:
5018 func(static_cast<starTransactionTypePaidGroupCallMessageSend &>(obj));
5019 return true;
5020 case starTransactionTypePaidGroupCallMessageReceive::ID:
5021 func(static_cast<starTransactionTypePaidGroupCallMessageReceive &>(obj));
5022 return true;
5023 case starTransactionTypePaidGroupCallReactionSend::ID:
5024 func(static_cast<starTransactionTypePaidGroupCallReactionSend &>(obj));
5025 return true;
5026 case starTransactionTypePaidGroupCallReactionReceive::ID:
5027 func(static_cast<starTransactionTypePaidGroupCallReactionReceive &>(obj));
5028 return true;
5029 case starTransactionTypeSuggestedPostPaymentSend::ID:
5030 func(static_cast<starTransactionTypeSuggestedPostPaymentSend &>(obj));
5031 return true;
5032 case starTransactionTypeSuggestedPostPaymentReceive::ID:
5033 func(static_cast<starTransactionTypeSuggestedPostPaymentReceive &>(obj));
5034 return true;
5035 case starTransactionTypePremiumPurchase::ID:
5036 func(static_cast<starTransactionTypePremiumPurchase &>(obj));
5037 return true;
5038 case starTransactionTypeBusinessBotTransferSend::ID:
5039 func(static_cast<starTransactionTypeBusinessBotTransferSend &>(obj));
5040 return true;
5041 case starTransactionTypeBusinessBotTransferReceive::ID:
5042 func(static_cast<starTransactionTypeBusinessBotTransferReceive &>(obj));
5043 return true;
5044 case starTransactionTypePublicPostSearch::ID:
5045 func(static_cast<starTransactionTypePublicPostSearch &>(obj));
5046 return true;
5047 case starTransactionTypeUnsupported::ID:
5048 func(static_cast<starTransactionTypeUnsupported &>(obj));
5049 return true;
5050 case starTransactions::ID:
5051 func(static_cast<starTransactions &>(obj));
5052 return true;
5053 case startLiveStoryResultOk::ID:
5054 func(static_cast<startLiveStoryResultOk &>(obj));
5055 return true;
5056 case startLiveStoryResultFail::ID:
5057 func(static_cast<startLiveStoryResultFail &>(obj));
5058 return true;
5059 case statisticalGraphData::ID:
5060 func(static_cast<statisticalGraphData &>(obj));
5061 return true;
5062 case statisticalGraphAsync::ID:
5063 func(static_cast<statisticalGraphAsync &>(obj));
5064 return true;
5065 case statisticalGraphError::ID:
5066 func(static_cast<statisticalGraphError &>(obj));
5067 return true;
5068 case statisticalValue::ID:
5069 func(static_cast<statisticalValue &>(obj));
5070 return true;
5071 case sticker::ID:
5072 func(static_cast<sticker &>(obj));
5073 return true;
5074 case stickerFormatWebp::ID:
5075 func(static_cast<stickerFormatWebp &>(obj));
5076 return true;
5077 case stickerFormatTgs::ID:
5078 func(static_cast<stickerFormatTgs &>(obj));
5079 return true;
5080 case stickerFormatWebm::ID:
5081 func(static_cast<stickerFormatWebm &>(obj));
5082 return true;
5083 case stickerFullTypeRegular::ID:
5084 func(static_cast<stickerFullTypeRegular &>(obj));
5085 return true;
5086 case stickerFullTypeMask::ID:
5087 func(static_cast<stickerFullTypeMask &>(obj));
5088 return true;
5089 case stickerFullTypeCustomEmoji::ID:
5090 func(static_cast<stickerFullTypeCustomEmoji &>(obj));
5091 return true;
5092 case stickerSet::ID:
5093 func(static_cast<stickerSet &>(obj));
5094 return true;
5095 case stickerSetInfo::ID:
5096 func(static_cast<stickerSetInfo &>(obj));
5097 return true;
5098 case stickerSets::ID:
5099 func(static_cast<stickerSets &>(obj));
5100 return true;
5101 case stickerTypeRegular::ID:
5102 func(static_cast<stickerTypeRegular &>(obj));
5103 return true;
5104 case stickerTypeMask::ID:
5105 func(static_cast<stickerTypeMask &>(obj));
5106 return true;
5107 case stickerTypeCustomEmoji::ID:
5108 func(static_cast<stickerTypeCustomEmoji &>(obj));
5109 return true;
5110 case stickers::ID:
5111 func(static_cast<stickers &>(obj));
5112 return true;
5113 case storageStatistics::ID:
5114 func(static_cast<storageStatistics &>(obj));
5115 return true;
5116 case storageStatisticsByChat::ID:
5117 func(static_cast<storageStatisticsByChat &>(obj));
5118 return true;
5119 case storageStatisticsByFileType::ID:
5120 func(static_cast<storageStatisticsByFileType &>(obj));
5121 return true;
5122 case storageStatisticsFast::ID:
5123 func(static_cast<storageStatisticsFast &>(obj));
5124 return true;
5125 case storePaymentPurposePremiumSubscription::ID:
5126 func(static_cast<storePaymentPurposePremiumSubscription &>(obj));
5127 return true;
5128 case storePaymentPurposePremiumGift::ID:
5129 func(static_cast<storePaymentPurposePremiumGift &>(obj));
5130 return true;
5131 case storePaymentPurposePremiumGiftCodes::ID:
5132 func(static_cast<storePaymentPurposePremiumGiftCodes &>(obj));
5133 return true;
5134 case storePaymentPurposePremiumGiveaway::ID:
5135 func(static_cast<storePaymentPurposePremiumGiveaway &>(obj));
5136 return true;
5137 case storePaymentPurposeStarGiveaway::ID:
5138 func(static_cast<storePaymentPurposeStarGiveaway &>(obj));
5139 return true;
5140 case storePaymentPurposeStars::ID:
5141 func(static_cast<storePaymentPurposeStars &>(obj));
5142 return true;
5143 case storePaymentPurposeGiftedStars::ID:
5144 func(static_cast<storePaymentPurposeGiftedStars &>(obj));
5145 return true;
5146 case storeTransactionAppStore::ID:
5147 func(static_cast<storeTransactionAppStore &>(obj));
5148 return true;
5149 case storeTransactionGooglePlay::ID:
5150 func(static_cast<storeTransactionGooglePlay &>(obj));
5151 return true;
5152 case stories::ID:
5153 func(static_cast<stories &>(obj));
5154 return true;
5155 case story::ID:
5156 func(static_cast<story &>(obj));
5157 return true;
5158 case storyAlbum::ID:
5159 func(static_cast<storyAlbum &>(obj));
5160 return true;
5161 case storyAlbums::ID:
5162 func(static_cast<storyAlbums &>(obj));
5163 return true;
5164 case storyArea::ID:
5165 func(static_cast<storyArea &>(obj));
5166 return true;
5167 case storyAreaPosition::ID:
5168 func(static_cast<storyAreaPosition &>(obj));
5169 return true;
5170 case storyAreaTypeLocation::ID:
5171 func(static_cast<storyAreaTypeLocation &>(obj));
5172 return true;
5173 case storyAreaTypeVenue::ID:
5174 func(static_cast<storyAreaTypeVenue &>(obj));
5175 return true;
5176 case storyAreaTypeSuggestedReaction::ID:
5177 func(static_cast<storyAreaTypeSuggestedReaction &>(obj));
5178 return true;
5179 case storyAreaTypeMessage::ID:
5180 func(static_cast<storyAreaTypeMessage &>(obj));
5181 return true;
5182 case storyAreaTypeLink::ID:
5183 func(static_cast<storyAreaTypeLink &>(obj));
5184 return true;
5185 case storyAreaTypeWeather::ID:
5186 func(static_cast<storyAreaTypeWeather &>(obj));
5187 return true;
5188 case storyAreaTypeUpgradedGift::ID:
5189 func(static_cast<storyAreaTypeUpgradedGift &>(obj));
5190 return true;
5191 case storyContentPhoto::ID:
5192 func(static_cast<storyContentPhoto &>(obj));
5193 return true;
5194 case storyContentVideo::ID:
5195 func(static_cast<storyContentVideo &>(obj));
5196 return true;
5197 case storyContentLive::ID:
5198 func(static_cast<storyContentLive &>(obj));
5199 return true;
5200 case storyContentUnsupported::ID:
5201 func(static_cast<storyContentUnsupported &>(obj));
5202 return true;
5203 case storyContentTypePhoto::ID:
5204 func(static_cast<storyContentTypePhoto &>(obj));
5205 return true;
5206 case storyContentTypeVideo::ID:
5207 func(static_cast<storyContentTypeVideo &>(obj));
5208 return true;
5209 case storyContentTypeLive::ID:
5210 func(static_cast<storyContentTypeLive &>(obj));
5211 return true;
5212 case storyContentTypeUnsupported::ID:
5213 func(static_cast<storyContentTypeUnsupported &>(obj));
5214 return true;
5215 case storyFullId::ID:
5216 func(static_cast<storyFullId &>(obj));
5217 return true;
5218 case storyInfo::ID:
5219 func(static_cast<storyInfo &>(obj));
5220 return true;
5221 case storyInteraction::ID:
5222 func(static_cast<storyInteraction &>(obj));
5223 return true;
5224 case storyInteractionInfo::ID:
5225 func(static_cast<storyInteractionInfo &>(obj));
5226 return true;
5227 case storyInteractionTypeView::ID:
5228 func(static_cast<storyInteractionTypeView &>(obj));
5229 return true;
5230 case storyInteractionTypeForward::ID:
5231 func(static_cast<storyInteractionTypeForward &>(obj));
5232 return true;
5233 case storyInteractionTypeRepost::ID:
5234 func(static_cast<storyInteractionTypeRepost &>(obj));
5235 return true;
5236 case storyInteractions::ID:
5237 func(static_cast<storyInteractions &>(obj));
5238 return true;
5239 case storyListMain::ID:
5240 func(static_cast<storyListMain &>(obj));
5241 return true;
5242 case storyListArchive::ID:
5243 func(static_cast<storyListArchive &>(obj));
5244 return true;
5245 case storyOriginPublicStory::ID:
5246 func(static_cast<storyOriginPublicStory &>(obj));
5247 return true;
5248 case storyOriginHiddenUser::ID:
5249 func(static_cast<storyOriginHiddenUser &>(obj));
5250 return true;
5251 case storyPrivacySettingsEveryone::ID:
5252 func(static_cast<storyPrivacySettingsEveryone &>(obj));
5253 return true;
5254 case storyPrivacySettingsContacts::ID:
5255 func(static_cast<storyPrivacySettingsContacts &>(obj));
5256 return true;
5257 case storyPrivacySettingsCloseFriends::ID:
5258 func(static_cast<storyPrivacySettingsCloseFriends &>(obj));
5259 return true;
5260 case storyPrivacySettingsSelectedUsers::ID:
5261 func(static_cast<storyPrivacySettingsSelectedUsers &>(obj));
5262 return true;
5263 case storyRepostInfo::ID:
5264 func(static_cast<storyRepostInfo &>(obj));
5265 return true;
5266 case storyStatistics::ID:
5267 func(static_cast<storyStatistics &>(obj));
5268 return true;
5269 case storyVideo::ID:
5270 func(static_cast<storyVideo &>(obj));
5271 return true;
5272 case suggestedActionEnableArchiveAndMuteNewChats::ID:
5273 func(static_cast<suggestedActionEnableArchiveAndMuteNewChats &>(obj));
5274 return true;
5275 case suggestedActionCheckPassword::ID:
5276 func(static_cast<suggestedActionCheckPassword &>(obj));
5277 return true;
5278 case suggestedActionCheckPhoneNumber::ID:
5279 func(static_cast<suggestedActionCheckPhoneNumber &>(obj));
5280 return true;
5281 case suggestedActionViewChecksHint::ID:
5282 func(static_cast<suggestedActionViewChecksHint &>(obj));
5283 return true;
5284 case suggestedActionConvertToBroadcastGroup::ID:
5285 func(static_cast<suggestedActionConvertToBroadcastGroup &>(obj));
5286 return true;
5287 case suggestedActionSetPassword::ID:
5288 func(static_cast<suggestedActionSetPassword &>(obj));
5289 return true;
5290 case suggestedActionUpgradePremium::ID:
5291 func(static_cast<suggestedActionUpgradePremium &>(obj));
5292 return true;
5293 case suggestedActionRestorePremium::ID:
5294 func(static_cast<suggestedActionRestorePremium &>(obj));
5295 return true;
5296 case suggestedActionSubscribeToAnnualPremium::ID:
5297 func(static_cast<suggestedActionSubscribeToAnnualPremium &>(obj));
5298 return true;
5299 case suggestedActionGiftPremiumForChristmas::ID:
5300 func(static_cast<suggestedActionGiftPremiumForChristmas &>(obj));
5301 return true;
5302 case suggestedActionSetBirthdate::ID:
5303 func(static_cast<suggestedActionSetBirthdate &>(obj));
5304 return true;
5305 case suggestedActionSetProfilePhoto::ID:
5306 func(static_cast<suggestedActionSetProfilePhoto &>(obj));
5307 return true;
5308 case suggestedActionExtendPremium::ID:
5309 func(static_cast<suggestedActionExtendPremium &>(obj));
5310 return true;
5311 case suggestedActionExtendStarSubscriptions::ID:
5312 func(static_cast<suggestedActionExtendStarSubscriptions &>(obj));
5313 return true;
5314 case suggestedActionCustom::ID:
5315 func(static_cast<suggestedActionCustom &>(obj));
5316 return true;
5317 case suggestedActionSetLoginEmailAddress::ID:
5318 func(static_cast<suggestedActionSetLoginEmailAddress &>(obj));
5319 return true;
5320 case suggestedActionAddLoginPasskey::ID:
5321 func(static_cast<suggestedActionAddLoginPasskey &>(obj));
5322 return true;
5323 case suggestedPostInfo::ID:
5324 func(static_cast<suggestedPostInfo &>(obj));
5325 return true;
5326 case suggestedPostPriceStar::ID:
5327 func(static_cast<suggestedPostPriceStar &>(obj));
5328 return true;
5329 case suggestedPostPriceGram::ID:
5330 func(static_cast<suggestedPostPriceGram &>(obj));
5331 return true;
5332 case suggestedPostRefundReasonPostDeleted::ID:
5333 func(static_cast<suggestedPostRefundReasonPostDeleted &>(obj));
5334 return true;
5335 case suggestedPostRefundReasonPaymentRefunded::ID:
5336 func(static_cast<suggestedPostRefundReasonPaymentRefunded &>(obj));
5337 return true;
5338 case suggestedPostStatePending::ID:
5339 func(static_cast<suggestedPostStatePending &>(obj));
5340 return true;
5341 case suggestedPostStateApproved::ID:
5342 func(static_cast<suggestedPostStateApproved &>(obj));
5343 return true;
5344 case suggestedPostStateDeclined::ID:
5345 func(static_cast<suggestedPostStateDeclined &>(obj));
5346 return true;
5347 case supergroup::ID:
5348 func(static_cast<supergroup &>(obj));
5349 return true;
5350 case supergroupFullInfo::ID:
5351 func(static_cast<supergroupFullInfo &>(obj));
5352 return true;
5353 case supergroupMembersFilterRecent::ID:
5354 func(static_cast<supergroupMembersFilterRecent &>(obj));
5355 return true;
5356 case supergroupMembersFilterContacts::ID:
5357 func(static_cast<supergroupMembersFilterContacts &>(obj));
5358 return true;
5359 case supergroupMembersFilterAdministrators::ID:
5360 func(static_cast<supergroupMembersFilterAdministrators &>(obj));
5361 return true;
5362 case supergroupMembersFilterSearch::ID:
5363 func(static_cast<supergroupMembersFilterSearch &>(obj));
5364 return true;
5365 case supergroupMembersFilterRestricted::ID:
5366 func(static_cast<supergroupMembersFilterRestricted &>(obj));
5367 return true;
5368 case supergroupMembersFilterBanned::ID:
5369 func(static_cast<supergroupMembersFilterBanned &>(obj));
5370 return true;
5371 case supergroupMembersFilterMention::ID:
5372 func(static_cast<supergroupMembersFilterMention &>(obj));
5373 return true;
5374 case supergroupMembersFilterBots::ID:
5375 func(static_cast<supergroupMembersFilterBots &>(obj));
5376 return true;
5377 case tMeUrl::ID:
5378 func(static_cast<tMeUrl &>(obj));
5379 return true;
5380 case tMeUrlTypeUser::ID:
5381 func(static_cast<tMeUrlTypeUser &>(obj));
5382 return true;
5383 case tMeUrlTypeSupergroup::ID:
5384 func(static_cast<tMeUrlTypeSupergroup &>(obj));
5385 return true;
5386 case tMeUrlTypeChatInvite::ID:
5387 func(static_cast<tMeUrlTypeChatInvite &>(obj));
5388 return true;
5389 case tMeUrlTypeStickerSet::ID:
5390 func(static_cast<tMeUrlTypeStickerSet &>(obj));
5391 return true;
5392 case tMeUrls::ID:
5393 func(static_cast<tMeUrls &>(obj));
5394 return true;
5395 case targetChatCurrent::ID:
5396 func(static_cast<targetChatCurrent &>(obj));
5397 return true;
5398 case targetChatChosen::ID:
5399 func(static_cast<targetChatChosen &>(obj));
5400 return true;
5401 case targetChatInternalLink::ID:
5402 func(static_cast<targetChatInternalLink &>(obj));
5403 return true;
5404 case targetChatTypes::ID:
5405 func(static_cast<targetChatTypes &>(obj));
5406 return true;
5407 case telegramPaymentPurposePremiumGift::ID:
5408 func(static_cast<telegramPaymentPurposePremiumGift &>(obj));
5409 return true;
5410 case telegramPaymentPurposePremiumGiftCodes::ID:
5411 func(static_cast<telegramPaymentPurposePremiumGiftCodes &>(obj));
5412 return true;
5413 case telegramPaymentPurposePremiumGiveaway::ID:
5414 func(static_cast<telegramPaymentPurposePremiumGiveaway &>(obj));
5415 return true;
5416 case telegramPaymentPurposeStars::ID:
5417 func(static_cast<telegramPaymentPurposeStars &>(obj));
5418 return true;
5419 case telegramPaymentPurposeGiftedStars::ID:
5420 func(static_cast<telegramPaymentPurposeGiftedStars &>(obj));
5421 return true;
5422 case telegramPaymentPurposeStarGiveaway::ID:
5423 func(static_cast<telegramPaymentPurposeStarGiveaway &>(obj));
5424 return true;
5425 case telegramPaymentPurposeJoinChat::ID:
5426 func(static_cast<telegramPaymentPurposeJoinChat &>(obj));
5427 return true;
5428 case temporaryPasswordState::ID:
5429 func(static_cast<temporaryPasswordState &>(obj));
5430 return true;
5431 case termsOfService::ID:
5432 func(static_cast<termsOfService &>(obj));
5433 return true;
5434 case testBytes::ID:
5435 func(static_cast<testBytes &>(obj));
5436 return true;
5437 case testInt::ID:
5438 func(static_cast<testInt &>(obj));
5439 return true;
5440 case testString::ID:
5441 func(static_cast<testString &>(obj));
5442 return true;
5443 case testVectorInt::ID:
5444 func(static_cast<testVectorInt &>(obj));
5445 return true;
5446 case testVectorIntObject::ID:
5447 func(static_cast<testVectorIntObject &>(obj));
5448 return true;
5449 case testVectorString::ID:
5450 func(static_cast<testVectorString &>(obj));
5451 return true;
5452 case testVectorStringObject::ID:
5453 func(static_cast<testVectorStringObject &>(obj));
5454 return true;
5455 case text::ID:
5456 func(static_cast<text &>(obj));
5457 return true;
5458 case textCompositionStyle::ID:
5459 func(static_cast<textCompositionStyle &>(obj));
5460 return true;
5461 case textCompositionStyleExample::ID:
5462 func(static_cast<textCompositionStyleExample &>(obj));
5463 return true;
5464 case textEntities::ID:
5465 func(static_cast<textEntities &>(obj));
5466 return true;
5467 case textEntity::ID:
5468 func(static_cast<textEntity &>(obj));
5469 return true;
5470 case textEntityTypeMention::ID:
5471 func(static_cast<textEntityTypeMention &>(obj));
5472 return true;
5473 case textEntityTypeHashtag::ID:
5474 func(static_cast<textEntityTypeHashtag &>(obj));
5475 return true;
5476 case textEntityTypeCashtag::ID:
5477 func(static_cast<textEntityTypeCashtag &>(obj));
5478 return true;
5479 case textEntityTypeBotCommand::ID:
5480 func(static_cast<textEntityTypeBotCommand &>(obj));
5481 return true;
5482 case textEntityTypeUrl::ID:
5483 func(static_cast<textEntityTypeUrl &>(obj));
5484 return true;
5485 case textEntityTypeEmailAddress::ID:
5486 func(static_cast<textEntityTypeEmailAddress &>(obj));
5487 return true;
5488 case textEntityTypePhoneNumber::ID:
5489 func(static_cast<textEntityTypePhoneNumber &>(obj));
5490 return true;
5491 case textEntityTypeBankCardNumber::ID:
5492 func(static_cast<textEntityTypeBankCardNumber &>(obj));
5493 return true;
5494 case textEntityTypeBold::ID:
5495 func(static_cast<textEntityTypeBold &>(obj));
5496 return true;
5497 case textEntityTypeItalic::ID:
5498 func(static_cast<textEntityTypeItalic &>(obj));
5499 return true;
5500 case textEntityTypeUnderline::ID:
5501 func(static_cast<textEntityTypeUnderline &>(obj));
5502 return true;
5503 case textEntityTypeStrikethrough::ID:
5504 func(static_cast<textEntityTypeStrikethrough &>(obj));
5505 return true;
5506 case textEntityTypeSpoiler::ID:
5507 func(static_cast<textEntityTypeSpoiler &>(obj));
5508 return true;
5509 case textEntityTypeCode::ID:
5510 func(static_cast<textEntityTypeCode &>(obj));
5511 return true;
5512 case textEntityTypePre::ID:
5513 func(static_cast<textEntityTypePre &>(obj));
5514 return true;
5515 case textEntityTypePreCode::ID:
5516 func(static_cast<textEntityTypePreCode &>(obj));
5517 return true;
5518 case textEntityTypeBlockQuote::ID:
5519 func(static_cast<textEntityTypeBlockQuote &>(obj));
5520 return true;
5521 case textEntityTypeExpandableBlockQuote::ID:
5522 func(static_cast<textEntityTypeExpandableBlockQuote &>(obj));
5523 return true;
5524 case textEntityTypeTextUrl::ID:
5525 func(static_cast<textEntityTypeTextUrl &>(obj));
5526 return true;
5527 case textEntityTypeMentionName::ID:
5528 func(static_cast<textEntityTypeMentionName &>(obj));
5529 return true;
5530 case textEntityTypeCustomEmoji::ID:
5531 func(static_cast<textEntityTypeCustomEmoji &>(obj));
5532 return true;
5533 case textEntityTypeMediaTimestamp::ID:
5534 func(static_cast<textEntityTypeMediaTimestamp &>(obj));
5535 return true;
5536 case textEntityTypeDateTime::ID:
5537 func(static_cast<textEntityTypeDateTime &>(obj));
5538 return true;
5539 case textParseModeMarkdown::ID:
5540 func(static_cast<textParseModeMarkdown &>(obj));
5541 return true;
5542 case textParseModeHTML::ID:
5543 func(static_cast<textParseModeHTML &>(obj));
5544 return true;
5545 case textQuote::ID:
5546 func(static_cast<textQuote &>(obj));
5547 return true;
5548 case themeParameters::ID:
5549 func(static_cast<themeParameters &>(obj));
5550 return true;
5551 case themeSettings::ID:
5552 func(static_cast<themeSettings &>(obj));
5553 return true;
5554 case thumbnail::ID:
5555 func(static_cast<thumbnail &>(obj));
5556 return true;
5557 case thumbnailFormatJpeg::ID:
5558 func(static_cast<thumbnailFormatJpeg &>(obj));
5559 return true;
5560 case thumbnailFormatGif::ID:
5561 func(static_cast<thumbnailFormatGif &>(obj));
5562 return true;
5563 case thumbnailFormatMpeg4::ID:
5564 func(static_cast<thumbnailFormatMpeg4 &>(obj));
5565 return true;
5566 case thumbnailFormatPng::ID:
5567 func(static_cast<thumbnailFormatPng &>(obj));
5568 return true;
5569 case thumbnailFormatTgs::ID:
5570 func(static_cast<thumbnailFormatTgs &>(obj));
5571 return true;
5572 case thumbnailFormatWebm::ID:
5573 func(static_cast<thumbnailFormatWebm &>(obj));
5574 return true;
5575 case thumbnailFormatWebp::ID:
5576 func(static_cast<thumbnailFormatWebp &>(obj));
5577 return true;
5578 case timeZone::ID:
5579 func(static_cast<timeZone &>(obj));
5580 return true;
5581 case timeZones::ID:
5582 func(static_cast<timeZones &>(obj));
5583 return true;
5584 case tonTransaction::ID:
5585 func(static_cast<tonTransaction &>(obj));
5586 return true;
5587 case tonTransactionTypeFragmentDeposit::ID:
5588 func(static_cast<tonTransactionTypeFragmentDeposit &>(obj));
5589 return true;
5590 case tonTransactionTypeFragmentWithdrawal::ID:
5591 func(static_cast<tonTransactionTypeFragmentWithdrawal &>(obj));
5592 return true;
5593 case tonTransactionTypeSuggestedPostPayment::ID:
5594 func(static_cast<tonTransactionTypeSuggestedPostPayment &>(obj));
5595 return true;
5596 case tonTransactionTypeGiftPurchaseOffer::ID:
5597 func(static_cast<tonTransactionTypeGiftPurchaseOffer &>(obj));
5598 return true;
5599 case tonTransactionTypeUpgradedGiftPurchase::ID:
5600 func(static_cast<tonTransactionTypeUpgradedGiftPurchase &>(obj));
5601 return true;
5602 case tonTransactionTypeUpgradedGiftSale::ID:
5603 func(static_cast<tonTransactionTypeUpgradedGiftSale &>(obj));
5604 return true;
5605 case tonTransactionTypeStakeDiceStake::ID:
5606 func(static_cast<tonTransactionTypeStakeDiceStake &>(obj));
5607 return true;
5608 case tonTransactionTypeStakeDicePayout::ID:
5609 func(static_cast<tonTransactionTypeStakeDicePayout &>(obj));
5610 return true;
5611 case tonTransactionTypeUnsupported::ID:
5612 func(static_cast<tonTransactionTypeUnsupported &>(obj));
5613 return true;
5614 case tonTransactions::ID:
5615 func(static_cast<tonTransactions &>(obj));
5616 return true;
5617 case topChatCategoryUsers::ID:
5618 func(static_cast<topChatCategoryUsers &>(obj));
5619 return true;
5620 case topChatCategoryBots::ID:
5621 func(static_cast<topChatCategoryBots &>(obj));
5622 return true;
5623 case topChatCategoryGroups::ID:
5624 func(static_cast<topChatCategoryGroups &>(obj));
5625 return true;
5626 case topChatCategoryChannels::ID:
5627 func(static_cast<topChatCategoryChannels &>(obj));
5628 return true;
5629 case topChatCategoryInlineBots::ID:
5630 func(static_cast<topChatCategoryInlineBots &>(obj));
5631 return true;
5632 case topChatCategoryGuestBots::ID:
5633 func(static_cast<topChatCategoryGuestBots &>(obj));
5634 return true;
5635 case topChatCategoryWebAppBots::ID:
5636 func(static_cast<topChatCategoryWebAppBots &>(obj));
5637 return true;
5638 case topChatCategoryCalls::ID:
5639 func(static_cast<topChatCategoryCalls &>(obj));
5640 return true;
5641 case topChatCategoryForwardChats::ID:
5642 func(static_cast<topChatCategoryForwardChats &>(obj));
5643 return true;
5644 case transactionDirectionIncoming::ID:
5645 func(static_cast<transactionDirectionIncoming &>(obj));
5646 return true;
5647 case transactionDirectionOutgoing::ID:
5648 func(static_cast<transactionDirectionOutgoing &>(obj));
5649 return true;
5650 case trendingStickerSets::ID:
5651 func(static_cast<trendingStickerSets &>(obj));
5652 return true;
5653 case unconfirmedSession::ID:
5654 func(static_cast<unconfirmedSession &>(obj));
5655 return true;
5656 case unreadReaction::ID:
5657 func(static_cast<unreadReaction &>(obj));
5658 return true;
5659 case updateAuthorizationState::ID:
5660 func(static_cast<updateAuthorizationState &>(obj));
5661 return true;
5662 case updateNewMessage::ID:
5663 func(static_cast<updateNewMessage &>(obj));
5664 return true;
5665 case updateMessageSendAcknowledged::ID:
5666 func(static_cast<updateMessageSendAcknowledged &>(obj));
5667 return true;
5668 case updateMessageSendSucceeded::ID:
5669 func(static_cast<updateMessageSendSucceeded &>(obj));
5670 return true;
5671 case updateMessageSendFailed::ID:
5672 func(static_cast<updateMessageSendFailed &>(obj));
5673 return true;
5674 case updateMessageContent::ID:
5675 func(static_cast<updateMessageContent &>(obj));
5676 return true;
5677 case updateMessageEdited::ID:
5678 func(static_cast<updateMessageEdited &>(obj));
5679 return true;
5680 case updateMessageIsPinned::ID:
5681 func(static_cast<updateMessageIsPinned &>(obj));
5682 return true;
5683 case updateMessageInteractionInfo::ID:
5684 func(static_cast<updateMessageInteractionInfo &>(obj));
5685 return true;
5686 case updateMessageContentOpened::ID:
5687 func(static_cast<updateMessageContentOpened &>(obj));
5688 return true;
5689 case updateMessageMentionRead::ID:
5690 func(static_cast<updateMessageMentionRead &>(obj));
5691 return true;
5692 case updateMessageUnreadReactions::ID:
5693 func(static_cast<updateMessageUnreadReactions &>(obj));
5694 return true;
5695 case updateMessageContainsUnreadPollVotes::ID:
5696 func(static_cast<updateMessageContainsUnreadPollVotes &>(obj));
5697 return true;
5698 case updateMessageFactCheck::ID:
5699 func(static_cast<updateMessageFactCheck &>(obj));
5700 return true;
5701 case updateMessageSuggestedPostInfo::ID:
5702 func(static_cast<updateMessageSuggestedPostInfo &>(obj));
5703 return true;
5704 case updateMessageLiveLocationViewed::ID:
5705 func(static_cast<updateMessageLiveLocationViewed &>(obj));
5706 return true;
5707 case updateVideoPublished::ID:
5708 func(static_cast<updateVideoPublished &>(obj));
5709 return true;
5710 case updateNewChat::ID:
5711 func(static_cast<updateNewChat &>(obj));
5712 return true;
5713 case updateChatTitle::ID:
5714 func(static_cast<updateChatTitle &>(obj));
5715 return true;
5716 case updateChatPhoto::ID:
5717 func(static_cast<updateChatPhoto &>(obj));
5718 return true;
5719 case updateChatAccentColors::ID:
5720 func(static_cast<updateChatAccentColors &>(obj));
5721 return true;
5722 case updateChatPermissions::ID:
5723 func(static_cast<updateChatPermissions &>(obj));
5724 return true;
5725 case updateChatLastMessage::ID:
5726 func(static_cast<updateChatLastMessage &>(obj));
5727 return true;
5728 case updateChatPosition::ID:
5729 func(static_cast<updateChatPosition &>(obj));
5730 return true;
5731 case updateChatAddedToList::ID:
5732 func(static_cast<updateChatAddedToList &>(obj));
5733 return true;
5734 case updateChatRemovedFromList::ID:
5735 func(static_cast<updateChatRemovedFromList &>(obj));
5736 return true;
5737 case updateChatReadInbox::ID:
5738 func(static_cast<updateChatReadInbox &>(obj));
5739 return true;
5740 case updateChatReadOutbox::ID:
5741 func(static_cast<updateChatReadOutbox &>(obj));
5742 return true;
5743 case updateChatActionBar::ID:
5744 func(static_cast<updateChatActionBar &>(obj));
5745 return true;
5746 case updateChatBusinessBotManageBar::ID:
5747 func(static_cast<updateChatBusinessBotManageBar &>(obj));
5748 return true;
5749 case updateChatAvailableReactions::ID:
5750 func(static_cast<updateChatAvailableReactions &>(obj));
5751 return true;
5752 case updateChatDraftMessage::ID:
5753 func(static_cast<updateChatDraftMessage &>(obj));
5754 return true;
5755 case updateChatEmojiStatus::ID:
5756 func(static_cast<updateChatEmojiStatus &>(obj));
5757 return true;
5758 case updateChatMessageSender::ID:
5759 func(static_cast<updateChatMessageSender &>(obj));
5760 return true;
5761 case updateChatMessageAutoDeleteTime::ID:
5762 func(static_cast<updateChatMessageAutoDeleteTime &>(obj));
5763 return true;
5764 case updateChatNotificationSettings::ID:
5765 func(static_cast<updateChatNotificationSettings &>(obj));
5766 return true;
5767 case updateChatPendingJoinRequests::ID:
5768 func(static_cast<updateChatPendingJoinRequests &>(obj));
5769 return true;
5770 case updateChatReplyMarkup::ID:
5771 func(static_cast<updateChatReplyMarkup &>(obj));
5772 return true;
5773 case updateChatBackground::ID:
5774 func(static_cast<updateChatBackground &>(obj));
5775 return true;
5776 case updateChatTheme::ID:
5777 func(static_cast<updateChatTheme &>(obj));
5778 return true;
5779 case updateChatUnreadMentionCount::ID:
5780 func(static_cast<updateChatUnreadMentionCount &>(obj));
5781 return true;
5782 case updateChatUnreadReactionCount::ID:
5783 func(static_cast<updateChatUnreadReactionCount &>(obj));
5784 return true;
5785 case updateChatUnreadPollVoteCount::ID:
5786 func(static_cast<updateChatUnreadPollVoteCount &>(obj));
5787 return true;
5788 case updateChatVideoChat::ID:
5789 func(static_cast<updateChatVideoChat &>(obj));
5790 return true;
5791 case updateChatDefaultDisableNotification::ID:
5792 func(static_cast<updateChatDefaultDisableNotification &>(obj));
5793 return true;
5794 case updateChatHasProtectedContent::ID:
5795 func(static_cast<updateChatHasProtectedContent &>(obj));
5796 return true;
5797 case updateChatIsTranslatable::ID:
5798 func(static_cast<updateChatIsTranslatable &>(obj));
5799 return true;
5800 case updateChatIsMarkedAsUnread::ID:
5801 func(static_cast<updateChatIsMarkedAsUnread &>(obj));
5802 return true;
5803 case updateChatViewAsTopics::ID:
5804 func(static_cast<updateChatViewAsTopics &>(obj));
5805 return true;
5806 case updateChatBlockList::ID:
5807 func(static_cast<updateChatBlockList &>(obj));
5808 return true;
5809 case updateChatHasScheduledMessages::ID:
5810 func(static_cast<updateChatHasScheduledMessages &>(obj));
5811 return true;
5812 case updateChatFolders::ID:
5813 func(static_cast<updateChatFolders &>(obj));
5814 return true;
5815 case updateChatOnlineMemberCount::ID:
5816 func(static_cast<updateChatOnlineMemberCount &>(obj));
5817 return true;
5818 case updateSavedMessagesTopic::ID:
5819 func(static_cast<updateSavedMessagesTopic &>(obj));
5820 return true;
5821 case updateSavedMessagesTopicCount::ID:
5822 func(static_cast<updateSavedMessagesTopicCount &>(obj));
5823 return true;
5824 case updateDirectMessagesChatTopic::ID:
5825 func(static_cast<updateDirectMessagesChatTopic &>(obj));
5826 return true;
5827 case updateTopicMessageCount::ID:
5828 func(static_cast<updateTopicMessageCount &>(obj));
5829 return true;
5830 case updateQuickReplyShortcut::ID:
5831 func(static_cast<updateQuickReplyShortcut &>(obj));
5832 return true;
5833 case updateQuickReplyShortcutDeleted::ID:
5834 func(static_cast<updateQuickReplyShortcutDeleted &>(obj));
5835 return true;
5836 case updateQuickReplyShortcuts::ID:
5837 func(static_cast<updateQuickReplyShortcuts &>(obj));
5838 return true;
5839 case updateQuickReplyShortcutMessages::ID:
5840 func(static_cast<updateQuickReplyShortcutMessages &>(obj));
5841 return true;
5842 case updateForumTopicInfo::ID:
5843 func(static_cast<updateForumTopicInfo &>(obj));
5844 return true;
5845 case updateForumTopic::ID:
5846 func(static_cast<updateForumTopic &>(obj));
5847 return true;
5848 case updateScopeNotificationSettings::ID:
5849 func(static_cast<updateScopeNotificationSettings &>(obj));
5850 return true;
5851 case updateReactionNotificationSettings::ID:
5852 func(static_cast<updateReactionNotificationSettings &>(obj));
5853 return true;
5854 case updateNotification::ID:
5855 func(static_cast<updateNotification &>(obj));
5856 return true;
5857 case updateNotificationGroup::ID:
5858 func(static_cast<updateNotificationGroup &>(obj));
5859 return true;
5860 case updateActiveNotifications::ID:
5861 func(static_cast<updateActiveNotifications &>(obj));
5862 return true;
5863 case updateHavePendingNotifications::ID:
5864 func(static_cast<updateHavePendingNotifications &>(obj));
5865 return true;
5866 case updateDeleteMessages::ID:
5867 func(static_cast<updateDeleteMessages &>(obj));
5868 return true;
5869 case updateChatAction::ID:
5870 func(static_cast<updateChatAction &>(obj));
5871 return true;
5872 case updatePendingMessage::ID:
5873 func(static_cast<updatePendingMessage &>(obj));
5874 return true;
5875 case updateCommunity::ID:
5876 func(static_cast<updateCommunity &>(obj));
5877 return true;
5878 case updateUserStatus::ID:
5879 func(static_cast<updateUserStatus &>(obj));
5880 return true;
5881 case updateUser::ID:
5882 func(static_cast<updateUser &>(obj));
5883 return true;
5884 case updateBasicGroup::ID:
5885 func(static_cast<updateBasicGroup &>(obj));
5886 return true;
5887 case updateSupergroup::ID:
5888 func(static_cast<updateSupergroup &>(obj));
5889 return true;
5890 case updateSecretChat::ID:
5891 func(static_cast<updateSecretChat &>(obj));
5892 return true;
5893 case updateUserFullInfo::ID:
5894 func(static_cast<updateUserFullInfo &>(obj));
5895 return true;
5896 case updateBasicGroupFullInfo::ID:
5897 func(static_cast<updateBasicGroupFullInfo &>(obj));
5898 return true;
5899 case updateSupergroupFullInfo::ID:
5900 func(static_cast<updateSupergroupFullInfo &>(obj));
5901 return true;
5902 case updateServiceNotification::ID:
5903 func(static_cast<updateServiceNotification &>(obj));
5904 return true;
5905 case updateNewOauthRequest::ID:
5906 func(static_cast<updateNewOauthRequest &>(obj));
5907 return true;
5908 case updateFile::ID:
5909 func(static_cast<updateFile &>(obj));
5910 return true;
5911 case updateFileGenerationStart::ID:
5912 func(static_cast<updateFileGenerationStart &>(obj));
5913 return true;
5914 case updateFileGenerationStop::ID:
5915 func(static_cast<updateFileGenerationStop &>(obj));
5916 return true;
5917 case updateFileDownloads::ID:
5918 func(static_cast<updateFileDownloads &>(obj));
5919 return true;
5920 case updateFileAddedToDownloads::ID:
5921 func(static_cast<updateFileAddedToDownloads &>(obj));
5922 return true;
5923 case updateFileDownload::ID:
5924 func(static_cast<updateFileDownload &>(obj));
5925 return true;
5926 case updateFileRemovedFromDownloads::ID:
5927 func(static_cast<updateFileRemovedFromDownloads &>(obj));
5928 return true;
5929 case updateApplicationVerificationRequired::ID:
5930 func(static_cast<updateApplicationVerificationRequired &>(obj));
5931 return true;
5932 case updateApplicationRecaptchaVerificationRequired::ID:
5933 func(static_cast<updateApplicationRecaptchaVerificationRequired &>(obj));
5934 return true;
5935 case updateCall::ID:
5936 func(static_cast<updateCall &>(obj));
5937 return true;
5938 case updateGroupCall::ID:
5939 func(static_cast<updateGroupCall &>(obj));
5940 return true;
5941 case updateGroupCallParticipant::ID:
5942 func(static_cast<updateGroupCallParticipant &>(obj));
5943 return true;
5944 case updateGroupCallParticipants::ID:
5945 func(static_cast<updateGroupCallParticipants &>(obj));
5946 return true;
5947 case updateGroupCallVerificationState::ID:
5948 func(static_cast<updateGroupCallVerificationState &>(obj));
5949 return true;
5950 case updateNewGroupCallMessage::ID:
5951 func(static_cast<updateNewGroupCallMessage &>(obj));
5952 return true;
5953 case updateNewGroupCallPaidReaction::ID:
5954 func(static_cast<updateNewGroupCallPaidReaction &>(obj));
5955 return true;
5956 case updateGroupCallMessageSendFailed::ID:
5957 func(static_cast<updateGroupCallMessageSendFailed &>(obj));
5958 return true;
5959 case updateGroupCallMessagesDeleted::ID:
5960 func(static_cast<updateGroupCallMessagesDeleted &>(obj));
5961 return true;
5962 case updateLiveStoryTopDonors::ID:
5963 func(static_cast<updateLiveStoryTopDonors &>(obj));
5964 return true;
5965 case updateNewCallSignalingData::ID:
5966 func(static_cast<updateNewCallSignalingData &>(obj));
5967 return true;
5968 case updateGiftAuctionState::ID:
5969 func(static_cast<updateGiftAuctionState &>(obj));
5970 return true;
5971 case updateActiveGiftAuctions::ID:
5972 func(static_cast<updateActiveGiftAuctions &>(obj));
5973 return true;
5974 case updateUserPrivacySettingRules::ID:
5975 func(static_cast<updateUserPrivacySettingRules &>(obj));
5976 return true;
5977 case updateUnreadMessageCount::ID:
5978 func(static_cast<updateUnreadMessageCount &>(obj));
5979 return true;
5980 case updateUnreadChatCount::ID:
5981 func(static_cast<updateUnreadChatCount &>(obj));
5982 return true;
5983 case updateChatJoinResult::ID:
5984 func(static_cast<updateChatJoinResult &>(obj));
5985 return true;
5986 case updateStory::ID:
5987 func(static_cast<updateStory &>(obj));
5988 return true;
5989 case updateStoryDeleted::ID:
5990 func(static_cast<updateStoryDeleted &>(obj));
5991 return true;
5992 case updateStoryPostSucceeded::ID:
5993 func(static_cast<updateStoryPostSucceeded &>(obj));
5994 return true;
5995 case updateStoryPostFailed::ID:
5996 func(static_cast<updateStoryPostFailed &>(obj));
5997 return true;
5998 case updateChatActiveStories::ID:
5999 func(static_cast<updateChatActiveStories &>(obj));
6000 return true;
6001 case updateStoryListChatCount::ID:
6002 func(static_cast<updateStoryListChatCount &>(obj));
6003 return true;
6004 case updateStoryStealthMode::ID:
6005 func(static_cast<updateStoryStealthMode &>(obj));
6006 return true;
6007 case updateTrustedMiniAppBots::ID:
6008 func(static_cast<updateTrustedMiniAppBots &>(obj));
6009 return true;
6010 case updateOption::ID:
6011 func(static_cast<updateOption &>(obj));
6012 return true;
6013 case updateStickerSet::ID:
6014 func(static_cast<updateStickerSet &>(obj));
6015 return true;
6016 case updateInstalledStickerSets::ID:
6017 func(static_cast<updateInstalledStickerSets &>(obj));
6018 return true;
6019 case updateTrendingStickerSets::ID:
6020 func(static_cast<updateTrendingStickerSets &>(obj));
6021 return true;
6022 case updateRecentStickers::ID:
6023 func(static_cast<updateRecentStickers &>(obj));
6024 return true;
6025 case updateFavoriteStickers::ID:
6026 func(static_cast<updateFavoriteStickers &>(obj));
6027 return true;
6028 case updateSavedAnimations::ID:
6029 func(static_cast<updateSavedAnimations &>(obj));
6030 return true;
6031 case updateSavedNotificationSounds::ID:
6032 func(static_cast<updateSavedNotificationSounds &>(obj));
6033 return true;
6034 case updateDefaultBackground::ID:
6035 func(static_cast<updateDefaultBackground &>(obj));
6036 return true;
6037 case updateEmojiChatThemes::ID:
6038 func(static_cast<updateEmojiChatThemes &>(obj));
6039 return true;
6040 case updateAccentColors::ID:
6041 func(static_cast<updateAccentColors &>(obj));
6042 return true;
6043 case updateProfileAccentColors::ID:
6044 func(static_cast<updateProfileAccentColors &>(obj));
6045 return true;
6046 case updateWebBrowserSettings::ID:
6047 func(static_cast<updateWebBrowserSettings &>(obj));
6048 return true;
6049 case updateLanguagePackStrings::ID:
6050 func(static_cast<updateLanguagePackStrings &>(obj));
6051 return true;
6052 case updateConnectionState::ID:
6053 func(static_cast<updateConnectionState &>(obj));
6054 return true;
6055 case updateFreezeState::ID:
6056 func(static_cast<updateFreezeState &>(obj));
6057 return true;
6058 case updateAgeVerificationParameters::ID:
6059 func(static_cast<updateAgeVerificationParameters &>(obj));
6060 return true;
6061 case updateTermsOfService::ID:
6062 func(static_cast<updateTermsOfService &>(obj));
6063 return true;
6064 case updateUnconfirmedSession::ID:
6065 func(static_cast<updateUnconfirmedSession &>(obj));
6066 return true;
6067 case updateAttachmentMenuBots::ID:
6068 func(static_cast<updateAttachmentMenuBots &>(obj));
6069 return true;
6070 case updateWebAppMessageSent::ID:
6071 func(static_cast<updateWebAppMessageSent &>(obj));
6072 return true;
6073 case updateActiveEmojiReactions::ID:
6074 func(static_cast<updateActiveEmojiReactions &>(obj));
6075 return true;
6076 case updateAvailableMessageEffects::ID:
6077 func(static_cast<updateAvailableMessageEffects &>(obj));
6078 return true;
6079 case updateDefaultReactionType::ID:
6080 func(static_cast<updateDefaultReactionType &>(obj));
6081 return true;
6082 case updateDefaultPaidReactionType::ID:
6083 func(static_cast<updateDefaultPaidReactionType &>(obj));
6084 return true;
6085 case updateSavedMessagesTags::ID:
6086 func(static_cast<updateSavedMessagesTags &>(obj));
6087 return true;
6088 case updateActiveLiveLocationMessages::ID:
6089 func(static_cast<updateActiveLiveLocationMessages &>(obj));
6090 return true;
6091 case updateOwnedStarCount::ID:
6092 func(static_cast<updateOwnedStarCount &>(obj));
6093 return true;
6094 case updateOwnedGramCount::ID:
6095 func(static_cast<updateOwnedGramCount &>(obj));
6096 return true;
6097 case updateChatRevenueAmount::ID:
6098 func(static_cast<updateChatRevenueAmount &>(obj));
6099 return true;
6100 case updateStarRevenueStatus::ID:
6101 func(static_cast<updateStarRevenueStatus &>(obj));
6102 return true;
6103 case updateGramRevenueStatus::ID:
6104 func(static_cast<updateGramRevenueStatus &>(obj));
6105 return true;
6106 case updateSpeechRecognitionTrial::ID:
6107 func(static_cast<updateSpeechRecognitionTrial &>(obj));
6108 return true;
6109 case updateGroupCallMessageLevels::ID:
6110 func(static_cast<updateGroupCallMessageLevels &>(obj));
6111 return true;
6112 case updateDiceEmojis::ID:
6113 func(static_cast<updateDiceEmojis &>(obj));
6114 return true;
6115 case updateStakeDiceState::ID:
6116 func(static_cast<updateStakeDiceState &>(obj));
6117 return true;
6118 case updateAnimatedEmojiMessageClicked::ID:
6119 func(static_cast<updateAnimatedEmojiMessageClicked &>(obj));
6120 return true;
6121 case updateAnimationSearchParameters::ID:
6122 func(static_cast<updateAnimationSearchParameters &>(obj));
6123 return true;
6124 case updateTextCompositionStyles::ID:
6125 func(static_cast<updateTextCompositionStyles &>(obj));
6126 return true;
6127 case updateSuggestedActions::ID:
6128 func(static_cast<updateSuggestedActions &>(obj));
6129 return true;
6130 case updateSpeedLimitNotification::ID:
6131 func(static_cast<updateSpeedLimitNotification &>(obj));
6132 return true;
6133 case updateContactCloseBirthdays::ID:
6134 func(static_cast<updateContactCloseBirthdays &>(obj));
6135 return true;
6136 case updateAutosaveSettings::ID:
6137 func(static_cast<updateAutosaveSettings &>(obj));
6138 return true;
6139 case updateBusinessConnection::ID:
6140 func(static_cast<updateBusinessConnection &>(obj));
6141 return true;
6142 case updateNewBusinessMessage::ID:
6143 func(static_cast<updateNewBusinessMessage &>(obj));
6144 return true;
6145 case updateBusinessMessageEdited::ID:
6146 func(static_cast<updateBusinessMessageEdited &>(obj));
6147 return true;
6148 case updateBusinessMessagesDeleted::ID:
6149 func(static_cast<updateBusinessMessagesDeleted &>(obj));
6150 return true;
6151 case updateNewInlineQuery::ID:
6152 func(static_cast<updateNewInlineQuery &>(obj));
6153 return true;
6154 case updateNewChosenInlineResult::ID:
6155 func(static_cast<updateNewChosenInlineResult &>(obj));
6156 return true;
6157 case updateNewGuestQuery::ID:
6158 func(static_cast<updateNewGuestQuery &>(obj));
6159 return true;
6160 case updateNewCallbackQuery::ID:
6161 func(static_cast<updateNewCallbackQuery &>(obj));
6162 return true;
6163 case updateNewInlineCallbackQuery::ID:
6164 func(static_cast<updateNewInlineCallbackQuery &>(obj));
6165 return true;
6166 case updateNewBusinessCallbackQuery::ID:
6167 func(static_cast<updateNewBusinessCallbackQuery &>(obj));
6168 return true;
6169 case updateNewShippingQuery::ID:
6170 func(static_cast<updateNewShippingQuery &>(obj));
6171 return true;
6172 case updateNewPreCheckoutQuery::ID:
6173 func(static_cast<updateNewPreCheckoutQuery &>(obj));
6174 return true;
6175 case updateNewCustomEvent::ID:
6176 func(static_cast<updateNewCustomEvent &>(obj));
6177 return true;
6178 case updateNewCustomQuery::ID:
6179 func(static_cast<updateNewCustomQuery &>(obj));
6180 return true;
6181 case updateUserSubscription::ID:
6182 func(static_cast<updateUserSubscription &>(obj));
6183 return true;
6184 case updatePoll::ID:
6185 func(static_cast<updatePoll &>(obj));
6186 return true;
6187 case updatePollAnswer::ID:
6188 func(static_cast<updatePollAnswer &>(obj));
6189 return true;
6190 case updateManagedBot::ID:
6191 func(static_cast<updateManagedBot &>(obj));
6192 return true;
6193 case updateChatMember::ID:
6194 func(static_cast<updateChatMember &>(obj));
6195 return true;
6196 case updateNewChatJoinRequest::ID:
6197 func(static_cast<updateNewChatJoinRequest &>(obj));
6198 return true;
6199 case updateChatBoost::ID:
6200 func(static_cast<updateChatBoost &>(obj));
6201 return true;
6202 case updateMessageReaction::ID:
6203 func(static_cast<updateMessageReaction &>(obj));
6204 return true;
6205 case updateMessageReactions::ID:
6206 func(static_cast<updateMessageReactions &>(obj));
6207 return true;
6208 case updatePaidMediaPurchased::ID:
6209 func(static_cast<updatePaidMediaPurchased &>(obj));
6210 return true;
6211 case updates::ID:
6212 func(static_cast<updates &>(obj));
6213 return true;
6214 case upgradeGiftResult::ID:
6215 func(static_cast<upgradeGiftResult &>(obj));
6216 return true;
6217 case upgradedGift::ID:
6218 func(static_cast<upgradedGift &>(obj));
6219 return true;
6220 case upgradedGiftAttributeIdModel::ID:
6221 func(static_cast<upgradedGiftAttributeIdModel &>(obj));
6222 return true;
6223 case upgradedGiftAttributeIdSymbol::ID:
6224 func(static_cast<upgradedGiftAttributeIdSymbol &>(obj));
6225 return true;
6226 case upgradedGiftAttributeIdBackdrop::ID:
6227 func(static_cast<upgradedGiftAttributeIdBackdrop &>(obj));
6228 return true;
6229 case upgradedGiftAttributeRarityPerMille::ID:
6230 func(static_cast<upgradedGiftAttributeRarityPerMille &>(obj));
6231 return true;
6232 case upgradedGiftAttributeRarityUncommon::ID:
6233 func(static_cast<upgradedGiftAttributeRarityUncommon &>(obj));
6234 return true;
6235 case upgradedGiftAttributeRarityRare::ID:
6236 func(static_cast<upgradedGiftAttributeRarityRare &>(obj));
6237 return true;
6238 case upgradedGiftAttributeRarityEpic::ID:
6239 func(static_cast<upgradedGiftAttributeRarityEpic &>(obj));
6240 return true;
6241 case upgradedGiftAttributeRarityLegendary::ID:
6242 func(static_cast<upgradedGiftAttributeRarityLegendary &>(obj));
6243 return true;
6244 case upgradedGiftBackdrop::ID:
6245 func(static_cast<upgradedGiftBackdrop &>(obj));
6246 return true;
6247 case upgradedGiftBackdropColors::ID:
6248 func(static_cast<upgradedGiftBackdropColors &>(obj));
6249 return true;
6250 case upgradedGiftBackdropCount::ID:
6251 func(static_cast<upgradedGiftBackdropCount &>(obj));
6252 return true;
6253 case upgradedGiftColors::ID:
6254 func(static_cast<upgradedGiftColors &>(obj));
6255 return true;
6256 case upgradedGiftModel::ID:
6257 func(static_cast<upgradedGiftModel &>(obj));
6258 return true;
6259 case upgradedGiftModelCount::ID:
6260 func(static_cast<upgradedGiftModelCount &>(obj));
6261 return true;
6262 case upgradedGiftOriginUpgrade::ID:
6263 func(static_cast<upgradedGiftOriginUpgrade &>(obj));
6264 return true;
6265 case upgradedGiftOriginTransfer::ID:
6266 func(static_cast<upgradedGiftOriginTransfer &>(obj));
6267 return true;
6268 case upgradedGiftOriginResale::ID:
6269 func(static_cast<upgradedGiftOriginResale &>(obj));
6270 return true;
6271 case upgradedGiftOriginBlockchain::ID:
6272 func(static_cast<upgradedGiftOriginBlockchain &>(obj));
6273 return true;
6274 case upgradedGiftOriginPrepaidUpgrade::ID:
6275 func(static_cast<upgradedGiftOriginPrepaidUpgrade &>(obj));
6276 return true;
6277 case upgradedGiftOriginOffer::ID:
6278 func(static_cast<upgradedGiftOriginOffer &>(obj));
6279 return true;
6280 case upgradedGiftOriginCraft::ID:
6281 func(static_cast<upgradedGiftOriginCraft &>(obj));
6282 return true;
6283 case upgradedGiftOriginalDetails::ID:
6284 func(static_cast<upgradedGiftOriginalDetails &>(obj));
6285 return true;
6286 case upgradedGiftSymbol::ID:
6287 func(static_cast<upgradedGiftSymbol &>(obj));
6288 return true;
6289 case upgradedGiftSymbolCount::ID:
6290 func(static_cast<upgradedGiftSymbolCount &>(obj));
6291 return true;
6292 case upgradedGiftValueInfo::ID:
6293 func(static_cast<upgradedGiftValueInfo &>(obj));
6294 return true;
6295 case user::ID:
6296 func(static_cast<user &>(obj));
6297 return true;
6298 case userAuctionBid::ID:
6299 func(static_cast<userAuctionBid &>(obj));
6300 return true;
6301 case userFullInfo::ID:
6302 func(static_cast<userFullInfo &>(obj));
6303 return true;
6304 case userLink::ID:
6305 func(static_cast<userLink &>(obj));
6306 return true;
6307 case userPrivacySettingShowStatus::ID:
6308 func(static_cast<userPrivacySettingShowStatus &>(obj));
6309 return true;
6310 case userPrivacySettingShowProfilePhoto::ID:
6311 func(static_cast<userPrivacySettingShowProfilePhoto &>(obj));
6312 return true;
6313 case userPrivacySettingShowLinkInForwardedMessages::ID:
6314 func(static_cast<userPrivacySettingShowLinkInForwardedMessages &>(obj));
6315 return true;
6316 case userPrivacySettingShowPhoneNumber::ID:
6317 func(static_cast<userPrivacySettingShowPhoneNumber &>(obj));
6318 return true;
6319 case userPrivacySettingShowBio::ID:
6320 func(static_cast<userPrivacySettingShowBio &>(obj));
6321 return true;
6322 case userPrivacySettingShowBirthdate::ID:
6323 func(static_cast<userPrivacySettingShowBirthdate &>(obj));
6324 return true;
6325 case userPrivacySettingShowProfileAudio::ID:
6326 func(static_cast<userPrivacySettingShowProfileAudio &>(obj));
6327 return true;
6328 case userPrivacySettingAllowChatInvites::ID:
6329 func(static_cast<userPrivacySettingAllowChatInvites &>(obj));
6330 return true;
6331 case userPrivacySettingAllowCalls::ID:
6332 func(static_cast<userPrivacySettingAllowCalls &>(obj));
6333 return true;
6334 case userPrivacySettingAllowPeerToPeerCalls::ID:
6335 func(static_cast<userPrivacySettingAllowPeerToPeerCalls &>(obj));
6336 return true;
6337 case userPrivacySettingAllowFindingByPhoneNumber::ID:
6338 func(static_cast<userPrivacySettingAllowFindingByPhoneNumber &>(obj));
6339 return true;
6340 case userPrivacySettingAllowPrivateVoiceAndVideoNoteMessages::ID:
6342 return true;
6343 case userPrivacySettingAutosaveGifts::ID:
6344 func(static_cast<userPrivacySettingAutosaveGifts &>(obj));
6345 return true;
6346 case userPrivacySettingAllowUnpaidMessages::ID:
6347 func(static_cast<userPrivacySettingAllowUnpaidMessages &>(obj));
6348 return true;
6349 case userPrivacySettingRuleAllowAll::ID:
6350 func(static_cast<userPrivacySettingRuleAllowAll &>(obj));
6351 return true;
6352 case userPrivacySettingRuleAllowContacts::ID:
6353 func(static_cast<userPrivacySettingRuleAllowContacts &>(obj));
6354 return true;
6355 case userPrivacySettingRuleAllowBots::ID:
6356 func(static_cast<userPrivacySettingRuleAllowBots &>(obj));
6357 return true;
6358 case userPrivacySettingRuleAllowPremiumUsers::ID:
6359 func(static_cast<userPrivacySettingRuleAllowPremiumUsers &>(obj));
6360 return true;
6361 case userPrivacySettingRuleAllowUsers::ID:
6362 func(static_cast<userPrivacySettingRuleAllowUsers &>(obj));
6363 return true;
6364 case userPrivacySettingRuleAllowChatMembers::ID:
6365 func(static_cast<userPrivacySettingRuleAllowChatMembers &>(obj));
6366 return true;
6367 case userPrivacySettingRuleRestrictAll::ID:
6368 func(static_cast<userPrivacySettingRuleRestrictAll &>(obj));
6369 return true;
6370 case userPrivacySettingRuleRestrictContacts::ID:
6371 func(static_cast<userPrivacySettingRuleRestrictContacts &>(obj));
6372 return true;
6373 case userPrivacySettingRuleRestrictBots::ID:
6374 func(static_cast<userPrivacySettingRuleRestrictBots &>(obj));
6375 return true;
6376 case userPrivacySettingRuleRestrictUsers::ID:
6377 func(static_cast<userPrivacySettingRuleRestrictUsers &>(obj));
6378 return true;
6379 case userPrivacySettingRuleRestrictChatMembers::ID:
6380 func(static_cast<userPrivacySettingRuleRestrictChatMembers &>(obj));
6381 return true;
6382 case userPrivacySettingRules::ID:
6383 func(static_cast<userPrivacySettingRules &>(obj));
6384 return true;
6385 case userRating::ID:
6386 func(static_cast<userRating &>(obj));
6387 return true;
6388 case userStatusEmpty::ID:
6389 func(static_cast<userStatusEmpty &>(obj));
6390 return true;
6391 case userStatusOnline::ID:
6392 func(static_cast<userStatusOnline &>(obj));
6393 return true;
6394 case userStatusOffline::ID:
6395 func(static_cast<userStatusOffline &>(obj));
6396 return true;
6397 case userStatusRecently::ID:
6398 func(static_cast<userStatusRecently &>(obj));
6399 return true;
6400 case userStatusLastWeek::ID:
6401 func(static_cast<userStatusLastWeek &>(obj));
6402 return true;
6403 case userStatusLastMonth::ID:
6404 func(static_cast<userStatusLastMonth &>(obj));
6405 return true;
6406 case userSupportInfo::ID:
6407 func(static_cast<userSupportInfo &>(obj));
6408 return true;
6409 case userTypeRegular::ID:
6410 func(static_cast<userTypeRegular &>(obj));
6411 return true;
6412 case userTypeDeleted::ID:
6413 func(static_cast<userTypeDeleted &>(obj));
6414 return true;
6415 case userTypeBot::ID:
6416 func(static_cast<userTypeBot &>(obj));
6417 return true;
6418 case userTypeUnknown::ID:
6419 func(static_cast<userTypeUnknown &>(obj));
6420 return true;
6421 case usernames::ID:
6422 func(static_cast<usernames &>(obj));
6423 return true;
6424 case users::ID:
6425 func(static_cast<users &>(obj));
6426 return true;
6427 case validatedOrderInfo::ID:
6428 func(static_cast<validatedOrderInfo &>(obj));
6429 return true;
6430 case vectorPathCommandLine::ID:
6431 func(static_cast<vectorPathCommandLine &>(obj));
6432 return true;
6433 case vectorPathCommandCubicBezierCurve::ID:
6434 func(static_cast<vectorPathCommandCubicBezierCurve &>(obj));
6435 return true;
6436 case venue::ID:
6437 func(static_cast<venue &>(obj));
6438 return true;
6439 case verificationStatus::ID:
6440 func(static_cast<verificationStatus &>(obj));
6441 return true;
6442 case video::ID:
6443 func(static_cast<video &>(obj));
6444 return true;
6445 case videoChat::ID:
6446 func(static_cast<videoChat &>(obj));
6447 return true;
6448 case videoMessageAdvertisement::ID:
6449 func(static_cast<videoMessageAdvertisement &>(obj));
6450 return true;
6451 case videoMessageAdvertisements::ID:
6452 func(static_cast<videoMessageAdvertisements &>(obj));
6453 return true;
6454 case videoNote::ID:
6455 func(static_cast<videoNote &>(obj));
6456 return true;
6457 case videoStoryboard::ID:
6458 func(static_cast<videoStoryboard &>(obj));
6459 return true;
6460 case voiceNote::ID:
6461 func(static_cast<voiceNote &>(obj));
6462 return true;
6463 case webApp::ID:
6464 func(static_cast<webApp &>(obj));
6465 return true;
6466 case webAppInfo::ID:
6467 func(static_cast<webAppInfo &>(obj));
6468 return true;
6469 case webAppOpenModeCompact::ID:
6470 func(static_cast<webAppOpenModeCompact &>(obj));
6471 return true;
6472 case webAppOpenModeFullSize::ID:
6473 func(static_cast<webAppOpenModeFullSize &>(obj));
6474 return true;
6475 case webAppOpenModeFullScreen::ID:
6476 func(static_cast<webAppOpenModeFullScreen &>(obj));
6477 return true;
6478 case webAppOpenParameters::ID:
6479 func(static_cast<webAppOpenParameters &>(obj));
6480 return true;
6481 case webAppUrl::ID:
6482 func(static_cast<webAppUrl &>(obj));
6483 return true;
6484 case webBrowserSettings::ID:
6485 func(static_cast<webBrowserSettings &>(obj));
6486 return true;
6487 case webBrowserTypeExternal::ID:
6488 func(static_cast<webBrowserTypeExternal &>(obj));
6489 return true;
6490 case webBrowserTypeInApp::ID:
6491 func(static_cast<webBrowserTypeInApp &>(obj));
6492 return true;
6493 case webDomainException::ID:
6494 func(static_cast<webDomainException &>(obj));
6495 return true;
6496 case webPageInstantView::ID:
6497 func(static_cast<webPageInstantView &>(obj));
6498 return true;
6499 default:
6500 return false;
6501 }
6502}
6503
6510template <class T>
6511bool downcast_call(Function &obj, const T &func) {
6512 switch (obj.get_id()) {
6513 case acceptCall::ID:
6514 func(static_cast<acceptCall &>(obj));
6515 return true;
6516 case acceptOauthRequest::ID:
6517 func(static_cast<acceptOauthRequest &>(obj));
6518 return true;
6519 case acceptTermsOfService::ID:
6520 func(static_cast<acceptTermsOfService &>(obj));
6521 return true;
6522 case activateStoryStealthMode::ID:
6523 func(static_cast<activateStoryStealthMode &>(obj));
6524 return true;
6525 case addBotMediaPreview::ID:
6526 func(static_cast<addBotMediaPreview &>(obj));
6527 return true;
6528 case addChatFolderByInviteLink::ID:
6529 func(static_cast<addChatFolderByInviteLink &>(obj));
6530 return true;
6531 case addChatMember::ID:
6532 func(static_cast<addChatMember &>(obj));
6533 return true;
6534 case addChatMembers::ID:
6535 func(static_cast<addChatMembers &>(obj));
6536 return true;
6537 case addChatToList::ID:
6538 func(static_cast<addChatToList &>(obj));
6539 return true;
6540 case addChecklistTasks::ID:
6541 func(static_cast<addChecklistTasks &>(obj));
6542 return true;
6543 case addContact::ID:
6544 func(static_cast<addContact &>(obj));
6545 return true;
6546 case addCustomServerLanguagePack::ID:
6547 func(static_cast<addCustomServerLanguagePack &>(obj));
6548 return true;
6549 case addFavoriteSticker::ID:
6550 func(static_cast<addFavoriteSticker &>(obj));
6551 return true;
6552 case addFileToDownloads::ID:
6553 func(static_cast<addFileToDownloads &>(obj));
6554 return true;
6555 case addGiftCollectionGifts::ID:
6556 func(static_cast<addGiftCollectionGifts &>(obj));
6557 return true;
6558 case addLocalMessage::ID:
6559 func(static_cast<addLocalMessage &>(obj));
6560 return true;
6561 case addLogMessage::ID:
6562 func(static_cast<addLogMessage &>(obj));
6563 return true;
6564 case addLoginPasskey::ID:
6565 func(static_cast<addLoginPasskey &>(obj));
6566 return true;
6567 case addMessageReaction::ID:
6568 func(static_cast<addMessageReaction &>(obj));
6569 return true;
6570 case addNetworkStatistics::ID:
6571 func(static_cast<addNetworkStatistics &>(obj));
6572 return true;
6573 case addOffer::ID:
6574 func(static_cast<addOffer &>(obj));
6575 return true;
6576 case addPendingLiveStoryReaction::ID:
6577 func(static_cast<addPendingLiveStoryReaction &>(obj));
6578 return true;
6579 case addPendingPaidMessageReaction::ID:
6580 func(static_cast<addPendingPaidMessageReaction &>(obj));
6581 return true;
6582 case addPollOption::ID:
6583 func(static_cast<addPollOption &>(obj));
6584 return true;
6585 case addProfileAudio::ID:
6586 func(static_cast<addProfileAudio &>(obj));
6587 return true;
6588 case addProxy::ID:
6589 func(static_cast<addProxy &>(obj));
6590 return true;
6591 case addQuickReplyShortcutInlineQueryResultMessage::ID:
6592 func(static_cast<addQuickReplyShortcutInlineQueryResultMessage &>(obj));
6593 return true;
6594 case addQuickReplyShortcutMessage::ID:
6595 func(static_cast<addQuickReplyShortcutMessage &>(obj));
6596 return true;
6597 case addQuickReplyShortcutMessageAlbum::ID:
6598 func(static_cast<addQuickReplyShortcutMessageAlbum &>(obj));
6599 return true;
6600 case addRecentSticker::ID:
6601 func(static_cast<addRecentSticker &>(obj));
6602 return true;
6603 case addRecentlyFoundChat::ID:
6604 func(static_cast<addRecentlyFoundChat &>(obj));
6605 return true;
6606 case addSavedAnimation::ID:
6607 func(static_cast<addSavedAnimation &>(obj));
6608 return true;
6609 case addSavedNotificationSound::ID:
6610 func(static_cast<addSavedNotificationSound &>(obj));
6611 return true;
6612 case addStickerToSet::ID:
6613 func(static_cast<addStickerToSet &>(obj));
6614 return true;
6615 case addStoryAlbumStories::ID:
6616 func(static_cast<addStoryAlbumStories &>(obj));
6617 return true;
6618 case addTextCompositionStyle::ID:
6619 func(static_cast<addTextCompositionStyle &>(obj));
6620 return true;
6621 case addWebBrowserSettingsException::ID:
6622 func(static_cast<addWebBrowserSettingsException &>(obj));
6623 return true;
6624 case allowBotToSendMessages::ID:
6625 func(static_cast<allowBotToSendMessages &>(obj));
6626 return true;
6627 case allowUnpaidMessagesFromUser::ID:
6628 func(static_cast<allowUnpaidMessagesFromUser &>(obj));
6629 return true;
6630 case answerCallbackQuery::ID:
6631 func(static_cast<answerCallbackQuery &>(obj));
6632 return true;
6633 case answerChatJoinRequestQuery::ID:
6634 func(static_cast<answerChatJoinRequestQuery &>(obj));
6635 return true;
6636 case answerCustomQuery::ID:
6637 func(static_cast<answerCustomQuery &>(obj));
6638 return true;
6639 case answerGuestQuery::ID:
6640 func(static_cast<answerGuestQuery &>(obj));
6641 return true;
6642 case answerInlineQuery::ID:
6643 func(static_cast<answerInlineQuery &>(obj));
6644 return true;
6645 case answerPreCheckoutQuery::ID:
6646 func(static_cast<answerPreCheckoutQuery &>(obj));
6647 return true;
6648 case answerShippingQuery::ID:
6649 func(static_cast<answerShippingQuery &>(obj));
6650 return true;
6651 case answerWebAppQuery::ID:
6652 func(static_cast<answerWebAppQuery &>(obj));
6653 return true;
6654 case applyPremiumGiftCode::ID:
6655 func(static_cast<applyPremiumGiftCode &>(obj));
6656 return true;
6657 case approveSuggestedPost::ID:
6658 func(static_cast<approveSuggestedPost &>(obj));
6659 return true;
6660 case assignStoreTransaction::ID:
6661 func(static_cast<assignStoreTransaction &>(obj));
6662 return true;
6663 case banChatMember::ID:
6664 func(static_cast<banChatMember &>(obj));
6665 return true;
6666 case banGroupCallParticipants::ID:
6667 func(static_cast<banGroupCallParticipants &>(obj));
6668 return true;
6669 case blockMessageSenderFromReplies::ID:
6670 func(static_cast<blockMessageSenderFromReplies &>(obj));
6671 return true;
6672 case boostChat::ID:
6673 func(static_cast<boostChat &>(obj));
6674 return true;
6675 case buyGiftUpgrade::ID:
6676 func(static_cast<buyGiftUpgrade &>(obj));
6677 return true;
6678 case canBotSendMessages::ID:
6679 func(static_cast<canBotSendMessages &>(obj));
6680 return true;
6681 case canPostStory::ID:
6682 func(static_cast<canPostStory &>(obj));
6683 return true;
6684 case canPurchaseFromStore::ID:
6685 func(static_cast<canPurchaseFromStore &>(obj));
6686 return true;
6687 case canSendGift::ID:
6688 func(static_cast<canSendGift &>(obj));
6689 return true;
6690 case canSendMessageToUser::ID:
6691 func(static_cast<canSendMessageToUser &>(obj));
6692 return true;
6693 case canTransferOwnership::ID:
6694 func(static_cast<canTransferOwnership &>(obj));
6695 return true;
6696 case cancelDownloadFile::ID:
6697 func(static_cast<cancelDownloadFile &>(obj));
6698 return true;
6699 case cancelPasswordReset::ID:
6700 func(static_cast<cancelPasswordReset &>(obj));
6701 return true;
6702 case cancelPreliminaryUploadFile::ID:
6703 func(static_cast<cancelPreliminaryUploadFile &>(obj));
6704 return true;
6705 case cancelRecoveryEmailAddressVerification::ID:
6706 func(static_cast<cancelRecoveryEmailAddressVerification &>(obj));
6707 return true;
6708 case changeImportedContacts::ID:
6709 func(static_cast<changeImportedContacts &>(obj));
6710 return true;
6711 case changeStickerSet::ID:
6712 func(static_cast<changeStickerSet &>(obj));
6713 return true;
6714 case changeWebBrowserSettings::ID:
6715 func(static_cast<changeWebBrowserSettings &>(obj));
6716 return true;
6717 case checkAuthenticationBotToken::ID:
6718 func(static_cast<checkAuthenticationBotToken &>(obj));
6719 return true;
6720 case checkAuthenticationCode::ID:
6721 func(static_cast<checkAuthenticationCode &>(obj));
6722 return true;
6723 case checkAuthenticationEmailCode::ID:
6724 func(static_cast<checkAuthenticationEmailCode &>(obj));
6725 return true;
6726 case checkAuthenticationPasskey::ID:
6727 func(static_cast<checkAuthenticationPasskey &>(obj));
6728 return true;
6729 case checkAuthenticationPassword::ID:
6730 func(static_cast<checkAuthenticationPassword &>(obj));
6731 return true;
6732 case checkAuthenticationPasswordRecoveryCode::ID:
6733 func(static_cast<checkAuthenticationPasswordRecoveryCode &>(obj));
6734 return true;
6735 case checkAuthenticationPremiumPurchase::ID:
6736 func(static_cast<checkAuthenticationPremiumPurchase &>(obj));
6737 return true;
6738 case checkAuthenticationWebToken::ID:
6739 func(static_cast<checkAuthenticationWebToken &>(obj));
6740 return true;
6741 case checkBotUsername::ID:
6742 func(static_cast<checkBotUsername &>(obj));
6743 return true;
6744 case checkChatFolderInviteLink::ID:
6745 func(static_cast<checkChatFolderInviteLink &>(obj));
6746 return true;
6747 case checkChatInviteLink::ID:
6748 func(static_cast<checkChatInviteLink &>(obj));
6749 return true;
6750 case checkChatUsername::ID:
6751 func(static_cast<checkChatUsername &>(obj));
6752 return true;
6753 case checkCreatedPublicChatsLimit::ID:
6754 func(static_cast<checkCreatedPublicChatsLimit &>(obj));
6755 return true;
6756 case checkEmailAddressVerificationCode::ID:
6757 func(static_cast<checkEmailAddressVerificationCode &>(obj));
6758 return true;
6759 case checkLoginEmailAddressCode::ID:
6760 func(static_cast<checkLoginEmailAddressCode &>(obj));
6761 return true;
6762 case checkOauthRequestMatchCode::ID:
6763 func(static_cast<checkOauthRequestMatchCode &>(obj));
6764 return true;
6765 case checkPasswordRecoveryCode::ID:
6766 func(static_cast<checkPasswordRecoveryCode &>(obj));
6767 return true;
6768 case checkPhoneNumberCode::ID:
6769 func(static_cast<checkPhoneNumberCode &>(obj));
6770 return true;
6771 case checkPremiumGiftCode::ID:
6772 func(static_cast<checkPremiumGiftCode &>(obj));
6773 return true;
6774 case checkQuickReplyShortcutName::ID:
6775 func(static_cast<checkQuickReplyShortcutName &>(obj));
6776 return true;
6777 case checkRecoveryEmailAddressCode::ID:
6778 func(static_cast<checkRecoveryEmailAddressCode &>(obj));
6779 return true;
6780 case checkStickerSetName::ID:
6781 func(static_cast<checkStickerSetName &>(obj));
6782 return true;
6783 case checkWebAppFileDownload::ID:
6784 func(static_cast<checkWebAppFileDownload &>(obj));
6785 return true;
6786 case cleanFileName::ID:
6787 func(static_cast<cleanFileName &>(obj));
6788 return true;
6789 case clearAllDraftMessages::ID:
6790 func(static_cast<clearAllDraftMessages &>(obj));
6791 return true;
6792 case clearAutosaveSettingsExceptions::ID:
6793 func(static_cast<clearAutosaveSettingsExceptions &>(obj));
6794 return true;
6795 case clearImportedContacts::ID:
6796 func(static_cast<clearImportedContacts &>(obj));
6797 return true;
6798 case clearRecentEmojiStatuses::ID:
6799 func(static_cast<clearRecentEmojiStatuses &>(obj));
6800 return true;
6801 case clearRecentReactions::ID:
6802 func(static_cast<clearRecentReactions &>(obj));
6803 return true;
6804 case clearRecentStickers::ID:
6805 func(static_cast<clearRecentStickers &>(obj));
6806 return true;
6807 case clearRecentlyFoundChats::ID:
6808 func(static_cast<clearRecentlyFoundChats &>(obj));
6809 return true;
6810 case clearSearchedForTags::ID:
6811 func(static_cast<clearSearchedForTags &>(obj));
6812 return true;
6813 case clickAnimatedEmojiMessage::ID:
6814 func(static_cast<clickAnimatedEmojiMessage &>(obj));
6815 return true;
6816 case clickChatSponsoredMessage::ID:
6817 func(static_cast<clickChatSponsoredMessage &>(obj));
6818 return true;
6819 case clickPremiumSubscriptionButton::ID:
6820 func(static_cast<clickPremiumSubscriptionButton &>(obj));
6821 return true;
6822 case clickVideoMessageAdvertisement::ID:
6823 func(static_cast<clickVideoMessageAdvertisement &>(obj));
6824 return true;
6825 case close::ID:
6826 func(static_cast<close &>(obj));
6827 return true;
6828 case closeChat::ID:
6829 func(static_cast<closeChat &>(obj));
6830 return true;
6831 case closeGiftAuction::ID:
6832 func(static_cast<closeGiftAuction &>(obj));
6833 return true;
6834 case closeSecretChat::ID:
6835 func(static_cast<closeSecretChat &>(obj));
6836 return true;
6837 case closeStory::ID:
6838 func(static_cast<closeStory &>(obj));
6839 return true;
6840 case closeWebApp::ID:
6841 func(static_cast<closeWebApp &>(obj));
6842 return true;
6843 case commitPendingLiveStoryReactions::ID:
6844 func(static_cast<commitPendingLiveStoryReactions &>(obj));
6845 return true;
6846 case commitPendingPaidMessageReactions::ID:
6847 func(static_cast<commitPendingPaidMessageReactions &>(obj));
6848 return true;
6849 case composeRichMessageWithAi::ID:
6850 func(static_cast<composeRichMessageWithAi &>(obj));
6851 return true;
6852 case composeTextWithAi::ID:
6853 func(static_cast<composeTextWithAi &>(obj));
6854 return true;
6855 case confirmBusinessConnectedBot::ID:
6856 func(static_cast<confirmBusinessConnectedBot &>(obj));
6857 return true;
6858 case confirmQrCodeAuthentication::ID:
6859 func(static_cast<confirmQrCodeAuthentication &>(obj));
6860 return true;
6861 case confirmSession::ID:
6862 func(static_cast<confirmSession &>(obj));
6863 return true;
6864 case connectAffiliateProgram::ID:
6865 func(static_cast<connectAffiliateProgram &>(obj));
6866 return true;
6867 case craftGift::ID:
6868 func(static_cast<craftGift &>(obj));
6869 return true;
6870 case createBasicGroupChat::ID:
6871 func(static_cast<createBasicGroupChat &>(obj));
6872 return true;
6873 case createBot::ID:
6874 func(static_cast<createBot &>(obj));
6875 return true;
6876 case createBusinessChatLink::ID:
6877 func(static_cast<createBusinessChatLink &>(obj));
6878 return true;
6879 case createCall::ID:
6880 func(static_cast<createCall &>(obj));
6881 return true;
6882 case createChatFolder::ID:
6883 func(static_cast<createChatFolder &>(obj));
6884 return true;
6885 case createChatFolderInviteLink::ID:
6886 func(static_cast<createChatFolderInviteLink &>(obj));
6887 return true;
6888 case createChatInviteLink::ID:
6889 func(static_cast<createChatInviteLink &>(obj));
6890 return true;
6891 case createChatSubscriptionInviteLink::ID:
6892 func(static_cast<createChatSubscriptionInviteLink &>(obj));
6893 return true;
6894 case createForumTopic::ID:
6895 func(static_cast<createForumTopic &>(obj));
6896 return true;
6897 case createGiftCollection::ID:
6898 func(static_cast<createGiftCollection &>(obj));
6899 return true;
6900 case createGroupCall::ID:
6901 func(static_cast<createGroupCall &>(obj));
6902 return true;
6903 case createInvoiceLink::ID:
6904 func(static_cast<createInvoiceLink &>(obj));
6905 return true;
6906 case createNewBasicGroupChat::ID:
6907 func(static_cast<createNewBasicGroupChat &>(obj));
6908 return true;
6909 case createNewSecretChat::ID:
6910 func(static_cast<createNewSecretChat &>(obj));
6911 return true;
6912 case createNewStickerSet::ID:
6913 func(static_cast<createNewStickerSet &>(obj));
6914 return true;
6915 case createNewSupergroupChat::ID:
6916 func(static_cast<createNewSupergroupChat &>(obj));
6917 return true;
6918 case createPrivateChat::ID:
6919 func(static_cast<createPrivateChat &>(obj));
6920 return true;
6921 case createRichMessageWithAi::ID:
6922 func(static_cast<createRichMessageWithAi &>(obj));
6923 return true;
6924 case createSecretChat::ID:
6925 func(static_cast<createSecretChat &>(obj));
6926 return true;
6927 case createStoryAlbum::ID:
6928 func(static_cast<createStoryAlbum &>(obj));
6929 return true;
6930 case createSupergroupChat::ID:
6931 func(static_cast<createSupergroupChat &>(obj));
6932 return true;
6933 case createTemporaryPassword::ID:
6934 func(static_cast<createTemporaryPassword &>(obj));
6935 return true;
6936 case createTextCompositionStyle::ID:
6937 func(static_cast<createTextCompositionStyle &>(obj));
6938 return true;
6939 case createVideoChat::ID:
6940 func(static_cast<createVideoChat &>(obj));
6941 return true;
6942 case declineGroupCallInvitation::ID:
6943 func(static_cast<declineGroupCallInvitation &>(obj));
6944 return true;
6945 case declineOauthRequest::ID:
6946 func(static_cast<declineOauthRequest &>(obj));
6947 return true;
6948 case declineSuggestedPost::ID:
6949 func(static_cast<declineSuggestedPost &>(obj));
6950 return true;
6951 case decryptGroupCallData::ID:
6952 func(static_cast<decryptGroupCallData &>(obj));
6953 return true;
6954 case deleteAccount::ID:
6955 func(static_cast<deleteAccount &>(obj));
6956 return true;
6957 case deleteAllCallMessages::ID:
6958 func(static_cast<deleteAllCallMessages &>(obj));
6959 return true;
6960 case deleteAllRecentMessageReactionsFromSender::ID:
6961 func(static_cast<deleteAllRecentMessageReactionsFromSender &>(obj));
6962 return true;
6963 case deleteAllRevokedChatInviteLinks::ID:
6964 func(static_cast<deleteAllRevokedChatInviteLinks &>(obj));
6965 return true;
6966 case deleteBotMediaPreviews::ID:
6967 func(static_cast<deleteBotMediaPreviews &>(obj));
6968 return true;
6969 case deleteBusinessChatLink::ID:
6970 func(static_cast<deleteBusinessChatLink &>(obj));
6971 return true;
6972 case deleteBusinessConnectedBot::ID:
6973 func(static_cast<deleteBusinessConnectedBot &>(obj));
6974 return true;
6975 case deleteBusinessMessages::ID:
6976 func(static_cast<deleteBusinessMessages &>(obj));
6977 return true;
6978 case deleteBusinessStory::ID:
6979 func(static_cast<deleteBusinessStory &>(obj));
6980 return true;
6981 case deleteChat::ID:
6982 func(static_cast<deleteChat &>(obj));
6983 return true;
6984 case deleteChatBackground::ID:
6985 func(static_cast<deleteChatBackground &>(obj));
6986 return true;
6987 case deleteChatFolder::ID:
6988 func(static_cast<deleteChatFolder &>(obj));
6989 return true;
6990 case deleteChatFolderInviteLink::ID:
6991 func(static_cast<deleteChatFolderInviteLink &>(obj));
6992 return true;
6993 case deleteChatHistory::ID:
6994 func(static_cast<deleteChatHistory &>(obj));
6995 return true;
6996 case deleteChatMessagesByDate::ID:
6997 func(static_cast<deleteChatMessagesByDate &>(obj));
6998 return true;
6999 case deleteChatMessagesBySender::ID:
7000 func(static_cast<deleteChatMessagesBySender &>(obj));
7001 return true;
7002 case deleteChatReplyMarkup::ID:
7003 func(static_cast<deleteChatReplyMarkup &>(obj));
7004 return true;
7005 case deleteCommands::ID:
7006 func(static_cast<deleteCommands &>(obj));
7007 return true;
7008 case deleteDefaultBackground::ID:
7009 func(static_cast<deleteDefaultBackground &>(obj));
7010 return true;
7011 case deleteDirectMessagesChatTopicHistory::ID:
7012 func(static_cast<deleteDirectMessagesChatTopicHistory &>(obj));
7013 return true;
7014 case deleteDirectMessagesChatTopicMessagesByDate::ID:
7015 func(static_cast<deleteDirectMessagesChatTopicMessagesByDate &>(obj));
7016 return true;
7017 case deleteEphemeralMessage::ID:
7018 func(static_cast<deleteEphemeralMessage &>(obj));
7019 return true;
7020 case deleteFile::ID:
7021 func(static_cast<deleteFile &>(obj));
7022 return true;
7023 case deleteForumTopic::ID:
7024 func(static_cast<deleteForumTopic &>(obj));
7025 return true;
7026 case deleteGiftCollection::ID:
7027 func(static_cast<deleteGiftCollection &>(obj));
7028 return true;
7029 case deleteGroupCallMessages::ID:
7030 func(static_cast<deleteGroupCallMessages &>(obj));
7031 return true;
7032 case deleteGroupCallMessagesBySender::ID:
7033 func(static_cast<deleteGroupCallMessagesBySender &>(obj));
7034 return true;
7035 case deleteLanguagePack::ID:
7036 func(static_cast<deleteLanguagePack &>(obj));
7037 return true;
7038 case deleteMessageReactionsFromSender::ID:
7039 func(static_cast<deleteMessageReactionsFromSender &>(obj));
7040 return true;
7041 case deleteMessages::ID:
7042 func(static_cast<deleteMessages &>(obj));
7043 return true;
7044 case deletePassportElement::ID:
7045 func(static_cast<deletePassportElement &>(obj));
7046 return true;
7047 case deletePollOption::ID:
7048 func(static_cast<deletePollOption &>(obj));
7049 return true;
7050 case deleteProfilePhoto::ID:
7051 func(static_cast<deleteProfilePhoto &>(obj));
7052 return true;
7053 case deleteQuickReplyShortcut::ID:
7054 func(static_cast<deleteQuickReplyShortcut &>(obj));
7055 return true;
7056 case deleteQuickReplyShortcutMessages::ID:
7057 func(static_cast<deleteQuickReplyShortcutMessages &>(obj));
7058 return true;
7059 case deleteRevokedChatInviteLink::ID:
7060 func(static_cast<deleteRevokedChatInviteLink &>(obj));
7061 return true;
7062 case deleteSavedCredentials::ID:
7063 func(static_cast<deleteSavedCredentials &>(obj));
7064 return true;
7065 case deleteSavedMessagesTopicHistory::ID:
7066 func(static_cast<deleteSavedMessagesTopicHistory &>(obj));
7067 return true;
7068 case deleteSavedMessagesTopicMessagesByDate::ID:
7069 func(static_cast<deleteSavedMessagesTopicMessagesByDate &>(obj));
7070 return true;
7071 case deleteSavedOrderInfo::ID:
7072 func(static_cast<deleteSavedOrderInfo &>(obj));
7073 return true;
7074 case deleteStickerSet::ID:
7075 func(static_cast<deleteStickerSet &>(obj));
7076 return true;
7077 case deleteStory::ID:
7078 func(static_cast<deleteStory &>(obj));
7079 return true;
7080 case deleteStoryAlbum::ID:
7081 func(static_cast<deleteStoryAlbum &>(obj));
7082 return true;
7083 case deleteTextCompositionStyle::ID:
7084 func(static_cast<deleteTextCompositionStyle &>(obj));
7085 return true;
7086 case destroy::ID:
7087 func(static_cast<destroy &>(obj));
7088 return true;
7089 case disableAllSupergroupUsernames::ID:
7090 func(static_cast<disableAllSupergroupUsernames &>(obj));
7091 return true;
7092 case disableProxy::ID:
7093 func(static_cast<disableProxy &>(obj));
7094 return true;
7095 case discardCall::ID:
7096 func(static_cast<discardCall &>(obj));
7097 return true;
7098 case disconnectAffiliateProgram::ID:
7099 func(static_cast<disconnectAffiliateProgram &>(obj));
7100 return true;
7101 case disconnectAllWebsites::ID:
7102 func(static_cast<disconnectAllWebsites &>(obj));
7103 return true;
7104 case disconnectWebsite::ID:
7105 func(static_cast<disconnectWebsite &>(obj));
7106 return true;
7107 case downloadFile::ID:
7108 func(static_cast<downloadFile &>(obj));
7109 return true;
7110 case dropGiftOriginalDetails::ID:
7111 func(static_cast<dropGiftOriginalDetails &>(obj));
7112 return true;
7113 case editBotMediaPreview::ID:
7114 func(static_cast<editBotMediaPreview &>(obj));
7115 return true;
7116 case editBusinessChatLink::ID:
7117 func(static_cast<editBusinessChatLink &>(obj));
7118 return true;
7119 case editBusinessMessageCaption::ID:
7120 func(static_cast<editBusinessMessageCaption &>(obj));
7121 return true;
7122 case editBusinessMessageChecklist::ID:
7123 func(static_cast<editBusinessMessageChecklist &>(obj));
7124 return true;
7125 case editBusinessMessageLiveLocation::ID:
7126 func(static_cast<editBusinessMessageLiveLocation &>(obj));
7127 return true;
7128 case editBusinessMessageMedia::ID:
7129 func(static_cast<editBusinessMessageMedia &>(obj));
7130 return true;
7131 case editBusinessMessageReplyMarkup::ID:
7132 func(static_cast<editBusinessMessageReplyMarkup &>(obj));
7133 return true;
7134 case editBusinessMessageText::ID:
7135 func(static_cast<editBusinessMessageText &>(obj));
7136 return true;
7137 case editBusinessStory::ID:
7138 func(static_cast<editBusinessStory &>(obj));
7139 return true;
7140 case editChatFolder::ID:
7141 func(static_cast<editChatFolder &>(obj));
7142 return true;
7143 case editChatFolderInviteLink::ID:
7144 func(static_cast<editChatFolderInviteLink &>(obj));
7145 return true;
7146 case editChatInviteLink::ID:
7147 func(static_cast<editChatInviteLink &>(obj));
7148 return true;
7149 case editChatSubscriptionInviteLink::ID:
7150 func(static_cast<editChatSubscriptionInviteLink &>(obj));
7151 return true;
7152 case editCustomLanguagePackInfo::ID:
7153 func(static_cast<editCustomLanguagePackInfo &>(obj));
7154 return true;
7155 case editEphemeralMessage::ID:
7156 func(static_cast<editEphemeralMessage &>(obj));
7157 return true;
7158 case editForumTopic::ID:
7159 func(static_cast<editForumTopic &>(obj));
7160 return true;
7161 case editInlineMessageCaption::ID:
7162 func(static_cast<editInlineMessageCaption &>(obj));
7163 return true;
7164 case editInlineMessageLiveLocation::ID:
7165 func(static_cast<editInlineMessageLiveLocation &>(obj));
7166 return true;
7167 case editInlineMessageMedia::ID:
7168 func(static_cast<editInlineMessageMedia &>(obj));
7169 return true;
7170 case editInlineMessageReplyMarkup::ID:
7171 func(static_cast<editInlineMessageReplyMarkup &>(obj));
7172 return true;
7173 case editInlineMessageText::ID:
7174 func(static_cast<editInlineMessageText &>(obj));
7175 return true;
7176 case editMessageCaption::ID:
7177 func(static_cast<editMessageCaption &>(obj));
7178 return true;
7179 case editMessageChecklist::ID:
7180 func(static_cast<editMessageChecklist &>(obj));
7181 return true;
7182 case editMessageLiveLocation::ID:
7183 func(static_cast<editMessageLiveLocation &>(obj));
7184 return true;
7185 case editMessageMedia::ID:
7186 func(static_cast<editMessageMedia &>(obj));
7187 return true;
7188 case editMessageReplyMarkup::ID:
7189 func(static_cast<editMessageReplyMarkup &>(obj));
7190 return true;
7191 case editMessageSchedulingState::ID:
7192 func(static_cast<editMessageSchedulingState &>(obj));
7193 return true;
7194 case editMessageText::ID:
7195 func(static_cast<editMessageText &>(obj));
7196 return true;
7197 case editProxy::ID:
7198 func(static_cast<editProxy &>(obj));
7199 return true;
7200 case editQuickReplyMessage::ID:
7201 func(static_cast<editQuickReplyMessage &>(obj));
7202 return true;
7203 case editStarSubscription::ID:
7204 func(static_cast<editStarSubscription &>(obj));
7205 return true;
7206 case editStory::ID:
7207 func(static_cast<editStory &>(obj));
7208 return true;
7209 case editStoryCover::ID:
7210 func(static_cast<editStoryCover &>(obj));
7211 return true;
7212 case editTextCompositionStyle::ID:
7213 func(static_cast<editTextCompositionStyle &>(obj));
7214 return true;
7215 case editUserStarSubscription::ID:
7216 func(static_cast<editUserStarSubscription &>(obj));
7217 return true;
7218 case enableProxy::ID:
7219 func(static_cast<enableProxy &>(obj));
7220 return true;
7221 case encryptGroupCallData::ID:
7222 func(static_cast<encryptGroupCallData &>(obj));
7223 return true;
7224 case endGroupCall::ID:
7225 func(static_cast<endGroupCall &>(obj));
7226 return true;
7227 case endGroupCallRecording::ID:
7228 func(static_cast<endGroupCallRecording &>(obj));
7229 return true;
7230 case endGroupCallScreenSharing::ID:
7231 func(static_cast<endGroupCallScreenSharing &>(obj));
7232 return true;
7233 case finishFileGeneration::ID:
7234 func(static_cast<finishFileGeneration &>(obj));
7235 return true;
7236 case fixRichMessageWithAi::ID:
7237 func(static_cast<fixRichMessageWithAi &>(obj));
7238 return true;
7239 case fixTextWithAi::ID:
7240 func(static_cast<fixTextWithAi &>(obj));
7241 return true;
7242 case forwardMessages::ID:
7243 func(static_cast<forwardMessages &>(obj));
7244 return true;
7245 case getAccountTtl::ID:
7246 func(static_cast<getAccountTtl &>(obj));
7247 return true;
7248 case getActiveSessions::ID:
7249 func(static_cast<getActiveSessions &>(obj));
7250 return true;
7251 case getAllPassportElements::ID:
7252 func(static_cast<getAllPassportElements &>(obj));
7253 return true;
7254 case getAllStickerEmojis::ID:
7255 func(static_cast<getAllStickerEmojis &>(obj));
7256 return true;
7257 case getAnimatedEmoji::ID:
7258 func(static_cast<getAnimatedEmoji &>(obj));
7259 return true;
7260 case getApplicationConfig::ID:
7261 func(static_cast<getApplicationConfig &>(obj));
7262 return true;
7263 case getApplicationDownloadLink::ID:
7264 func(static_cast<getApplicationDownloadLink &>(obj));
7265 return true;
7266 case getArchiveChatListSettings::ID:
7267 func(static_cast<getArchiveChatListSettings &>(obj));
7268 return true;
7269 case getArchivedStickerSets::ID:
7270 func(static_cast<getArchivedStickerSets &>(obj));
7271 return true;
7272 case getAttachedStickerSets::ID:
7273 func(static_cast<getAttachedStickerSets &>(obj));
7274 return true;
7275 case getAttachmentMenuBot::ID:
7276 func(static_cast<getAttachmentMenuBot &>(obj));
7277 return true;
7278 case getAuthenticationPasskeyParameters::ID:
7279 func(static_cast<getAuthenticationPasskeyParameters &>(obj));
7280 return true;
7281 case getAuthorizationState::ID:
7282 func(static_cast<getAuthorizationState &>(obj));
7283 return true;
7284 case getAutoDownloadSettingsPresets::ID:
7285 func(static_cast<getAutoDownloadSettingsPresets &>(obj));
7286 return true;
7287 case getAutosaveSettings::ID:
7288 func(static_cast<getAutosaveSettings &>(obj));
7289 return true;
7290 case getAvailableChatBoostSlots::ID:
7291 func(static_cast<getAvailableChatBoostSlots &>(obj));
7292 return true;
7293 case getAvailableGifts::ID:
7294 func(static_cast<getAvailableGifts &>(obj));
7295 return true;
7296 case getBackgroundUrl::ID:
7297 func(static_cast<getBackgroundUrl &>(obj));
7298 return true;
7299 case getBankCardInfo::ID:
7300 func(static_cast<getBankCardInfo &>(obj));
7301 return true;
7302 case getBasicGroup::ID:
7303 func(static_cast<getBasicGroup &>(obj));
7304 return true;
7305 case getBasicGroupFullInfo::ID:
7306 func(static_cast<getBasicGroupFullInfo &>(obj));
7307 return true;
7308 case getBlockedMessageSenders::ID:
7309 func(static_cast<getBlockedMessageSenders &>(obj));
7310 return true;
7311 case getBotInfoDescription::ID:
7312 func(static_cast<getBotInfoDescription &>(obj));
7313 return true;
7314 case getBotInfoShortDescription::ID:
7315 func(static_cast<getBotInfoShortDescription &>(obj));
7316 return true;
7317 case getBotMediaPreviewInfo::ID:
7318 func(static_cast<getBotMediaPreviewInfo &>(obj));
7319 return true;
7320 case getBotMediaPreviews::ID:
7321 func(static_cast<getBotMediaPreviews &>(obj));
7322 return true;
7323 case getBotName::ID:
7324 func(static_cast<getBotName &>(obj));
7325 return true;
7326 case getBotSimilarBotCount::ID:
7327 func(static_cast<getBotSimilarBotCount &>(obj));
7328 return true;
7329 case getBotSimilarBots::ID:
7330 func(static_cast<getBotSimilarBots &>(obj));
7331 return true;
7332 case getBusinessAccountStarAmount::ID:
7333 func(static_cast<getBusinessAccountStarAmount &>(obj));
7334 return true;
7335 case getBusinessChatLinkInfo::ID:
7336 func(static_cast<getBusinessChatLinkInfo &>(obj));
7337 return true;
7338 case getBusinessChatLinks::ID:
7339 func(static_cast<getBusinessChatLinks &>(obj));
7340 return true;
7341 case getBusinessConnectedBot::ID:
7342 func(static_cast<getBusinessConnectedBot &>(obj));
7343 return true;
7344 case getBusinessConnection::ID:
7345 func(static_cast<getBusinessConnection &>(obj));
7346 return true;
7347 case getBusinessFeatures::ID:
7348 func(static_cast<getBusinessFeatures &>(obj));
7349 return true;
7350 case getCallbackQueryAnswer::ID:
7351 func(static_cast<getCallbackQueryAnswer &>(obj));
7352 return true;
7353 case getCallbackQueryMessage::ID:
7354 func(static_cast<getCallbackQueryMessage &>(obj));
7355 return true;
7356 case getChat::ID:
7357 func(static_cast<getChat &>(obj));
7358 return true;
7359 case getChatActiveStories::ID:
7360 func(static_cast<getChatActiveStories &>(obj));
7361 return true;
7362 case getChatAdministrators::ID:
7363 func(static_cast<getChatAdministrators &>(obj));
7364 return true;
7365 case getChatArchivedStories::ID:
7366 func(static_cast<getChatArchivedStories &>(obj));
7367 return true;
7368 case getChatAvailableMessageSenders::ID:
7369 func(static_cast<getChatAvailableMessageSenders &>(obj));
7370 return true;
7371 case getChatAvailablePaidMessageReactionSenders::ID:
7372 func(static_cast<getChatAvailablePaidMessageReactionSenders &>(obj));
7373 return true;
7374 case getChatBoostFeatures::ID:
7375 func(static_cast<getChatBoostFeatures &>(obj));
7376 return true;
7377 case getChatBoostLevelFeatures::ID:
7378 func(static_cast<getChatBoostLevelFeatures &>(obj));
7379 return true;
7380 case getChatBoostLink::ID:
7381 func(static_cast<getChatBoostLink &>(obj));
7382 return true;
7383 case getChatBoostLinkInfo::ID:
7384 func(static_cast<getChatBoostLinkInfo &>(obj));
7385 return true;
7386 case getChatBoostStatus::ID:
7387 func(static_cast<getChatBoostStatus &>(obj));
7388 return true;
7389 case getChatBoosts::ID:
7390 func(static_cast<getChatBoosts &>(obj));
7391 return true;
7392 case getChatEventLog::ID:
7393 func(static_cast<getChatEventLog &>(obj));
7394 return true;
7395 case getChatFolder::ID:
7396 func(static_cast<getChatFolder &>(obj));
7397 return true;
7398 case getChatFolderChatCount::ID:
7399 func(static_cast<getChatFolderChatCount &>(obj));
7400 return true;
7401 case getChatFolderChatsToLeave::ID:
7402 func(static_cast<getChatFolderChatsToLeave &>(obj));
7403 return true;
7404 case getChatFolderDefaultIconName::ID:
7405 func(static_cast<getChatFolderDefaultIconName &>(obj));
7406 return true;
7407 case getChatFolderInviteLinks::ID:
7408 func(static_cast<getChatFolderInviteLinks &>(obj));
7409 return true;
7410 case getChatFolderNewChats::ID:
7411 func(static_cast<getChatFolderNewChats &>(obj));
7412 return true;
7413 case getChatHistory::ID:
7414 func(static_cast<getChatHistory &>(obj));
7415 return true;
7416 case getChatInviteLink::ID:
7417 func(static_cast<getChatInviteLink &>(obj));
7418 return true;
7419 case getChatInviteLinkCounts::ID:
7420 func(static_cast<getChatInviteLinkCounts &>(obj));
7421 return true;
7422 case getChatInviteLinkMembers::ID:
7423 func(static_cast<getChatInviteLinkMembers &>(obj));
7424 return true;
7425 case getChatInviteLinks::ID:
7426 func(static_cast<getChatInviteLinks &>(obj));
7427 return true;
7428 case getChatJoinRequests::ID:
7429 func(static_cast<getChatJoinRequests &>(obj));
7430 return true;
7431 case getChatListsToAddChat::ID:
7432 func(static_cast<getChatListsToAddChat &>(obj));
7433 return true;
7434 case getChatMember::ID:
7435 func(static_cast<getChatMember &>(obj));
7436 return true;
7437 case getChatMessageByDate::ID:
7438 func(static_cast<getChatMessageByDate &>(obj));
7439 return true;
7440 case getChatMessageCalendar::ID:
7441 func(static_cast<getChatMessageCalendar &>(obj));
7442 return true;
7443 case getChatMessageCount::ID:
7444 func(static_cast<getChatMessageCount &>(obj));
7445 return true;
7446 case getChatMessagePosition::ID:
7447 func(static_cast<getChatMessagePosition &>(obj));
7448 return true;
7449 case getChatNotificationSettingsExceptions::ID:
7450 func(static_cast<getChatNotificationSettingsExceptions &>(obj));
7451 return true;
7452 case getChatOwnerAfterLeaving::ID:
7453 func(static_cast<getChatOwnerAfterLeaving &>(obj));
7454 return true;
7455 case getChatPinnedMessage::ID:
7456 func(static_cast<getChatPinnedMessage &>(obj));
7457 return true;
7458 case getChatPostedToChatPageStories::ID:
7459 func(static_cast<getChatPostedToChatPageStories &>(obj));
7460 return true;
7461 case getChatRevenueStatistics::ID:
7462 func(static_cast<getChatRevenueStatistics &>(obj));
7463 return true;
7464 case getChatRevenueTransactions::ID:
7465 func(static_cast<getChatRevenueTransactions &>(obj));
7466 return true;
7467 case getChatRevenueWithdrawalUrl::ID:
7468 func(static_cast<getChatRevenueWithdrawalUrl &>(obj));
7469 return true;
7470 case getChatScheduledMessages::ID:
7471 func(static_cast<getChatScheduledMessages &>(obj));
7472 return true;
7473 case getChatSimilarChatCount::ID:
7474 func(static_cast<getChatSimilarChatCount &>(obj));
7475 return true;
7476 case getChatSimilarChats::ID:
7477 func(static_cast<getChatSimilarChats &>(obj));
7478 return true;
7479 case getChatSparseMessagePositions::ID:
7480 func(static_cast<getChatSparseMessagePositions &>(obj));
7481 return true;
7482 case getChatSponsoredMessages::ID:
7483 func(static_cast<getChatSponsoredMessages &>(obj));
7484 return true;
7485 case getChatStatistics::ID:
7486 func(static_cast<getChatStatistics &>(obj));
7487 return true;
7488 case getChatStoryAlbums::ID:
7489 func(static_cast<getChatStoryAlbums &>(obj));
7490 return true;
7491 case getChatStoryInteractions::ID:
7492 func(static_cast<getChatStoryInteractions &>(obj));
7493 return true;
7494 case getChats::ID:
7495 func(static_cast<getChats &>(obj));
7496 return true;
7497 case getChatsForChatFolderInviteLink::ID:
7498 func(static_cast<getChatsForChatFolderInviteLink &>(obj));
7499 return true;
7500 case getChatsToPostStories::ID:
7501 func(static_cast<getChatsToPostStories &>(obj));
7502 return true;
7503 case getCloseFriends::ID:
7504 func(static_cast<getCloseFriends &>(obj));
7505 return true;
7506 case getCollectibleItemInfo::ID:
7507 func(static_cast<getCollectibleItemInfo &>(obj));
7508 return true;
7509 case getCommands::ID:
7510 func(static_cast<getCommands &>(obj));
7511 return true;
7512 case getConnectedAffiliateProgram::ID:
7513 func(static_cast<getConnectedAffiliateProgram &>(obj));
7514 return true;
7515 case getConnectedAffiliatePrograms::ID:
7516 func(static_cast<getConnectedAffiliatePrograms &>(obj));
7517 return true;
7518 case getConnectedWebsites::ID:
7519 func(static_cast<getConnectedWebsites &>(obj));
7520 return true;
7521 case getContacts::ID:
7522 func(static_cast<getContacts &>(obj));
7523 return true;
7524 case getCountries::ID:
7525 func(static_cast<getCountries &>(obj));
7526 return true;
7527 case getCountry::ID:
7528 func(static_cast<getCountry &>(obj));
7529 return true;
7530 case getCountryCode::ID:
7531 func(static_cast<getCountryCode &>(obj));
7532 return true;
7533 case getCountryFlagEmoji::ID:
7534 func(static_cast<getCountryFlagEmoji &>(obj));
7535 return true;
7536 case getCreatedPublicChats::ID:
7537 func(static_cast<getCreatedPublicChats &>(obj));
7538 return true;
7539 case getCurrentState::ID:
7540 func(static_cast<getCurrentState &>(obj));
7541 return true;
7542 case getCurrentWeather::ID:
7543 func(static_cast<getCurrentWeather &>(obj));
7544 return true;
7545 case getCustomEmojiReactionAnimations::ID:
7546 func(static_cast<getCustomEmojiReactionAnimations &>(obj));
7547 return true;
7548 case getCustomEmojiStickers::ID:
7549 func(static_cast<getCustomEmojiStickers &>(obj));
7550 return true;
7551 case getDatabaseStatistics::ID:
7552 func(static_cast<getDatabaseStatistics &>(obj));
7553 return true;
7554 case getDeepLinkInfo::ID:
7555 func(static_cast<getDeepLinkInfo &>(obj));
7556 return true;
7557 case getDefaultBackgroundCustomEmojiStickers::ID:
7558 func(static_cast<getDefaultBackgroundCustomEmojiStickers &>(obj));
7559 return true;
7560 case getDefaultChatEmojiStatuses::ID:
7561 func(static_cast<getDefaultChatEmojiStatuses &>(obj));
7562 return true;
7563 case getDefaultChatPhotoCustomEmojiStickers::ID:
7564 func(static_cast<getDefaultChatPhotoCustomEmojiStickers &>(obj));
7565 return true;
7566 case getDefaultEmojiStatuses::ID:
7567 func(static_cast<getDefaultEmojiStatuses &>(obj));
7568 return true;
7569 case getDefaultMessageAutoDeleteTime::ID:
7570 func(static_cast<getDefaultMessageAutoDeleteTime &>(obj));
7571 return true;
7572 case getDefaultProfilePhotoCustomEmojiStickers::ID:
7573 func(static_cast<getDefaultProfilePhotoCustomEmojiStickers &>(obj));
7574 return true;
7575 case getDirectMessagesChatTopic::ID:
7576 func(static_cast<getDirectMessagesChatTopic &>(obj));
7577 return true;
7578 case getDirectMessagesChatTopicHistory::ID:
7579 func(static_cast<getDirectMessagesChatTopicHistory &>(obj));
7580 return true;
7581 case getDirectMessagesChatTopicMessageByDate::ID:
7582 func(static_cast<getDirectMessagesChatTopicMessageByDate &>(obj));
7583 return true;
7584 case getDirectMessagesChatTopicRevenue::ID:
7585 func(static_cast<getDirectMessagesChatTopicRevenue &>(obj));
7586 return true;
7587 case getDisallowedChatEmojiStatuses::ID:
7588 func(static_cast<getDisallowedChatEmojiStatuses &>(obj));
7589 return true;
7590 case getEmojiCategories::ID:
7591 func(static_cast<getEmojiCategories &>(obj));
7592 return true;
7593 case getEmojiReaction::ID:
7594 func(static_cast<getEmojiReaction &>(obj));
7595 return true;
7596 case getEmojiSuggestionsUrl::ID:
7597 func(static_cast<getEmojiSuggestionsUrl &>(obj));
7598 return true;
7599 case getExternalLink::ID:
7600 func(static_cast<getExternalLink &>(obj));
7601 return true;
7602 case getExternalLinkInfo::ID:
7603 func(static_cast<getExternalLinkInfo &>(obj));
7604 return true;
7605 case getFavoriteStickers::ID:
7606 func(static_cast<getFavoriteStickers &>(obj));
7607 return true;
7608 case getFile::ID:
7609 func(static_cast<getFile &>(obj));
7610 return true;
7611 case getFileDownloadedPrefixSize::ID:
7612 func(static_cast<getFileDownloadedPrefixSize &>(obj));
7613 return true;
7614 case getFileExtension::ID:
7615 func(static_cast<getFileExtension &>(obj));
7616 return true;
7617 case getFileMimeType::ID:
7618 func(static_cast<getFileMimeType &>(obj));
7619 return true;
7620 case getForumTopic::ID:
7621 func(static_cast<getForumTopic &>(obj));
7622 return true;
7623 case getForumTopicDefaultIcons::ID:
7624 func(static_cast<getForumTopicDefaultIcons &>(obj));
7625 return true;
7626 case getForumTopicHistory::ID:
7627 func(static_cast<getForumTopicHistory &>(obj));
7628 return true;
7629 case getForumTopicLink::ID:
7630 func(static_cast<getForumTopicLink &>(obj));
7631 return true;
7632 case getForumTopics::ID:
7633 func(static_cast<getForumTopics &>(obj));
7634 return true;
7635 case getFullRichMessage::ID:
7636 func(static_cast<getFullRichMessage &>(obj));
7637 return true;
7638 case getGameHighScores::ID:
7639 func(static_cast<getGameHighScores &>(obj));
7640 return true;
7641 case getGiftAuctionAcquiredGifts::ID:
7642 func(static_cast<getGiftAuctionAcquiredGifts &>(obj));
7643 return true;
7644 case getGiftAuctionState::ID:
7645 func(static_cast<getGiftAuctionState &>(obj));
7646 return true;
7647 case getGiftChatThemes::ID:
7648 func(static_cast<getGiftChatThemes &>(obj));
7649 return true;
7650 case getGiftCollections::ID:
7651 func(static_cast<getGiftCollections &>(obj));
7652 return true;
7653 case getGiftUpgradePreview::ID:
7654 func(static_cast<getGiftUpgradePreview &>(obj));
7655 return true;
7656 case getGiftsForCrafting::ID:
7657 func(static_cast<getGiftsForCrafting &>(obj));
7658 return true;
7659 case getGiveawayInfo::ID:
7660 func(static_cast<getGiveawayInfo &>(obj));
7661 return true;
7662 case getGramRevenueStatistics::ID:
7663 func(static_cast<getGramRevenueStatistics &>(obj));
7664 return true;
7665 case getGramWithdrawalUrl::ID:
7666 func(static_cast<getGramWithdrawalUrl &>(obj));
7667 return true;
7668 case getGreetingStickers::ID:
7669 func(static_cast<getGreetingStickers &>(obj));
7670 return true;
7671 case getGrossingWebAppBots::ID:
7672 func(static_cast<getGrossingWebAppBots &>(obj));
7673 return true;
7674 case getGroupCall::ID:
7675 func(static_cast<getGroupCall &>(obj));
7676 return true;
7677 case getGroupCallParticipants::ID:
7678 func(static_cast<getGroupCallParticipants &>(obj));
7679 return true;
7680 case getGroupCallStreamSegment::ID:
7681 func(static_cast<getGroupCallStreamSegment &>(obj));
7682 return true;
7683 case getGroupCallStreams::ID:
7684 func(static_cast<getGroupCallStreams &>(obj));
7685 return true;
7686 case getGroupsInCommon::ID:
7687 func(static_cast<getGroupsInCommon &>(obj));
7688 return true;
7689 case getGuardBotWebAppUrl::ID:
7690 func(static_cast<getGuardBotWebAppUrl &>(obj));
7691 return true;
7692 case getImportedContactCount::ID:
7693 func(static_cast<getImportedContactCount &>(obj));
7694 return true;
7695 case getInactiveSupergroupChats::ID:
7696 func(static_cast<getInactiveSupergroupChats &>(obj));
7697 return true;
7698 case getInlineGameHighScores::ID:
7699 func(static_cast<getInlineGameHighScores &>(obj));
7700 return true;
7701 case getInlineQueryResults::ID:
7702 func(static_cast<getInlineQueryResults &>(obj));
7703 return true;
7704 case getInstalledBackgrounds::ID:
7705 func(static_cast<getInstalledBackgrounds &>(obj));
7706 return true;
7707 case getInstalledStickerSets::ID:
7708 func(static_cast<getInstalledStickerSets &>(obj));
7709 return true;
7710 case getInternalLink::ID:
7711 func(static_cast<getInternalLink &>(obj));
7712 return true;
7713 case getInternalLinkType::ID:
7714 func(static_cast<getInternalLinkType &>(obj));
7715 return true;
7716 case getJsonString::ID:
7717 func(static_cast<getJsonString &>(obj));
7718 return true;
7719 case getJsonValue::ID:
7720 func(static_cast<getJsonValue &>(obj));
7721 return true;
7722 case getKeywordEmojis::ID:
7723 func(static_cast<getKeywordEmojis &>(obj));
7724 return true;
7725 case getLanguagePackInfo::ID:
7726 func(static_cast<getLanguagePackInfo &>(obj));
7727 return true;
7728 case getLanguagePackString::ID:
7729 func(static_cast<getLanguagePackString &>(obj));
7730 return true;
7731 case getLanguagePackStrings::ID:
7732 func(static_cast<getLanguagePackStrings &>(obj));
7733 return true;
7734 case getLinkPreview::ID:
7735 func(static_cast<getLinkPreview &>(obj));
7736 return true;
7737 case getLinkWebBrowserType::ID:
7738 func(static_cast<getLinkWebBrowserType &>(obj));
7739 return true;
7740 case getLiveStoryAvailableMessageSenders::ID:
7741 func(static_cast<getLiveStoryAvailableMessageSenders &>(obj));
7742 return true;
7743 case getLiveStoryRtmpUrl::ID:
7744 func(static_cast<getLiveStoryRtmpUrl &>(obj));
7745 return true;
7746 case getLiveStoryStreamer::ID:
7747 func(static_cast<getLiveStoryStreamer &>(obj));
7748 return true;
7749 case getLiveStoryTopDonors::ID:
7750 func(static_cast<getLiveStoryTopDonors &>(obj));
7751 return true;
7752 case getLocalizationTargetInfo::ID:
7753 func(static_cast<getLocalizationTargetInfo &>(obj));
7754 return true;
7755 case getLogStream::ID:
7756 func(static_cast<getLogStream &>(obj));
7757 return true;
7758 case getLogTagVerbosityLevel::ID:
7759 func(static_cast<getLogTagVerbosityLevel &>(obj));
7760 return true;
7761 case getLogTags::ID:
7762 func(static_cast<getLogTags &>(obj));
7763 return true;
7764 case getLogVerbosityLevel::ID:
7765 func(static_cast<getLogVerbosityLevel &>(obj));
7766 return true;
7767 case getLoginPasskeys::ID:
7768 func(static_cast<getLoginPasskeys &>(obj));
7769 return true;
7770 case getLoginUrl::ID:
7771 func(static_cast<getLoginUrl &>(obj));
7772 return true;
7773 case getLoginUrlInfo::ID:
7774 func(static_cast<getLoginUrlInfo &>(obj));
7775 return true;
7776 case getMainWebApp::ID:
7777 func(static_cast<getMainWebApp &>(obj));
7778 return true;
7779 case getManagedBotAccessSettings::ID:
7780 func(static_cast<getManagedBotAccessSettings &>(obj));
7781 return true;
7782 case getManagedBotToken::ID:
7783 func(static_cast<getManagedBotToken &>(obj));
7784 return true;
7785 case getMapThumbnailFile::ID:
7786 func(static_cast<getMapThumbnailFile &>(obj));
7787 return true;
7788 case getMarkdownText::ID:
7789 func(static_cast<getMarkdownText &>(obj));
7790 return true;
7791 case getMe::ID:
7792 func(static_cast<getMe &>(obj));
7793 return true;
7794 case getMenuButton::ID:
7795 func(static_cast<getMenuButton &>(obj));
7796 return true;
7797 case getMessage::ID:
7798 func(static_cast<getMessage &>(obj));
7799 return true;
7800 case getMessageAddedReactions::ID:
7801 func(static_cast<getMessageAddedReactions &>(obj));
7802 return true;
7803 case getMessageAuthor::ID:
7804 func(static_cast<getMessageAuthor &>(obj));
7805 return true;
7806 case getMessageAvailableReactions::ID:
7807 func(static_cast<getMessageAvailableReactions &>(obj));
7808 return true;
7809 case getMessageEffect::ID:
7810 func(static_cast<getMessageEffect &>(obj));
7811 return true;
7812 case getMessageEmbeddingCode::ID:
7813 func(static_cast<getMessageEmbeddingCode &>(obj));
7814 return true;
7815 case getMessageFileType::ID:
7816 func(static_cast<getMessageFileType &>(obj));
7817 return true;
7818 case getMessageImportConfirmationText::ID:
7819 func(static_cast<getMessageImportConfirmationText &>(obj));
7820 return true;
7821 case getMessageLink::ID:
7822 func(static_cast<getMessageLink &>(obj));
7823 return true;
7824 case getMessageLinkInfo::ID:
7825 func(static_cast<getMessageLinkInfo &>(obj));
7826 return true;
7827 case getMessageLocally::ID:
7828 func(static_cast<getMessageLocally &>(obj));
7829 return true;
7830 case getMessageProperties::ID:
7831 func(static_cast<getMessageProperties &>(obj));
7832 return true;
7833 case getMessagePublicForwards::ID:
7834 func(static_cast<getMessagePublicForwards &>(obj));
7835 return true;
7836 case getMessageReadDate::ID:
7837 func(static_cast<getMessageReadDate &>(obj));
7838 return true;
7839 case getMessageStatistics::ID:
7840 func(static_cast<getMessageStatistics &>(obj));
7841 return true;
7842 case getMessageThread::ID:
7843 func(static_cast<getMessageThread &>(obj));
7844 return true;
7845 case getMessageThreadHistory::ID:
7846 func(static_cast<getMessageThreadHistory &>(obj));
7847 return true;
7848 case getMessageViewers::ID:
7849 func(static_cast<getMessageViewers &>(obj));
7850 return true;
7851 case getMessages::ID:
7852 func(static_cast<getMessages &>(obj));
7853 return true;
7854 case getNetworkStatistics::ID:
7855 func(static_cast<getNetworkStatistics &>(obj));
7856 return true;
7857 case getNewChatPrivacySettings::ID:
7858 func(static_cast<getNewChatPrivacySettings &>(obj));
7859 return true;
7860 case getOauthLinkInfo::ID:
7861 func(static_cast<getOauthLinkInfo &>(obj));
7862 return true;
7863 case getOption::ID:
7864 func(static_cast<getOption &>(obj));
7865 return true;
7866 case getOwnedBots::ID:
7867 func(static_cast<getOwnedBots &>(obj));
7868 return true;
7869 case getOwnedStickerSets::ID:
7870 func(static_cast<getOwnedStickerSets &>(obj));
7871 return true;
7872 case getPaidMessageRevenue::ID:
7873 func(static_cast<getPaidMessageRevenue &>(obj));
7874 return true;
7875 case getPasskeyParameters::ID:
7876 func(static_cast<getPasskeyParameters &>(obj));
7877 return true;
7878 case getPassportAuthorizationForm::ID:
7879 func(static_cast<getPassportAuthorizationForm &>(obj));
7880 return true;
7881 case getPassportAuthorizationFormAvailableElements::ID:
7882 func(static_cast<getPassportAuthorizationFormAvailableElements &>(obj));
7883 return true;
7884 case getPassportElement::ID:
7885 func(static_cast<getPassportElement &>(obj));
7886 return true;
7887 case getPasswordState::ID:
7888 func(static_cast<getPasswordState &>(obj));
7889 return true;
7890 case getPaymentForm::ID:
7891 func(static_cast<getPaymentForm &>(obj));
7892 return true;
7893 case getPaymentReceipt::ID:
7894 func(static_cast<getPaymentReceipt &>(obj));
7895 return true;
7896 case getPersonalChatHistory::ID:
7897 func(static_cast<getPersonalChatHistory &>(obj));
7898 return true;
7899 case getPhoneNumberInfo::ID:
7900 func(static_cast<getPhoneNumberInfo &>(obj));
7901 return true;
7902 case getPhoneNumberInfoSync::ID:
7903 func(static_cast<getPhoneNumberInfoSync &>(obj));
7904 return true;
7905 case getPollOptionProperties::ID:
7906 func(static_cast<getPollOptionProperties &>(obj));
7907 return true;
7908 case getPollVoteStatistics::ID:
7909 func(static_cast<getPollVoteStatistics &>(obj));
7910 return true;
7911 case getPollVoters::ID:
7912 func(static_cast<getPollVoters &>(obj));
7913 return true;
7914 case getPreferredCountryLanguage::ID:
7915 func(static_cast<getPreferredCountryLanguage &>(obj));
7916 return true;
7917 case getPremiumFeatures::ID:
7918 func(static_cast<getPremiumFeatures &>(obj));
7919 return true;
7920 case getPremiumGiftPaymentOptions::ID:
7921 func(static_cast<getPremiumGiftPaymentOptions &>(obj));
7922 return true;
7923 case getPremiumGiveawayPaymentOptions::ID:
7924 func(static_cast<getPremiumGiveawayPaymentOptions &>(obj));
7925 return true;
7926 case getPremiumInfoSticker::ID:
7927 func(static_cast<getPremiumInfoSticker &>(obj));
7928 return true;
7929 case getPremiumLimit::ID:
7930 func(static_cast<getPremiumLimit &>(obj));
7931 return true;
7932 case getPremiumState::ID:
7933 func(static_cast<getPremiumState &>(obj));
7934 return true;
7935 case getPremiumStickerExamples::ID:
7936 func(static_cast<getPremiumStickerExamples &>(obj));
7937 return true;
7938 case getPremiumStickers::ID:
7939 func(static_cast<getPremiumStickers &>(obj));
7940 return true;
7941 case getPreparedInlineMessage::ID:
7942 func(static_cast<getPreparedInlineMessage &>(obj));
7943 return true;
7944 case getPreparedKeyboardButton::ID:
7945 func(static_cast<getPreparedKeyboardButton &>(obj));
7946 return true;
7947 case getProxies::ID:
7948 func(static_cast<getProxies &>(obj));
7949 return true;
7950 case getPublicPostSearchLimits::ID:
7951 func(static_cast<getPublicPostSearchLimits &>(obj));
7952 return true;
7953 case getPushReceiverId::ID:
7954 func(static_cast<getPushReceiverId &>(obj));
7955 return true;
7956 case getReadDatePrivacySettings::ID:
7957 func(static_cast<getReadDatePrivacySettings &>(obj));
7958 return true;
7959 case getReceivedGift::ID:
7960 func(static_cast<getReceivedGift &>(obj));
7961 return true;
7962 case getReceivedGifts::ID:
7963 func(static_cast<getReceivedGifts &>(obj));
7964 return true;
7965 case getRecentEmojiStatuses::ID:
7966 func(static_cast<getRecentEmojiStatuses &>(obj));
7967 return true;
7968 case getRecentInlineBots::ID:
7969 func(static_cast<getRecentInlineBots &>(obj));
7970 return true;
7971 case getRecentStickers::ID:
7972 func(static_cast<getRecentStickers &>(obj));
7973 return true;
7974 case getRecentlyOpenedChats::ID:
7975 func(static_cast<getRecentlyOpenedChats &>(obj));
7976 return true;
7977 case getRecentlyVisitedTMeUrls::ID:
7978 func(static_cast<getRecentlyVisitedTMeUrls &>(obj));
7979 return true;
7980 case getRecommendedChatFolders::ID:
7981 func(static_cast<getRecommendedChatFolders &>(obj));
7982 return true;
7983 case getRecommendedChats::ID:
7984 func(static_cast<getRecommendedChats &>(obj));
7985 return true;
7986 case getRecoveryEmailAddress::ID:
7987 func(static_cast<getRecoveryEmailAddress &>(obj));
7988 return true;
7989 case getRemoteFile::ID:
7990 func(static_cast<getRemoteFile &>(obj));
7991 return true;
7992 case getRepliedMessage::ID:
7993 func(static_cast<getRepliedMessage &>(obj));
7994 return true;
7995 case getSavedAnimations::ID:
7996 func(static_cast<getSavedAnimations &>(obj));
7997 return true;
7998 case getSavedMessagesTags::ID:
7999 func(static_cast<getSavedMessagesTags &>(obj));
8000 return true;
8001 case getSavedMessagesTopicHistory::ID:
8002 func(static_cast<getSavedMessagesTopicHistory &>(obj));
8003 return true;
8004 case getSavedMessagesTopicMessageByDate::ID:
8005 func(static_cast<getSavedMessagesTopicMessageByDate &>(obj));
8006 return true;
8007 case getSavedNotificationSound::ID:
8008 func(static_cast<getSavedNotificationSound &>(obj));
8009 return true;
8010 case getSavedNotificationSounds::ID:
8011 func(static_cast<getSavedNotificationSounds &>(obj));
8012 return true;
8013 case getSavedOrderInfo::ID:
8014 func(static_cast<getSavedOrderInfo &>(obj));
8015 return true;
8016 case getScopeNotificationSettings::ID:
8017 func(static_cast<getScopeNotificationSettings &>(obj));
8018 return true;
8019 case getSearchSponsoredChats::ID:
8020 func(static_cast<getSearchSponsoredChats &>(obj));
8021 return true;
8022 case getSearchedForTags::ID:
8023 func(static_cast<getSearchedForTags &>(obj));
8024 return true;
8025 case getSecretChat::ID:
8026 func(static_cast<getSecretChat &>(obj));
8027 return true;
8028 case getStakeDiceState::ID:
8029 func(static_cast<getStakeDiceState &>(obj));
8030 return true;
8031 case getStarAdAccountUrl::ID:
8032 func(static_cast<getStarAdAccountUrl &>(obj));
8033 return true;
8034 case getStarGiftPaymentOptions::ID:
8035 func(static_cast<getStarGiftPaymentOptions &>(obj));
8036 return true;
8037 case getStarGiveawayPaymentOptions::ID:
8038 func(static_cast<getStarGiveawayPaymentOptions &>(obj));
8039 return true;
8040 case getStarPaymentOptions::ID:
8041 func(static_cast<getStarPaymentOptions &>(obj));
8042 return true;
8043 case getStarRevenueStatistics::ID:
8044 func(static_cast<getStarRevenueStatistics &>(obj));
8045 return true;
8046 case getStarSubscriptions::ID:
8047 func(static_cast<getStarSubscriptions &>(obj));
8048 return true;
8049 case getStarTransactions::ID:
8050 func(static_cast<getStarTransactions &>(obj));
8051 return true;
8052 case getStarWithdrawalUrl::ID:
8053 func(static_cast<getStarWithdrawalUrl &>(obj));
8054 return true;
8055 case getStatisticalGraph::ID:
8056 func(static_cast<getStatisticalGraph &>(obj));
8057 return true;
8058 case getStickerEmojis::ID:
8059 func(static_cast<getStickerEmojis &>(obj));
8060 return true;
8061 case getStickerOutline::ID:
8062 func(static_cast<getStickerOutline &>(obj));
8063 return true;
8064 case getStickerOutlineSvgPath::ID:
8065 func(static_cast<getStickerOutlineSvgPath &>(obj));
8066 return true;
8067 case getStickerSet::ID:
8068 func(static_cast<getStickerSet &>(obj));
8069 return true;
8070 case getStickerSetName::ID:
8071 func(static_cast<getStickerSetName &>(obj));
8072 return true;
8073 case getStickers::ID:
8074 func(static_cast<getStickers &>(obj));
8075 return true;
8076 case getStorageStatistics::ID:
8077 func(static_cast<getStorageStatistics &>(obj));
8078 return true;
8079 case getStorageStatisticsFast::ID:
8080 func(static_cast<getStorageStatisticsFast &>(obj));
8081 return true;
8082 case getStory::ID:
8083 func(static_cast<getStory &>(obj));
8084 return true;
8085 case getStoryAlbumStories::ID:
8086 func(static_cast<getStoryAlbumStories &>(obj));
8087 return true;
8088 case getStoryAvailableReactions::ID:
8089 func(static_cast<getStoryAvailableReactions &>(obj));
8090 return true;
8091 case getStoryInteractions::ID:
8092 func(static_cast<getStoryInteractions &>(obj));
8093 return true;
8094 case getStoryNotificationSettingsExceptions::ID:
8095 func(static_cast<getStoryNotificationSettingsExceptions &>(obj));
8096 return true;
8097 case getStoryPublicForwards::ID:
8098 func(static_cast<getStoryPublicForwards &>(obj));
8099 return true;
8100 case getStoryStatistics::ID:
8101 func(static_cast<getStoryStatistics &>(obj));
8102 return true;
8103 case getSuggestedFileName::ID:
8104 func(static_cast<getSuggestedFileName &>(obj));
8105 return true;
8106 case getSuggestedStickerSetName::ID:
8107 func(static_cast<getSuggestedStickerSetName &>(obj));
8108 return true;
8109 case getSuitableDiscussionChats::ID:
8110 func(static_cast<getSuitableDiscussionChats &>(obj));
8111 return true;
8112 case getSuitablePersonalChats::ID:
8113 func(static_cast<getSuitablePersonalChats &>(obj));
8114 return true;
8115 case getSupergroup::ID:
8116 func(static_cast<getSupergroup &>(obj));
8117 return true;
8118 case getSupergroupFullInfo::ID:
8119 func(static_cast<getSupergroupFullInfo &>(obj));
8120 return true;
8121 case getSupergroupMembers::ID:
8122 func(static_cast<getSupergroupMembers &>(obj));
8123 return true;
8124 case getSupportName::ID:
8125 func(static_cast<getSupportName &>(obj));
8126 return true;
8127 case getSupportUser::ID:
8128 func(static_cast<getSupportUser &>(obj));
8129 return true;
8130 case getTemporaryPasswordState::ID:
8131 func(static_cast<getTemporaryPasswordState &>(obj));
8132 return true;
8133 case getTextCompositionStyleExample::ID:
8134 func(static_cast<getTextCompositionStyleExample &>(obj));
8135 return true;
8136 case getTextEntities::ID:
8137 func(static_cast<getTextEntities &>(obj));
8138 return true;
8139 case getThemeParametersJsonString::ID:
8140 func(static_cast<getThemeParametersJsonString &>(obj));
8141 return true;
8142 case getThemedChatEmojiStatuses::ID:
8143 func(static_cast<getThemedChatEmojiStatuses &>(obj));
8144 return true;
8145 case getThemedEmojiStatuses::ID:
8146 func(static_cast<getThemedEmojiStatuses &>(obj));
8147 return true;
8148 case getTimeZones::ID:
8149 func(static_cast<getTimeZones &>(obj));
8150 return true;
8151 case getTonTransactions::ID:
8152 func(static_cast<getTonTransactions &>(obj));
8153 return true;
8154 case getTopChats::ID:
8155 func(static_cast<getTopChats &>(obj));
8156 return true;
8157 case getTrendingStickerSets::ID:
8158 func(static_cast<getTrendingStickerSets &>(obj));
8159 return true;
8160 case getUpgradedGift::ID:
8161 func(static_cast<getUpgradedGift &>(obj));
8162 return true;
8163 case getUpgradedGiftEmojiStatuses::ID:
8164 func(static_cast<getUpgradedGiftEmojiStatuses &>(obj));
8165 return true;
8166 case getUpgradedGiftValueInfo::ID:
8167 func(static_cast<getUpgradedGiftValueInfo &>(obj));
8168 return true;
8169 case getUpgradedGiftVariants::ID:
8170 func(static_cast<getUpgradedGiftVariants &>(obj));
8171 return true;
8172 case getUpgradedGiftWithdrawalUrl::ID:
8173 func(static_cast<getUpgradedGiftWithdrawalUrl &>(obj));
8174 return true;
8175 case getUpgradedGiftsPromotionalAnimation::ID:
8176 func(static_cast<getUpgradedGiftsPromotionalAnimation &>(obj));
8177 return true;
8178 case getUser::ID:
8179 func(static_cast<getUser &>(obj));
8180 return true;
8181 case getUserChatBoosts::ID:
8182 func(static_cast<getUserChatBoosts &>(obj));
8183 return true;
8184 case getUserFullInfo::ID:
8185 func(static_cast<getUserFullInfo &>(obj));
8186 return true;
8187 case getUserLink::ID:
8188 func(static_cast<getUserLink &>(obj));
8189 return true;
8190 case getUserPrivacySettingRules::ID:
8191 func(static_cast<getUserPrivacySettingRules &>(obj));
8192 return true;
8193 case getUserProfileAudios::ID:
8194 func(static_cast<getUserProfileAudios &>(obj));
8195 return true;
8196 case getUserProfilePhotos::ID:
8197 func(static_cast<getUserProfilePhotos &>(obj));
8198 return true;
8199 case getUserSupportInfo::ID:
8200 func(static_cast<getUserSupportInfo &>(obj));
8201 return true;
8202 case getVideoChatAvailableParticipants::ID:
8203 func(static_cast<getVideoChatAvailableParticipants &>(obj));
8204 return true;
8205 case getVideoChatInviteLink::ID:
8206 func(static_cast<getVideoChatInviteLink &>(obj));
8207 return true;
8208 case getVideoChatRtmpUrl::ID:
8209 func(static_cast<getVideoChatRtmpUrl &>(obj));
8210 return true;
8211 case getVideoMessageAdvertisements::ID:
8212 func(static_cast<getVideoMessageAdvertisements &>(obj));
8213 return true;
8214 case getWebAppLinkUrl::ID:
8215 func(static_cast<getWebAppLinkUrl &>(obj));
8216 return true;
8217 case getWebAppPlaceholder::ID:
8218 func(static_cast<getWebAppPlaceholder &>(obj));
8219 return true;
8220 case getWebAppUrl::ID:
8221 func(static_cast<getWebAppUrl &>(obj));
8222 return true;
8223 case getWebPageInstantView::ID:
8224 func(static_cast<getWebPageInstantView &>(obj));
8225 return true;
8226 case giftPremiumWithStars::ID:
8227 func(static_cast<giftPremiumWithStars &>(obj));
8228 return true;
8229 case hideContactCloseBirthdays::ID:
8230 func(static_cast<hideContactCloseBirthdays &>(obj));
8231 return true;
8232 case hideSuggestedAction::ID:
8233 func(static_cast<hideSuggestedAction &>(obj));
8234 return true;
8235 case importContacts::ID:
8236 func(static_cast<importContacts &>(obj));
8237 return true;
8238 case importMessages::ID:
8239 func(static_cast<importMessages &>(obj));
8240 return true;
8241 case increaseGiftAuctionBid::ID:
8242 func(static_cast<increaseGiftAuctionBid &>(obj));
8243 return true;
8244 case inviteGroupCallParticipant::ID:
8245 func(static_cast<inviteGroupCallParticipant &>(obj));
8246 return true;
8247 case inviteVideoChatParticipants::ID:
8248 func(static_cast<inviteVideoChatParticipants &>(obj));
8249 return true;
8250 case isLoginEmailAddressRequired::ID:
8251 func(static_cast<isLoginEmailAddressRequired &>(obj));
8252 return true;
8253 case isProfileAudio::ID:
8254 func(static_cast<isProfileAudio &>(obj));
8255 return true;
8256 case joinChat::ID:
8257 func(static_cast<joinChat &>(obj));
8258 return true;
8259 case joinChatByInviteLink::ID:
8260 func(static_cast<joinChatByInviteLink &>(obj));
8261 return true;
8262 case joinGroupCall::ID:
8263 func(static_cast<joinGroupCall &>(obj));
8264 return true;
8265 case joinLiveStory::ID:
8266 func(static_cast<joinLiveStory &>(obj));
8267 return true;
8268 case joinVideoChat::ID:
8269 func(static_cast<joinVideoChat &>(obj));
8270 return true;
8271 case launchPrepaidGiveaway::ID:
8272 func(static_cast<launchPrepaidGiveaway &>(obj));
8273 return true;
8274 case leaveChat::ID:
8275 func(static_cast<leaveChat &>(obj));
8276 return true;
8277 case leaveGroupCall::ID:
8278 func(static_cast<leaveGroupCall &>(obj));
8279 return true;
8280 case listenToAudio::ID:
8281 func(static_cast<listenToAudio &>(obj));
8282 return true;
8283 case loadActiveStories::ID:
8284 func(static_cast<loadActiveStories &>(obj));
8285 return true;
8286 case loadChats::ID:
8287 func(static_cast<loadChats &>(obj));
8288 return true;
8289 case loadDirectMessagesChatTopics::ID:
8290 func(static_cast<loadDirectMessagesChatTopics &>(obj));
8291 return true;
8292 case loadGroupCallParticipants::ID:
8293 func(static_cast<loadGroupCallParticipants &>(obj));
8294 return true;
8295 case loadQuickReplyShortcutMessages::ID:
8296 func(static_cast<loadQuickReplyShortcutMessages &>(obj));
8297 return true;
8298 case loadQuickReplyShortcuts::ID:
8299 func(static_cast<loadQuickReplyShortcuts &>(obj));
8300 return true;
8301 case loadSavedMessagesTopics::ID:
8302 func(static_cast<loadSavedMessagesTopics &>(obj));
8303 return true;
8304 case logOut::ID:
8305 func(static_cast<logOut &>(obj));
8306 return true;
8307 case markChecklistTasksAsDone::ID:
8308 func(static_cast<markChecklistTasksAsDone &>(obj));
8309 return true;
8310 case openBotSimilarBot::ID:
8311 func(static_cast<openBotSimilarBot &>(obj));
8312 return true;
8313 case openChat::ID:
8314 func(static_cast<openChat &>(obj));
8315 return true;
8316 case openChatSimilarChat::ID:
8317 func(static_cast<openChatSimilarChat &>(obj));
8318 return true;
8319 case openGiftAuction::ID:
8320 func(static_cast<openGiftAuction &>(obj));
8321 return true;
8322 case openMessageContent::ID:
8323 func(static_cast<openMessageContent &>(obj));
8324 return true;
8325 case openSponsoredChat::ID:
8326 func(static_cast<openSponsoredChat &>(obj));
8327 return true;
8328 case openStory::ID:
8329 func(static_cast<openStory &>(obj));
8330 return true;
8331 case openWebApp::ID:
8332 func(static_cast<openWebApp &>(obj));
8333 return true;
8334 case optimizeStorage::ID:
8335 func(static_cast<optimizeStorage &>(obj));
8336 return true;
8337 case parseMarkdown::ID:
8338 func(static_cast<parseMarkdown &>(obj));
8339 return true;
8340 case parseTextEntities::ID:
8341 func(static_cast<parseTextEntities &>(obj));
8342 return true;
8343 case pinChatMessage::ID:
8344 func(static_cast<pinChatMessage &>(obj));
8345 return true;
8346 case pingProxy::ID:
8347 func(static_cast<pingProxy &>(obj));
8348 return true;
8349 case placeGiftAuctionBid::ID:
8350 func(static_cast<placeGiftAuctionBid &>(obj));
8351 return true;
8352 case postStory::ID:
8353 func(static_cast<postStory &>(obj));
8354 return true;
8355 case preliminaryUploadFile::ID:
8356 func(static_cast<preliminaryUploadFile &>(obj));
8357 return true;
8358 case processChatFolderNewChats::ID:
8359 func(static_cast<processChatFolderNewChats &>(obj));
8360 return true;
8361 case processChatHasProtectedContentDisableRequest::ID:
8362 func(static_cast<processChatHasProtectedContentDisableRequest &>(obj));
8363 return true;
8364 case processChatJoinRequest::ID:
8365 func(static_cast<processChatJoinRequest &>(obj));
8366 return true;
8367 case processChatJoinRequests::ID:
8368 func(static_cast<processChatJoinRequests &>(obj));
8369 return true;
8370 case processGiftPurchaseOffer::ID:
8371 func(static_cast<processGiftPurchaseOffer &>(obj));
8372 return true;
8373 case processPushNotification::ID:
8374 func(static_cast<processPushNotification &>(obj));
8375 return true;
8376 case rateSpeechRecognition::ID:
8377 func(static_cast<rateSpeechRecognition &>(obj));
8378 return true;
8379 case readAllChatMentions::ID:
8380 func(static_cast<readAllChatMentions &>(obj));
8381 return true;
8382 case readAllChatPollVotes::ID:
8383 func(static_cast<readAllChatPollVotes &>(obj));
8384 return true;
8385 case readAllChatReactions::ID:
8386 func(static_cast<readAllChatReactions &>(obj));
8387 return true;
8388 case readAllDirectMessagesChatTopicReactions::ID:
8389 func(static_cast<readAllDirectMessagesChatTopicReactions &>(obj));
8390 return true;
8391 case readAllForumTopicMentions::ID:
8392 func(static_cast<readAllForumTopicMentions &>(obj));
8393 return true;
8394 case readAllForumTopicPollVotes::ID:
8395 func(static_cast<readAllForumTopicPollVotes &>(obj));
8396 return true;
8397 case readAllForumTopicReactions::ID:
8398 func(static_cast<readAllForumTopicReactions &>(obj));
8399 return true;
8400 case readBusinessMessage::ID:
8401 func(static_cast<readBusinessMessage &>(obj));
8402 return true;
8403 case readChatList::ID:
8404 func(static_cast<readChatList &>(obj));
8405 return true;
8406 case readFilePart::ID:
8407 func(static_cast<readFilePart &>(obj));
8408 return true;
8409 case readdQuickReplyShortcutMessages::ID:
8410 func(static_cast<readdQuickReplyShortcutMessages &>(obj));
8411 return true;
8412 case recognizeSpeech::ID:
8413 func(static_cast<recognizeSpeech &>(obj));
8414 return true;
8415 case recoverAuthenticationPassword::ID:
8416 func(static_cast<recoverAuthenticationPassword &>(obj));
8417 return true;
8418 case recoverPassword::ID:
8419 func(static_cast<recoverPassword &>(obj));
8420 return true;
8421 case refundStarPayment::ID:
8422 func(static_cast<refundStarPayment &>(obj));
8423 return true;
8424 case registerDevice::ID:
8425 func(static_cast<registerDevice &>(obj));
8426 return true;
8427 case registerUser::ID:
8428 func(static_cast<registerUser &>(obj));
8429 return true;
8430 case removeAllFilesFromDownloads::ID:
8431 func(static_cast<removeAllFilesFromDownloads &>(obj));
8432 return true;
8433 case removeAllWebBrowserSettingsExceptions::ID:
8434 func(static_cast<removeAllWebBrowserSettingsExceptions &>(obj));
8435 return true;
8436 case removeBusinessConnectedBotFromChat::ID:
8437 func(static_cast<removeBusinessConnectedBotFromChat &>(obj));
8438 return true;
8439 case removeChatActionBar::ID:
8440 func(static_cast<removeChatActionBar &>(obj));
8441 return true;
8442 case removeContacts::ID:
8443 func(static_cast<removeContacts &>(obj));
8444 return true;
8445 case removeFavoriteSticker::ID:
8446 func(static_cast<removeFavoriteSticker &>(obj));
8447 return true;
8448 case removeFileFromDownloads::ID:
8449 func(static_cast<removeFileFromDownloads &>(obj));
8450 return true;
8451 case removeGiftCollectionGifts::ID:
8452 func(static_cast<removeGiftCollectionGifts &>(obj));
8453 return true;
8454 case removeInstalledBackground::ID:
8455 func(static_cast<removeInstalledBackground &>(obj));
8456 return true;
8457 case removeLoginPasskey::ID:
8458 func(static_cast<removeLoginPasskey &>(obj));
8459 return true;
8460 case removeMessageReaction::ID:
8461 func(static_cast<removeMessageReaction &>(obj));
8462 return true;
8463 case removeMessageSenderBotVerification::ID:
8464 func(static_cast<removeMessageSenderBotVerification &>(obj));
8465 return true;
8466 case removeNotification::ID:
8467 func(static_cast<removeNotification &>(obj));
8468 return true;
8469 case removeNotificationGroup::ID:
8470 func(static_cast<removeNotificationGroup &>(obj));
8471 return true;
8472 case removePendingLiveStoryReactions::ID:
8473 func(static_cast<removePendingLiveStoryReactions &>(obj));
8474 return true;
8475 case removePendingPaidMessageReactions::ID:
8476 func(static_cast<removePendingPaidMessageReactions &>(obj));
8477 return true;
8478 case removeProfileAudio::ID:
8479 func(static_cast<removeProfileAudio &>(obj));
8480 return true;
8481 case removeProxy::ID:
8482 func(static_cast<removeProxy &>(obj));
8483 return true;
8484 case removeRecentHashtag::ID:
8485 func(static_cast<removeRecentHashtag &>(obj));
8486 return true;
8487 case removeRecentSticker::ID:
8488 func(static_cast<removeRecentSticker &>(obj));
8489 return true;
8490 case removeRecentlyFoundChat::ID:
8491 func(static_cast<removeRecentlyFoundChat &>(obj));
8492 return true;
8493 case removeSavedAnimation::ID:
8494 func(static_cast<removeSavedAnimation &>(obj));
8495 return true;
8496 case removeSavedNotificationSound::ID:
8497 func(static_cast<removeSavedNotificationSound &>(obj));
8498 return true;
8499 case removeSearchedForTag::ID:
8500 func(static_cast<removeSearchedForTag &>(obj));
8501 return true;
8502 case removeStickerFromSet::ID:
8503 func(static_cast<removeStickerFromSet &>(obj));
8504 return true;
8505 case removeStoryAlbumStories::ID:
8506 func(static_cast<removeStoryAlbumStories &>(obj));
8507 return true;
8508 case removeTextCompositionStyle::ID:
8509 func(static_cast<removeTextCompositionStyle &>(obj));
8510 return true;
8511 case removeTopChat::ID:
8512 func(static_cast<removeTopChat &>(obj));
8513 return true;
8514 case removeWebBrowserSettingsException::ID:
8515 func(static_cast<removeWebBrowserSettingsException &>(obj));
8516 return true;
8517 case reorderActiveUsernames::ID:
8518 func(static_cast<reorderActiveUsernames &>(obj));
8519 return true;
8520 case reorderBotActiveUsernames::ID:
8521 func(static_cast<reorderBotActiveUsernames &>(obj));
8522 return true;
8523 case reorderBotMediaPreviews::ID:
8524 func(static_cast<reorderBotMediaPreviews &>(obj));
8525 return true;
8526 case reorderChatFolders::ID:
8527 func(static_cast<reorderChatFolders &>(obj));
8528 return true;
8529 case reorderGiftCollectionGifts::ID:
8530 func(static_cast<reorderGiftCollectionGifts &>(obj));
8531 return true;
8532 case reorderGiftCollections::ID:
8533 func(static_cast<reorderGiftCollections &>(obj));
8534 return true;
8535 case reorderInstalledStickerSets::ID:
8536 func(static_cast<reorderInstalledStickerSets &>(obj));
8537 return true;
8538 case reorderQuickReplyShortcuts::ID:
8539 func(static_cast<reorderQuickReplyShortcuts &>(obj));
8540 return true;
8541 case reorderStoryAlbumStories::ID:
8542 func(static_cast<reorderStoryAlbumStories &>(obj));
8543 return true;
8544 case reorderStoryAlbums::ID:
8545 func(static_cast<reorderStoryAlbums &>(obj));
8546 return true;
8547 case reorderSupergroupActiveUsernames::ID:
8548 func(static_cast<reorderSupergroupActiveUsernames &>(obj));
8549 return true;
8550 case replaceLiveStoryRtmpUrl::ID:
8551 func(static_cast<replaceLiveStoryRtmpUrl &>(obj));
8552 return true;
8553 case replacePrimaryChatInviteLink::ID:
8554 func(static_cast<replacePrimaryChatInviteLink &>(obj));
8555 return true;
8556 case replaceStickerInSet::ID:
8557 func(static_cast<replaceStickerInSet &>(obj));
8558 return true;
8559 case replaceVideoChatRtmpUrl::ID:
8560 func(static_cast<replaceVideoChatRtmpUrl &>(obj));
8561 return true;
8562 case reportAuthenticationCodeMissing::ID:
8563 func(static_cast<reportAuthenticationCodeMissing &>(obj));
8564 return true;
8565 case reportChat::ID:
8566 func(static_cast<reportChat &>(obj));
8567 return true;
8568 case reportChatPhoto::ID:
8569 func(static_cast<reportChatPhoto &>(obj));
8570 return true;
8571 case reportChatSponsoredMessage::ID:
8572 func(static_cast<reportChatSponsoredMessage &>(obj));
8573 return true;
8574 case reportMessageReactions::ID:
8575 func(static_cast<reportMessageReactions &>(obj));
8576 return true;
8577 case reportPhoneNumberCodeMissing::ID:
8578 func(static_cast<reportPhoneNumberCodeMissing &>(obj));
8579 return true;
8580 case reportSponsoredChat::ID:
8581 func(static_cast<reportSponsoredChat &>(obj));
8582 return true;
8583 case reportStory::ID:
8584 func(static_cast<reportStory &>(obj));
8585 return true;
8586 case reportSupergroupAntiSpamFalsePositive::ID:
8587 func(static_cast<reportSupergroupAntiSpamFalsePositive &>(obj));
8588 return true;
8589 case reportSupergroupSpam::ID:
8590 func(static_cast<reportSupergroupSpam &>(obj));
8591 return true;
8592 case reportVideoMessageAdvertisement::ID:
8593 func(static_cast<reportVideoMessageAdvertisement &>(obj));
8594 return true;
8595 case requestAuthenticationPasswordRecovery::ID:
8596 func(static_cast<requestAuthenticationPasswordRecovery &>(obj));
8597 return true;
8598 case requestPasswordRecovery::ID:
8599 func(static_cast<requestPasswordRecovery &>(obj));
8600 return true;
8601 case requestQrCodeAuthentication::ID:
8602 func(static_cast<requestQrCodeAuthentication &>(obj));
8603 return true;
8604 case resendAuthenticationCode::ID:
8605 func(static_cast<resendAuthenticationCode &>(obj));
8606 return true;
8607 case resendEmailAddressVerificationCode::ID:
8608 func(static_cast<resendEmailAddressVerificationCode &>(obj));
8609 return true;
8610 case resendLoginEmailAddressCode::ID:
8611 func(static_cast<resendLoginEmailAddressCode &>(obj));
8612 return true;
8613 case resendMessages::ID:
8614 func(static_cast<resendMessages &>(obj));
8615 return true;
8616 case resendPhoneNumberCode::ID:
8617 func(static_cast<resendPhoneNumberCode &>(obj));
8618 return true;
8619 case resendRecoveryEmailAddressCode::ID:
8620 func(static_cast<resendRecoveryEmailAddressCode &>(obj));
8621 return true;
8622 case resetAllNotificationSettings::ID:
8623 func(static_cast<resetAllNotificationSettings &>(obj));
8624 return true;
8625 case resetAuthenticationEmailAddress::ID:
8626 func(static_cast<resetAuthenticationEmailAddress &>(obj));
8627 return true;
8628 case resetInstalledBackgrounds::ID:
8629 func(static_cast<resetInstalledBackgrounds &>(obj));
8630 return true;
8631 case resetNetworkStatistics::ID:
8632 func(static_cast<resetNetworkStatistics &>(obj));
8633 return true;
8634 case resetPassword::ID:
8635 func(static_cast<resetPassword &>(obj));
8636 return true;
8637 case reuseStarSubscription::ID:
8638 func(static_cast<reuseStarSubscription &>(obj));
8639 return true;
8640 case revokeChatInviteLink::ID:
8641 func(static_cast<revokeChatInviteLink &>(obj));
8642 return true;
8643 case revokeGroupCallInviteLink::ID:
8644 func(static_cast<revokeGroupCallInviteLink &>(obj));
8645 return true;
8646 case saveApplicationLogEvent::ID:
8647 func(static_cast<saveApplicationLogEvent &>(obj));
8648 return true;
8649 case savePreparedInlineMessage::ID:
8650 func(static_cast<savePreparedInlineMessage &>(obj));
8651 return true;
8652 case savePreparedKeyboardButton::ID:
8653 func(static_cast<savePreparedKeyboardButton &>(obj));
8654 return true;
8655 case searchAffiliatePrograms::ID:
8656 func(static_cast<searchAffiliatePrograms &>(obj));
8657 return true;
8658 case searchBackground::ID:
8659 func(static_cast<searchBackground &>(obj));
8660 return true;
8661 case searchCallMessages::ID:
8662 func(static_cast<searchCallMessages &>(obj));
8663 return true;
8664 case searchChatAffiliateProgram::ID:
8665 func(static_cast<searchChatAffiliateProgram &>(obj));
8666 return true;
8667 case searchChatMembers::ID:
8668 func(static_cast<searchChatMembers &>(obj));
8669 return true;
8670 case searchChatMessages::ID:
8671 func(static_cast<searchChatMessages &>(obj));
8672 return true;
8673 case searchChatRecentLocationMessages::ID:
8674 func(static_cast<searchChatRecentLocationMessages &>(obj));
8675 return true;
8676 case searchChats::ID:
8677 func(static_cast<searchChats &>(obj));
8678 return true;
8679 case searchChatsOnServer::ID:
8680 func(static_cast<searchChatsOnServer &>(obj));
8681 return true;
8682 case searchContacts::ID:
8683 func(static_cast<searchContacts &>(obj));
8684 return true;
8685 case searchEmojis::ID:
8686 func(static_cast<searchEmojis &>(obj));
8687 return true;
8688 case searchFileDownloads::ID:
8689 func(static_cast<searchFileDownloads &>(obj));
8690 return true;
8691 case searchGiftsForResale::ID:
8692 func(static_cast<searchGiftsForResale &>(obj));
8693 return true;
8694 case searchHashtags::ID:
8695 func(static_cast<searchHashtags &>(obj));
8696 return true;
8697 case searchInstalledStickerSets::ID:
8698 func(static_cast<searchInstalledStickerSets &>(obj));
8699 return true;
8700 case searchMessages::ID:
8701 func(static_cast<searchMessages &>(obj));
8702 return true;
8703 case searchOutgoingDocumentMessages::ID:
8704 func(static_cast<searchOutgoingDocumentMessages &>(obj));
8705 return true;
8706 case searchPublicChat::ID:
8707 func(static_cast<searchPublicChat &>(obj));
8708 return true;
8709 case searchPublicChats::ID:
8710 func(static_cast<searchPublicChats &>(obj));
8711 return true;
8712 case searchPublicMessagesByTag::ID:
8713 func(static_cast<searchPublicMessagesByTag &>(obj));
8714 return true;
8715 case searchPublicPosts::ID:
8716 func(static_cast<searchPublicPosts &>(obj));
8717 return true;
8718 case searchPublicStoriesByLocation::ID:
8719 func(static_cast<searchPublicStoriesByLocation &>(obj));
8720 return true;
8721 case searchPublicStoriesByTag::ID:
8722 func(static_cast<searchPublicStoriesByTag &>(obj));
8723 return true;
8724 case searchPublicStoriesByVenue::ID:
8725 func(static_cast<searchPublicStoriesByVenue &>(obj));
8726 return true;
8727 case searchQuote::ID:
8728 func(static_cast<searchQuote &>(obj));
8729 return true;
8730 case searchRecentlyFoundChats::ID:
8731 func(static_cast<searchRecentlyFoundChats &>(obj));
8732 return true;
8733 case searchSavedMessages::ID:
8734 func(static_cast<searchSavedMessages &>(obj));
8735 return true;
8736 case searchSecretMessages::ID:
8737 func(static_cast<searchSecretMessages &>(obj));
8738 return true;
8739 case searchStickerSet::ID:
8740 func(static_cast<searchStickerSet &>(obj));
8741 return true;
8742 case searchStickerSets::ID:
8743 func(static_cast<searchStickerSets &>(obj));
8744 return true;
8745 case searchStickers::ID:
8746 func(static_cast<searchStickers &>(obj));
8747 return true;
8748 case searchStringsByPrefix::ID:
8749 func(static_cast<searchStringsByPrefix &>(obj));
8750 return true;
8751 case searchTextCompositionStyle::ID:
8752 func(static_cast<searchTextCompositionStyle &>(obj));
8753 return true;
8754 case searchUserByPhoneNumber::ID:
8755 func(static_cast<searchUserByPhoneNumber &>(obj));
8756 return true;
8757 case searchUserByToken::ID:
8758 func(static_cast<searchUserByToken &>(obj));
8759 return true;
8760 case searchWebApp::ID:
8761 func(static_cast<searchWebApp &>(obj));
8762 return true;
8763 case sellGift::ID:
8764 func(static_cast<sellGift &>(obj));
8765 return true;
8766 case sendAuthenticationFirebaseSms::ID:
8767 func(static_cast<sendAuthenticationFirebaseSms &>(obj));
8768 return true;
8769 case sendBotStartMessage::ID:
8770 func(static_cast<sendBotStartMessage &>(obj));
8771 return true;
8772 case sendBusinessMessage::ID:
8773 func(static_cast<sendBusinessMessage &>(obj));
8774 return true;
8775 case sendBusinessMessageAlbum::ID:
8776 func(static_cast<sendBusinessMessageAlbum &>(obj));
8777 return true;
8778 case sendCallDebugInformation::ID:
8779 func(static_cast<sendCallDebugInformation &>(obj));
8780 return true;
8781 case sendCallLog::ID:
8782 func(static_cast<sendCallLog &>(obj));
8783 return true;
8784 case sendCallRating::ID:
8785 func(static_cast<sendCallRating &>(obj));
8786 return true;
8787 case sendCallSignalingData::ID:
8788 func(static_cast<sendCallSignalingData &>(obj));
8789 return true;
8790 case sendChatAction::ID:
8791 func(static_cast<sendChatAction &>(obj));
8792 return true;
8793 case sendCustomRequest::ID:
8794 func(static_cast<sendCustomRequest &>(obj));
8795 return true;
8796 case sendEmailAddressVerificationCode::ID:
8797 func(static_cast<sendEmailAddressVerificationCode &>(obj));
8798 return true;
8799 case sendEphemeralMessage::ID:
8800 func(static_cast<sendEphemeralMessage &>(obj));
8801 return true;
8802 case sendGift::ID:
8803 func(static_cast<sendGift &>(obj));
8804 return true;
8805 case sendGiftPurchaseOffer::ID:
8806 func(static_cast<sendGiftPurchaseOffer &>(obj));
8807 return true;
8808 case sendGroupCallMessage::ID:
8809 func(static_cast<sendGroupCallMessage &>(obj));
8810 return true;
8811 case sendInlineQueryResultMessage::ID:
8812 func(static_cast<sendInlineQueryResultMessage &>(obj));
8813 return true;
8814 case sendMessage::ID:
8815 func(static_cast<sendMessage &>(obj));
8816 return true;
8817 case sendMessageAlbum::ID:
8818 func(static_cast<sendMessageAlbum &>(obj));
8819 return true;
8820 case sendMessageViewMetrics::ID:
8821 func(static_cast<sendMessageViewMetrics &>(obj));
8822 return true;
8823 case sendPassportAuthorizationForm::ID:
8824 func(static_cast<sendPassportAuthorizationForm &>(obj));
8825 return true;
8826 case sendPaymentForm::ID:
8827 func(static_cast<sendPaymentForm &>(obj));
8828 return true;
8829 case sendPhoneNumberCode::ID:
8830 func(static_cast<sendPhoneNumberCode &>(obj));
8831 return true;
8832 case sendPhoneNumberFirebaseSms::ID:
8833 func(static_cast<sendPhoneNumberFirebaseSms &>(obj));
8834 return true;
8835 case sendQuickReplyShortcutMessages::ID:
8836 func(static_cast<sendQuickReplyShortcutMessages &>(obj));
8837 return true;
8838 case sendResoldGift::ID:
8839 func(static_cast<sendResoldGift &>(obj));
8840 return true;
8841 case sendRichMessageDraft::ID:
8842 func(static_cast<sendRichMessageDraft &>(obj));
8843 return true;
8844 case sendTextMessageDraft::ID:
8845 func(static_cast<sendTextMessageDraft &>(obj));
8846 return true;
8847 case sendWebAppCustomRequest::ID:
8848 func(static_cast<sendWebAppCustomRequest &>(obj));
8849 return true;
8850 case sendWebAppData::ID:
8851 func(static_cast<sendWebAppData &>(obj));
8852 return true;
8853 case setAccentColor::ID:
8854 func(static_cast<setAccentColor &>(obj));
8855 return true;
8856 case setAccountTtl::ID:
8857 func(static_cast<setAccountTtl &>(obj));
8858 return true;
8859 case setAlarm::ID:
8860 func(static_cast<setAlarm &>(obj));
8861 return true;
8862 case setApplicationVerificationToken::ID:
8863 func(static_cast<setApplicationVerificationToken &>(obj));
8864 return true;
8865 case setArchiveChatListSettings::ID:
8866 func(static_cast<setArchiveChatListSettings &>(obj));
8867 return true;
8868 case setAuthenticationEmailAddress::ID:
8869 func(static_cast<setAuthenticationEmailAddress &>(obj));
8870 return true;
8871 case setAuthenticationPhoneNumber::ID:
8872 func(static_cast<setAuthenticationPhoneNumber &>(obj));
8873 return true;
8874 case setAuthenticationPremiumPurchaseTransaction::ID:
8875 func(static_cast<setAuthenticationPremiumPurchaseTransaction &>(obj));
8876 return true;
8877 case setAutoDownloadSettings::ID:
8878 func(static_cast<setAutoDownloadSettings &>(obj));
8879 return true;
8880 case setAutosaveSettings::ID:
8881 func(static_cast<setAutosaveSettings &>(obj));
8882 return true;
8883 case setBio::ID:
8884 func(static_cast<setBio &>(obj));
8885 return true;
8886 case setBirthdate::ID:
8887 func(static_cast<setBirthdate &>(obj));
8888 return true;
8889 case setBotInfoDescription::ID:
8890 func(static_cast<setBotInfoDescription &>(obj));
8891 return true;
8892 case setBotInfoShortDescription::ID:
8893 func(static_cast<setBotInfoShortDescription &>(obj));
8894 return true;
8895 case setBotName::ID:
8896 func(static_cast<setBotName &>(obj));
8897 return true;
8898 case setBotProfilePhoto::ID:
8899 func(static_cast<setBotProfilePhoto &>(obj));
8900 return true;
8901 case setBotUpdatesStatus::ID:
8902 func(static_cast<setBotUpdatesStatus &>(obj));
8903 return true;
8904 case setBusinessAccountBio::ID:
8905 func(static_cast<setBusinessAccountBio &>(obj));
8906 return true;
8907 case setBusinessAccountGiftSettings::ID:
8908 func(static_cast<setBusinessAccountGiftSettings &>(obj));
8909 return true;
8910 case setBusinessAccountName::ID:
8911 func(static_cast<setBusinessAccountName &>(obj));
8912 return true;
8913 case setBusinessAccountProfilePhoto::ID:
8914 func(static_cast<setBusinessAccountProfilePhoto &>(obj));
8915 return true;
8916 case setBusinessAccountUsername::ID:
8917 func(static_cast<setBusinessAccountUsername &>(obj));
8918 return true;
8919 case setBusinessAwayMessageSettings::ID:
8920 func(static_cast<setBusinessAwayMessageSettings &>(obj));
8921 return true;
8922 case setBusinessConnectedBot::ID:
8923 func(static_cast<setBusinessConnectedBot &>(obj));
8924 return true;
8925 case setBusinessGreetingMessageSettings::ID:
8926 func(static_cast<setBusinessGreetingMessageSettings &>(obj));
8927 return true;
8928 case setBusinessLocation::ID:
8929 func(static_cast<setBusinessLocation &>(obj));
8930 return true;
8931 case setBusinessMessageIsPinned::ID:
8932 func(static_cast<setBusinessMessageIsPinned &>(obj));
8933 return true;
8934 case setBusinessOpeningHours::ID:
8935 func(static_cast<setBusinessOpeningHours &>(obj));
8936 return true;
8937 case setBusinessStartPage::ID:
8938 func(static_cast<setBusinessStartPage &>(obj));
8939 return true;
8940 case setChatAccentColor::ID:
8941 func(static_cast<setChatAccentColor &>(obj));
8942 return true;
8943 case setChatActiveStoriesList::ID:
8944 func(static_cast<setChatActiveStoriesList &>(obj));
8945 return true;
8946 case setChatAffiliateProgram::ID:
8947 func(static_cast<setChatAffiliateProgram &>(obj));
8948 return true;
8949 case setChatAvailableReactions::ID:
8950 func(static_cast<setChatAvailableReactions &>(obj));
8951 return true;
8952 case setChatBackground::ID:
8953 func(static_cast<setChatBackground &>(obj));
8954 return true;
8955 case setChatClientData::ID:
8956 func(static_cast<setChatClientData &>(obj));
8957 return true;
8958 case setChatDescription::ID:
8959 func(static_cast<setChatDescription &>(obj));
8960 return true;
8961 case setChatDirectMessagesGroup::ID:
8962 func(static_cast<setChatDirectMessagesGroup &>(obj));
8963 return true;
8964 case setChatDiscussionGroup::ID:
8965 func(static_cast<setChatDiscussionGroup &>(obj));
8966 return true;
8967 case setChatDraftMessage::ID:
8968 func(static_cast<setChatDraftMessage &>(obj));
8969 return true;
8970 case setChatEmojiStatus::ID:
8971 func(static_cast<setChatEmojiStatus &>(obj));
8972 return true;
8973 case setChatLocation::ID:
8974 func(static_cast<setChatLocation &>(obj));
8975 return true;
8976 case setChatMemberStatus::ID:
8977 func(static_cast<setChatMemberStatus &>(obj));
8978 return true;
8979 case setChatMemberTag::ID:
8980 func(static_cast<setChatMemberTag &>(obj));
8981 return true;
8982 case setChatMessageAutoDeleteTime::ID:
8983 func(static_cast<setChatMessageAutoDeleteTime &>(obj));
8984 return true;
8985 case setChatMessageSender::ID:
8986 func(static_cast<setChatMessageSender &>(obj));
8987 return true;
8988 case setChatNotificationSettings::ID:
8989 func(static_cast<setChatNotificationSettings &>(obj));
8990 return true;
8991 case setChatPaidMessageStarCount::ID:
8992 func(static_cast<setChatPaidMessageStarCount &>(obj));
8993 return true;
8994 case setChatPermissions::ID:
8995 func(static_cast<setChatPermissions &>(obj));
8996 return true;
8997 case setChatPhoto::ID:
8998 func(static_cast<setChatPhoto &>(obj));
8999 return true;
9000 case setChatPinnedStories::ID:
9001 func(static_cast<setChatPinnedStories &>(obj));
9002 return true;
9003 case setChatProfileAccentColor::ID:
9004 func(static_cast<setChatProfileAccentColor &>(obj));
9005 return true;
9006 case setChatSlowModeDelay::ID:
9007 func(static_cast<setChatSlowModeDelay &>(obj));
9008 return true;
9009 case setChatTheme::ID:
9010 func(static_cast<setChatTheme &>(obj));
9011 return true;
9012 case setChatTitle::ID:
9013 func(static_cast<setChatTitle &>(obj));
9014 return true;
9015 case setCloseFriends::ID:
9016 func(static_cast<setCloseFriends &>(obj));
9017 return true;
9018 case setCommands::ID:
9019 func(static_cast<setCommands &>(obj));
9020 return true;
9021 case setCustomEmojiStickerSetThumbnail::ID:
9022 func(static_cast<setCustomEmojiStickerSetThumbnail &>(obj));
9023 return true;
9024 case setCustomLanguagePack::ID:
9025 func(static_cast<setCustomLanguagePack &>(obj));
9026 return true;
9027 case setCustomLanguagePackString::ID:
9028 func(static_cast<setCustomLanguagePackString &>(obj));
9029 return true;
9030 case setDatabaseEncryptionKey::ID:
9031 func(static_cast<setDatabaseEncryptionKey &>(obj));
9032 return true;
9033 case setDefaultBackground::ID:
9034 func(static_cast<setDefaultBackground &>(obj));
9035 return true;
9036 case setDefaultChannelAdministratorRights::ID:
9037 func(static_cast<setDefaultChannelAdministratorRights &>(obj));
9038 return true;
9039 case setDefaultGroupAdministratorRights::ID:
9040 func(static_cast<setDefaultGroupAdministratorRights &>(obj));
9041 return true;
9042 case setDefaultMessageAutoDeleteTime::ID:
9043 func(static_cast<setDefaultMessageAutoDeleteTime &>(obj));
9044 return true;
9045 case setDefaultReactionType::ID:
9046 func(static_cast<setDefaultReactionType &>(obj));
9047 return true;
9048 case setDirectMessagesChatTopicIsMarkedAsUnread::ID:
9049 func(static_cast<setDirectMessagesChatTopicIsMarkedAsUnread &>(obj));
9050 return true;
9051 case setEmojiStatus::ID:
9052 func(static_cast<setEmojiStatus &>(obj));
9053 return true;
9054 case setFileGenerationProgress::ID:
9055 func(static_cast<setFileGenerationProgress &>(obj));
9056 return true;
9057 case setForumTopicNotificationSettings::ID:
9058 func(static_cast<setForumTopicNotificationSettings &>(obj));
9059 return true;
9060 case setGameScore::ID:
9061 func(static_cast<setGameScore &>(obj));
9062 return true;
9063 case setGiftCollectionName::ID:
9064 func(static_cast<setGiftCollectionName &>(obj));
9065 return true;
9066 case setGiftResalePrice::ID:
9067 func(static_cast<setGiftResalePrice &>(obj));
9068 return true;
9069 case setGiftSettings::ID:
9070 func(static_cast<setGiftSettings &>(obj));
9071 return true;
9072 case setGroupCallPaidMessageStarCount::ID:
9073 func(static_cast<setGroupCallPaidMessageStarCount &>(obj));
9074 return true;
9075 case setGroupCallParticipantIsSpeaking::ID:
9076 func(static_cast<setGroupCallParticipantIsSpeaking &>(obj));
9077 return true;
9078 case setGroupCallParticipantVolumeLevel::ID:
9079 func(static_cast<setGroupCallParticipantVolumeLevel &>(obj));
9080 return true;
9081 case setInactiveSessionTtl::ID:
9082 func(static_cast<setInactiveSessionTtl &>(obj));
9083 return true;
9084 case setInlineGameScore::ID:
9085 func(static_cast<setInlineGameScore &>(obj));
9086 return true;
9087 case setLiveStoryMessageSender::ID:
9088 func(static_cast<setLiveStoryMessageSender &>(obj));
9089 return true;
9090 case setLogStream::ID:
9091 func(static_cast<setLogStream &>(obj));
9092 return true;
9093 case setLogTagVerbosityLevel::ID:
9094 func(static_cast<setLogTagVerbosityLevel &>(obj));
9095 return true;
9096 case setLogVerbosityLevel::ID:
9097 func(static_cast<setLogVerbosityLevel &>(obj));
9098 return true;
9099 case setLoginEmailAddress::ID:
9100 func(static_cast<setLoginEmailAddress &>(obj));
9101 return true;
9102 case setMainProfileTab::ID:
9103 func(static_cast<setMainProfileTab &>(obj));
9104 return true;
9105 case setManagedBotAccessSettings::ID:
9106 func(static_cast<setManagedBotAccessSettings &>(obj));
9107 return true;
9108 case setMenuButton::ID:
9109 func(static_cast<setMenuButton &>(obj));
9110 return true;
9111 case setMessageFactCheck::ID:
9112 func(static_cast<setMessageFactCheck &>(obj));
9113 return true;
9114 case setMessageReactions::ID:
9115 func(static_cast<setMessageReactions &>(obj));
9116 return true;
9117 case setMessageSenderBlockList::ID:
9118 func(static_cast<setMessageSenderBlockList &>(obj));
9119 return true;
9120 case setMessageSenderBotVerification::ID:
9121 func(static_cast<setMessageSenderBotVerification &>(obj));
9122 return true;
9123 case setName::ID:
9124 func(static_cast<setName &>(obj));
9125 return true;
9126 case setNetworkType::ID:
9127 func(static_cast<setNetworkType &>(obj));
9128 return true;
9129 case setNewChatPrivacySettings::ID:
9130 func(static_cast<setNewChatPrivacySettings &>(obj));
9131 return true;
9132 case setOption::ID:
9133 func(static_cast<setOption &>(obj));
9134 return true;
9135 case setPaidMessageReactionType::ID:
9136 func(static_cast<setPaidMessageReactionType &>(obj));
9137 return true;
9138 case setPassportElement::ID:
9139 func(static_cast<setPassportElement &>(obj));
9140 return true;
9141 case setPassportElementErrors::ID:
9142 func(static_cast<setPassportElementErrors &>(obj));
9143 return true;
9144 case setPassword::ID:
9145 func(static_cast<setPassword &>(obj));
9146 return true;
9147 case setPersonalChat::ID:
9148 func(static_cast<setPersonalChat &>(obj));
9149 return true;
9150 case setPinnedChats::ID:
9151 func(static_cast<setPinnedChats &>(obj));
9152 return true;
9153 case setPinnedForumTopics::ID:
9154 func(static_cast<setPinnedForumTopics &>(obj));
9155 return true;
9156 case setPinnedGifts::ID:
9157 func(static_cast<setPinnedGifts &>(obj));
9158 return true;
9159 case setPinnedSavedMessagesTopics::ID:
9160 func(static_cast<setPinnedSavedMessagesTopics &>(obj));
9161 return true;
9162 case setPollAnswer::ID:
9163 func(static_cast<setPollAnswer &>(obj));
9164 return true;
9165 case setProfileAccentColor::ID:
9166 func(static_cast<setProfileAccentColor &>(obj));
9167 return true;
9168 case setProfileAudioPosition::ID:
9169 func(static_cast<setProfileAudioPosition &>(obj));
9170 return true;
9171 case setProfilePhoto::ID:
9172 func(static_cast<setProfilePhoto &>(obj));
9173 return true;
9174 case setQuickReplyShortcutName::ID:
9175 func(static_cast<setQuickReplyShortcutName &>(obj));
9176 return true;
9177 case setReactionNotificationSettings::ID:
9178 func(static_cast<setReactionNotificationSettings &>(obj));
9179 return true;
9180 case setReadDatePrivacySettings::ID:
9181 func(static_cast<setReadDatePrivacySettings &>(obj));
9182 return true;
9183 case setRecoveryEmailAddress::ID:
9184 func(static_cast<setRecoveryEmailAddress &>(obj));
9185 return true;
9186 case setSavedMessagesTagLabel::ID:
9187 func(static_cast<setSavedMessagesTagLabel &>(obj));
9188 return true;
9189 case setScopeNotificationSettings::ID:
9190 func(static_cast<setScopeNotificationSettings &>(obj));
9191 return true;
9192 case setStickerEmojis::ID:
9193 func(static_cast<setStickerEmojis &>(obj));
9194 return true;
9195 case setStickerKeywords::ID:
9196 func(static_cast<setStickerKeywords &>(obj));
9197 return true;
9198 case setStickerMaskPosition::ID:
9199 func(static_cast<setStickerMaskPosition &>(obj));
9200 return true;
9201 case setStickerPositionInSet::ID:
9202 func(static_cast<setStickerPositionInSet &>(obj));
9203 return true;
9204 case setStickerSetThumbnail::ID:
9205 func(static_cast<setStickerSetThumbnail &>(obj));
9206 return true;
9207 case setStickerSetTitle::ID:
9208 func(static_cast<setStickerSetTitle &>(obj));
9209 return true;
9210 case setStoryAlbumName::ID:
9211 func(static_cast<setStoryAlbumName &>(obj));
9212 return true;
9213 case setStoryPrivacySettings::ID:
9214 func(static_cast<setStoryPrivacySettings &>(obj));
9215 return true;
9216 case setStoryReaction::ID:
9217 func(static_cast<setStoryReaction &>(obj));
9218 return true;
9219 case setSupergroupCustomEmojiStickerSet::ID:
9220 func(static_cast<setSupergroupCustomEmojiStickerSet &>(obj));
9221 return true;
9222 case setSupergroupMainProfileTab::ID:
9223 func(static_cast<setSupergroupMainProfileTab &>(obj));
9224 return true;
9225 case setSupergroupStickerSet::ID:
9226 func(static_cast<setSupergroupStickerSet &>(obj));
9227 return true;
9228 case setSupergroupUnrestrictBoostCount::ID:
9229 func(static_cast<setSupergroupUnrestrictBoostCount &>(obj));
9230 return true;
9231 case setSupergroupUsername::ID:
9232 func(static_cast<setSupergroupUsername &>(obj));
9233 return true;
9234 case setTdlibParameters::ID:
9235 func(static_cast<setTdlibParameters &>(obj));
9236 return true;
9237 case setUpgradedGiftColors::ID:
9238 func(static_cast<setUpgradedGiftColors &>(obj));
9239 return true;
9240 case setUserEmojiStatus::ID:
9241 func(static_cast<setUserEmojiStatus &>(obj));
9242 return true;
9243 case setUserNote::ID:
9244 func(static_cast<setUserNote &>(obj));
9245 return true;
9246 case setUserPersonalProfilePhoto::ID:
9247 func(static_cast<setUserPersonalProfilePhoto &>(obj));
9248 return true;
9249 case setUserPrivacySettingRules::ID:
9250 func(static_cast<setUserPrivacySettingRules &>(obj));
9251 return true;
9252 case setUserSupportInfo::ID:
9253 func(static_cast<setUserSupportInfo &>(obj));
9254 return true;
9255 case setUsername::ID:
9256 func(static_cast<setUsername &>(obj));
9257 return true;
9258 case setVideoChatDefaultParticipant::ID:
9259 func(static_cast<setVideoChatDefaultParticipant &>(obj));
9260 return true;
9261 case setVideoChatTitle::ID:
9262 func(static_cast<setVideoChatTitle &>(obj));
9263 return true;
9264 case shareChatWithBot::ID:
9265 func(static_cast<shareChatWithBot &>(obj));
9266 return true;
9267 case sharePhoneNumber::ID:
9268 func(static_cast<sharePhoneNumber &>(obj));
9269 return true;
9270 case shareUsersWithBot::ID:
9271 func(static_cast<shareUsersWithBot &>(obj));
9272 return true;
9273 case startGroupCallRecording::ID:
9274 func(static_cast<startGroupCallRecording &>(obj));
9275 return true;
9276 case startGroupCallScreenSharing::ID:
9277 func(static_cast<startGroupCallScreenSharing &>(obj));
9278 return true;
9279 case startLiveStory::ID:
9280 func(static_cast<startLiveStory &>(obj));
9281 return true;
9282 case startScheduledVideoChat::ID:
9283 func(static_cast<startScheduledVideoChat &>(obj));
9284 return true;
9285 case stopBusinessPoll::ID:
9286 func(static_cast<stopBusinessPoll &>(obj));
9287 return true;
9288 case stopPoll::ID:
9289 func(static_cast<stopPoll &>(obj));
9290 return true;
9291 case suggestUserBirthdate::ID:
9292 func(static_cast<suggestUserBirthdate &>(obj));
9293 return true;
9294 case suggestUserProfilePhoto::ID:
9295 func(static_cast<suggestUserProfilePhoto &>(obj));
9296 return true;
9297 case summarizeMessage::ID:
9298 func(static_cast<summarizeMessage &>(obj));
9299 return true;
9300 case synchronizeLanguagePack::ID:
9301 func(static_cast<synchronizeLanguagePack &>(obj));
9302 return true;
9303 case terminateAllOtherSessions::ID:
9304 func(static_cast<terminateAllOtherSessions &>(obj));
9305 return true;
9306 case terminateSession::ID:
9307 func(static_cast<terminateSession &>(obj));
9308 return true;
9309 case testCallBytes::ID:
9310 func(static_cast<testCallBytes &>(obj));
9311 return true;
9312 case testCallEmpty::ID:
9313 func(static_cast<testCallEmpty &>(obj));
9314 return true;
9315 case testCallString::ID:
9316 func(static_cast<testCallString &>(obj));
9317 return true;
9318 case testCallVectorInt::ID:
9319 func(static_cast<testCallVectorInt &>(obj));
9320 return true;
9321 case testCallVectorIntObject::ID:
9322 func(static_cast<testCallVectorIntObject &>(obj));
9323 return true;
9324 case testCallVectorString::ID:
9325 func(static_cast<testCallVectorString &>(obj));
9326 return true;
9327 case testCallVectorStringObject::ID:
9328 func(static_cast<testCallVectorStringObject &>(obj));
9329 return true;
9330 case testGetDifference::ID:
9331 func(static_cast<testGetDifference &>(obj));
9332 return true;
9333 case testNetwork::ID:
9334 func(static_cast<testNetwork &>(obj));
9335 return true;
9336 case testProxy::ID:
9337 func(static_cast<testProxy &>(obj));
9338 return true;
9339 case testReturnError::ID:
9340 func(static_cast<testReturnError &>(obj));
9341 return true;
9342 case testSquareInt::ID:
9343 func(static_cast<testSquareInt &>(obj));
9344 return true;
9345 case testUseUpdate::ID:
9346 func(static_cast<testUseUpdate &>(obj));
9347 return true;
9348 case toggleAllDownloadsArePaused::ID:
9349 func(static_cast<toggleAllDownloadsArePaused &>(obj));
9350 return true;
9351 case toggleBotCanManageEmojiStatus::ID:
9352 func(static_cast<toggleBotCanManageEmojiStatus &>(obj));
9353 return true;
9354 case toggleBotIsAddedToAttachmentMenu::ID:
9355 func(static_cast<toggleBotIsAddedToAttachmentMenu &>(obj));
9356 return true;
9357 case toggleBotUsernameIsActive::ID:
9358 func(static_cast<toggleBotUsernameIsActive &>(obj));
9359 return true;
9360 case toggleBusinessConnectedBotChatIsPaused::ID:
9361 func(static_cast<toggleBusinessConnectedBotChatIsPaused &>(obj));
9362 return true;
9363 case toggleChatDefaultDisableNotification::ID:
9364 func(static_cast<toggleChatDefaultDisableNotification &>(obj));
9365 return true;
9366 case toggleChatFolderTags::ID:
9367 func(static_cast<toggleChatFolderTags &>(obj));
9368 return true;
9369 case toggleChatGiftNotifications::ID:
9370 func(static_cast<toggleChatGiftNotifications &>(obj));
9371 return true;
9372 case toggleChatHasProtectedContent::ID:
9373 func(static_cast<toggleChatHasProtectedContent &>(obj));
9374 return true;
9375 case toggleChatIsMarkedAsUnread::ID:
9376 func(static_cast<toggleChatIsMarkedAsUnread &>(obj));
9377 return true;
9378 case toggleChatIsPinned::ID:
9379 func(static_cast<toggleChatIsPinned &>(obj));
9380 return true;
9381 case toggleChatIsTranslatable::ID:
9382 func(static_cast<toggleChatIsTranslatable &>(obj));
9383 return true;
9384 case toggleChatViewAsTopics::ID:
9385 func(static_cast<toggleChatViewAsTopics &>(obj));
9386 return true;
9387 case toggleDirectMessagesChatTopicCanSendUnpaidMessages::ID:
9389 return true;
9390 case toggleDownloadIsPaused::ID:
9391 func(static_cast<toggleDownloadIsPaused &>(obj));
9392 return true;
9393 case toggleForumTopicIsClosed::ID:
9394 func(static_cast<toggleForumTopicIsClosed &>(obj));
9395 return true;
9396 case toggleForumTopicIsPinned::ID:
9397 func(static_cast<toggleForumTopicIsPinned &>(obj));
9398 return true;
9399 case toggleGeneralForumTopicIsHidden::ID:
9400 func(static_cast<toggleGeneralForumTopicIsHidden &>(obj));
9401 return true;
9402 case toggleGiftIsSaved::ID:
9403 func(static_cast<toggleGiftIsSaved &>(obj));
9404 return true;
9405 case toggleGroupCallAreMessagesAllowed::ID:
9406 func(static_cast<toggleGroupCallAreMessagesAllowed &>(obj));
9407 return true;
9408 case toggleGroupCallIsMyVideoEnabled::ID:
9409 func(static_cast<toggleGroupCallIsMyVideoEnabled &>(obj));
9410 return true;
9411 case toggleGroupCallIsMyVideoPaused::ID:
9412 func(static_cast<toggleGroupCallIsMyVideoPaused &>(obj));
9413 return true;
9414 case toggleGroupCallParticipantIsHandRaised::ID:
9415 func(static_cast<toggleGroupCallParticipantIsHandRaised &>(obj));
9416 return true;
9417 case toggleGroupCallParticipantIsMuted::ID:
9418 func(static_cast<toggleGroupCallParticipantIsMuted &>(obj));
9419 return true;
9420 case toggleGroupCallScreenSharingIsPaused::ID:
9421 func(static_cast<toggleGroupCallScreenSharingIsPaused &>(obj));
9422 return true;
9423 case toggleHasSponsoredMessagesEnabled::ID:
9424 func(static_cast<toggleHasSponsoredMessagesEnabled &>(obj));
9425 return true;
9426 case toggleSavedMessagesTopicIsPinned::ID:
9427 func(static_cast<toggleSavedMessagesTopicIsPinned &>(obj));
9428 return true;
9429 case toggleSessionCanAcceptCalls::ID:
9430 func(static_cast<toggleSessionCanAcceptCalls &>(obj));
9431 return true;
9432 case toggleSessionCanAcceptSecretChats::ID:
9433 func(static_cast<toggleSessionCanAcceptSecretChats &>(obj));
9434 return true;
9435 case toggleStoryIsPostedToChatPage::ID:
9436 func(static_cast<toggleStoryIsPostedToChatPage &>(obj));
9437 return true;
9438 case toggleSupergroupCanHaveSponsoredMessages::ID:
9439 func(static_cast<toggleSupergroupCanHaveSponsoredMessages &>(obj));
9440 return true;
9441 case toggleSupergroupHasAggressiveAntiSpamEnabled::ID:
9442 func(static_cast<toggleSupergroupHasAggressiveAntiSpamEnabled &>(obj));
9443 return true;
9444 case toggleSupergroupHasAutomaticTranslation::ID:
9445 func(static_cast<toggleSupergroupHasAutomaticTranslation &>(obj));
9446 return true;
9447 case toggleSupergroupHasHiddenMembers::ID:
9448 func(static_cast<toggleSupergroupHasHiddenMembers &>(obj));
9449 return true;
9450 case toggleSupergroupIsAllHistoryAvailable::ID:
9451 func(static_cast<toggleSupergroupIsAllHistoryAvailable &>(obj));
9452 return true;
9453 case toggleSupergroupIsBroadcastGroup::ID:
9454 func(static_cast<toggleSupergroupIsBroadcastGroup &>(obj));
9455 return true;
9456 case toggleSupergroupIsForum::ID:
9457 func(static_cast<toggleSupergroupIsForum &>(obj));
9458 return true;
9459 case toggleSupergroupJoinByRequest::ID:
9460 func(static_cast<toggleSupergroupJoinByRequest &>(obj));
9461 return true;
9462 case toggleSupergroupJoinToSendMessages::ID:
9463 func(static_cast<toggleSupergroupJoinToSendMessages &>(obj));
9464 return true;
9465 case toggleSupergroupSignMessages::ID:
9466 func(static_cast<toggleSupergroupSignMessages &>(obj));
9467 return true;
9468 case toggleSupergroupUsernameIsActive::ID:
9469 func(static_cast<toggleSupergroupUsernameIsActive &>(obj));
9470 return true;
9471 case toggleUsernameIsActive::ID:
9472 func(static_cast<toggleUsernameIsActive &>(obj));
9473 return true;
9474 case toggleVideoChatEnabledStartNotification::ID:
9475 func(static_cast<toggleVideoChatEnabledStartNotification &>(obj));
9476 return true;
9477 case toggleVideoChatMuteNewParticipants::ID:
9478 func(static_cast<toggleVideoChatMuteNewParticipants &>(obj));
9479 return true;
9480 case transferBusinessAccountStars::ID:
9481 func(static_cast<transferBusinessAccountStars &>(obj));
9482 return true;
9483 case transferChatOwnership::ID:
9484 func(static_cast<transferChatOwnership &>(obj));
9485 return true;
9486 case transferGift::ID:
9487 func(static_cast<transferGift &>(obj));
9488 return true;
9489 case translateMessageRichMessage::ID:
9490 func(static_cast<translateMessageRichMessage &>(obj));
9491 return true;
9492 case translateMessageText::ID:
9493 func(static_cast<translateMessageText &>(obj));
9494 return true;
9495 case translateRichMessage::ID:
9496 func(static_cast<translateRichMessage &>(obj));
9497 return true;
9498 case translateText::ID:
9499 func(static_cast<translateText &>(obj));
9500 return true;
9501 case unpinAllChatMessages::ID:
9502 func(static_cast<unpinAllChatMessages &>(obj));
9503 return true;
9504 case unpinAllDirectMessagesChatTopicMessages::ID:
9505 func(static_cast<unpinAllDirectMessagesChatTopicMessages &>(obj));
9506 return true;
9507 case unpinAllForumTopicMessages::ID:
9508 func(static_cast<unpinAllForumTopicMessages &>(obj));
9509 return true;
9510 case unpinChatMessage::ID:
9511 func(static_cast<unpinChatMessage &>(obj));
9512 return true;
9513 case upgradeBasicGroupChatToSupergroupChat::ID:
9514 func(static_cast<upgradeBasicGroupChatToSupergroupChat &>(obj));
9515 return true;
9516 case upgradeGift::ID:
9517 func(static_cast<upgradeGift &>(obj));
9518 return true;
9519 case uploadStickerFile::ID:
9520 func(static_cast<uploadStickerFile &>(obj));
9521 return true;
9522 case validateOrderInfo::ID:
9523 func(static_cast<validateOrderInfo &>(obj));
9524 return true;
9525 case viewMessages::ID:
9526 func(static_cast<viewMessages &>(obj));
9527 return true;
9528 case viewPremiumFeature::ID:
9529 func(static_cast<viewPremiumFeature &>(obj));
9530 return true;
9531 case viewSponsoredChat::ID:
9532 func(static_cast<viewSponsoredChat &>(obj));
9533 return true;
9534 case viewTrendingStickerSets::ID:
9535 func(static_cast<viewTrendingStickerSets &>(obj));
9536 return true;
9537 case viewVideoMessageAdvertisement::ID:
9538 func(static_cast<viewVideoMessageAdvertisement &>(obj));
9539 return true;
9540 case writeGeneratedFilePart::ID:
9541 func(static_cast<writeGeneratedFilePart &>(obj));
9542 return true;
9543 default:
9544 return false;
9545 }
9546}
9547
9554template <class T>
9555bool downcast_call(ActiveStoryState &obj, const T &func) {
9556 switch (obj.get_id()) {
9557 case activeStoryStateLive::ID:
9558 func(static_cast<activeStoryStateLive &>(obj));
9559 return true;
9560 case activeStoryStateUnread::ID:
9561 func(static_cast<activeStoryStateUnread &>(obj));
9562 return true;
9563 case activeStoryStateRead::ID:
9564 func(static_cast<activeStoryStateRead &>(obj));
9565 return true;
9566 default:
9567 return false;
9568 }
9569}
9570
9577template <class T>
9578bool downcast_call(AffiliateProgramSortOrder &obj, const T &func) {
9579 switch (obj.get_id()) {
9580 case affiliateProgramSortOrderProfitability::ID:
9581 func(static_cast<affiliateProgramSortOrderProfitability &>(obj));
9582 return true;
9583 case affiliateProgramSortOrderCreationDate::ID:
9584 func(static_cast<affiliateProgramSortOrderCreationDate &>(obj));
9585 return true;
9586 case affiliateProgramSortOrderRevenue::ID:
9587 func(static_cast<affiliateProgramSortOrderRevenue &>(obj));
9588 return true;
9589 default:
9590 return false;
9591 }
9592}
9593
9600template <class T>
9601bool downcast_call(AffiliateType &obj, const T &func) {
9602 switch (obj.get_id()) {
9603 case affiliateTypeCurrentUser::ID:
9604 func(static_cast<affiliateTypeCurrentUser &>(obj));
9605 return true;
9606 case affiliateTypeBot::ID:
9607 func(static_cast<affiliateTypeBot &>(obj));
9608 return true;
9609 case affiliateTypeChannel::ID:
9610 func(static_cast<affiliateTypeChannel &>(obj));
9611 return true;
9612 default:
9613 return false;
9614 }
9615}
9616
9623template <class T>
9624bool downcast_call(AuctionState &obj, const T &func) {
9625 switch (obj.get_id()) {
9626 case auctionStateActive::ID:
9627 func(static_cast<auctionStateActive &>(obj));
9628 return true;
9629 case auctionStateFinished::ID:
9630 func(static_cast<auctionStateFinished &>(obj));
9631 return true;
9632 default:
9633 return false;
9634 }
9635}
9636
9643template <class T>
9644bool downcast_call(AuthenticationCodeType &obj, const T &func) {
9645 switch (obj.get_id()) {
9646 case authenticationCodeTypeTelegramMessage::ID:
9647 func(static_cast<authenticationCodeTypeTelegramMessage &>(obj));
9648 return true;
9649 case authenticationCodeTypeSms::ID:
9650 func(static_cast<authenticationCodeTypeSms &>(obj));
9651 return true;
9652 case authenticationCodeTypeSmsWord::ID:
9653 func(static_cast<authenticationCodeTypeSmsWord &>(obj));
9654 return true;
9655 case authenticationCodeTypeSmsPhrase::ID:
9656 func(static_cast<authenticationCodeTypeSmsPhrase &>(obj));
9657 return true;
9658 case authenticationCodeTypeCall::ID:
9659 func(static_cast<authenticationCodeTypeCall &>(obj));
9660 return true;
9661 case authenticationCodeTypeFlashCall::ID:
9662 func(static_cast<authenticationCodeTypeFlashCall &>(obj));
9663 return true;
9664 case authenticationCodeTypeMissedCall::ID:
9665 func(static_cast<authenticationCodeTypeMissedCall &>(obj));
9666 return true;
9667 case authenticationCodeTypeFragment::ID:
9668 func(static_cast<authenticationCodeTypeFragment &>(obj));
9669 return true;
9670 case authenticationCodeTypeFirebaseAndroid::ID:
9671 func(static_cast<authenticationCodeTypeFirebaseAndroid &>(obj));
9672 return true;
9673 case authenticationCodeTypeFirebaseIos::ID:
9674 func(static_cast<authenticationCodeTypeFirebaseIos &>(obj));
9675 return true;
9676 default:
9677 return false;
9678 }
9679}
9680
9687template <class T>
9688bool downcast_call(AuthorizationState &obj, const T &func) {
9689 switch (obj.get_id()) {
9690 case authorizationStateWaitTdlibParameters::ID:
9691 func(static_cast<authorizationStateWaitTdlibParameters &>(obj));
9692 return true;
9693 case authorizationStateWaitPhoneNumber::ID:
9694 func(static_cast<authorizationStateWaitPhoneNumber &>(obj));
9695 return true;
9696 case authorizationStateWaitPremiumPurchase::ID:
9697 func(static_cast<authorizationStateWaitPremiumPurchase &>(obj));
9698 return true;
9699 case authorizationStateWaitEmailAddress::ID:
9700 func(static_cast<authorizationStateWaitEmailAddress &>(obj));
9701 return true;
9702 case authorizationStateWaitEmailCode::ID:
9703 func(static_cast<authorizationStateWaitEmailCode &>(obj));
9704 return true;
9705 case authorizationStateWaitCode::ID:
9706 func(static_cast<authorizationStateWaitCode &>(obj));
9707 return true;
9708 case authorizationStateWaitOtherDeviceConfirmation::ID:
9709 func(static_cast<authorizationStateWaitOtherDeviceConfirmation &>(obj));
9710 return true;
9711 case authorizationStateWaitRegistration::ID:
9712 func(static_cast<authorizationStateWaitRegistration &>(obj));
9713 return true;
9714 case authorizationStateWaitPassword::ID:
9715 func(static_cast<authorizationStateWaitPassword &>(obj));
9716 return true;
9717 case authorizationStateReady::ID:
9718 func(static_cast<authorizationStateReady &>(obj));
9719 return true;
9720 case authorizationStateLoggingOut::ID:
9721 func(static_cast<authorizationStateLoggingOut &>(obj));
9722 return true;
9723 case authorizationStateClosing::ID:
9724 func(static_cast<authorizationStateClosing &>(obj));
9725 return true;
9726 case authorizationStateClosed::ID:
9727 func(static_cast<authorizationStateClosed &>(obj));
9728 return true;
9729 default:
9730 return false;
9731 }
9732}
9733
9740template <class T>
9741bool downcast_call(AutosaveSettingsScope &obj, const T &func) {
9742 switch (obj.get_id()) {
9743 case autosaveSettingsScopePrivateChats::ID:
9744 func(static_cast<autosaveSettingsScopePrivateChats &>(obj));
9745 return true;
9746 case autosaveSettingsScopeGroupChats::ID:
9747 func(static_cast<autosaveSettingsScopeGroupChats &>(obj));
9748 return true;
9749 case autosaveSettingsScopeChannelChats::ID:
9750 func(static_cast<autosaveSettingsScopeChannelChats &>(obj));
9751 return true;
9752 case autosaveSettingsScopeChat::ID:
9753 func(static_cast<autosaveSettingsScopeChat &>(obj));
9754 return true;
9755 default:
9756 return false;
9757 }
9758}
9759
9766template <class T>
9767bool downcast_call(BackgroundFill &obj, const T &func) {
9768 switch (obj.get_id()) {
9769 case backgroundFillSolid::ID:
9770 func(static_cast<backgroundFillSolid &>(obj));
9771 return true;
9772 case backgroundFillGradient::ID:
9773 func(static_cast<backgroundFillGradient &>(obj));
9774 return true;
9775 case backgroundFillFreeformGradient::ID:
9776 func(static_cast<backgroundFillFreeformGradient &>(obj));
9777 return true;
9778 default:
9779 return false;
9780 }
9781}
9782
9789template <class T>
9790bool downcast_call(BackgroundType &obj, const T &func) {
9791 switch (obj.get_id()) {
9792 case backgroundTypeWallpaper::ID:
9793 func(static_cast<backgroundTypeWallpaper &>(obj));
9794 return true;
9795 case backgroundTypePattern::ID:
9796 func(static_cast<backgroundTypePattern &>(obj));
9797 return true;
9798 case backgroundTypeFill::ID:
9799 func(static_cast<backgroundTypeFill &>(obj));
9800 return true;
9801 case backgroundTypeChatTheme::ID:
9802 func(static_cast<backgroundTypeChatTheme &>(obj));
9803 return true;
9804 default:
9805 return false;
9806 }
9807}
9808
9815template <class T>
9816bool downcast_call(BlockList &obj, const T &func) {
9817 switch (obj.get_id()) {
9818 case blockListMain::ID:
9819 func(static_cast<blockListMain &>(obj));
9820 return true;
9821 case blockListStories::ID:
9822 func(static_cast<blockListStories &>(obj));
9823 return true;
9824 default:
9825 return false;
9826 }
9827}
9828
9835template <class T>
9836bool downcast_call(BotCommandScope &obj, const T &func) {
9837 switch (obj.get_id()) {
9838 case botCommandScopeDefault::ID:
9839 func(static_cast<botCommandScopeDefault &>(obj));
9840 return true;
9841 case botCommandScopeAllPrivateChats::ID:
9842 func(static_cast<botCommandScopeAllPrivateChats &>(obj));
9843 return true;
9844 case botCommandScopeAllGroupChats::ID:
9845 func(static_cast<botCommandScopeAllGroupChats &>(obj));
9846 return true;
9847 case botCommandScopeAllChatAdministrators::ID:
9848 func(static_cast<botCommandScopeAllChatAdministrators &>(obj));
9849 return true;
9850 case botCommandScopeChat::ID:
9851 func(static_cast<botCommandScopeChat &>(obj));
9852 return true;
9853 case botCommandScopeChatAdministrators::ID:
9854 func(static_cast<botCommandScopeChatAdministrators &>(obj));
9855 return true;
9856 case botCommandScopeChatMember::ID:
9857 func(static_cast<botCommandScopeChatMember &>(obj));
9858 return true;
9859 default:
9860 return false;
9861 }
9862}
9863
9870template <class T>
9871bool downcast_call(BotWriteAccessAllowReason &obj, const T &func) {
9872 switch (obj.get_id()) {
9873 case botWriteAccessAllowReasonConnectedWebsite::ID:
9874 func(static_cast<botWriteAccessAllowReasonConnectedWebsite &>(obj));
9875 return true;
9876 case botWriteAccessAllowReasonAddedToAttachmentMenu::ID:
9877 func(static_cast<botWriteAccessAllowReasonAddedToAttachmentMenu &>(obj));
9878 return true;
9879 case botWriteAccessAllowReasonLaunchedWebApp::ID:
9880 func(static_cast<botWriteAccessAllowReasonLaunchedWebApp &>(obj));
9881 return true;
9882 case botWriteAccessAllowReasonAcceptedRequest::ID:
9883 func(static_cast<botWriteAccessAllowReasonAcceptedRequest &>(obj));
9884 return true;
9885 default:
9886 return false;
9887 }
9888}
9889
9896template <class T>
9897bool downcast_call(BuiltInTheme &obj, const T &func) {
9898 switch (obj.get_id()) {
9899 case builtInThemeClassic::ID:
9900 func(static_cast<builtInThemeClassic &>(obj));
9901 return true;
9902 case builtInThemeDay::ID:
9903 func(static_cast<builtInThemeDay &>(obj));
9904 return true;
9905 case builtInThemeNight::ID:
9906 func(static_cast<builtInThemeNight &>(obj));
9907 return true;
9908 case builtInThemeTinted::ID:
9909 func(static_cast<builtInThemeTinted &>(obj));
9910 return true;
9911 case builtInThemeArctic::ID:
9912 func(static_cast<builtInThemeArctic &>(obj));
9913 return true;
9914 default:
9915 return false;
9916 }
9917}
9918
9925template <class T>
9927 switch (obj.get_id()) {
9928 case businessAwayMessageScheduleAlways::ID:
9929 func(static_cast<businessAwayMessageScheduleAlways &>(obj));
9930 return true;
9931 case businessAwayMessageScheduleOutsideOfOpeningHours::ID:
9932 func(static_cast<businessAwayMessageScheduleOutsideOfOpeningHours &>(obj));
9933 return true;
9934 case businessAwayMessageScheduleCustom::ID:
9935 func(static_cast<businessAwayMessageScheduleCustom &>(obj));
9936 return true;
9937 default:
9938 return false;
9939 }
9940}
9941
9948template <class T>
9949bool downcast_call(BusinessFeature &obj, const T &func) {
9950 switch (obj.get_id()) {
9951 case businessFeatureLocation::ID:
9952 func(static_cast<businessFeatureLocation &>(obj));
9953 return true;
9954 case businessFeatureOpeningHours::ID:
9955 func(static_cast<businessFeatureOpeningHours &>(obj));
9956 return true;
9957 case businessFeatureQuickReplies::ID:
9958 func(static_cast<businessFeatureQuickReplies &>(obj));
9959 return true;
9960 case businessFeatureGreetingMessage::ID:
9961 func(static_cast<businessFeatureGreetingMessage &>(obj));
9962 return true;
9963 case businessFeatureAwayMessage::ID:
9964 func(static_cast<businessFeatureAwayMessage &>(obj));
9965 return true;
9966 case businessFeatureAccountLinks::ID:
9967 func(static_cast<businessFeatureAccountLinks &>(obj));
9968 return true;
9969 case businessFeatureStartPage::ID:
9970 func(static_cast<businessFeatureStartPage &>(obj));
9971 return true;
9972 case businessFeatureBots::ID:
9973 func(static_cast<businessFeatureBots &>(obj));
9974 return true;
9975 case businessFeatureEmojiStatus::ID:
9976 func(static_cast<businessFeatureEmojiStatus &>(obj));
9977 return true;
9978 case businessFeatureChatFolderTags::ID:
9979 func(static_cast<businessFeatureChatFolderTags &>(obj));
9980 return true;
9981 case businessFeatureUpgradedStories::ID:
9982 func(static_cast<businessFeatureUpgradedStories &>(obj));
9983 return true;
9984 default:
9985 return false;
9986 }
9987}
9988
9995template <class T>
9996bool downcast_call(ButtonStyle &obj, const T &func) {
9997 switch (obj.get_id()) {
9998 case buttonStyleDefault::ID:
9999 func(static_cast<buttonStyleDefault &>(obj));
10000 return true;
10001 case buttonStylePrimary::ID:
10002 func(static_cast<buttonStylePrimary &>(obj));
10003 return true;
10004 case buttonStyleDanger::ID:
10005 func(static_cast<buttonStyleDanger &>(obj));
10006 return true;
10007 case buttonStyleSuccess::ID:
10008 func(static_cast<buttonStyleSuccess &>(obj));
10009 return true;
10010 default:
10011 return false;
10012 }
10013}
10014
10021template <class T>
10022bool downcast_call(CallDiscardReason &obj, const T &func) {
10023 switch (obj.get_id()) {
10024 case callDiscardReasonEmpty::ID:
10025 func(static_cast<callDiscardReasonEmpty &>(obj));
10026 return true;
10027 case callDiscardReasonMissed::ID:
10028 func(static_cast<callDiscardReasonMissed &>(obj));
10029 return true;
10030 case callDiscardReasonDeclined::ID:
10031 func(static_cast<callDiscardReasonDeclined &>(obj));
10032 return true;
10033 case callDiscardReasonDisconnected::ID:
10034 func(static_cast<callDiscardReasonDisconnected &>(obj));
10035 return true;
10036 case callDiscardReasonHungUp::ID:
10037 func(static_cast<callDiscardReasonHungUp &>(obj));
10038 return true;
10039 case callDiscardReasonUpgradeToGroupCall::ID:
10040 func(static_cast<callDiscardReasonUpgradeToGroupCall &>(obj));
10041 return true;
10042 default:
10043 return false;
10044 }
10045}
10046
10053template <class T>
10054bool downcast_call(CallProblem &obj, const T &func) {
10055 switch (obj.get_id()) {
10056 case callProblemEcho::ID:
10057 func(static_cast<callProblemEcho &>(obj));
10058 return true;
10059 case callProblemNoise::ID:
10060 func(static_cast<callProblemNoise &>(obj));
10061 return true;
10062 case callProblemInterruptions::ID:
10063 func(static_cast<callProblemInterruptions &>(obj));
10064 return true;
10065 case callProblemDistortedSpeech::ID:
10066 func(static_cast<callProblemDistortedSpeech &>(obj));
10067 return true;
10068 case callProblemSilentLocal::ID:
10069 func(static_cast<callProblemSilentLocal &>(obj));
10070 return true;
10071 case callProblemSilentRemote::ID:
10072 func(static_cast<callProblemSilentRemote &>(obj));
10073 return true;
10074 case callProblemDropped::ID:
10075 func(static_cast<callProblemDropped &>(obj));
10076 return true;
10077 case callProblemDistortedVideo::ID:
10078 func(static_cast<callProblemDistortedVideo &>(obj));
10079 return true;
10080 case callProblemPixelatedVideo::ID:
10081 func(static_cast<callProblemPixelatedVideo &>(obj));
10082 return true;
10083 default:
10084 return false;
10085 }
10086}
10087
10094template <class T>
10095bool downcast_call(CallServerType &obj, const T &func) {
10096 switch (obj.get_id()) {
10097 case callServerTypeTelegramReflector::ID:
10098 func(static_cast<callServerTypeTelegramReflector &>(obj));
10099 return true;
10100 case callServerTypeWebrtc::ID:
10101 func(static_cast<callServerTypeWebrtc &>(obj));
10102 return true;
10103 default:
10104 return false;
10105 }
10106}
10107
10114template <class T>
10115bool downcast_call(CallState &obj, const T &func) {
10116 switch (obj.get_id()) {
10117 case callStatePending::ID:
10118 func(static_cast<callStatePending &>(obj));
10119 return true;
10120 case callStateExchangingKeys::ID:
10121 func(static_cast<callStateExchangingKeys &>(obj));
10122 return true;
10123 case callStateReady::ID:
10124 func(static_cast<callStateReady &>(obj));
10125 return true;
10126 case callStateHangingUp::ID:
10127 func(static_cast<callStateHangingUp &>(obj));
10128 return true;
10129 case callStateDiscarded::ID:
10130 func(static_cast<callStateDiscarded &>(obj));
10131 return true;
10132 case callStateError::ID:
10133 func(static_cast<callStateError &>(obj));
10134 return true;
10135 default:
10136 return false;
10137 }
10138}
10139
10146template <class T>
10147bool downcast_call(CallbackQueryPayload &obj, const T &func) {
10148 switch (obj.get_id()) {
10149 case callbackQueryPayloadData::ID:
10150 func(static_cast<callbackQueryPayloadData &>(obj));
10151 return true;
10152 case callbackQueryPayloadDataWithPassword::ID:
10153 func(static_cast<callbackQueryPayloadDataWithPassword &>(obj));
10154 return true;
10155 case callbackQueryPayloadGame::ID:
10156 func(static_cast<callbackQueryPayloadGame &>(obj));
10157 return true;
10158 default:
10159 return false;
10160 }
10161}
10162
10169template <class T>
10170bool downcast_call(CanPostStoryResult &obj, const T &func) {
10171 switch (obj.get_id()) {
10172 case canPostStoryResultOk::ID:
10173 func(static_cast<canPostStoryResultOk &>(obj));
10174 return true;
10175 case canPostStoryResultPremiumNeeded::ID:
10176 func(static_cast<canPostStoryResultPremiumNeeded &>(obj));
10177 return true;
10178 case canPostStoryResultBoostNeeded::ID:
10179 func(static_cast<canPostStoryResultBoostNeeded &>(obj));
10180 return true;
10181 case canPostStoryResultActiveStoryLimitExceeded::ID:
10182 func(static_cast<canPostStoryResultActiveStoryLimitExceeded &>(obj));
10183 return true;
10184 case canPostStoryResultWeeklyLimitExceeded::ID:
10185 func(static_cast<canPostStoryResultWeeklyLimitExceeded &>(obj));
10186 return true;
10187 case canPostStoryResultMonthlyLimitExceeded::ID:
10188 func(static_cast<canPostStoryResultMonthlyLimitExceeded &>(obj));
10189 return true;
10190 case canPostStoryResultLiveStoryIsActive::ID:
10191 func(static_cast<canPostStoryResultLiveStoryIsActive &>(obj));
10192 return true;
10193 default:
10194 return false;
10195 }
10196}
10197
10204template <class T>
10205bool downcast_call(CanSendGiftResult &obj, const T &func) {
10206 switch (obj.get_id()) {
10207 case canSendGiftResultOk::ID:
10208 func(static_cast<canSendGiftResultOk &>(obj));
10209 return true;
10210 case canSendGiftResultFail::ID:
10211 func(static_cast<canSendGiftResultFail &>(obj));
10212 return true;
10213 default:
10214 return false;
10215 }
10216}
10217
10224template <class T>
10226 switch (obj.get_id()) {
10227 case canSendMessageToUserResultOk::ID:
10228 func(static_cast<canSendMessageToUserResultOk &>(obj));
10229 return true;
10230 case canSendMessageToUserResultUserHasPaidMessages::ID:
10231 func(static_cast<canSendMessageToUserResultUserHasPaidMessages &>(obj));
10232 return true;
10233 case canSendMessageToUserResultUserIsDeleted::ID:
10234 func(static_cast<canSendMessageToUserResultUserIsDeleted &>(obj));
10235 return true;
10236 case canSendMessageToUserResultUserRestrictsNewChats::ID:
10237 func(static_cast<canSendMessageToUserResultUserRestrictsNewChats &>(obj));
10238 return true;
10239 default:
10240 return false;
10241 }
10242}
10243
10250template <class T>
10252 switch (obj.get_id()) {
10253 case canTransferOwnershipResultOk::ID:
10254 func(static_cast<canTransferOwnershipResultOk &>(obj));
10255 return true;
10256 case canTransferOwnershipResultPasswordNeeded::ID:
10257 func(static_cast<canTransferOwnershipResultPasswordNeeded &>(obj));
10258 return true;
10259 case canTransferOwnershipResultPasswordTooFresh::ID:
10260 func(static_cast<canTransferOwnershipResultPasswordTooFresh &>(obj));
10261 return true;
10262 case canTransferOwnershipResultSessionTooFresh::ID:
10263 func(static_cast<canTransferOwnershipResultSessionTooFresh &>(obj));
10264 return true;
10265 default:
10266 return false;
10267 }
10268}
10269
10276template <class T>
10277bool downcast_call(ChatAction &obj, const T &func) {
10278 switch (obj.get_id()) {
10279 case chatActionTyping::ID:
10280 func(static_cast<chatActionTyping &>(obj));
10281 return true;
10282 case chatActionRecordingVideo::ID:
10283 func(static_cast<chatActionRecordingVideo &>(obj));
10284 return true;
10285 case chatActionUploadingVideo::ID:
10286 func(static_cast<chatActionUploadingVideo &>(obj));
10287 return true;
10288 case chatActionRecordingVoiceNote::ID:
10289 func(static_cast<chatActionRecordingVoiceNote &>(obj));
10290 return true;
10291 case chatActionUploadingVoiceNote::ID:
10292 func(static_cast<chatActionUploadingVoiceNote &>(obj));
10293 return true;
10294 case chatActionUploadingPhoto::ID:
10295 func(static_cast<chatActionUploadingPhoto &>(obj));
10296 return true;
10297 case chatActionUploadingDocument::ID:
10298 func(static_cast<chatActionUploadingDocument &>(obj));
10299 return true;
10300 case chatActionChoosingSticker::ID:
10301 func(static_cast<chatActionChoosingSticker &>(obj));
10302 return true;
10303 case chatActionChoosingLocation::ID:
10304 func(static_cast<chatActionChoosingLocation &>(obj));
10305 return true;
10306 case chatActionChoosingContact::ID:
10307 func(static_cast<chatActionChoosingContact &>(obj));
10308 return true;
10309 case chatActionStartPlayingGame::ID:
10310 func(static_cast<chatActionStartPlayingGame &>(obj));
10311 return true;
10312 case chatActionRecordingVideoNote::ID:
10313 func(static_cast<chatActionRecordingVideoNote &>(obj));
10314 return true;
10315 case chatActionUploadingVideoNote::ID:
10316 func(static_cast<chatActionUploadingVideoNote &>(obj));
10317 return true;
10318 case chatActionWatchingAnimations::ID:
10319 func(static_cast<chatActionWatchingAnimations &>(obj));
10320 return true;
10321 case chatActionCancel::ID:
10322 func(static_cast<chatActionCancel &>(obj));
10323 return true;
10324 default:
10325 return false;
10326 }
10327}
10328
10335template <class T>
10336bool downcast_call(ChatActionBar &obj, const T &func) {
10337 switch (obj.get_id()) {
10338 case chatActionBarReportSpam::ID:
10339 func(static_cast<chatActionBarReportSpam &>(obj));
10340 return true;
10341 case chatActionBarInviteMembers::ID:
10342 func(static_cast<chatActionBarInviteMembers &>(obj));
10343 return true;
10344 case chatActionBarReportAddBlock::ID:
10345 func(static_cast<chatActionBarReportAddBlock &>(obj));
10346 return true;
10347 case chatActionBarAddContact::ID:
10348 func(static_cast<chatActionBarAddContact &>(obj));
10349 return true;
10350 case chatActionBarSharePhoneNumber::ID:
10351 func(static_cast<chatActionBarSharePhoneNumber &>(obj));
10352 return true;
10353 case chatActionBarJoinRequest::ID:
10354 func(static_cast<chatActionBarJoinRequest &>(obj));
10355 return true;
10356 default:
10357 return false;
10358 }
10359}
10360
10367template <class T>
10368bool downcast_call(ChatAvailableReactions &obj, const T &func) {
10369 switch (obj.get_id()) {
10370 case chatAvailableReactionsAll::ID:
10371 func(static_cast<chatAvailableReactionsAll &>(obj));
10372 return true;
10373 case chatAvailableReactionsSome::ID:
10374 func(static_cast<chatAvailableReactionsSome &>(obj));
10375 return true;
10376 default:
10377 return false;
10378 }
10379}
10380
10387template <class T>
10388bool downcast_call(ChatBoostSource &obj, const T &func) {
10389 switch (obj.get_id()) {
10390 case chatBoostSourceGiftCode::ID:
10391 func(static_cast<chatBoostSourceGiftCode &>(obj));
10392 return true;
10393 case chatBoostSourceGiveaway::ID:
10394 func(static_cast<chatBoostSourceGiveaway &>(obj));
10395 return true;
10396 case chatBoostSourcePremium::ID:
10397 func(static_cast<chatBoostSourcePremium &>(obj));
10398 return true;
10399 default:
10400 return false;
10401 }
10402}
10403
10410template <class T>
10411bool downcast_call(ChatEventAction &obj, const T &func) {
10412 switch (obj.get_id()) {
10413 case chatEventMessageEdited::ID:
10414 func(static_cast<chatEventMessageEdited &>(obj));
10415 return true;
10416 case chatEventMessageDeleted::ID:
10417 func(static_cast<chatEventMessageDeleted &>(obj));
10418 return true;
10419 case chatEventMessagePinned::ID:
10420 func(static_cast<chatEventMessagePinned &>(obj));
10421 return true;
10422 case chatEventMessageUnpinned::ID:
10423 func(static_cast<chatEventMessageUnpinned &>(obj));
10424 return true;
10425 case chatEventPollStopped::ID:
10426 func(static_cast<chatEventPollStopped &>(obj));
10427 return true;
10428 case chatEventMemberJoined::ID:
10429 func(static_cast<chatEventMemberJoined &>(obj));
10430 return true;
10431 case chatEventMemberJoinedByInviteLink::ID:
10432 func(static_cast<chatEventMemberJoinedByInviteLink &>(obj));
10433 return true;
10434 case chatEventMemberJoinedByRequest::ID:
10435 func(static_cast<chatEventMemberJoinedByRequest &>(obj));
10436 return true;
10437 case chatEventMemberInvited::ID:
10438 func(static_cast<chatEventMemberInvited &>(obj));
10439 return true;
10440 case chatEventMemberLeft::ID:
10441 func(static_cast<chatEventMemberLeft &>(obj));
10442 return true;
10443 case chatEventMemberPromoted::ID:
10444 func(static_cast<chatEventMemberPromoted &>(obj));
10445 return true;
10446 case chatEventMemberRestricted::ID:
10447 func(static_cast<chatEventMemberRestricted &>(obj));
10448 return true;
10449 case chatEventMemberTagChanged::ID:
10450 func(static_cast<chatEventMemberTagChanged &>(obj));
10451 return true;
10452 case chatEventMemberSubscriptionExtended::ID:
10453 func(static_cast<chatEventMemberSubscriptionExtended &>(obj));
10454 return true;
10455 case chatEventAvailableReactionsChanged::ID:
10456 func(static_cast<chatEventAvailableReactionsChanged &>(obj));
10457 return true;
10458 case chatEventBackgroundChanged::ID:
10459 func(static_cast<chatEventBackgroundChanged &>(obj));
10460 return true;
10461 case chatEventDescriptionChanged::ID:
10462 func(static_cast<chatEventDescriptionChanged &>(obj));
10463 return true;
10464 case chatEventEmojiStatusChanged::ID:
10465 func(static_cast<chatEventEmojiStatusChanged &>(obj));
10466 return true;
10467 case chatEventLinkedChatChanged::ID:
10468 func(static_cast<chatEventLinkedChatChanged &>(obj));
10469 return true;
10470 case chatEventLocationChanged::ID:
10471 func(static_cast<chatEventLocationChanged &>(obj));
10472 return true;
10473 case chatEventMessageAutoDeleteTimeChanged::ID:
10474 func(static_cast<chatEventMessageAutoDeleteTimeChanged &>(obj));
10475 return true;
10476 case chatEventPermissionsChanged::ID:
10477 func(static_cast<chatEventPermissionsChanged &>(obj));
10478 return true;
10479 case chatEventPhotoChanged::ID:
10480 func(static_cast<chatEventPhotoChanged &>(obj));
10481 return true;
10482 case chatEventSlowModeDelayChanged::ID:
10483 func(static_cast<chatEventSlowModeDelayChanged &>(obj));
10484 return true;
10485 case chatEventStickerSetChanged::ID:
10486 func(static_cast<chatEventStickerSetChanged &>(obj));
10487 return true;
10488 case chatEventCustomEmojiStickerSetChanged::ID:
10489 func(static_cast<chatEventCustomEmojiStickerSetChanged &>(obj));
10490 return true;
10491 case chatEventTitleChanged::ID:
10492 func(static_cast<chatEventTitleChanged &>(obj));
10493 return true;
10494 case chatEventUsernameChanged::ID:
10495 func(static_cast<chatEventUsernameChanged &>(obj));
10496 return true;
10497 case chatEventActiveUsernamesChanged::ID:
10498 func(static_cast<chatEventActiveUsernamesChanged &>(obj));
10499 return true;
10500 case chatEventAccentColorChanged::ID:
10501 func(static_cast<chatEventAccentColorChanged &>(obj));
10502 return true;
10503 case chatEventProfileAccentColorChanged::ID:
10504 func(static_cast<chatEventProfileAccentColorChanged &>(obj));
10505 return true;
10506 case chatEventHasProtectedContentToggled::ID:
10507 func(static_cast<chatEventHasProtectedContentToggled &>(obj));
10508 return true;
10509 case chatEventInvitesToggled::ID:
10510 func(static_cast<chatEventInvitesToggled &>(obj));
10511 return true;
10512 case chatEventIsAllHistoryAvailableToggled::ID:
10513 func(static_cast<chatEventIsAllHistoryAvailableToggled &>(obj));
10514 return true;
10515 case chatEventHasAggressiveAntiSpamEnabledToggled::ID:
10516 func(static_cast<chatEventHasAggressiveAntiSpamEnabledToggled &>(obj));
10517 return true;
10518 case chatEventSignMessagesToggled::ID:
10519 func(static_cast<chatEventSignMessagesToggled &>(obj));
10520 return true;
10521 case chatEventShowMessageSenderToggled::ID:
10522 func(static_cast<chatEventShowMessageSenderToggled &>(obj));
10523 return true;
10524 case chatEventAutomaticTranslationToggled::ID:
10525 func(static_cast<chatEventAutomaticTranslationToggled &>(obj));
10526 return true;
10527 case chatEventInviteLinkEdited::ID:
10528 func(static_cast<chatEventInviteLinkEdited &>(obj));
10529 return true;
10530 case chatEventInviteLinkRevoked::ID:
10531 func(static_cast<chatEventInviteLinkRevoked &>(obj));
10532 return true;
10533 case chatEventInviteLinkDeleted::ID:
10534 func(static_cast<chatEventInviteLinkDeleted &>(obj));
10535 return true;
10536 case chatEventVideoChatCreated::ID:
10537 func(static_cast<chatEventVideoChatCreated &>(obj));
10538 return true;
10539 case chatEventVideoChatEnded::ID:
10540 func(static_cast<chatEventVideoChatEnded &>(obj));
10541 return true;
10542 case chatEventVideoChatMuteNewParticipantsToggled::ID:
10543 func(static_cast<chatEventVideoChatMuteNewParticipantsToggled &>(obj));
10544 return true;
10545 case chatEventVideoChatParticipantIsMutedToggled::ID:
10546 func(static_cast<chatEventVideoChatParticipantIsMutedToggled &>(obj));
10547 return true;
10548 case chatEventVideoChatParticipantVolumeLevelChanged::ID:
10549 func(static_cast<chatEventVideoChatParticipantVolumeLevelChanged &>(obj));
10550 return true;
10551 case chatEventIsForumToggled::ID:
10552 func(static_cast<chatEventIsForumToggled &>(obj));
10553 return true;
10554 case chatEventForumTopicCreated::ID:
10555 func(static_cast<chatEventForumTopicCreated &>(obj));
10556 return true;
10557 case chatEventForumTopicEdited::ID:
10558 func(static_cast<chatEventForumTopicEdited &>(obj));
10559 return true;
10560 case chatEventForumTopicToggleIsClosed::ID:
10561 func(static_cast<chatEventForumTopicToggleIsClosed &>(obj));
10562 return true;
10563 case chatEventForumTopicToggleIsHidden::ID:
10564 func(static_cast<chatEventForumTopicToggleIsHidden &>(obj));
10565 return true;
10566 case chatEventForumTopicDeleted::ID:
10567 func(static_cast<chatEventForumTopicDeleted &>(obj));
10568 return true;
10569 case chatEventForumTopicPinned::ID:
10570 func(static_cast<chatEventForumTopicPinned &>(obj));
10571 return true;
10572 default:
10573 return false;
10574 }
10575}
10576
10583template <class T>
10584bool downcast_call(ChatJoinRequestResult &obj, const T &func) {
10585 switch (obj.get_id()) {
10586 case chatJoinRequestResultApproved::ID:
10587 func(static_cast<chatJoinRequestResultApproved &>(obj));
10588 return true;
10589 case chatJoinRequestResultDeclined::ID:
10590 func(static_cast<chatJoinRequestResultDeclined &>(obj));
10591 return true;
10592 case chatJoinRequestResultQueued::ID:
10593 func(static_cast<chatJoinRequestResultQueued &>(obj));
10594 return true;
10595 default:
10596 return false;
10597 }
10598}
10599
10606template <class T>
10607bool downcast_call(ChatJoinResult &obj, const T &func) {
10608 switch (obj.get_id()) {
10609 case chatJoinResultSuccess::ID:
10610 func(static_cast<chatJoinResultSuccess &>(obj));
10611 return true;
10612 case chatJoinResultRequestSent::ID:
10613 func(static_cast<chatJoinResultRequestSent &>(obj));
10614 return true;
10615 case chatJoinResultGuardBotApprovalRequired::ID:
10616 func(static_cast<chatJoinResultGuardBotApprovalRequired &>(obj));
10617 return true;
10618 case chatJoinResultDeclined::ID:
10619 func(static_cast<chatJoinResultDeclined &>(obj));
10620 return true;
10621 default:
10622 return false;
10623 }
10624}
10625
10632template <class T>
10633bool downcast_call(ChatList &obj, const T &func) {
10634 switch (obj.get_id()) {
10635 case chatListMain::ID:
10636 func(static_cast<chatListMain &>(obj));
10637 return true;
10638 case chatListArchive::ID:
10639 func(static_cast<chatListArchive &>(obj));
10640 return true;
10641 case chatListFolder::ID:
10642 func(static_cast<chatListFolder &>(obj));
10643 return true;
10644 default:
10645 return false;
10646 }
10647}
10648
10655template <class T>
10656bool downcast_call(ChatMemberStatus &obj, const T &func) {
10657 switch (obj.get_id()) {
10658 case chatMemberStatusCreator::ID:
10659 func(static_cast<chatMemberStatusCreator &>(obj));
10660 return true;
10661 case chatMemberStatusAdministrator::ID:
10662 func(static_cast<chatMemberStatusAdministrator &>(obj));
10663 return true;
10664 case chatMemberStatusMember::ID:
10665 func(static_cast<chatMemberStatusMember &>(obj));
10666 return true;
10667 case chatMemberStatusRestricted::ID:
10668 func(static_cast<chatMemberStatusRestricted &>(obj));
10669 return true;
10670 case chatMemberStatusLeft::ID:
10671 func(static_cast<chatMemberStatusLeft &>(obj));
10672 return true;
10673 case chatMemberStatusBanned::ID:
10674 func(static_cast<chatMemberStatusBanned &>(obj));
10675 return true;
10676 default:
10677 return false;
10678 }
10679}
10680
10687template <class T>
10688bool downcast_call(ChatMembersFilter &obj, const T &func) {
10689 switch (obj.get_id()) {
10690 case chatMembersFilterContacts::ID:
10691 func(static_cast<chatMembersFilterContacts &>(obj));
10692 return true;
10693 case chatMembersFilterAdministrators::ID:
10694 func(static_cast<chatMembersFilterAdministrators &>(obj));
10695 return true;
10696 case chatMembersFilterMembers::ID:
10697 func(static_cast<chatMembersFilterMembers &>(obj));
10698 return true;
10699 case chatMembersFilterMention::ID:
10700 func(static_cast<chatMembersFilterMention &>(obj));
10701 return true;
10702 case chatMembersFilterRestricted::ID:
10703 func(static_cast<chatMembersFilterRestricted &>(obj));
10704 return true;
10705 case chatMembersFilterBanned::ID:
10706 func(static_cast<chatMembersFilterBanned &>(obj));
10707 return true;
10708 case chatMembersFilterBots::ID:
10709 func(static_cast<chatMembersFilterBots &>(obj));
10710 return true;
10711 default:
10712 return false;
10713 }
10714}
10715
10722template <class T>
10723bool downcast_call(ChatPhotoStickerType &obj, const T &func) {
10724 switch (obj.get_id()) {
10725 case chatPhotoStickerTypeRegularOrMask::ID:
10726 func(static_cast<chatPhotoStickerTypeRegularOrMask &>(obj));
10727 return true;
10728 case chatPhotoStickerTypeCustomEmoji::ID:
10729 func(static_cast<chatPhotoStickerTypeCustomEmoji &>(obj));
10730 return true;
10731 default:
10732 return false;
10733 }
10734}
10735
10742template <class T>
10744 switch (obj.get_id()) {
10745 case chatRevenueTransactionTypeUnsupported::ID:
10746 func(static_cast<chatRevenueTransactionTypeUnsupported &>(obj));
10747 return true;
10748 case chatRevenueTransactionTypeSponsoredMessageEarnings::ID:
10750 return true;
10751 case chatRevenueTransactionTypeSuggestedPostEarnings::ID:
10752 func(static_cast<chatRevenueTransactionTypeSuggestedPostEarnings &>(obj));
10753 return true;
10754 case chatRevenueTransactionTypeFragmentWithdrawal::ID:
10755 func(static_cast<chatRevenueTransactionTypeFragmentWithdrawal &>(obj));
10756 return true;
10757 case chatRevenueTransactionTypeFragmentRefund::ID:
10758 func(static_cast<chatRevenueTransactionTypeFragmentRefund &>(obj));
10759 return true;
10760 default:
10761 return false;
10762 }
10763}
10764
10771template <class T>
10772bool downcast_call(ChatSource &obj, const T &func) {
10773 switch (obj.get_id()) {
10774 case chatSourceMtprotoProxy::ID:
10775 func(static_cast<chatSourceMtprotoProxy &>(obj));
10776 return true;
10777 case chatSourcePublicServiceAnnouncement::ID:
10778 func(static_cast<chatSourcePublicServiceAnnouncement &>(obj));
10779 return true;
10780 default:
10781 return false;
10782 }
10783}
10784
10791template <class T>
10792bool downcast_call(ChatStatistics &obj, const T &func) {
10793 switch (obj.get_id()) {
10794 case chatStatisticsSupergroup::ID:
10795 func(static_cast<chatStatisticsSupergroup &>(obj));
10796 return true;
10797 case chatStatisticsChannel::ID:
10798 func(static_cast<chatStatisticsChannel &>(obj));
10799 return true;
10800 default:
10801 return false;
10802 }
10803}
10804
10811template <class T>
10812bool downcast_call(ChatStatisticsObjectType &obj, const T &func) {
10813 switch (obj.get_id()) {
10814 case chatStatisticsObjectTypeMessage::ID:
10815 func(static_cast<chatStatisticsObjectTypeMessage &>(obj));
10816 return true;
10817 case chatStatisticsObjectTypeStory::ID:
10818 func(static_cast<chatStatisticsObjectTypeStory &>(obj));
10819 return true;
10820 default:
10821 return false;
10822 }
10823}
10824
10831template <class T>
10832bool downcast_call(ChatTheme &obj, const T &func) {
10833 switch (obj.get_id()) {
10834 case chatThemeEmoji::ID:
10835 func(static_cast<chatThemeEmoji &>(obj));
10836 return true;
10837 case chatThemeGift::ID:
10838 func(static_cast<chatThemeGift &>(obj));
10839 return true;
10840 default:
10841 return false;
10842 }
10843}
10844
10851template <class T>
10852bool downcast_call(ChatType &obj, const T &func) {
10853 switch (obj.get_id()) {
10854 case chatTypePrivate::ID:
10855 func(static_cast<chatTypePrivate &>(obj));
10856 return true;
10857 case chatTypeBasicGroup::ID:
10858 func(static_cast<chatTypeBasicGroup &>(obj));
10859 return true;
10860 case chatTypeSupergroup::ID:
10861 func(static_cast<chatTypeSupergroup &>(obj));
10862 return true;
10863 case chatTypeSecret::ID:
10864 func(static_cast<chatTypeSecret &>(obj));
10865 return true;
10866 default:
10867 return false;
10868 }
10869}
10870
10877template <class T>
10878bool downcast_call(CheckChatUsernameResult &obj, const T &func) {
10879 switch (obj.get_id()) {
10880 case checkChatUsernameResultOk::ID:
10881 func(static_cast<checkChatUsernameResultOk &>(obj));
10882 return true;
10883 case checkChatUsernameResultUsernameInvalid::ID:
10884 func(static_cast<checkChatUsernameResultUsernameInvalid &>(obj));
10885 return true;
10886 case checkChatUsernameResultUsernameOccupied::ID:
10887 func(static_cast<checkChatUsernameResultUsernameOccupied &>(obj));
10888 return true;
10889 case checkChatUsernameResultUsernamePurchasable::ID:
10890 func(static_cast<checkChatUsernameResultUsernamePurchasable &>(obj));
10891 return true;
10892 case checkChatUsernameResultPublicChatsTooMany::ID:
10893 func(static_cast<checkChatUsernameResultPublicChatsTooMany &>(obj));
10894 return true;
10895 case checkChatUsernameResultPublicGroupsUnavailable::ID:
10896 func(static_cast<checkChatUsernameResultPublicGroupsUnavailable &>(obj));
10897 return true;
10898 default:
10899 return false;
10900 }
10901}
10902
10909template <class T>
10910bool downcast_call(CheckStickerSetNameResult &obj, const T &func) {
10911 switch (obj.get_id()) {
10912 case checkStickerSetNameResultOk::ID:
10913 func(static_cast<checkStickerSetNameResultOk &>(obj));
10914 return true;
10915 case checkStickerSetNameResultNameInvalid::ID:
10916 func(static_cast<checkStickerSetNameResultNameInvalid &>(obj));
10917 return true;
10918 case checkStickerSetNameResultNameOccupied::ID:
10919 func(static_cast<checkStickerSetNameResultNameOccupied &>(obj));
10920 return true;
10921 default:
10922 return false;
10923 }
10924}
10925
10932template <class T>
10933bool downcast_call(CollectibleItemType &obj, const T &func) {
10934 switch (obj.get_id()) {
10935 case collectibleItemTypeUsername::ID:
10936 func(static_cast<collectibleItemTypeUsername &>(obj));
10937 return true;
10938 case collectibleItemTypePhoneNumber::ID:
10939 func(static_cast<collectibleItemTypePhoneNumber &>(obj));
10940 return true;
10941 default:
10942 return false;
10943 }
10944}
10945
10952template <class T>
10953bool downcast_call(CommunityMemberStatus &obj, const T &func) {
10954 switch (obj.get_id()) {
10955 case communityMemberStatusCreator::ID:
10956 func(static_cast<communityMemberStatusCreator &>(obj));
10957 return true;
10958 case communityMemberStatusAdministrator::ID:
10959 func(static_cast<communityMemberStatusAdministrator &>(obj));
10960 return true;
10961 case communityMemberStatusMember::ID:
10962 func(static_cast<communityMemberStatusMember &>(obj));
10963 return true;
10964 case communityMemberStatusLeft::ID:
10965 func(static_cast<communityMemberStatusLeft &>(obj));
10966 return true;
10967 case communityMemberStatusBanned::ID:
10968 func(static_cast<communityMemberStatusBanned &>(obj));
10969 return true;
10970 default:
10971 return false;
10972 }
10973}
10974
10981template <class T>
10982bool downcast_call(ConnectionState &obj, const T &func) {
10983 switch (obj.get_id()) {
10984 case connectionStateWaitingForNetwork::ID:
10985 func(static_cast<connectionStateWaitingForNetwork &>(obj));
10986 return true;
10987 case connectionStateConnectingToProxy::ID:
10988 func(static_cast<connectionStateConnectingToProxy &>(obj));
10989 return true;
10990 case connectionStateConnecting::ID:
10991 func(static_cast<connectionStateConnecting &>(obj));
10992 return true;
10993 case connectionStateUpdating::ID:
10994 func(static_cast<connectionStateUpdating &>(obj));
10995 return true;
10996 case connectionStateReady::ID:
10997 func(static_cast<connectionStateReady &>(obj));
10998 return true;
10999 default:
11000 return false;
11001 }
11002}
11003
11010template <class T>
11011bool downcast_call(CraftGiftResult &obj, const T &func) {
11012 switch (obj.get_id()) {
11013 case craftGiftResultSuccess::ID:
11014 func(static_cast<craftGiftResultSuccess &>(obj));
11015 return true;
11016 case craftGiftResultTooEarly::ID:
11017 func(static_cast<craftGiftResultTooEarly &>(obj));
11018 return true;
11019 case craftGiftResultInvalidGift::ID:
11020 func(static_cast<craftGiftResultInvalidGift &>(obj));
11021 return true;
11022 case craftGiftResultFail::ID:
11023 func(static_cast<craftGiftResultFail &>(obj));
11024 return true;
11025 default:
11026 return false;
11027 }
11028}
11029
11036template <class T>
11037bool downcast_call(DateTimeFormattingType &obj, const T &func) {
11038 switch (obj.get_id()) {
11039 case dateTimeFormattingTypeRelative::ID:
11040 func(static_cast<dateTimeFormattingTypeRelative &>(obj));
11041 return true;
11042 case dateTimeFormattingTypeAbsolute::ID:
11043 func(static_cast<dateTimeFormattingTypeAbsolute &>(obj));
11044 return true;
11045 default:
11046 return false;
11047 }
11048}
11049
11056template <class T>
11057bool downcast_call(DateTimePartPrecision &obj, const T &func) {
11058 switch (obj.get_id()) {
11059 case dateTimePartPrecisionNone::ID:
11060 func(static_cast<dateTimePartPrecisionNone &>(obj));
11061 return true;
11062 case dateTimePartPrecisionShort::ID:
11063 func(static_cast<dateTimePartPrecisionShort &>(obj));
11064 return true;
11065 case dateTimePartPrecisionLong::ID:
11066 func(static_cast<dateTimePartPrecisionLong &>(obj));
11067 return true;
11068 default:
11069 return false;
11070 }
11071}
11072
11079template <class T>
11080bool downcast_call(DeviceToken &obj, const T &func) {
11081 switch (obj.get_id()) {
11082 case deviceTokenFirebaseCloudMessaging::ID:
11083 func(static_cast<deviceTokenFirebaseCloudMessaging &>(obj));
11084 return true;
11085 case deviceTokenApplePush::ID:
11086 func(static_cast<deviceTokenApplePush &>(obj));
11087 return true;
11088 case deviceTokenApplePushVoIP::ID:
11089 func(static_cast<deviceTokenApplePushVoIP &>(obj));
11090 return true;
11091 case deviceTokenWindowsPush::ID:
11092 func(static_cast<deviceTokenWindowsPush &>(obj));
11093 return true;
11094 case deviceTokenMicrosoftPush::ID:
11095 func(static_cast<deviceTokenMicrosoftPush &>(obj));
11096 return true;
11097 case deviceTokenMicrosoftPushVoIP::ID:
11098 func(static_cast<deviceTokenMicrosoftPushVoIP &>(obj));
11099 return true;
11100 case deviceTokenWebPush::ID:
11101 func(static_cast<deviceTokenWebPush &>(obj));
11102 return true;
11103 case deviceTokenSimplePush::ID:
11104 func(static_cast<deviceTokenSimplePush &>(obj));
11105 return true;
11106 case deviceTokenUbuntuPush::ID:
11107 func(static_cast<deviceTokenUbuntuPush &>(obj));
11108 return true;
11109 case deviceTokenBlackBerryPush::ID:
11110 func(static_cast<deviceTokenBlackBerryPush &>(obj));
11111 return true;
11112 case deviceTokenTizenPush::ID:
11113 func(static_cast<deviceTokenTizenPush &>(obj));
11114 return true;
11115 case deviceTokenHuaweiPush::ID:
11116 func(static_cast<deviceTokenHuaweiPush &>(obj));
11117 return true;
11118 default:
11119 return false;
11120 }
11121}
11122
11129template <class T>
11130bool downcast_call(DiceStickers &obj, const T &func) {
11131 switch (obj.get_id()) {
11132 case diceStickersRegular::ID:
11133 func(static_cast<diceStickersRegular &>(obj));
11134 return true;
11135 case diceStickersSlotMachine::ID:
11136 func(static_cast<diceStickersSlotMachine &>(obj));
11137 return true;
11138 default:
11139 return false;
11140 }
11141}
11142
11149template <class T>
11150bool downcast_call(DiffEntityType &obj, const T &func) {
11151 switch (obj.get_id()) {
11152 case diffEntityTypeInsert::ID:
11153 func(static_cast<diffEntityTypeInsert &>(obj));
11154 return true;
11155 case diffEntityTypeReplace::ID:
11156 func(static_cast<diffEntityTypeReplace &>(obj));
11157 return true;
11158 case diffEntityTypeDelete::ID:
11159 func(static_cast<diffEntityTypeDelete &>(obj));
11160 return true;
11161 default:
11162 return false;
11163 }
11164}
11165
11172template <class T>
11173bool downcast_call(DraftMessageContent &obj, const T &func) {
11174 switch (obj.get_id()) {
11175 case draftMessageContentText::ID:
11176 func(static_cast<draftMessageContentText &>(obj));
11177 return true;
11178 case draftMessageContentRichMessage::ID:
11179 func(static_cast<draftMessageContentRichMessage &>(obj));
11180 return true;
11181 case draftMessageContentVideoNote::ID:
11182 func(static_cast<draftMessageContentVideoNote &>(obj));
11183 return true;
11184 case draftMessageContentVoiceNote::ID:
11185 func(static_cast<draftMessageContentVoiceNote &>(obj));
11186 return true;
11187 default:
11188 return false;
11189 }
11190}
11191
11198template <class T>
11200 switch (obj.get_id()) {
11201 case emailAddressAuthenticationCode::ID:
11202 func(static_cast<emailAddressAuthenticationCode &>(obj));
11203 return true;
11204 case emailAddressAuthenticationAppleId::ID:
11205 func(static_cast<emailAddressAuthenticationAppleId &>(obj));
11206 return true;
11207 case emailAddressAuthenticationGoogleId::ID:
11208 func(static_cast<emailAddressAuthenticationGoogleId &>(obj));
11209 return true;
11210 default:
11211 return false;
11212 }
11213}
11214
11221template <class T>
11222bool downcast_call(EmailAddressResetState &obj, const T &func) {
11223 switch (obj.get_id()) {
11224 case emailAddressResetStateAvailable::ID:
11225 func(static_cast<emailAddressResetStateAvailable &>(obj));
11226 return true;
11227 case emailAddressResetStatePending::ID:
11228 func(static_cast<emailAddressResetStatePending &>(obj));
11229 return true;
11230 default:
11231 return false;
11232 }
11233}
11234
11241template <class T>
11242bool downcast_call(EmojiCategorySource &obj, const T &func) {
11243 switch (obj.get_id()) {
11244 case emojiCategorySourceSearch::ID:
11245 func(static_cast<emojiCategorySourceSearch &>(obj));
11246 return true;
11247 case emojiCategorySourcePremium::ID:
11248 func(static_cast<emojiCategorySourcePremium &>(obj));
11249 return true;
11250 default:
11251 return false;
11252 }
11253}
11254
11261template <class T>
11262bool downcast_call(EmojiCategoryType &obj, const T &func) {
11263 switch (obj.get_id()) {
11264 case emojiCategoryTypeDefault::ID:
11265 func(static_cast<emojiCategoryTypeDefault &>(obj));
11266 return true;
11267 case emojiCategoryTypeRegularStickers::ID:
11268 func(static_cast<emojiCategoryTypeRegularStickers &>(obj));
11269 return true;
11270 case emojiCategoryTypeEmojiStatus::ID:
11271 func(static_cast<emojiCategoryTypeEmojiStatus &>(obj));
11272 return true;
11273 case emojiCategoryTypeChatPhoto::ID:
11274 func(static_cast<emojiCategoryTypeChatPhoto &>(obj));
11275 return true;
11276 default:
11277 return false;
11278 }
11279}
11280
11287template <class T>
11288bool downcast_call(EmojiStatusType &obj, const T &func) {
11289 switch (obj.get_id()) {
11290 case emojiStatusTypeCustomEmoji::ID:
11291 func(static_cast<emojiStatusTypeCustomEmoji &>(obj));
11292 return true;
11293 case emojiStatusTypeUpgradedGift::ID:
11294 func(static_cast<emojiStatusTypeUpgradedGift &>(obj));
11295 return true;
11296 default:
11297 return false;
11298 }
11299}
11300
11307template <class T>
11308bool downcast_call(FileType &obj, const T &func) {
11309 switch (obj.get_id()) {
11310 case fileTypeNone::ID:
11311 func(static_cast<fileTypeNone &>(obj));
11312 return true;
11313 case fileTypeAnimation::ID:
11314 func(static_cast<fileTypeAnimation &>(obj));
11315 return true;
11316 case fileTypeAudio::ID:
11317 func(static_cast<fileTypeAudio &>(obj));
11318 return true;
11319 case fileTypeDocument::ID:
11320 func(static_cast<fileTypeDocument &>(obj));
11321 return true;
11322 case fileTypeLivePhotoVideo::ID:
11323 func(static_cast<fileTypeLivePhotoVideo &>(obj));
11324 return true;
11325 case fileTypeNotificationSound::ID:
11326 func(static_cast<fileTypeNotificationSound &>(obj));
11327 return true;
11328 case fileTypePhoto::ID:
11329 func(static_cast<fileTypePhoto &>(obj));
11330 return true;
11331 case fileTypePhotoStory::ID:
11332 func(static_cast<fileTypePhotoStory &>(obj));
11333 return true;
11334 case fileTypeProfilePhoto::ID:
11335 func(static_cast<fileTypeProfilePhoto &>(obj));
11336 return true;
11337 case fileTypeSecret::ID:
11338 func(static_cast<fileTypeSecret &>(obj));
11339 return true;
11340 case fileTypeSecretThumbnail::ID:
11341 func(static_cast<fileTypeSecretThumbnail &>(obj));
11342 return true;
11343 case fileTypeSecure::ID:
11344 func(static_cast<fileTypeSecure &>(obj));
11345 return true;
11346 case fileTypeSelfDestructingLivePhotoVideo::ID:
11347 func(static_cast<fileTypeSelfDestructingLivePhotoVideo &>(obj));
11348 return true;
11349 case fileTypeSelfDestructingPhoto::ID:
11350 func(static_cast<fileTypeSelfDestructingPhoto &>(obj));
11351 return true;
11352 case fileTypeSelfDestructingVideo::ID:
11353 func(static_cast<fileTypeSelfDestructingVideo &>(obj));
11354 return true;
11355 case fileTypeSelfDestructingVideoNote::ID:
11356 func(static_cast<fileTypeSelfDestructingVideoNote &>(obj));
11357 return true;
11358 case fileTypeSelfDestructingVoiceNote::ID:
11359 func(static_cast<fileTypeSelfDestructingVoiceNote &>(obj));
11360 return true;
11361 case fileTypeSticker::ID:
11362 func(static_cast<fileTypeSticker &>(obj));
11363 return true;
11364 case fileTypeThumbnail::ID:
11365 func(static_cast<fileTypeThumbnail &>(obj));
11366 return true;
11367 case fileTypeUnknown::ID:
11368 func(static_cast<fileTypeUnknown &>(obj));
11369 return true;
11370 case fileTypeVideo::ID:
11371 func(static_cast<fileTypeVideo &>(obj));
11372 return true;
11373 case fileTypeVideoNote::ID:
11374 func(static_cast<fileTypeVideoNote &>(obj));
11375 return true;
11376 case fileTypeVideoStory::ID:
11377 func(static_cast<fileTypeVideoStory &>(obj));
11378 return true;
11379 case fileTypeVoiceNote::ID:
11380 func(static_cast<fileTypeVoiceNote &>(obj));
11381 return true;
11382 case fileTypeWallpaper::ID:
11383 func(static_cast<fileTypeWallpaper &>(obj));
11384 return true;
11385 default:
11386 return false;
11387 }
11388}
11389
11396template <class T>
11398 switch (obj.get_id()) {
11399 case firebaseAuthenticationSettingsAndroid::ID:
11400 func(static_cast<firebaseAuthenticationSettingsAndroid &>(obj));
11401 return true;
11402 case firebaseAuthenticationSettingsIos::ID:
11403 func(static_cast<firebaseAuthenticationSettingsIos &>(obj));
11404 return true;
11405 default:
11406 return false;
11407 }
11408}
11409
11416template <class T>
11418 switch (obj.get_id()) {
11419 case firebaseDeviceVerificationParametersSafetyNet::ID:
11420 func(static_cast<firebaseDeviceVerificationParametersSafetyNet &>(obj));
11421 return true;
11422 case firebaseDeviceVerificationParametersPlayIntegrity::ID:
11423 func(static_cast<firebaseDeviceVerificationParametersPlayIntegrity &>(obj));
11424 return true;
11425 default:
11426 return false;
11427 }
11428}
11429
11436template <class T>
11437bool downcast_call(GiftForResaleOrder &obj, const T &func) {
11438 switch (obj.get_id()) {
11439 case giftForResaleOrderPrice::ID:
11440 func(static_cast<giftForResaleOrderPrice &>(obj));
11441 return true;
11442 case giftForResaleOrderPriceChangeDate::ID:
11443 func(static_cast<giftForResaleOrderPriceChangeDate &>(obj));
11444 return true;
11445 case giftForResaleOrderNumber::ID:
11446 func(static_cast<giftForResaleOrderNumber &>(obj));
11447 return true;
11448 default:
11449 return false;
11450 }
11451}
11452
11459template <class T>
11460bool downcast_call(GiftPurchaseOfferState &obj, const T &func) {
11461 switch (obj.get_id()) {
11462 case giftPurchaseOfferStatePending::ID:
11463 func(static_cast<giftPurchaseOfferStatePending &>(obj));
11464 return true;
11465 case giftPurchaseOfferStateAccepted::ID:
11466 func(static_cast<giftPurchaseOfferStateAccepted &>(obj));
11467 return true;
11468 case giftPurchaseOfferStateRejected::ID:
11469 func(static_cast<giftPurchaseOfferStateRejected &>(obj));
11470 return true;
11471 default:
11472 return false;
11473 }
11474}
11475
11482template <class T>
11483bool downcast_call(GiftResalePrice &obj, const T &func) {
11484 switch (obj.get_id()) {
11485 case giftResalePriceStar::ID:
11486 func(static_cast<giftResalePriceStar &>(obj));
11487 return true;
11488 case giftResalePriceGram::ID:
11489 func(static_cast<giftResalePriceGram &>(obj));
11490 return true;
11491 default:
11492 return false;
11493 }
11494}
11495
11502template <class T>
11503bool downcast_call(GiftResaleResult &obj, const T &func) {
11504 switch (obj.get_id()) {
11505 case giftResaleResultOk::ID:
11506 func(static_cast<giftResaleResultOk &>(obj));
11507 return true;
11508 case giftResaleResultPriceIncreased::ID:
11509 func(static_cast<giftResaleResultPriceIncreased &>(obj));
11510 return true;
11511 default:
11512 return false;
11513 }
11514}
11515
11522template <class T>
11523bool downcast_call(GiveawayInfo &obj, const T &func) {
11524 switch (obj.get_id()) {
11525 case giveawayInfoOngoing::ID:
11526 func(static_cast<giveawayInfoOngoing &>(obj));
11527 return true;
11528 case giveawayInfoCompleted::ID:
11529 func(static_cast<giveawayInfoCompleted &>(obj));
11530 return true;
11531 default:
11532 return false;
11533 }
11534}
11535
11542template <class T>
11543bool downcast_call(GiveawayParticipantStatus &obj, const T &func) {
11544 switch (obj.get_id()) {
11545 case giveawayParticipantStatusEligible::ID:
11546 func(static_cast<giveawayParticipantStatusEligible &>(obj));
11547 return true;
11548 case giveawayParticipantStatusParticipating::ID:
11549 func(static_cast<giveawayParticipantStatusParticipating &>(obj));
11550 return true;
11551 case giveawayParticipantStatusAlreadyWasMember::ID:
11552 func(static_cast<giveawayParticipantStatusAlreadyWasMember &>(obj));
11553 return true;
11554 case giveawayParticipantStatusAdministrator::ID:
11555 func(static_cast<giveawayParticipantStatusAdministrator &>(obj));
11556 return true;
11557 case giveawayParticipantStatusDisallowedCountry::ID:
11558 func(static_cast<giveawayParticipantStatusDisallowedCountry &>(obj));
11559 return true;
11560 default:
11561 return false;
11562 }
11563}
11564
11571template <class T>
11572bool downcast_call(GiveawayPrize &obj, const T &func) {
11573 switch (obj.get_id()) {
11574 case giveawayPrizePremium::ID:
11575 func(static_cast<giveawayPrizePremium &>(obj));
11576 return true;
11577 case giveawayPrizeStars::ID:
11578 func(static_cast<giveawayPrizeStars &>(obj));
11579 return true;
11580 default:
11581 return false;
11582 }
11583}
11584
11591template <class T>
11592bool downcast_call(GroupCallDataChannel &obj, const T &func) {
11593 switch (obj.get_id()) {
11594 case groupCallDataChannelMain::ID:
11595 func(static_cast<groupCallDataChannelMain &>(obj));
11596 return true;
11597 case groupCallDataChannelScreenSharing::ID:
11598 func(static_cast<groupCallDataChannelScreenSharing &>(obj));
11599 return true;
11600 default:
11601 return false;
11602 }
11603}
11604
11611template <class T>
11612bool downcast_call(GroupCallVideoQuality &obj, const T &func) {
11613 switch (obj.get_id()) {
11614 case groupCallVideoQualityThumbnail::ID:
11615 func(static_cast<groupCallVideoQualityThumbnail &>(obj));
11616 return true;
11617 case groupCallVideoQualityMedium::ID:
11618 func(static_cast<groupCallVideoQualityMedium &>(obj));
11619 return true;
11620 case groupCallVideoQualityFull::ID:
11621 func(static_cast<groupCallVideoQualityFull &>(obj));
11622 return true;
11623 default:
11624 return false;
11625 }
11626}
11627
11634template <class T>
11635bool downcast_call(InlineKeyboardButtonType &obj, const T &func) {
11636 switch (obj.get_id()) {
11637 case inlineKeyboardButtonTypeUrl::ID:
11638 func(static_cast<inlineKeyboardButtonTypeUrl &>(obj));
11639 return true;
11640 case inlineKeyboardButtonTypeLoginUrl::ID:
11641 func(static_cast<inlineKeyboardButtonTypeLoginUrl &>(obj));
11642 return true;
11643 case inlineKeyboardButtonTypeWebApp::ID:
11644 func(static_cast<inlineKeyboardButtonTypeWebApp &>(obj));
11645 return true;
11646 case inlineKeyboardButtonTypeCallback::ID:
11647 func(static_cast<inlineKeyboardButtonTypeCallback &>(obj));
11648 return true;
11649 case inlineKeyboardButtonTypeCallbackWithPassword::ID:
11650 func(static_cast<inlineKeyboardButtonTypeCallbackWithPassword &>(obj));
11651 return true;
11652 case inlineKeyboardButtonTypeCallbackGame::ID:
11653 func(static_cast<inlineKeyboardButtonTypeCallbackGame &>(obj));
11654 return true;
11655 case inlineKeyboardButtonTypeSwitchInline::ID:
11656 func(static_cast<inlineKeyboardButtonTypeSwitchInline &>(obj));
11657 return true;
11658 case inlineKeyboardButtonTypeBuy::ID:
11659 func(static_cast<inlineKeyboardButtonTypeBuy &>(obj));
11660 return true;
11661 case inlineKeyboardButtonTypeUser::ID:
11662 func(static_cast<inlineKeyboardButtonTypeUser &>(obj));
11663 return true;
11664 case inlineKeyboardButtonTypeCopyText::ID:
11665 func(static_cast<inlineKeyboardButtonTypeCopyText &>(obj));
11666 return true;
11667 default:
11668 return false;
11669 }
11670}
11671
11678template <class T>
11679bool downcast_call(InlineQueryResult &obj, const T &func) {
11680 switch (obj.get_id()) {
11681 case inlineQueryResultArticle::ID:
11682 func(static_cast<inlineQueryResultArticle &>(obj));
11683 return true;
11684 case inlineQueryResultContact::ID:
11685 func(static_cast<inlineQueryResultContact &>(obj));
11686 return true;
11687 case inlineQueryResultLocation::ID:
11688 func(static_cast<inlineQueryResultLocation &>(obj));
11689 return true;
11690 case inlineQueryResultVenue::ID:
11691 func(static_cast<inlineQueryResultVenue &>(obj));
11692 return true;
11693 case inlineQueryResultGame::ID:
11694 func(static_cast<inlineQueryResultGame &>(obj));
11695 return true;
11696 case inlineQueryResultAnimation::ID:
11697 func(static_cast<inlineQueryResultAnimation &>(obj));
11698 return true;
11699 case inlineQueryResultAudio::ID:
11700 func(static_cast<inlineQueryResultAudio &>(obj));
11701 return true;
11702 case inlineQueryResultDocument::ID:
11703 func(static_cast<inlineQueryResultDocument &>(obj));
11704 return true;
11705 case inlineQueryResultPhoto::ID:
11706 func(static_cast<inlineQueryResultPhoto &>(obj));
11707 return true;
11708 case inlineQueryResultSticker::ID:
11709 func(static_cast<inlineQueryResultSticker &>(obj));
11710 return true;
11711 case inlineQueryResultVideo::ID:
11712 func(static_cast<inlineQueryResultVideo &>(obj));
11713 return true;
11714 case inlineQueryResultVoiceNote::ID:
11715 func(static_cast<inlineQueryResultVoiceNote &>(obj));
11716 return true;
11717 default:
11718 return false;
11719 }
11720}
11721
11728template <class T>
11730 switch (obj.get_id()) {
11731 case inlineQueryResultsButtonTypeStartBot::ID:
11732 func(static_cast<inlineQueryResultsButtonTypeStartBot &>(obj));
11733 return true;
11734 case inlineQueryResultsButtonTypeWebApp::ID:
11735 func(static_cast<inlineQueryResultsButtonTypeWebApp &>(obj));
11736 return true;
11737 default:
11738 return false;
11739 }
11740}
11741
11748template <class T>
11749bool downcast_call(InputBackground &obj, const T &func) {
11750 switch (obj.get_id()) {
11751 case inputBackgroundLocal::ID:
11752 func(static_cast<inputBackgroundLocal &>(obj));
11753 return true;
11754 case inputBackgroundRemote::ID:
11755 func(static_cast<inputBackgroundRemote &>(obj));
11756 return true;
11757 case inputBackgroundPrevious::ID:
11758 func(static_cast<inputBackgroundPrevious &>(obj));
11759 return true;
11760 default:
11761 return false;
11762 }
11763}
11764
11771template <class T>
11772bool downcast_call(InputCall &obj, const T &func) {
11773 switch (obj.get_id()) {
11774 case inputCallDiscarded::ID:
11775 func(static_cast<inputCallDiscarded &>(obj));
11776 return true;
11777 case inputCallFromMessage::ID:
11778 func(static_cast<inputCallFromMessage &>(obj));
11779 return true;
11780 default:
11781 return false;
11782 }
11783}
11784
11791template <class T>
11792bool downcast_call(InputChatPhoto &obj, const T &func) {
11793 switch (obj.get_id()) {
11794 case inputChatPhotoPrevious::ID:
11795 func(static_cast<inputChatPhotoPrevious &>(obj));
11796 return true;
11797 case inputChatPhotoStatic::ID:
11798 func(static_cast<inputChatPhotoStatic &>(obj));
11799 return true;
11800 case inputChatPhotoAnimation::ID:
11801 func(static_cast<inputChatPhotoAnimation &>(obj));
11802 return true;
11803 case inputChatPhotoSticker::ID:
11804 func(static_cast<inputChatPhotoSticker &>(obj));
11805 return true;
11806 default:
11807 return false;
11808 }
11809}
11810
11817template <class T>
11818bool downcast_call(InputChatTheme &obj, const T &func) {
11819 switch (obj.get_id()) {
11820 case inputChatThemeEmoji::ID:
11821 func(static_cast<inputChatThemeEmoji &>(obj));
11822 return true;
11823 case inputChatThemeGift::ID:
11824 func(static_cast<inputChatThemeGift &>(obj));
11825 return true;
11826 default:
11827 return false;
11828 }
11829}
11830
11837template <class T>
11838bool downcast_call(InputCredentials &obj, const T &func) {
11839 switch (obj.get_id()) {
11840 case inputCredentialsSaved::ID:
11841 func(static_cast<inputCredentialsSaved &>(obj));
11842 return true;
11843 case inputCredentialsNew::ID:
11844 func(static_cast<inputCredentialsNew &>(obj));
11845 return true;
11846 case inputCredentialsApplePay::ID:
11847 func(static_cast<inputCredentialsApplePay &>(obj));
11848 return true;
11849 case inputCredentialsGooglePay::ID:
11850 func(static_cast<inputCredentialsGooglePay &>(obj));
11851 return true;
11852 default:
11853 return false;
11854 }
11855}
11856
11863template <class T>
11864bool downcast_call(InputFile &obj, const T &func) {
11865 switch (obj.get_id()) {
11866 case inputFileId::ID:
11867 func(static_cast<inputFileId &>(obj));
11868 return true;
11869 case inputFileRemote::ID:
11870 func(static_cast<inputFileRemote &>(obj));
11871 return true;
11872 case inputFileLocal::ID:
11873 func(static_cast<inputFileLocal &>(obj));
11874 return true;
11875 case inputFileGenerated::ID:
11876 func(static_cast<inputFileGenerated &>(obj));
11877 return true;
11878 default:
11879 return false;
11880 }
11881}
11882
11889template <class T>
11890bool downcast_call(InputGroupCall &obj, const T &func) {
11891 switch (obj.get_id()) {
11892 case inputGroupCallLink::ID:
11893 func(static_cast<inputGroupCallLink &>(obj));
11894 return true;
11895 case inputGroupCallMessage::ID:
11896 func(static_cast<inputGroupCallMessage &>(obj));
11897 return true;
11898 default:
11899 return false;
11900 }
11901}
11902
11909template <class T>
11910bool downcast_call(InputInlineQueryResult &obj, const T &func) {
11911 switch (obj.get_id()) {
11912 case inputInlineQueryResultAnimation::ID:
11913 func(static_cast<inputInlineQueryResultAnimation &>(obj));
11914 return true;
11915 case inputInlineQueryResultArticle::ID:
11916 func(static_cast<inputInlineQueryResultArticle &>(obj));
11917 return true;
11918 case inputInlineQueryResultAudio::ID:
11919 func(static_cast<inputInlineQueryResultAudio &>(obj));
11920 return true;
11921 case inputInlineQueryResultContact::ID:
11922 func(static_cast<inputInlineQueryResultContact &>(obj));
11923 return true;
11924 case inputInlineQueryResultDocument::ID:
11925 func(static_cast<inputInlineQueryResultDocument &>(obj));
11926 return true;
11927 case inputInlineQueryResultGame::ID:
11928 func(static_cast<inputInlineQueryResultGame &>(obj));
11929 return true;
11930 case inputInlineQueryResultLocation::ID:
11931 func(static_cast<inputInlineQueryResultLocation &>(obj));
11932 return true;
11933 case inputInlineQueryResultPhoto::ID:
11934 func(static_cast<inputInlineQueryResultPhoto &>(obj));
11935 return true;
11936 case inputInlineQueryResultSticker::ID:
11937 func(static_cast<inputInlineQueryResultSticker &>(obj));
11938 return true;
11939 case inputInlineQueryResultVenue::ID:
11940 func(static_cast<inputInlineQueryResultVenue &>(obj));
11941 return true;
11942 case inputInlineQueryResultVideo::ID:
11943 func(static_cast<inputInlineQueryResultVideo &>(obj));
11944 return true;
11945 case inputInlineQueryResultVoiceNote::ID:
11946 func(static_cast<inputInlineQueryResultVoiceNote &>(obj));
11947 return true;
11948 default:
11949 return false;
11950 }
11951}
11952
11959template <class T>
11960bool downcast_call(InputInvoice &obj, const T &func) {
11961 switch (obj.get_id()) {
11962 case inputInvoiceMessage::ID:
11963 func(static_cast<inputInvoiceMessage &>(obj));
11964 return true;
11965 case inputInvoiceName::ID:
11966 func(static_cast<inputInvoiceName &>(obj));
11967 return true;
11968 case inputInvoiceTelegram::ID:
11969 func(static_cast<inputInvoiceTelegram &>(obj));
11970 return true;
11971 default:
11972 return false;
11973 }
11974}
11975
11982template <class T>
11983bool downcast_call(InputMessageContent &obj, const T &func) {
11984 switch (obj.get_id()) {
11985 case inputMessageText::ID:
11986 func(static_cast<inputMessageText &>(obj));
11987 return true;
11988 case inputMessageRichMessage::ID:
11989 func(static_cast<inputMessageRichMessage &>(obj));
11990 return true;
11991 case inputMessageAnimation::ID:
11992 func(static_cast<inputMessageAnimation &>(obj));
11993 return true;
11994 case inputMessageAudio::ID:
11995 func(static_cast<inputMessageAudio &>(obj));
11996 return true;
11997 case inputMessageDocument::ID:
11998 func(static_cast<inputMessageDocument &>(obj));
11999 return true;
12000 case inputMessagePaidMedia::ID:
12001 func(static_cast<inputMessagePaidMedia &>(obj));
12002 return true;
12003 case inputMessagePhoto::ID:
12004 func(static_cast<inputMessagePhoto &>(obj));
12005 return true;
12006 case inputMessageSticker::ID:
12007 func(static_cast<inputMessageSticker &>(obj));
12008 return true;
12009 case inputMessageVideo::ID:
12010 func(static_cast<inputMessageVideo &>(obj));
12011 return true;
12012 case inputMessageVideoNote::ID:
12013 func(static_cast<inputMessageVideoNote &>(obj));
12014 return true;
12015 case inputMessageVoiceNote::ID:
12016 func(static_cast<inputMessageVoiceNote &>(obj));
12017 return true;
12018 case inputMessageLiveLocation::ID:
12019 func(static_cast<inputMessageLiveLocation &>(obj));
12020 return true;
12021 case inputMessageLocation::ID:
12022 func(static_cast<inputMessageLocation &>(obj));
12023 return true;
12024 case inputMessageVenue::ID:
12025 func(static_cast<inputMessageVenue &>(obj));
12026 return true;
12027 case inputMessageContact::ID:
12028 func(static_cast<inputMessageContact &>(obj));
12029 return true;
12030 case inputMessageDice::ID:
12031 func(static_cast<inputMessageDice &>(obj));
12032 return true;
12033 case inputMessageGame::ID:
12034 func(static_cast<inputMessageGame &>(obj));
12035 return true;
12036 case inputMessageInvoice::ID:
12037 func(static_cast<inputMessageInvoice &>(obj));
12038 return true;
12039 case inputMessagePoll::ID:
12040 func(static_cast<inputMessagePoll &>(obj));
12041 return true;
12042 case inputMessageStakeDice::ID:
12043 func(static_cast<inputMessageStakeDice &>(obj));
12044 return true;
12045 case inputMessageStory::ID:
12046 func(static_cast<inputMessageStory &>(obj));
12047 return true;
12048 case inputMessageChecklist::ID:
12049 func(static_cast<inputMessageChecklist &>(obj));
12050 return true;
12051 case inputMessageForwarded::ID:
12052 func(static_cast<inputMessageForwarded &>(obj));
12053 return true;
12054 default:
12055 return false;
12056 }
12057}
12058
12065template <class T>
12066bool downcast_call(InputMessageReplyTo &obj, const T &func) {
12067 switch (obj.get_id()) {
12068 case inputMessageReplyToMessage::ID:
12069 func(static_cast<inputMessageReplyToMessage &>(obj));
12070 return true;
12071 case inputMessageReplyToExternalMessage::ID:
12072 func(static_cast<inputMessageReplyToExternalMessage &>(obj));
12073 return true;
12074 case inputMessageReplyToStory::ID:
12075 func(static_cast<inputMessageReplyToStory &>(obj));
12076 return true;
12077 case inputMessageReplyToEphemeralMessage::ID:
12078 func(static_cast<inputMessageReplyToEphemeralMessage &>(obj));
12079 return true;
12080 default:
12081 return false;
12082 }
12083}
12084
12091template <class T>
12092bool downcast_call(InputPageBlock &obj, const T &func) {
12093 switch (obj.get_id()) {
12094 case inputPageBlockSectionHeading::ID:
12095 func(static_cast<inputPageBlockSectionHeading &>(obj));
12096 return true;
12097 case inputPageBlockParagraph::ID:
12098 func(static_cast<inputPageBlockParagraph &>(obj));
12099 return true;
12100 case inputPageBlockPreformatted::ID:
12101 func(static_cast<inputPageBlockPreformatted &>(obj));
12102 return true;
12103 case inputPageBlockFooter::ID:
12104 func(static_cast<inputPageBlockFooter &>(obj));
12105 return true;
12106 case inputPageBlockThinking::ID:
12107 func(static_cast<inputPageBlockThinking &>(obj));
12108 return true;
12109 case inputPageBlockDivider::ID:
12110 func(static_cast<inputPageBlockDivider &>(obj));
12111 return true;
12112 case inputPageBlockMathematicalExpression::ID:
12113 func(static_cast<inputPageBlockMathematicalExpression &>(obj));
12114 return true;
12115 case inputPageBlockAnchor::ID:
12116 func(static_cast<inputPageBlockAnchor &>(obj));
12117 return true;
12118 case inputPageBlockList::ID:
12119 func(static_cast<inputPageBlockList &>(obj));
12120 return true;
12121 case inputPageBlockBlockQuote::ID:
12122 func(static_cast<inputPageBlockBlockQuote &>(obj));
12123 return true;
12124 case inputPageBlockPullQuote::ID:
12125 func(static_cast<inputPageBlockPullQuote &>(obj));
12126 return true;
12127 case inputPageBlockAnimation::ID:
12128 func(static_cast<inputPageBlockAnimation &>(obj));
12129 return true;
12130 case inputPageBlockAudio::ID:
12131 func(static_cast<inputPageBlockAudio &>(obj));
12132 return true;
12133 case inputPageBlockPhoto::ID:
12134 func(static_cast<inputPageBlockPhoto &>(obj));
12135 return true;
12136 case inputPageBlockVideo::ID:
12137 func(static_cast<inputPageBlockVideo &>(obj));
12138 return true;
12139 case inputPageBlockVoiceNote::ID:
12140 func(static_cast<inputPageBlockVoiceNote &>(obj));
12141 return true;
12142 case inputPageBlockCollage::ID:
12143 func(static_cast<inputPageBlockCollage &>(obj));
12144 return true;
12145 case inputPageBlockSlideshow::ID:
12146 func(static_cast<inputPageBlockSlideshow &>(obj));
12147 return true;
12148 case inputPageBlockTable::ID:
12149 func(static_cast<inputPageBlockTable &>(obj));
12150 return true;
12151 case inputPageBlockDetails::ID:
12152 func(static_cast<inputPageBlockDetails &>(obj));
12153 return true;
12154 case inputPageBlockMap::ID:
12155 func(static_cast<inputPageBlockMap &>(obj));
12156 return true;
12157 default:
12158 return false;
12159 }
12160}
12161
12168template <class T>
12169bool downcast_call(InputPaidMediaType &obj, const T &func) {
12170 switch (obj.get_id()) {
12171 case inputPaidMediaTypePhoto::ID:
12172 func(static_cast<inputPaidMediaTypePhoto &>(obj));
12173 return true;
12174 case inputPaidMediaTypeVideo::ID:
12175 func(static_cast<inputPaidMediaTypeVideo &>(obj));
12176 return true;
12177 default:
12178 return false;
12179 }
12180}
12181
12188template <class T>
12189bool downcast_call(InputPassportElement &obj, const T &func) {
12190 switch (obj.get_id()) {
12191 case inputPassportElementPersonalDetails::ID:
12192 func(static_cast<inputPassportElementPersonalDetails &>(obj));
12193 return true;
12194 case inputPassportElementPassport::ID:
12195 func(static_cast<inputPassportElementPassport &>(obj));
12196 return true;
12197 case inputPassportElementDriverLicense::ID:
12198 func(static_cast<inputPassportElementDriverLicense &>(obj));
12199 return true;
12200 case inputPassportElementIdentityCard::ID:
12201 func(static_cast<inputPassportElementIdentityCard &>(obj));
12202 return true;
12203 case inputPassportElementInternalPassport::ID:
12204 func(static_cast<inputPassportElementInternalPassport &>(obj));
12205 return true;
12206 case inputPassportElementAddress::ID:
12207 func(static_cast<inputPassportElementAddress &>(obj));
12208 return true;
12209 case inputPassportElementUtilityBill::ID:
12210 func(static_cast<inputPassportElementUtilityBill &>(obj));
12211 return true;
12212 case inputPassportElementBankStatement::ID:
12213 func(static_cast<inputPassportElementBankStatement &>(obj));
12214 return true;
12215 case inputPassportElementRentalAgreement::ID:
12216 func(static_cast<inputPassportElementRentalAgreement &>(obj));
12217 return true;
12218 case inputPassportElementPassportRegistration::ID:
12219 func(static_cast<inputPassportElementPassportRegistration &>(obj));
12220 return true;
12221 case inputPassportElementTemporaryRegistration::ID:
12222 func(static_cast<inputPassportElementTemporaryRegistration &>(obj));
12223 return true;
12224 case inputPassportElementPhoneNumber::ID:
12225 func(static_cast<inputPassportElementPhoneNumber &>(obj));
12226 return true;
12227 case inputPassportElementEmailAddress::ID:
12228 func(static_cast<inputPassportElementEmailAddress &>(obj));
12229 return true;
12230 default:
12231 return false;
12232 }
12233}
12234
12241template <class T>
12243 switch (obj.get_id()) {
12244 case inputPassportElementErrorSourceUnspecified::ID:
12245 func(static_cast<inputPassportElementErrorSourceUnspecified &>(obj));
12246 return true;
12247 case inputPassportElementErrorSourceDataField::ID:
12248 func(static_cast<inputPassportElementErrorSourceDataField &>(obj));
12249 return true;
12250 case inputPassportElementErrorSourceFrontSide::ID:
12251 func(static_cast<inputPassportElementErrorSourceFrontSide &>(obj));
12252 return true;
12253 case inputPassportElementErrorSourceReverseSide::ID:
12254 func(static_cast<inputPassportElementErrorSourceReverseSide &>(obj));
12255 return true;
12256 case inputPassportElementErrorSourceSelfie::ID:
12257 func(static_cast<inputPassportElementErrorSourceSelfie &>(obj));
12258 return true;
12259 case inputPassportElementErrorSourceTranslationFile::ID:
12260 func(static_cast<inputPassportElementErrorSourceTranslationFile &>(obj));
12261 return true;
12262 case inputPassportElementErrorSourceTranslationFiles::ID:
12263 func(static_cast<inputPassportElementErrorSourceTranslationFiles &>(obj));
12264 return true;
12265 case inputPassportElementErrorSourceFile::ID:
12266 func(static_cast<inputPassportElementErrorSourceFile &>(obj));
12267 return true;
12268 case inputPassportElementErrorSourceFiles::ID:
12269 func(static_cast<inputPassportElementErrorSourceFiles &>(obj));
12270 return true;
12271 default:
12272 return false;
12273 }
12274}
12275
12282template <class T>
12283bool downcast_call(InputPollMedia &obj, const T &func) {
12284 switch (obj.get_id()) {
12285 case inputPollMediaAnimation::ID:
12286 func(static_cast<inputPollMediaAnimation &>(obj));
12287 return true;
12288 case inputPollMediaAudio::ID:
12289 func(static_cast<inputPollMediaAudio &>(obj));
12290 return true;
12291 case inputPollMediaDocument::ID:
12292 func(static_cast<inputPollMediaDocument &>(obj));
12293 return true;
12294 case inputPollMediaLink::ID:
12295 func(static_cast<inputPollMediaLink &>(obj));
12296 return true;
12297 case inputPollMediaLocation::ID:
12298 func(static_cast<inputPollMediaLocation &>(obj));
12299 return true;
12300 case inputPollMediaPhoto::ID:
12301 func(static_cast<inputPollMediaPhoto &>(obj));
12302 return true;
12303 case inputPollMediaSticker::ID:
12304 func(static_cast<inputPollMediaSticker &>(obj));
12305 return true;
12306 case inputPollMediaVenue::ID:
12307 func(static_cast<inputPollMediaVenue &>(obj));
12308 return true;
12309 case inputPollMediaVideo::ID:
12310 func(static_cast<inputPollMediaVideo &>(obj));
12311 return true;
12312 default:
12313 return false;
12314 }
12315}
12316
12323template <class T>
12324bool downcast_call(InputPollType &obj, const T &func) {
12325 switch (obj.get_id()) {
12326 case inputPollTypeRegular::ID:
12327 func(static_cast<inputPollTypeRegular &>(obj));
12328 return true;
12329 case inputPollTypeQuiz::ID:
12330 func(static_cast<inputPollTypeQuiz &>(obj));
12331 return true;
12332 default:
12333 return false;
12334 }
12335}
12336
12343template <class T>
12344bool downcast_call(InputStoryAreaType &obj, const T &func) {
12345 switch (obj.get_id()) {
12346 case inputStoryAreaTypeLocation::ID:
12347 func(static_cast<inputStoryAreaTypeLocation &>(obj));
12348 return true;
12349 case inputStoryAreaTypeFoundVenue::ID:
12350 func(static_cast<inputStoryAreaTypeFoundVenue &>(obj));
12351 return true;
12352 case inputStoryAreaTypePreviousVenue::ID:
12353 func(static_cast<inputStoryAreaTypePreviousVenue &>(obj));
12354 return true;
12355 case inputStoryAreaTypeSuggestedReaction::ID:
12356 func(static_cast<inputStoryAreaTypeSuggestedReaction &>(obj));
12357 return true;
12358 case inputStoryAreaTypeMessage::ID:
12359 func(static_cast<inputStoryAreaTypeMessage &>(obj));
12360 return true;
12361 case inputStoryAreaTypeLink::ID:
12362 func(static_cast<inputStoryAreaTypeLink &>(obj));
12363 return true;
12364 case inputStoryAreaTypeWeather::ID:
12365 func(static_cast<inputStoryAreaTypeWeather &>(obj));
12366 return true;
12367 case inputStoryAreaTypeUpgradedGift::ID:
12368 func(static_cast<inputStoryAreaTypeUpgradedGift &>(obj));
12369 return true;
12370 default:
12371 return false;
12372 }
12373}
12374
12381template <class T>
12382bool downcast_call(InputStoryContent &obj, const T &func) {
12383 switch (obj.get_id()) {
12384 case inputStoryContentPhoto::ID:
12385 func(static_cast<inputStoryContentPhoto &>(obj));
12386 return true;
12387 case inputStoryContentVideo::ID:
12388 func(static_cast<inputStoryContentVideo &>(obj));
12389 return true;
12390 default:
12391 return false;
12392 }
12393}
12394
12401template <class T>
12402bool downcast_call(InternalLinkType &obj, const T &func) {
12403 switch (obj.get_id()) {
12404 case internalLinkTypeAttachmentMenuBot::ID:
12405 func(static_cast<internalLinkTypeAttachmentMenuBot &>(obj));
12406 return true;
12407 case internalLinkTypeAuthenticationCode::ID:
12408 func(static_cast<internalLinkTypeAuthenticationCode &>(obj));
12409 return true;
12410 case internalLinkTypeBackground::ID:
12411 func(static_cast<internalLinkTypeBackground &>(obj));
12412 return true;
12413 case internalLinkTypeBotAddToChannel::ID:
12414 func(static_cast<internalLinkTypeBotAddToChannel &>(obj));
12415 return true;
12416 case internalLinkTypeBotStart::ID:
12417 func(static_cast<internalLinkTypeBotStart &>(obj));
12418 return true;
12419 case internalLinkTypeBotStartInGroup::ID:
12420 func(static_cast<internalLinkTypeBotStartInGroup &>(obj));
12421 return true;
12422 case internalLinkTypeBusinessChat::ID:
12423 func(static_cast<internalLinkTypeBusinessChat &>(obj));
12424 return true;
12425 case internalLinkTypeCallsPage::ID:
12426 func(static_cast<internalLinkTypeCallsPage &>(obj));
12427 return true;
12428 case internalLinkTypeChatAffiliateProgram::ID:
12429 func(static_cast<internalLinkTypeChatAffiliateProgram &>(obj));
12430 return true;
12431 case internalLinkTypeChatBoost::ID:
12432 func(static_cast<internalLinkTypeChatBoost &>(obj));
12433 return true;
12434 case internalLinkTypeChatFolderInvite::ID:
12435 func(static_cast<internalLinkTypeChatFolderInvite &>(obj));
12436 return true;
12437 case internalLinkTypeChatInvite::ID:
12438 func(static_cast<internalLinkTypeChatInvite &>(obj));
12439 return true;
12440 case internalLinkTypeChatSelection::ID:
12441 func(static_cast<internalLinkTypeChatSelection &>(obj));
12442 return true;
12443 case internalLinkTypeContactsPage::ID:
12444 func(static_cast<internalLinkTypeContactsPage &>(obj));
12445 return true;
12446 case internalLinkTypeDirectMessagesChat::ID:
12447 func(static_cast<internalLinkTypeDirectMessagesChat &>(obj));
12448 return true;
12449 case internalLinkTypeGame::ID:
12450 func(static_cast<internalLinkTypeGame &>(obj));
12451 return true;
12452 case internalLinkTypeGiftAuction::ID:
12453 func(static_cast<internalLinkTypeGiftAuction &>(obj));
12454 return true;
12455 case internalLinkTypeGiftCollection::ID:
12456 func(static_cast<internalLinkTypeGiftCollection &>(obj));
12457 return true;
12458 case internalLinkTypeGroupCall::ID:
12459 func(static_cast<internalLinkTypeGroupCall &>(obj));
12460 return true;
12461 case internalLinkTypeInstantView::ID:
12462 func(static_cast<internalLinkTypeInstantView &>(obj));
12463 return true;
12464 case internalLinkTypeInvoice::ID:
12465 func(static_cast<internalLinkTypeInvoice &>(obj));
12466 return true;
12467 case internalLinkTypeLanguagePack::ID:
12468 func(static_cast<internalLinkTypeLanguagePack &>(obj));
12469 return true;
12470 case internalLinkTypeLiveStory::ID:
12471 func(static_cast<internalLinkTypeLiveStory &>(obj));
12472 return true;
12473 case internalLinkTypeMainWebApp::ID:
12474 func(static_cast<internalLinkTypeMainWebApp &>(obj));
12475 return true;
12476 case internalLinkTypeMessage::ID:
12477 func(static_cast<internalLinkTypeMessage &>(obj));
12478 return true;
12479 case internalLinkTypeMessageDraft::ID:
12480 func(static_cast<internalLinkTypeMessageDraft &>(obj));
12481 return true;
12482 case internalLinkTypeMyProfilePage::ID:
12483 func(static_cast<internalLinkTypeMyProfilePage &>(obj));
12484 return true;
12485 case internalLinkTypeNewChannelChat::ID:
12486 func(static_cast<internalLinkTypeNewChannelChat &>(obj));
12487 return true;
12488 case internalLinkTypeNewGroupChat::ID:
12489 func(static_cast<internalLinkTypeNewGroupChat &>(obj));
12490 return true;
12491 case internalLinkTypeNewPrivateChat::ID:
12492 func(static_cast<internalLinkTypeNewPrivateChat &>(obj));
12493 return true;
12494 case internalLinkTypeNewStory::ID:
12495 func(static_cast<internalLinkTypeNewStory &>(obj));
12496 return true;
12497 case internalLinkTypeOauth::ID:
12498 func(static_cast<internalLinkTypeOauth &>(obj));
12499 return true;
12500 case internalLinkTypePassportDataRequest::ID:
12501 func(static_cast<internalLinkTypePassportDataRequest &>(obj));
12502 return true;
12503 case internalLinkTypePhoneNumberConfirmation::ID:
12504 func(static_cast<internalLinkTypePhoneNumberConfirmation &>(obj));
12505 return true;
12506 case internalLinkTypePremiumFeaturesPage::ID:
12507 func(static_cast<internalLinkTypePremiumFeaturesPage &>(obj));
12508 return true;
12509 case internalLinkTypePremiumGiftCode::ID:
12510 func(static_cast<internalLinkTypePremiumGiftCode &>(obj));
12511 return true;
12512 case internalLinkTypePremiumGiftPurchase::ID:
12513 func(static_cast<internalLinkTypePremiumGiftPurchase &>(obj));
12514 return true;
12515 case internalLinkTypeProxy::ID:
12516 func(static_cast<internalLinkTypeProxy &>(obj));
12517 return true;
12518 case internalLinkTypePublicChat::ID:
12519 func(static_cast<internalLinkTypePublicChat &>(obj));
12520 return true;
12521 case internalLinkTypeQrCodeAuthentication::ID:
12522 func(static_cast<internalLinkTypeQrCodeAuthentication &>(obj));
12523 return true;
12524 case internalLinkTypeRequestManagedBot::ID:
12525 func(static_cast<internalLinkTypeRequestManagedBot &>(obj));
12526 return true;
12527 case internalLinkTypeRestorePurchases::ID:
12528 func(static_cast<internalLinkTypeRestorePurchases &>(obj));
12529 return true;
12530 case internalLinkTypeSavedMessages::ID:
12531 func(static_cast<internalLinkTypeSavedMessages &>(obj));
12532 return true;
12533 case internalLinkTypeSearch::ID:
12534 func(static_cast<internalLinkTypeSearch &>(obj));
12535 return true;
12536 case internalLinkTypeSettings::ID:
12537 func(static_cast<internalLinkTypeSettings &>(obj));
12538 return true;
12539 case internalLinkTypeStarPurchase::ID:
12540 func(static_cast<internalLinkTypeStarPurchase &>(obj));
12541 return true;
12542 case internalLinkTypeStickerSet::ID:
12543 func(static_cast<internalLinkTypeStickerSet &>(obj));
12544 return true;
12545 case internalLinkTypeStory::ID:
12546 func(static_cast<internalLinkTypeStory &>(obj));
12547 return true;
12548 case internalLinkTypeStoryAlbum::ID:
12549 func(static_cast<internalLinkTypeStoryAlbum &>(obj));
12550 return true;
12551 case internalLinkTypeTextCompositionStyle::ID:
12552 func(static_cast<internalLinkTypeTextCompositionStyle &>(obj));
12553 return true;
12554 case internalLinkTypeTheme::ID:
12555 func(static_cast<internalLinkTypeTheme &>(obj));
12556 return true;
12557 case internalLinkTypeUnknownDeepLink::ID:
12558 func(static_cast<internalLinkTypeUnknownDeepLink &>(obj));
12559 return true;
12560 case internalLinkTypeUpgradedGift::ID:
12561 func(static_cast<internalLinkTypeUpgradedGift &>(obj));
12562 return true;
12563 case internalLinkTypeUserPhoneNumber::ID:
12564 func(static_cast<internalLinkTypeUserPhoneNumber &>(obj));
12565 return true;
12566 case internalLinkTypeUserToken::ID:
12567 func(static_cast<internalLinkTypeUserToken &>(obj));
12568 return true;
12569 case internalLinkTypeVideoChat::ID:
12570 func(static_cast<internalLinkTypeVideoChat &>(obj));
12571 return true;
12572 case internalLinkTypeWebApp::ID:
12573 func(static_cast<internalLinkTypeWebApp &>(obj));
12574 return true;
12575 default:
12576 return false;
12577 }
12578}
12579
12586template <class T>
12588 switch (obj.get_id()) {
12589 case inviteGroupCallParticipantResultUserPrivacyRestricted::ID:
12591 return true;
12592 case inviteGroupCallParticipantResultUserAlreadyParticipant::ID:
12594 return true;
12595 case inviteGroupCallParticipantResultUserWasBanned::ID:
12596 func(static_cast<inviteGroupCallParticipantResultUserWasBanned &>(obj));
12597 return true;
12598 case inviteGroupCallParticipantResultSuccess::ID:
12599 func(static_cast<inviteGroupCallParticipantResultSuccess &>(obj));
12600 return true;
12601 default:
12602 return false;
12603 }
12604}
12605
12612template <class T>
12613bool downcast_call(InviteLinkChatType &obj, const T &func) {
12614 switch (obj.get_id()) {
12615 case inviteLinkChatTypeBasicGroup::ID:
12616 func(static_cast<inviteLinkChatTypeBasicGroup &>(obj));
12617 return true;
12618 case inviteLinkChatTypeSupergroup::ID:
12619 func(static_cast<inviteLinkChatTypeSupergroup &>(obj));
12620 return true;
12621 case inviteLinkChatTypeChannel::ID:
12622 func(static_cast<inviteLinkChatTypeChannel &>(obj));
12623 return true;
12624 default:
12625 return false;
12626 }
12627}
12628
12635template <class T>
12636bool downcast_call(JsonValue &obj, const T &func) {
12637 switch (obj.get_id()) {
12638 case jsonValueNull::ID:
12639 func(static_cast<jsonValueNull &>(obj));
12640 return true;
12641 case jsonValueBoolean::ID:
12642 func(static_cast<jsonValueBoolean &>(obj));
12643 return true;
12644 case jsonValueNumber::ID:
12645 func(static_cast<jsonValueNumber &>(obj));
12646 return true;
12647 case jsonValueString::ID:
12648 func(static_cast<jsonValueString &>(obj));
12649 return true;
12650 case jsonValueArray::ID:
12651 func(static_cast<jsonValueArray &>(obj));
12652 return true;
12653 case jsonValueObject::ID:
12654 func(static_cast<jsonValueObject &>(obj));
12655 return true;
12656 default:
12657 return false;
12658 }
12659}
12660
12667template <class T>
12668bool downcast_call(KeyboardButtonSource &obj, const T &func) {
12669 switch (obj.get_id()) {
12670 case keyboardButtonSourceMessage::ID:
12671 func(static_cast<keyboardButtonSourceMessage &>(obj));
12672 return true;
12673 case keyboardButtonSourceWebApp::ID:
12674 func(static_cast<keyboardButtonSourceWebApp &>(obj));
12675 return true;
12676 default:
12677 return false;
12678 }
12679}
12680
12687template <class T>
12688bool downcast_call(KeyboardButtonType &obj, const T &func) {
12689 switch (obj.get_id()) {
12690 case keyboardButtonTypeText::ID:
12691 func(static_cast<keyboardButtonTypeText &>(obj));
12692 return true;
12693 case keyboardButtonTypeRequestPhoneNumber::ID:
12694 func(static_cast<keyboardButtonTypeRequestPhoneNumber &>(obj));
12695 return true;
12696 case keyboardButtonTypeRequestLocation::ID:
12697 func(static_cast<keyboardButtonTypeRequestLocation &>(obj));
12698 return true;
12699 case keyboardButtonTypeRequestPoll::ID:
12700 func(static_cast<keyboardButtonTypeRequestPoll &>(obj));
12701 return true;
12702 case keyboardButtonTypeRequestUsers::ID:
12703 func(static_cast<keyboardButtonTypeRequestUsers &>(obj));
12704 return true;
12705 case keyboardButtonTypeRequestChat::ID:
12706 func(static_cast<keyboardButtonTypeRequestChat &>(obj));
12707 return true;
12708 case keyboardButtonTypeRequestManagedBot::ID:
12709 func(static_cast<keyboardButtonTypeRequestManagedBot &>(obj));
12710 return true;
12711 case keyboardButtonTypeWebApp::ID:
12712 func(static_cast<keyboardButtonTypeWebApp &>(obj));
12713 return true;
12714 default:
12715 return false;
12716 }
12717}
12718
12725template <class T>
12726bool downcast_call(LanguagePackStringValue &obj, const T &func) {
12727 switch (obj.get_id()) {
12728 case languagePackStringValueOrdinary::ID:
12729 func(static_cast<languagePackStringValueOrdinary &>(obj));
12730 return true;
12731 case languagePackStringValuePluralized::ID:
12732 func(static_cast<languagePackStringValuePluralized &>(obj));
12733 return true;
12734 case languagePackStringValueDeleted::ID:
12735 func(static_cast<languagePackStringValueDeleted &>(obj));
12736 return true;
12737 default:
12738 return false;
12739 }
12740}
12741
12748template <class T>
12749bool downcast_call(LinkPreviewAlbumMedia &obj, const T &func) {
12750 switch (obj.get_id()) {
12751 case linkPreviewAlbumMediaPhoto::ID:
12752 func(static_cast<linkPreviewAlbumMediaPhoto &>(obj));
12753 return true;
12754 case linkPreviewAlbumMediaVideo::ID:
12755 func(static_cast<linkPreviewAlbumMediaVideo &>(obj));
12756 return true;
12757 default:
12758 return false;
12759 }
12760}
12761
12768template <class T>
12769bool downcast_call(LinkPreviewType &obj, const T &func) {
12770 switch (obj.get_id()) {
12771 case linkPreviewTypeAlbum::ID:
12772 func(static_cast<linkPreviewTypeAlbum &>(obj));
12773 return true;
12774 case linkPreviewTypeAnimation::ID:
12775 func(static_cast<linkPreviewTypeAnimation &>(obj));
12776 return true;
12777 case linkPreviewTypeApp::ID:
12778 func(static_cast<linkPreviewTypeApp &>(obj));
12779 return true;
12780 case linkPreviewTypeArticle::ID:
12781 func(static_cast<linkPreviewTypeArticle &>(obj));
12782 return true;
12783 case linkPreviewTypeAudio::ID:
12784 func(static_cast<linkPreviewTypeAudio &>(obj));
12785 return true;
12786 case linkPreviewTypeBackground::ID:
12787 func(static_cast<linkPreviewTypeBackground &>(obj));
12788 return true;
12789 case linkPreviewTypeChannelBoost::ID:
12790 func(static_cast<linkPreviewTypeChannelBoost &>(obj));
12791 return true;
12792 case linkPreviewTypeChat::ID:
12793 func(static_cast<linkPreviewTypeChat &>(obj));
12794 return true;
12795 case linkPreviewTypeDirectMessagesChat::ID:
12796 func(static_cast<linkPreviewTypeDirectMessagesChat &>(obj));
12797 return true;
12798 case linkPreviewTypeDocument::ID:
12799 func(static_cast<linkPreviewTypeDocument &>(obj));
12800 return true;
12801 case linkPreviewTypeEmbeddedAnimationPlayer::ID:
12802 func(static_cast<linkPreviewTypeEmbeddedAnimationPlayer &>(obj));
12803 return true;
12804 case linkPreviewTypeEmbeddedAudioPlayer::ID:
12805 func(static_cast<linkPreviewTypeEmbeddedAudioPlayer &>(obj));
12806 return true;
12807 case linkPreviewTypeEmbeddedVideoPlayer::ID:
12808 func(static_cast<linkPreviewTypeEmbeddedVideoPlayer &>(obj));
12809 return true;
12810 case linkPreviewTypeExternalAudio::ID:
12811 func(static_cast<linkPreviewTypeExternalAudio &>(obj));
12812 return true;
12813 case linkPreviewTypeExternalVideo::ID:
12814 func(static_cast<linkPreviewTypeExternalVideo &>(obj));
12815 return true;
12816 case linkPreviewTypeGiftAuction::ID:
12817 func(static_cast<linkPreviewTypeGiftAuction &>(obj));
12818 return true;
12819 case linkPreviewTypeGiftCollection::ID:
12820 func(static_cast<linkPreviewTypeGiftCollection &>(obj));
12821 return true;
12822 case linkPreviewTypeGroupCall::ID:
12823 func(static_cast<linkPreviewTypeGroupCall &>(obj));
12824 return true;
12825 case linkPreviewTypeInvoice::ID:
12826 func(static_cast<linkPreviewTypeInvoice &>(obj));
12827 return true;
12828 case linkPreviewTypeLiveStory::ID:
12829 func(static_cast<linkPreviewTypeLiveStory &>(obj));
12830 return true;
12831 case linkPreviewTypeMessage::ID:
12832 func(static_cast<linkPreviewTypeMessage &>(obj));
12833 return true;
12834 case linkPreviewTypePhoto::ID:
12835 func(static_cast<linkPreviewTypePhoto &>(obj));
12836 return true;
12837 case linkPreviewTypePremiumGiftCode::ID:
12838 func(static_cast<linkPreviewTypePremiumGiftCode &>(obj));
12839 return true;
12840 case linkPreviewTypeRequestManagedBot::ID:
12841 func(static_cast<linkPreviewTypeRequestManagedBot &>(obj));
12842 return true;
12843 case linkPreviewTypeShareableChatFolder::ID:
12844 func(static_cast<linkPreviewTypeShareableChatFolder &>(obj));
12845 return true;
12846 case linkPreviewTypeSticker::ID:
12847 func(static_cast<linkPreviewTypeSticker &>(obj));
12848 return true;
12849 case linkPreviewTypeStickerSet::ID:
12850 func(static_cast<linkPreviewTypeStickerSet &>(obj));
12851 return true;
12852 case linkPreviewTypeStory::ID:
12853 func(static_cast<linkPreviewTypeStory &>(obj));
12854 return true;
12855 case linkPreviewTypeStoryAlbum::ID:
12856 func(static_cast<linkPreviewTypeStoryAlbum &>(obj));
12857 return true;
12858 case linkPreviewTypeSupergroupBoost::ID:
12859 func(static_cast<linkPreviewTypeSupergroupBoost &>(obj));
12860 return true;
12861 case linkPreviewTypeTextCompositionStyle::ID:
12862 func(static_cast<linkPreviewTypeTextCompositionStyle &>(obj));
12863 return true;
12864 case linkPreviewTypeTheme::ID:
12865 func(static_cast<linkPreviewTypeTheme &>(obj));
12866 return true;
12867 case linkPreviewTypeUnsupported::ID:
12868 func(static_cast<linkPreviewTypeUnsupported &>(obj));
12869 return true;
12870 case linkPreviewTypeUpgradedGift::ID:
12871 func(static_cast<linkPreviewTypeUpgradedGift &>(obj));
12872 return true;
12873 case linkPreviewTypeUser::ID:
12874 func(static_cast<linkPreviewTypeUser &>(obj));
12875 return true;
12876 case linkPreviewTypeVideo::ID:
12877 func(static_cast<linkPreviewTypeVideo &>(obj));
12878 return true;
12879 case linkPreviewTypeVideoChat::ID:
12880 func(static_cast<linkPreviewTypeVideoChat &>(obj));
12881 return true;
12882 case linkPreviewTypeVideoNote::ID:
12883 func(static_cast<linkPreviewTypeVideoNote &>(obj));
12884 return true;
12885 case linkPreviewTypeVoiceNote::ID:
12886 func(static_cast<linkPreviewTypeVoiceNote &>(obj));
12887 return true;
12888 case linkPreviewTypeWebApp::ID:
12889 func(static_cast<linkPreviewTypeWebApp &>(obj));
12890 return true;
12891 default:
12892 return false;
12893 }
12894}
12895
12902template <class T>
12903bool downcast_call(LogStream &obj, const T &func) {
12904 switch (obj.get_id()) {
12905 case logStreamDefault::ID:
12906 func(static_cast<logStreamDefault &>(obj));
12907 return true;
12908 case logStreamFile::ID:
12909 func(static_cast<logStreamFile &>(obj));
12910 return true;
12911 case logStreamEmpty::ID:
12912 func(static_cast<logStreamEmpty &>(obj));
12913 return true;
12914 default:
12915 return false;
12916 }
12917}
12918
12925template <class T>
12926bool downcast_call(LoginUrlInfo &obj, const T &func) {
12927 switch (obj.get_id()) {
12928 case loginUrlInfoOpen::ID:
12929 func(static_cast<loginUrlInfoOpen &>(obj));
12930 return true;
12931 case loginUrlInfoRequestConfirmation::ID:
12932 func(static_cast<loginUrlInfoRequestConfirmation &>(obj));
12933 return true;
12934 default:
12935 return false;
12936 }
12937}
12938
12945template <class T>
12946bool downcast_call(MaskPoint &obj, const T &func) {
12947 switch (obj.get_id()) {
12948 case maskPointForehead::ID:
12949 func(static_cast<maskPointForehead &>(obj));
12950 return true;
12951 case maskPointEyes::ID:
12952 func(static_cast<maskPointEyes &>(obj));
12953 return true;
12954 case maskPointMouth::ID:
12955 func(static_cast<maskPointMouth &>(obj));
12956 return true;
12957 case maskPointChin::ID:
12958 func(static_cast<maskPointChin &>(obj));
12959 return true;
12960 default:
12961 return false;
12962 }
12963}
12964
12971template <class T>
12972bool downcast_call(MessageContent &obj, const T &func) {
12973 switch (obj.get_id()) {
12974 case messageText::ID:
12975 func(static_cast<messageText &>(obj));
12976 return true;
12977 case messageRichMessage::ID:
12978 func(static_cast<messageRichMessage &>(obj));
12979 return true;
12980 case messageAnimation::ID:
12981 func(static_cast<messageAnimation &>(obj));
12982 return true;
12983 case messageAudio::ID:
12984 func(static_cast<messageAudio &>(obj));
12985 return true;
12986 case messageDocument::ID:
12987 func(static_cast<messageDocument &>(obj));
12988 return true;
12989 case messagePaidMedia::ID:
12990 func(static_cast<messagePaidMedia &>(obj));
12991 return true;
12992 case messagePhoto::ID:
12993 func(static_cast<messagePhoto &>(obj));
12994 return true;
12995 case messageSticker::ID:
12996 func(static_cast<messageSticker &>(obj));
12997 return true;
12998 case messageVideo::ID:
12999 func(static_cast<messageVideo &>(obj));
13000 return true;
13001 case messageVideoNote::ID:
13002 func(static_cast<messageVideoNote &>(obj));
13003 return true;
13004 case messageVoiceNote::ID:
13005 func(static_cast<messageVoiceNote &>(obj));
13006 return true;
13007 case messageExpiredPhoto::ID:
13008 func(static_cast<messageExpiredPhoto &>(obj));
13009 return true;
13010 case messageExpiredVideo::ID:
13011 func(static_cast<messageExpiredVideo &>(obj));
13012 return true;
13013 case messageExpiredVideoNote::ID:
13014 func(static_cast<messageExpiredVideoNote &>(obj));
13015 return true;
13016 case messageExpiredVoiceNote::ID:
13017 func(static_cast<messageExpiredVoiceNote &>(obj));
13018 return true;
13019 case messageLiveLocation::ID:
13020 func(static_cast<messageLiveLocation &>(obj));
13021 return true;
13022 case messageLocation::ID:
13023 func(static_cast<messageLocation &>(obj));
13024 return true;
13025 case messageVenue::ID:
13026 func(static_cast<messageVenue &>(obj));
13027 return true;
13028 case messageContact::ID:
13029 func(static_cast<messageContact &>(obj));
13030 return true;
13031 case messageAnimatedEmoji::ID:
13032 func(static_cast<messageAnimatedEmoji &>(obj));
13033 return true;
13034 case messageDice::ID:
13035 func(static_cast<messageDice &>(obj));
13036 return true;
13037 case messageGame::ID:
13038 func(static_cast<messageGame &>(obj));
13039 return true;
13040 case messagePoll::ID:
13041 func(static_cast<messagePoll &>(obj));
13042 return true;
13043 case messageStakeDice::ID:
13044 func(static_cast<messageStakeDice &>(obj));
13045 return true;
13046 case messageStory::ID:
13047 func(static_cast<messageStory &>(obj));
13048 return true;
13049 case messageChecklist::ID:
13050 func(static_cast<messageChecklist &>(obj));
13051 return true;
13052 case messageInvoice::ID:
13053 func(static_cast<messageInvoice &>(obj));
13054 return true;
13055 case messageCall::ID:
13056 func(static_cast<messageCall &>(obj));
13057 return true;
13058 case messageGroupCall::ID:
13059 func(static_cast<messageGroupCall &>(obj));
13060 return true;
13061 case messageVideoChatScheduled::ID:
13062 func(static_cast<messageVideoChatScheduled &>(obj));
13063 return true;
13064 case messageVideoChatStarted::ID:
13065 func(static_cast<messageVideoChatStarted &>(obj));
13066 return true;
13067 case messageVideoChatEnded::ID:
13068 func(static_cast<messageVideoChatEnded &>(obj));
13069 return true;
13070 case messageInviteVideoChatParticipants::ID:
13071 func(static_cast<messageInviteVideoChatParticipants &>(obj));
13072 return true;
13073 case messagePollOptionAdded::ID:
13074 func(static_cast<messagePollOptionAdded &>(obj));
13075 return true;
13076 case messagePollOptionDeleted::ID:
13077 func(static_cast<messagePollOptionDeleted &>(obj));
13078 return true;
13079 case messageBasicGroupChatCreate::ID:
13080 func(static_cast<messageBasicGroupChatCreate &>(obj));
13081 return true;
13082 case messageSupergroupChatCreate::ID:
13083 func(static_cast<messageSupergroupChatCreate &>(obj));
13084 return true;
13085 case messageChatChangeTitle::ID:
13086 func(static_cast<messageChatChangeTitle &>(obj));
13087 return true;
13088 case messageChatChangePhoto::ID:
13089 func(static_cast<messageChatChangePhoto &>(obj));
13090 return true;
13091 case messageChatDeletePhoto::ID:
13092 func(static_cast<messageChatDeletePhoto &>(obj));
13093 return true;
13094 case messageChatOwnerLeft::ID:
13095 func(static_cast<messageChatOwnerLeft &>(obj));
13096 return true;
13097 case messageChatOwnerChanged::ID:
13098 func(static_cast<messageChatOwnerChanged &>(obj));
13099 return true;
13100 case messageChatHasProtectedContentToggled::ID:
13101 func(static_cast<messageChatHasProtectedContentToggled &>(obj));
13102 return true;
13103 case messageChatHasProtectedContentDisableRequested::ID:
13104 func(static_cast<messageChatHasProtectedContentDisableRequested &>(obj));
13105 return true;
13106 case messageChatAddMembers::ID:
13107 func(static_cast<messageChatAddMembers &>(obj));
13108 return true;
13109 case messageChatJoinByLink::ID:
13110 func(static_cast<messageChatJoinByLink &>(obj));
13111 return true;
13112 case messageChatJoinByRequest::ID:
13113 func(static_cast<messageChatJoinByRequest &>(obj));
13114 return true;
13115 case messageChatDeleteMember::ID:
13116 func(static_cast<messageChatDeleteMember &>(obj));
13117 return true;
13118 case messageChatAddedToCommunity::ID:
13119 func(static_cast<messageChatAddedToCommunity &>(obj));
13120 return true;
13121 case messageChatRemovedFromCommunity::ID:
13122 func(static_cast<messageChatRemovedFromCommunity &>(obj));
13123 return true;
13124 case messageChatUpgradeTo::ID:
13125 func(static_cast<messageChatUpgradeTo &>(obj));
13126 return true;
13127 case messageChatUpgradeFrom::ID:
13128 func(static_cast<messageChatUpgradeFrom &>(obj));
13129 return true;
13130 case messagePinMessage::ID:
13131 func(static_cast<messagePinMessage &>(obj));
13132 return true;
13133 case messageScreenshotTaken::ID:
13134 func(static_cast<messageScreenshotTaken &>(obj));
13135 return true;
13136 case messageChatSetBackground::ID:
13137 func(static_cast<messageChatSetBackground &>(obj));
13138 return true;
13139 case messageChatSetTheme::ID:
13140 func(static_cast<messageChatSetTheme &>(obj));
13141 return true;
13142 case messageChatSetMessageAutoDeleteTime::ID:
13143 func(static_cast<messageChatSetMessageAutoDeleteTime &>(obj));
13144 return true;
13145 case messageChatBoost::ID:
13146 func(static_cast<messageChatBoost &>(obj));
13147 return true;
13148 case messageForumTopicCreated::ID:
13149 func(static_cast<messageForumTopicCreated &>(obj));
13150 return true;
13151 case messageForumTopicEdited::ID:
13152 func(static_cast<messageForumTopicEdited &>(obj));
13153 return true;
13154 case messageForumTopicIsClosedToggled::ID:
13155 func(static_cast<messageForumTopicIsClosedToggled &>(obj));
13156 return true;
13157 case messageForumTopicIsHiddenToggled::ID:
13158 func(static_cast<messageForumTopicIsHiddenToggled &>(obj));
13159 return true;
13160 case messageSuggestProfilePhoto::ID:
13161 func(static_cast<messageSuggestProfilePhoto &>(obj));
13162 return true;
13163 case messageSuggestBirthdate::ID:
13164 func(static_cast<messageSuggestBirthdate &>(obj));
13165 return true;
13166 case messageCustomServiceAction::ID:
13167 func(static_cast<messageCustomServiceAction &>(obj));
13168 return true;
13169 case messageGameScore::ID:
13170 func(static_cast<messageGameScore &>(obj));
13171 return true;
13172 case messageManagedBotCreated::ID:
13173 func(static_cast<messageManagedBotCreated &>(obj));
13174 return true;
13175 case messagePaymentSuccessful::ID:
13176 func(static_cast<messagePaymentSuccessful &>(obj));
13177 return true;
13178 case messagePaymentSuccessfulBot::ID:
13179 func(static_cast<messagePaymentSuccessfulBot &>(obj));
13180 return true;
13181 case messagePaymentRefunded::ID:
13182 func(static_cast<messagePaymentRefunded &>(obj));
13183 return true;
13184 case messageGiftedPremium::ID:
13185 func(static_cast<messageGiftedPremium &>(obj));
13186 return true;
13187 case messagePremiumGiftCode::ID:
13188 func(static_cast<messagePremiumGiftCode &>(obj));
13189 return true;
13190 case messageGiveawayCreated::ID:
13191 func(static_cast<messageGiveawayCreated &>(obj));
13192 return true;
13193 case messageGiveaway::ID:
13194 func(static_cast<messageGiveaway &>(obj));
13195 return true;
13196 case messageGiveawayCompleted::ID:
13197 func(static_cast<messageGiveawayCompleted &>(obj));
13198 return true;
13199 case messageGiveawayWinners::ID:
13200 func(static_cast<messageGiveawayWinners &>(obj));
13201 return true;
13202 case messageGiftedStars::ID:
13203 func(static_cast<messageGiftedStars &>(obj));
13204 return true;
13205 case messageGiftedTon::ID:
13206 func(static_cast<messageGiftedTon &>(obj));
13207 return true;
13208 case messageGiveawayPrizeStars::ID:
13209 func(static_cast<messageGiveawayPrizeStars &>(obj));
13210 return true;
13211 case messageGift::ID:
13212 func(static_cast<messageGift &>(obj));
13213 return true;
13214 case messageUpgradedGift::ID:
13215 func(static_cast<messageUpgradedGift &>(obj));
13216 return true;
13217 case messageRefundedUpgradedGift::ID:
13218 func(static_cast<messageRefundedUpgradedGift &>(obj));
13219 return true;
13220 case messageUpgradedGiftPurchaseOffer::ID:
13221 func(static_cast<messageUpgradedGiftPurchaseOffer &>(obj));
13222 return true;
13223 case messageUpgradedGiftPurchaseOfferRejected::ID:
13224 func(static_cast<messageUpgradedGiftPurchaseOfferRejected &>(obj));
13225 return true;
13226 case messagePaidMessagesRefunded::ID:
13227 func(static_cast<messagePaidMessagesRefunded &>(obj));
13228 return true;
13229 case messagePaidMessagePriceChanged::ID:
13230 func(static_cast<messagePaidMessagePriceChanged &>(obj));
13231 return true;
13232 case messageDirectMessagePriceChanged::ID:
13233 func(static_cast<messageDirectMessagePriceChanged &>(obj));
13234 return true;
13235 case messageChecklistTasksDone::ID:
13236 func(static_cast<messageChecklistTasksDone &>(obj));
13237 return true;
13238 case messageChecklistTasksAdded::ID:
13239 func(static_cast<messageChecklistTasksAdded &>(obj));
13240 return true;
13241 case messageSuggestedPostApprovalFailed::ID:
13242 func(static_cast<messageSuggestedPostApprovalFailed &>(obj));
13243 return true;
13244 case messageSuggestedPostApproved::ID:
13245 func(static_cast<messageSuggestedPostApproved &>(obj));
13246 return true;
13247 case messageSuggestedPostDeclined::ID:
13248 func(static_cast<messageSuggestedPostDeclined &>(obj));
13249 return true;
13250 case messageSuggestedPostPaid::ID:
13251 func(static_cast<messageSuggestedPostPaid &>(obj));
13252 return true;
13253 case messageSuggestedPostRefunded::ID:
13254 func(static_cast<messageSuggestedPostRefunded &>(obj));
13255 return true;
13256 case messageContactRegistered::ID:
13257 func(static_cast<messageContactRegistered &>(obj));
13258 return true;
13259 case messageUsersShared::ID:
13260 func(static_cast<messageUsersShared &>(obj));
13261 return true;
13262 case messageChatShared::ID:
13263 func(static_cast<messageChatShared &>(obj));
13264 return true;
13265 case messageBotWriteAccessAllowed::ID:
13266 func(static_cast<messageBotWriteAccessAllowed &>(obj));
13267 return true;
13268 case messageWebAppDataSent::ID:
13269 func(static_cast<messageWebAppDataSent &>(obj));
13270 return true;
13271 case messageWebAppDataReceived::ID:
13272 func(static_cast<messageWebAppDataReceived &>(obj));
13273 return true;
13274 case messagePassportDataSent::ID:
13275 func(static_cast<messagePassportDataSent &>(obj));
13276 return true;
13277 case messagePassportDataReceived::ID:
13278 func(static_cast<messagePassportDataReceived &>(obj));
13279 return true;
13280 case messageProximityAlertTriggered::ID:
13281 func(static_cast<messageProximityAlertTriggered &>(obj));
13282 return true;
13283 case messageUnsupported::ID:
13284 func(static_cast<messageUnsupported &>(obj));
13285 return true;
13286 default:
13287 return false;
13288 }
13289}
13290
13297template <class T>
13298bool downcast_call(MessageEffectType &obj, const T &func) {
13299 switch (obj.get_id()) {
13300 case messageEffectTypeEmojiReaction::ID:
13301 func(static_cast<messageEffectTypeEmojiReaction &>(obj));
13302 return true;
13303 case messageEffectTypePremiumSticker::ID:
13304 func(static_cast<messageEffectTypePremiumSticker &>(obj));
13305 return true;
13306 default:
13307 return false;
13308 }
13309}
13310
13317template <class T>
13318bool downcast_call(MessageFileType &obj, const T &func) {
13319 switch (obj.get_id()) {
13320 case messageFileTypePrivate::ID:
13321 func(static_cast<messageFileTypePrivate &>(obj));
13322 return true;
13323 case messageFileTypeGroup::ID:
13324 func(static_cast<messageFileTypeGroup &>(obj));
13325 return true;
13326 case messageFileTypeUnknown::ID:
13327 func(static_cast<messageFileTypeUnknown &>(obj));
13328 return true;
13329 default:
13330 return false;
13331 }
13332}
13333
13340template <class T>
13341bool downcast_call(MessageOrigin &obj, const T &func) {
13342 switch (obj.get_id()) {
13343 case messageOriginUser::ID:
13344 func(static_cast<messageOriginUser &>(obj));
13345 return true;
13346 case messageOriginHiddenUser::ID:
13347 func(static_cast<messageOriginHiddenUser &>(obj));
13348 return true;
13349 case messageOriginChat::ID:
13350 func(static_cast<messageOriginChat &>(obj));
13351 return true;
13352 case messageOriginChannel::ID:
13353 func(static_cast<messageOriginChannel &>(obj));
13354 return true;
13355 default:
13356 return false;
13357 }
13358}
13359
13366template <class T>
13367bool downcast_call(MessageReadDate &obj, const T &func) {
13368 switch (obj.get_id()) {
13369 case messageReadDateRead::ID:
13370 func(static_cast<messageReadDateRead &>(obj));
13371 return true;
13372 case messageReadDateUnread::ID:
13373 func(static_cast<messageReadDateUnread &>(obj));
13374 return true;
13375 case messageReadDateTooOld::ID:
13376 func(static_cast<messageReadDateTooOld &>(obj));
13377 return true;
13378 case messageReadDateUserPrivacyRestricted::ID:
13379 func(static_cast<messageReadDateUserPrivacyRestricted &>(obj));
13380 return true;
13381 case messageReadDateMyPrivacyRestricted::ID:
13382 func(static_cast<messageReadDateMyPrivacyRestricted &>(obj));
13383 return true;
13384 default:
13385 return false;
13386 }
13387}
13388
13395template <class T>
13396bool downcast_call(MessageReplyTo &obj, const T &func) {
13397 switch (obj.get_id()) {
13398 case messageReplyToMessage::ID:
13399 func(static_cast<messageReplyToMessage &>(obj));
13400 return true;
13401 case messageReplyToStory::ID:
13402 func(static_cast<messageReplyToStory &>(obj));
13403 return true;
13404 default:
13405 return false;
13406 }
13407}
13408
13415template <class T>
13416bool downcast_call(MessageSchedulingState &obj, const T &func) {
13417 switch (obj.get_id()) {
13418 case messageSchedulingStateSendAtDate::ID:
13419 func(static_cast<messageSchedulingStateSendAtDate &>(obj));
13420 return true;
13421 case messageSchedulingStateSendWhenOnline::ID:
13422 func(static_cast<messageSchedulingStateSendWhenOnline &>(obj));
13423 return true;
13424 case messageSchedulingStateSendWhenVideoProcessed::ID:
13425 func(static_cast<messageSchedulingStateSendWhenVideoProcessed &>(obj));
13426 return true;
13427 default:
13428 return false;
13429 }
13430}
13431
13438template <class T>
13439bool downcast_call(MessageSelfDestructType &obj, const T &func) {
13440 switch (obj.get_id()) {
13441 case messageSelfDestructTypeTimer::ID:
13442 func(static_cast<messageSelfDestructTypeTimer &>(obj));
13443 return true;
13444 case messageSelfDestructTypeImmediately::ID:
13445 func(static_cast<messageSelfDestructTypeImmediately &>(obj));
13446 return true;
13447 default:
13448 return false;
13449 }
13450}
13451
13458template <class T>
13459bool downcast_call(MessageSender &obj, const T &func) {
13460 switch (obj.get_id()) {
13461 case messageSenderUser::ID:
13462 func(static_cast<messageSenderUser &>(obj));
13463 return true;
13464 case messageSenderChat::ID:
13465 func(static_cast<messageSenderChat &>(obj));
13466 return true;
13467 default:
13468 return false;
13469 }
13470}
13471
13478template <class T>
13479bool downcast_call(MessageSendingState &obj, const T &func) {
13480 switch (obj.get_id()) {
13481 case messageSendingStatePending::ID:
13482 func(static_cast<messageSendingStatePending &>(obj));
13483 return true;
13484 case messageSendingStateFailed::ID:
13485 func(static_cast<messageSendingStateFailed &>(obj));
13486 return true;
13487 default:
13488 return false;
13489 }
13490}
13491
13498template <class T>
13499bool downcast_call(MessageSource &obj, const T &func) {
13500 switch (obj.get_id()) {
13501 case messageSourceChatHistory::ID:
13502 func(static_cast<messageSourceChatHistory &>(obj));
13503 return true;
13504 case messageSourceMessageThreadHistory::ID:
13505 func(static_cast<messageSourceMessageThreadHistory &>(obj));
13506 return true;
13507 case messageSourceForumTopicHistory::ID:
13508 func(static_cast<messageSourceForumTopicHistory &>(obj));
13509 return true;
13510 case messageSourceDirectMessagesChatTopicHistory::ID:
13511 func(static_cast<messageSourceDirectMessagesChatTopicHistory &>(obj));
13512 return true;
13513 case messageSourceHistoryPreview::ID:
13514 func(static_cast<messageSourceHistoryPreview &>(obj));
13515 return true;
13516 case messageSourceChatList::ID:
13517 func(static_cast<messageSourceChatList &>(obj));
13518 return true;
13519 case messageSourceSearch::ID:
13520 func(static_cast<messageSourceSearch &>(obj));
13521 return true;
13522 case messageSourceChatEventLog::ID:
13523 func(static_cast<messageSourceChatEventLog &>(obj));
13524 return true;
13525 case messageSourceNotification::ID:
13526 func(static_cast<messageSourceNotification &>(obj));
13527 return true;
13528 case messageSourceScreenshot::ID:
13529 func(static_cast<messageSourceScreenshot &>(obj));
13530 return true;
13531 case messageSourceOther::ID:
13532 func(static_cast<messageSourceOther &>(obj));
13533 return true;
13534 default:
13535 return false;
13536 }
13537}
13538
13545template <class T>
13546bool downcast_call(MessageTopic &obj, const T &func) {
13547 switch (obj.get_id()) {
13548 case messageTopicThread::ID:
13549 func(static_cast<messageTopicThread &>(obj));
13550 return true;
13551 case messageTopicForum::ID:
13552 func(static_cast<messageTopicForum &>(obj));
13553 return true;
13554 case messageTopicDirectMessages::ID:
13555 func(static_cast<messageTopicDirectMessages &>(obj));
13556 return true;
13557 case messageTopicSavedMessages::ID:
13558 func(static_cast<messageTopicSavedMessages &>(obj));
13559 return true;
13560 default:
13561 return false;
13562 }
13563}
13564
13571template <class T>
13572bool downcast_call(NetworkStatisticsEntry &obj, const T &func) {
13573 switch (obj.get_id()) {
13574 case networkStatisticsEntryFile::ID:
13575 func(static_cast<networkStatisticsEntryFile &>(obj));
13576 return true;
13577 case networkStatisticsEntryCall::ID:
13578 func(static_cast<networkStatisticsEntryCall &>(obj));
13579 return true;
13580 default:
13581 return false;
13582 }
13583}
13584
13591template <class T>
13592bool downcast_call(NetworkType &obj, const T &func) {
13593 switch (obj.get_id()) {
13594 case networkTypeNone::ID:
13595 func(static_cast<networkTypeNone &>(obj));
13596 return true;
13597 case networkTypeMobile::ID:
13598 func(static_cast<networkTypeMobile &>(obj));
13599 return true;
13600 case networkTypeMobileRoaming::ID:
13601 func(static_cast<networkTypeMobileRoaming &>(obj));
13602 return true;
13603 case networkTypeWiFi::ID:
13604 func(static_cast<networkTypeWiFi &>(obj));
13605 return true;
13606 case networkTypeOther::ID:
13607 func(static_cast<networkTypeOther &>(obj));
13608 return true;
13609 default:
13610 return false;
13611 }
13612}
13613
13620template <class T>
13621bool downcast_call(NotificationGroupType &obj, const T &func) {
13622 switch (obj.get_id()) {
13623 case notificationGroupTypeMessages::ID:
13624 func(static_cast<notificationGroupTypeMessages &>(obj));
13625 return true;
13626 case notificationGroupTypeMentions::ID:
13627 func(static_cast<notificationGroupTypeMentions &>(obj));
13628 return true;
13629 case notificationGroupTypeSecretChat::ID:
13630 func(static_cast<notificationGroupTypeSecretChat &>(obj));
13631 return true;
13632 case notificationGroupTypeCalls::ID:
13633 func(static_cast<notificationGroupTypeCalls &>(obj));
13634 return true;
13635 default:
13636 return false;
13637 }
13638}
13639
13646template <class T>
13647bool downcast_call(NotificationSettingsScope &obj, const T &func) {
13648 switch (obj.get_id()) {
13649 case notificationSettingsScopePrivateChats::ID:
13650 func(static_cast<notificationSettingsScopePrivateChats &>(obj));
13651 return true;
13652 case notificationSettingsScopeGroupChats::ID:
13653 func(static_cast<notificationSettingsScopeGroupChats &>(obj));
13654 return true;
13655 case notificationSettingsScopeChannelChats::ID:
13656 func(static_cast<notificationSettingsScopeChannelChats &>(obj));
13657 return true;
13658 default:
13659 return false;
13660 }
13661}
13662
13669template <class T>
13670bool downcast_call(NotificationType &obj, const T &func) {
13671 switch (obj.get_id()) {
13672 case notificationTypeNewMessage::ID:
13673 func(static_cast<notificationTypeNewMessage &>(obj));
13674 return true;
13675 case notificationTypeNewSecretChat::ID:
13676 func(static_cast<notificationTypeNewSecretChat &>(obj));
13677 return true;
13678 case notificationTypeNewCall::ID:
13679 func(static_cast<notificationTypeNewCall &>(obj));
13680 return true;
13681 case notificationTypeNewPushMessage::ID:
13682 func(static_cast<notificationTypeNewPushMessage &>(obj));
13683 return true;
13684 default:
13685 return false;
13686 }
13687}
13688
13695template <class T>
13696bool downcast_call(OptionValue &obj, const T &func) {
13697 switch (obj.get_id()) {
13698 case optionValueBoolean::ID:
13699 func(static_cast<optionValueBoolean &>(obj));
13700 return true;
13701 case optionValueEmpty::ID:
13702 func(static_cast<optionValueEmpty &>(obj));
13703 return true;
13704 case optionValueInteger::ID:
13705 func(static_cast<optionValueInteger &>(obj));
13706 return true;
13707 case optionValueString::ID:
13708 func(static_cast<optionValueString &>(obj));
13709 return true;
13710 default:
13711 return false;
13712 }
13713}
13714
13721template <class T>
13722bool downcast_call(PageBlock &obj, const T &func) {
13723 switch (obj.get_id()) {
13724 case pageBlockTitle::ID:
13725 func(static_cast<pageBlockTitle &>(obj));
13726 return true;
13727 case pageBlockSubtitle::ID:
13728 func(static_cast<pageBlockSubtitle &>(obj));
13729 return true;
13730 case pageBlockAuthorDate::ID:
13731 func(static_cast<pageBlockAuthorDate &>(obj));
13732 return true;
13733 case pageBlockHeader::ID:
13734 func(static_cast<pageBlockHeader &>(obj));
13735 return true;
13736 case pageBlockSubheader::ID:
13737 func(static_cast<pageBlockSubheader &>(obj));
13738 return true;
13739 case pageBlockSectionHeading::ID:
13740 func(static_cast<pageBlockSectionHeading &>(obj));
13741 return true;
13742 case pageBlockKicker::ID:
13743 func(static_cast<pageBlockKicker &>(obj));
13744 return true;
13745 case pageBlockParagraph::ID:
13746 func(static_cast<pageBlockParagraph &>(obj));
13747 return true;
13748 case pageBlockPreformatted::ID:
13749 func(static_cast<pageBlockPreformatted &>(obj));
13750 return true;
13751 case pageBlockFooter::ID:
13752 func(static_cast<pageBlockFooter &>(obj));
13753 return true;
13754 case pageBlockThinking::ID:
13755 func(static_cast<pageBlockThinking &>(obj));
13756 return true;
13757 case pageBlockDivider::ID:
13758 func(static_cast<pageBlockDivider &>(obj));
13759 return true;
13760 case pageBlockMathematicalExpression::ID:
13761 func(static_cast<pageBlockMathematicalExpression &>(obj));
13762 return true;
13763 case pageBlockAnchor::ID:
13764 func(static_cast<pageBlockAnchor &>(obj));
13765 return true;
13766 case pageBlockList::ID:
13767 func(static_cast<pageBlockList &>(obj));
13768 return true;
13769 case pageBlockBlockQuote::ID:
13770 func(static_cast<pageBlockBlockQuote &>(obj));
13771 return true;
13772 case pageBlockPullQuote::ID:
13773 func(static_cast<pageBlockPullQuote &>(obj));
13774 return true;
13775 case pageBlockAnimation::ID:
13776 func(static_cast<pageBlockAnimation &>(obj));
13777 return true;
13778 case pageBlockAudio::ID:
13779 func(static_cast<pageBlockAudio &>(obj));
13780 return true;
13781 case pageBlockPhoto::ID:
13782 func(static_cast<pageBlockPhoto &>(obj));
13783 return true;
13784 case pageBlockVideo::ID:
13785 func(static_cast<pageBlockVideo &>(obj));
13786 return true;
13787 case pageBlockVoiceNote::ID:
13788 func(static_cast<pageBlockVoiceNote &>(obj));
13789 return true;
13790 case pageBlockCover::ID:
13791 func(static_cast<pageBlockCover &>(obj));
13792 return true;
13793 case pageBlockEmbedded::ID:
13794 func(static_cast<pageBlockEmbedded &>(obj));
13795 return true;
13796 case pageBlockEmbeddedPost::ID:
13797 func(static_cast<pageBlockEmbeddedPost &>(obj));
13798 return true;
13799 case pageBlockCollage::ID:
13800 func(static_cast<pageBlockCollage &>(obj));
13801 return true;
13802 case pageBlockSlideshow::ID:
13803 func(static_cast<pageBlockSlideshow &>(obj));
13804 return true;
13805 case pageBlockChatLink::ID:
13806 func(static_cast<pageBlockChatLink &>(obj));
13807 return true;
13808 case pageBlockTable::ID:
13809 func(static_cast<pageBlockTable &>(obj));
13810 return true;
13811 case pageBlockDetails::ID:
13812 func(static_cast<pageBlockDetails &>(obj));
13813 return true;
13814 case pageBlockRelatedArticles::ID:
13815 func(static_cast<pageBlockRelatedArticles &>(obj));
13816 return true;
13817 case pageBlockMap::ID:
13818 func(static_cast<pageBlockMap &>(obj));
13819 return true;
13820 default:
13821 return false;
13822 }
13823}
13824
13831template <class T>
13833 switch (obj.get_id()) {
13834 case pageBlockHorizontalAlignmentLeft::ID:
13835 func(static_cast<pageBlockHorizontalAlignmentLeft &>(obj));
13836 return true;
13837 case pageBlockHorizontalAlignmentCenter::ID:
13838 func(static_cast<pageBlockHorizontalAlignmentCenter &>(obj));
13839 return true;
13840 case pageBlockHorizontalAlignmentRight::ID:
13841 func(static_cast<pageBlockHorizontalAlignmentRight &>(obj));
13842 return true;
13843 default:
13844 return false;
13845 }
13846}
13847
13854template <class T>
13856 switch (obj.get_id()) {
13857 case pageBlockVerticalAlignmentTop::ID:
13858 func(static_cast<pageBlockVerticalAlignmentTop &>(obj));
13859 return true;
13860 case pageBlockVerticalAlignmentMiddle::ID:
13861 func(static_cast<pageBlockVerticalAlignmentMiddle &>(obj));
13862 return true;
13863 case pageBlockVerticalAlignmentBottom::ID:
13864 func(static_cast<pageBlockVerticalAlignmentBottom &>(obj));
13865 return true;
13866 default:
13867 return false;
13868 }
13869}
13870
13877template <class T>
13878bool downcast_call(PaidMedia &obj, const T &func) {
13879 switch (obj.get_id()) {
13880 case paidMediaPreview::ID:
13881 func(static_cast<paidMediaPreview &>(obj));
13882 return true;
13883 case paidMediaPhoto::ID:
13884 func(static_cast<paidMediaPhoto &>(obj));
13885 return true;
13886 case paidMediaVideo::ID:
13887 func(static_cast<paidMediaVideo &>(obj));
13888 return true;
13889 case paidMediaUnsupported::ID:
13890 func(static_cast<paidMediaUnsupported &>(obj));
13891 return true;
13892 default:
13893 return false;
13894 }
13895}
13896
13903template <class T>
13904bool downcast_call(PaidReactionType &obj, const T &func) {
13905 switch (obj.get_id()) {
13906 case paidReactionTypeRegular::ID:
13907 func(static_cast<paidReactionTypeRegular &>(obj));
13908 return true;
13909 case paidReactionTypeAnonymous::ID:
13910 func(static_cast<paidReactionTypeAnonymous &>(obj));
13911 return true;
13912 case paidReactionTypeChat::ID:
13913 func(static_cast<paidReactionTypeChat &>(obj));
13914 return true;
13915 default:
13916 return false;
13917 }
13918}
13919
13926template <class T>
13927bool downcast_call(PassportElement &obj, const T &func) {
13928 switch (obj.get_id()) {
13929 case passportElementPersonalDetails::ID:
13930 func(static_cast<passportElementPersonalDetails &>(obj));
13931 return true;
13932 case passportElementPassport::ID:
13933 func(static_cast<passportElementPassport &>(obj));
13934 return true;
13935 case passportElementDriverLicense::ID:
13936 func(static_cast<passportElementDriverLicense &>(obj));
13937 return true;
13938 case passportElementIdentityCard::ID:
13939 func(static_cast<passportElementIdentityCard &>(obj));
13940 return true;
13941 case passportElementInternalPassport::ID:
13942 func(static_cast<passportElementInternalPassport &>(obj));
13943 return true;
13944 case passportElementAddress::ID:
13945 func(static_cast<passportElementAddress &>(obj));
13946 return true;
13947 case passportElementUtilityBill::ID:
13948 func(static_cast<passportElementUtilityBill &>(obj));
13949 return true;
13950 case passportElementBankStatement::ID:
13951 func(static_cast<passportElementBankStatement &>(obj));
13952 return true;
13953 case passportElementRentalAgreement::ID:
13954 func(static_cast<passportElementRentalAgreement &>(obj));
13955 return true;
13956 case passportElementPassportRegistration::ID:
13957 func(static_cast<passportElementPassportRegistration &>(obj));
13958 return true;
13959 case passportElementTemporaryRegistration::ID:
13960 func(static_cast<passportElementTemporaryRegistration &>(obj));
13961 return true;
13962 case passportElementPhoneNumber::ID:
13963 func(static_cast<passportElementPhoneNumber &>(obj));
13964 return true;
13965 case passportElementEmailAddress::ID:
13966 func(static_cast<passportElementEmailAddress &>(obj));
13967 return true;
13968 default:
13969 return false;
13970 }
13971}
13972
13979template <class T>
13981 switch (obj.get_id()) {
13982 case passportElementErrorSourceUnspecified::ID:
13983 func(static_cast<passportElementErrorSourceUnspecified &>(obj));
13984 return true;
13985 case passportElementErrorSourceDataField::ID:
13986 func(static_cast<passportElementErrorSourceDataField &>(obj));
13987 return true;
13988 case passportElementErrorSourceFrontSide::ID:
13989 func(static_cast<passportElementErrorSourceFrontSide &>(obj));
13990 return true;
13991 case passportElementErrorSourceReverseSide::ID:
13992 func(static_cast<passportElementErrorSourceReverseSide &>(obj));
13993 return true;
13994 case passportElementErrorSourceSelfie::ID:
13995 func(static_cast<passportElementErrorSourceSelfie &>(obj));
13996 return true;
13997 case passportElementErrorSourceTranslationFile::ID:
13998 func(static_cast<passportElementErrorSourceTranslationFile &>(obj));
13999 return true;
14000 case passportElementErrorSourceTranslationFiles::ID:
14001 func(static_cast<passportElementErrorSourceTranslationFiles &>(obj));
14002 return true;
14003 case passportElementErrorSourceFile::ID:
14004 func(static_cast<passportElementErrorSourceFile &>(obj));
14005 return true;
14006 case passportElementErrorSourceFiles::ID:
14007 func(static_cast<passportElementErrorSourceFiles &>(obj));
14008 return true;
14009 default:
14010 return false;
14011 }
14012}
14013
14020template <class T>
14021bool downcast_call(PassportElementType &obj, const T &func) {
14022 switch (obj.get_id()) {
14023 case passportElementTypePersonalDetails::ID:
14024 func(static_cast<passportElementTypePersonalDetails &>(obj));
14025 return true;
14026 case passportElementTypePassport::ID:
14027 func(static_cast<passportElementTypePassport &>(obj));
14028 return true;
14029 case passportElementTypeDriverLicense::ID:
14030 func(static_cast<passportElementTypeDriverLicense &>(obj));
14031 return true;
14032 case passportElementTypeIdentityCard::ID:
14033 func(static_cast<passportElementTypeIdentityCard &>(obj));
14034 return true;
14035 case passportElementTypeInternalPassport::ID:
14036 func(static_cast<passportElementTypeInternalPassport &>(obj));
14037 return true;
14038 case passportElementTypeAddress::ID:
14039 func(static_cast<passportElementTypeAddress &>(obj));
14040 return true;
14041 case passportElementTypeUtilityBill::ID:
14042 func(static_cast<passportElementTypeUtilityBill &>(obj));
14043 return true;
14044 case passportElementTypeBankStatement::ID:
14045 func(static_cast<passportElementTypeBankStatement &>(obj));
14046 return true;
14047 case passportElementTypeRentalAgreement::ID:
14048 func(static_cast<passportElementTypeRentalAgreement &>(obj));
14049 return true;
14050 case passportElementTypePassportRegistration::ID:
14051 func(static_cast<passportElementTypePassportRegistration &>(obj));
14052 return true;
14053 case passportElementTypeTemporaryRegistration::ID:
14054 func(static_cast<passportElementTypeTemporaryRegistration &>(obj));
14055 return true;
14056 case passportElementTypePhoneNumber::ID:
14057 func(static_cast<passportElementTypePhoneNumber &>(obj));
14058 return true;
14059 case passportElementTypeEmailAddress::ID:
14060 func(static_cast<passportElementTypeEmailAddress &>(obj));
14061 return true;
14062 default:
14063 return false;
14064 }
14065}
14066
14073template <class T>
14074bool downcast_call(PaymentFormType &obj, const T &func) {
14075 switch (obj.get_id()) {
14076 case paymentFormTypeRegular::ID:
14077 func(static_cast<paymentFormTypeRegular &>(obj));
14078 return true;
14079 case paymentFormTypeStars::ID:
14080 func(static_cast<paymentFormTypeStars &>(obj));
14081 return true;
14082 case paymentFormTypeStarSubscription::ID:
14083 func(static_cast<paymentFormTypeStarSubscription &>(obj));
14084 return true;
14085 default:
14086 return false;
14087 }
14088}
14089
14096template <class T>
14097bool downcast_call(PaymentProvider &obj, const T &func) {
14098 switch (obj.get_id()) {
14099 case paymentProviderSmartGlocal::ID:
14100 func(static_cast<paymentProviderSmartGlocal &>(obj));
14101 return true;
14102 case paymentProviderStripe::ID:
14103 func(static_cast<paymentProviderStripe &>(obj));
14104 return true;
14105 case paymentProviderOther::ID:
14106 func(static_cast<paymentProviderOther &>(obj));
14107 return true;
14108 default:
14109 return false;
14110 }
14111}
14112
14119template <class T>
14120bool downcast_call(PaymentReceiptType &obj, const T &func) {
14121 switch (obj.get_id()) {
14122 case paymentReceiptTypeRegular::ID:
14123 func(static_cast<paymentReceiptTypeRegular &>(obj));
14124 return true;
14125 case paymentReceiptTypeStars::ID:
14126 func(static_cast<paymentReceiptTypeStars &>(obj));
14127 return true;
14128 default:
14129 return false;
14130 }
14131}
14132
14139template <class T>
14140bool downcast_call(PhoneNumberCodeType &obj, const T &func) {
14141 switch (obj.get_id()) {
14142 case phoneNumberCodeTypeChange::ID:
14143 func(static_cast<phoneNumberCodeTypeChange &>(obj));
14144 return true;
14145 case phoneNumberCodeTypeVerify::ID:
14146 func(static_cast<phoneNumberCodeTypeVerify &>(obj));
14147 return true;
14148 case phoneNumberCodeTypeConfirmOwnership::ID:
14149 func(static_cast<phoneNumberCodeTypeConfirmOwnership &>(obj));
14150 return true;
14151 default:
14152 return false;
14153 }
14154}
14155
14162template <class T>
14163bool downcast_call(PollMedia &obj, const T &func) {
14164 switch (obj.get_id()) {
14165 case pollMediaAnimation::ID:
14166 func(static_cast<pollMediaAnimation &>(obj));
14167 return true;
14168 case pollMediaAudio::ID:
14169 func(static_cast<pollMediaAudio &>(obj));
14170 return true;
14171 case pollMediaDocument::ID:
14172 func(static_cast<pollMediaDocument &>(obj));
14173 return true;
14174 case pollMediaLink::ID:
14175 func(static_cast<pollMediaLink &>(obj));
14176 return true;
14177 case pollMediaLocation::ID:
14178 func(static_cast<pollMediaLocation &>(obj));
14179 return true;
14180 case pollMediaPhoto::ID:
14181 func(static_cast<pollMediaPhoto &>(obj));
14182 return true;
14183 case pollMediaSticker::ID:
14184 func(static_cast<pollMediaSticker &>(obj));
14185 return true;
14186 case pollMediaVenue::ID:
14187 func(static_cast<pollMediaVenue &>(obj));
14188 return true;
14189 case pollMediaVideo::ID:
14190 func(static_cast<pollMediaVideo &>(obj));
14191 return true;
14192 default:
14193 return false;
14194 }
14195}
14196
14203template <class T>
14204bool downcast_call(PollType &obj, const T &func) {
14205 switch (obj.get_id()) {
14206 case pollTypeRegular::ID:
14207 func(static_cast<pollTypeRegular &>(obj));
14208 return true;
14209 case pollTypeQuiz::ID:
14210 func(static_cast<pollTypeQuiz &>(obj));
14211 return true;
14212 default:
14213 return false;
14214 }
14215}
14216
14223template <class T>
14224bool downcast_call(PollVoteRestrictionReason &obj, const T &func) {
14225 switch (obj.get_id()) {
14226 case pollVoteRestrictionReasonClosed::ID:
14227 func(static_cast<pollVoteRestrictionReasonClosed &>(obj));
14228 return true;
14229 case pollVoteRestrictionReasonYetUnsent::ID:
14230 func(static_cast<pollVoteRestrictionReasonYetUnsent &>(obj));
14231 return true;
14232 case pollVoteRestrictionReasonScheduled::ID:
14233 func(static_cast<pollVoteRestrictionReasonScheduled &>(obj));
14234 return true;
14235 case pollVoteRestrictionReasonCountryRestricted::ID:
14236 func(static_cast<pollVoteRestrictionReasonCountryRestricted &>(obj));
14237 return true;
14238 case pollVoteRestrictionReasonMembershipRequired::ID:
14239 func(static_cast<pollVoteRestrictionReasonMembershipRequired &>(obj));
14240 return true;
14241 case pollVoteRestrictionReasonOther::ID:
14242 func(static_cast<pollVoteRestrictionReasonOther &>(obj));
14243 return true;
14244 default:
14245 return false;
14246 }
14247}
14248
14255template <class T>
14256bool downcast_call(PremiumFeature &obj, const T &func) {
14257 switch (obj.get_id()) {
14258 case premiumFeatureIncreasedLimits::ID:
14259 func(static_cast<premiumFeatureIncreasedLimits &>(obj));
14260 return true;
14261 case premiumFeatureIncreasedUploadFileSize::ID:
14262 func(static_cast<premiumFeatureIncreasedUploadFileSize &>(obj));
14263 return true;
14264 case premiumFeatureImprovedDownloadSpeed::ID:
14265 func(static_cast<premiumFeatureImprovedDownloadSpeed &>(obj));
14266 return true;
14267 case premiumFeatureVoiceRecognition::ID:
14268 func(static_cast<premiumFeatureVoiceRecognition &>(obj));
14269 return true;
14270 case premiumFeatureDisabledAds::ID:
14271 func(static_cast<premiumFeatureDisabledAds &>(obj));
14272 return true;
14273 case premiumFeatureUniqueReactions::ID:
14274 func(static_cast<premiumFeatureUniqueReactions &>(obj));
14275 return true;
14276 case premiumFeatureUniqueStickers::ID:
14277 func(static_cast<premiumFeatureUniqueStickers &>(obj));
14278 return true;
14279 case premiumFeatureCustomEmoji::ID:
14280 func(static_cast<premiumFeatureCustomEmoji &>(obj));
14281 return true;
14282 case premiumFeatureAdvancedChatManagement::ID:
14283 func(static_cast<premiumFeatureAdvancedChatManagement &>(obj));
14284 return true;
14285 case premiumFeatureProfileBadge::ID:
14286 func(static_cast<premiumFeatureProfileBadge &>(obj));
14287 return true;
14288 case premiumFeatureEmojiStatus::ID:
14289 func(static_cast<premiumFeatureEmojiStatus &>(obj));
14290 return true;
14291 case premiumFeatureAnimatedProfilePhoto::ID:
14292 func(static_cast<premiumFeatureAnimatedProfilePhoto &>(obj));
14293 return true;
14294 case premiumFeatureForumTopicIcon::ID:
14295 func(static_cast<premiumFeatureForumTopicIcon &>(obj));
14296 return true;
14297 case premiumFeatureAppIcons::ID:
14298 func(static_cast<premiumFeatureAppIcons &>(obj));
14299 return true;
14300 case premiumFeatureRealTimeChatTranslation::ID:
14301 func(static_cast<premiumFeatureRealTimeChatTranslation &>(obj));
14302 return true;
14303 case premiumFeatureUpgradedStories::ID:
14304 func(static_cast<premiumFeatureUpgradedStories &>(obj));
14305 return true;
14306 case premiumFeatureChatBoost::ID:
14307 func(static_cast<premiumFeatureChatBoost &>(obj));
14308 return true;
14309 case premiumFeatureAccentColor::ID:
14310 func(static_cast<premiumFeatureAccentColor &>(obj));
14311 return true;
14312 case premiumFeatureBackgroundForBoth::ID:
14313 func(static_cast<premiumFeatureBackgroundForBoth &>(obj));
14314 return true;
14315 case premiumFeatureSavedMessagesTags::ID:
14316 func(static_cast<premiumFeatureSavedMessagesTags &>(obj));
14317 return true;
14318 case premiumFeatureMessagePrivacy::ID:
14319 func(static_cast<premiumFeatureMessagePrivacy &>(obj));
14320 return true;
14321 case premiumFeatureLastSeenTimes::ID:
14322 func(static_cast<premiumFeatureLastSeenTimes &>(obj));
14323 return true;
14324 case premiumFeatureBusiness::ID:
14325 func(static_cast<premiumFeatureBusiness &>(obj));
14326 return true;
14327 case premiumFeatureMessageEffects::ID:
14328 func(static_cast<premiumFeatureMessageEffects &>(obj));
14329 return true;
14330 case premiumFeatureChecklists::ID:
14331 func(static_cast<premiumFeatureChecklists &>(obj));
14332 return true;
14333 case premiumFeaturePaidMessages::ID:
14334 func(static_cast<premiumFeaturePaidMessages &>(obj));
14335 return true;
14336 case premiumFeatureProtectPrivateChatContent::ID:
14337 func(static_cast<premiumFeatureProtectPrivateChatContent &>(obj));
14338 return true;
14339 case premiumFeatureTextComposition::ID:
14340 func(static_cast<premiumFeatureTextComposition &>(obj));
14341 return true;
14342 case premiumFeatureRichMessages::ID:
14343 func(static_cast<premiumFeatureRichMessages &>(obj));
14344 return true;
14345 default:
14346 return false;
14347 }
14348}
14349
14356template <class T>
14357bool downcast_call(PremiumLimitType &obj, const T &func) {
14358 switch (obj.get_id()) {
14359 case premiumLimitTypeSupergroupCount::ID:
14360 func(static_cast<premiumLimitTypeSupergroupCount &>(obj));
14361 return true;
14362 case premiumLimitTypePinnedChatCount::ID:
14363 func(static_cast<premiumLimitTypePinnedChatCount &>(obj));
14364 return true;
14365 case premiumLimitTypeCreatedPublicChatCount::ID:
14366 func(static_cast<premiumLimitTypeCreatedPublicChatCount &>(obj));
14367 return true;
14368 case premiumLimitTypeSavedAnimationCount::ID:
14369 func(static_cast<premiumLimitTypeSavedAnimationCount &>(obj));
14370 return true;
14371 case premiumLimitTypeFavoriteStickerCount::ID:
14372 func(static_cast<premiumLimitTypeFavoriteStickerCount &>(obj));
14373 return true;
14374 case premiumLimitTypeChatFolderCount::ID:
14375 func(static_cast<premiumLimitTypeChatFolderCount &>(obj));
14376 return true;
14377 case premiumLimitTypeChatFolderChosenChatCount::ID:
14378 func(static_cast<premiumLimitTypeChatFolderChosenChatCount &>(obj));
14379 return true;
14380 case premiumLimitTypePinnedArchivedChatCount::ID:
14381 func(static_cast<premiumLimitTypePinnedArchivedChatCount &>(obj));
14382 return true;
14383 case premiumLimitTypePinnedSavedMessagesTopicCount::ID:
14384 func(static_cast<premiumLimitTypePinnedSavedMessagesTopicCount &>(obj));
14385 return true;
14386 case premiumLimitTypeMessageTextLength::ID:
14387 func(static_cast<premiumLimitTypeMessageTextLength &>(obj));
14388 return true;
14389 case premiumLimitTypeCaptionLength::ID:
14390 func(static_cast<premiumLimitTypeCaptionLength &>(obj));
14391 return true;
14392 case premiumLimitTypeBioLength::ID:
14393 func(static_cast<premiumLimitTypeBioLength &>(obj));
14394 return true;
14395 case premiumLimitTypeChatFolderInviteLinkCount::ID:
14396 func(static_cast<premiumLimitTypeChatFolderInviteLinkCount &>(obj));
14397 return true;
14398 case premiumLimitTypeShareableChatFolderCount::ID:
14399 func(static_cast<premiumLimitTypeShareableChatFolderCount &>(obj));
14400 return true;
14401 case premiumLimitTypeActiveStoryCount::ID:
14402 func(static_cast<premiumLimitTypeActiveStoryCount &>(obj));
14403 return true;
14404 case premiumLimitTypeWeeklyPostedStoryCount::ID:
14405 func(static_cast<premiumLimitTypeWeeklyPostedStoryCount &>(obj));
14406 return true;
14407 case premiumLimitTypeMonthlyPostedStoryCount::ID:
14408 func(static_cast<premiumLimitTypeMonthlyPostedStoryCount &>(obj));
14409 return true;
14410 case premiumLimitTypeStoryCaptionLength::ID:
14411 func(static_cast<premiumLimitTypeStoryCaptionLength &>(obj));
14412 return true;
14413 case premiumLimitTypeStorySuggestedReactionAreaCount::ID:
14414 func(static_cast<premiumLimitTypeStorySuggestedReactionAreaCount &>(obj));
14415 return true;
14416 case premiumLimitTypeSimilarChatCount::ID:
14417 func(static_cast<premiumLimitTypeSimilarChatCount &>(obj));
14418 return true;
14419 case premiumLimitTypeOwnedBotCount::ID:
14420 func(static_cast<premiumLimitTypeOwnedBotCount &>(obj));
14421 return true;
14422 case premiumLimitTypeCustomTextCompositionStyleCount::ID:
14423 func(static_cast<premiumLimitTypeCustomTextCompositionStyleCount &>(obj));
14424 return true;
14425 default:
14426 return false;
14427 }
14428}
14429
14436template <class T>
14437bool downcast_call(PremiumSource &obj, const T &func) {
14438 switch (obj.get_id()) {
14439 case premiumSourceLimitExceeded::ID:
14440 func(static_cast<premiumSourceLimitExceeded &>(obj));
14441 return true;
14442 case premiumSourceFeature::ID:
14443 func(static_cast<premiumSourceFeature &>(obj));
14444 return true;
14445 case premiumSourceBusinessFeature::ID:
14446 func(static_cast<premiumSourceBusinessFeature &>(obj));
14447 return true;
14448 case premiumSourceStoryFeature::ID:
14449 func(static_cast<premiumSourceStoryFeature &>(obj));
14450 return true;
14451 case premiumSourceLink::ID:
14452 func(static_cast<premiumSourceLink &>(obj));
14453 return true;
14454 case premiumSourceSettings::ID:
14455 func(static_cast<premiumSourceSettings &>(obj));
14456 return true;
14457 default:
14458 return false;
14459 }
14460}
14461
14468template <class T>
14469bool downcast_call(PremiumStoryFeature &obj, const T &func) {
14470 switch (obj.get_id()) {
14471 case premiumStoryFeaturePriorityOrder::ID:
14472 func(static_cast<premiumStoryFeaturePriorityOrder &>(obj));
14473 return true;
14474 case premiumStoryFeatureStealthMode::ID:
14475 func(static_cast<premiumStoryFeatureStealthMode &>(obj));
14476 return true;
14477 case premiumStoryFeaturePermanentViewsHistory::ID:
14478 func(static_cast<premiumStoryFeaturePermanentViewsHistory &>(obj));
14479 return true;
14480 case premiumStoryFeatureCustomExpirationDuration::ID:
14481 func(static_cast<premiumStoryFeatureCustomExpirationDuration &>(obj));
14482 return true;
14483 case premiumStoryFeatureSaveStories::ID:
14484 func(static_cast<premiumStoryFeatureSaveStories &>(obj));
14485 return true;
14486 case premiumStoryFeatureLinksAndFormatting::ID:
14487 func(static_cast<premiumStoryFeatureLinksAndFormatting &>(obj));
14488 return true;
14489 case premiumStoryFeatureVideoQuality::ID:
14490 func(static_cast<premiumStoryFeatureVideoQuality &>(obj));
14491 return true;
14492 default:
14493 return false;
14494 }
14495}
14496
14503template <class T>
14504bool downcast_call(ProfileTab &obj, const T &func) {
14505 switch (obj.get_id()) {
14506 case profileTabPosts::ID:
14507 func(static_cast<profileTabPosts &>(obj));
14508 return true;
14509 case profileTabGifts::ID:
14510 func(static_cast<profileTabGifts &>(obj));
14511 return true;
14512 case profileTabMedia::ID:
14513 func(static_cast<profileTabMedia &>(obj));
14514 return true;
14515 case profileTabFiles::ID:
14516 func(static_cast<profileTabFiles &>(obj));
14517 return true;
14518 case profileTabLinks::ID:
14519 func(static_cast<profileTabLinks &>(obj));
14520 return true;
14521 case profileTabMusic::ID:
14522 func(static_cast<profileTabMusic &>(obj));
14523 return true;
14524 case profileTabVoice::ID:
14525 func(static_cast<profileTabVoice &>(obj));
14526 return true;
14527 case profileTabGifs::ID:
14528 func(static_cast<profileTabGifs &>(obj));
14529 return true;
14530 default:
14531 return false;
14532 }
14533}
14534
14541template <class T>
14542bool downcast_call(ProxyType &obj, const T &func) {
14543 switch (obj.get_id()) {
14544 case proxyTypeSocks5::ID:
14545 func(static_cast<proxyTypeSocks5 &>(obj));
14546 return true;
14547 case proxyTypeHttp::ID:
14548 func(static_cast<proxyTypeHttp &>(obj));
14549 return true;
14550 case proxyTypeMtproto::ID:
14551 func(static_cast<proxyTypeMtproto &>(obj));
14552 return true;
14553 default:
14554 return false;
14555 }
14556}
14557
14564template <class T>
14565bool downcast_call(PublicChatType &obj, const T &func) {
14566 switch (obj.get_id()) {
14567 case publicChatTypeHasUsername::ID:
14568 func(static_cast<publicChatTypeHasUsername &>(obj));
14569 return true;
14570 case publicChatTypeIsLocationBased::ID:
14571 func(static_cast<publicChatTypeIsLocationBased &>(obj));
14572 return true;
14573 default:
14574 return false;
14575 }
14576}
14577
14584template <class T>
14585bool downcast_call(PublicForward &obj, const T &func) {
14586 switch (obj.get_id()) {
14587 case publicForwardMessage::ID:
14588 func(static_cast<publicForwardMessage &>(obj));
14589 return true;
14590 case publicForwardStory::ID:
14591 func(static_cast<publicForwardStory &>(obj));
14592 return true;
14593 default:
14594 return false;
14595 }
14596}
14597
14604template <class T>
14605bool downcast_call(PushMessageContent &obj, const T &func) {
14606 switch (obj.get_id()) {
14607 case pushMessageContentHidden::ID:
14608 func(static_cast<pushMessageContentHidden &>(obj));
14609 return true;
14610 case pushMessageContentAnimation::ID:
14611 func(static_cast<pushMessageContentAnimation &>(obj));
14612 return true;
14613 case pushMessageContentAudio::ID:
14614 func(static_cast<pushMessageContentAudio &>(obj));
14615 return true;
14616 case pushMessageContentContact::ID:
14617 func(static_cast<pushMessageContentContact &>(obj));
14618 return true;
14619 case pushMessageContentContactRegistered::ID:
14620 func(static_cast<pushMessageContentContactRegistered &>(obj));
14621 return true;
14622 case pushMessageContentDocument::ID:
14623 func(static_cast<pushMessageContentDocument &>(obj));
14624 return true;
14625 case pushMessageContentGame::ID:
14626 func(static_cast<pushMessageContentGame &>(obj));
14627 return true;
14628 case pushMessageContentGameScore::ID:
14629 func(static_cast<pushMessageContentGameScore &>(obj));
14630 return true;
14631 case pushMessageContentInvoice::ID:
14632 func(static_cast<pushMessageContentInvoice &>(obj));
14633 return true;
14634 case pushMessageContentLocation::ID:
14635 func(static_cast<pushMessageContentLocation &>(obj));
14636 return true;
14637 case pushMessageContentPaidMedia::ID:
14638 func(static_cast<pushMessageContentPaidMedia &>(obj));
14639 return true;
14640 case pushMessageContentPhoto::ID:
14641 func(static_cast<pushMessageContentPhoto &>(obj));
14642 return true;
14643 case pushMessageContentPoll::ID:
14644 func(static_cast<pushMessageContentPoll &>(obj));
14645 return true;
14646 case pushMessageContentPremiumGiftCode::ID:
14647 func(static_cast<pushMessageContentPremiumGiftCode &>(obj));
14648 return true;
14649 case pushMessageContentGiveaway::ID:
14650 func(static_cast<pushMessageContentGiveaway &>(obj));
14651 return true;
14652 case pushMessageContentGift::ID:
14653 func(static_cast<pushMessageContentGift &>(obj));
14654 return true;
14655 case pushMessageContentUpgradedGift::ID:
14656 func(static_cast<pushMessageContentUpgradedGift &>(obj));
14657 return true;
14658 case pushMessageContentScreenshotTaken::ID:
14659 func(static_cast<pushMessageContentScreenshotTaken &>(obj));
14660 return true;
14661 case pushMessageContentSticker::ID:
14662 func(static_cast<pushMessageContentSticker &>(obj));
14663 return true;
14664 case pushMessageContentStory::ID:
14665 func(static_cast<pushMessageContentStory &>(obj));
14666 return true;
14667 case pushMessageContentText::ID:
14668 func(static_cast<pushMessageContentText &>(obj));
14669 return true;
14670 case pushMessageContentChecklist::ID:
14671 func(static_cast<pushMessageContentChecklist &>(obj));
14672 return true;
14673 case pushMessageContentVideo::ID:
14674 func(static_cast<pushMessageContentVideo &>(obj));
14675 return true;
14676 case pushMessageContentVideoNote::ID:
14677 func(static_cast<pushMessageContentVideoNote &>(obj));
14678 return true;
14679 case pushMessageContentVoiceNote::ID:
14680 func(static_cast<pushMessageContentVoiceNote &>(obj));
14681 return true;
14682 case pushMessageContentBasicGroupChatCreate::ID:
14683 func(static_cast<pushMessageContentBasicGroupChatCreate &>(obj));
14684 return true;
14685 case pushMessageContentVideoChatStarted::ID:
14686 func(static_cast<pushMessageContentVideoChatStarted &>(obj));
14687 return true;
14688 case pushMessageContentVideoChatEnded::ID:
14689 func(static_cast<pushMessageContentVideoChatEnded &>(obj));
14690 return true;
14691 case pushMessageContentInviteVideoChatParticipants::ID:
14692 func(static_cast<pushMessageContentInviteVideoChatParticipants &>(obj));
14693 return true;
14694 case pushMessageContentChatAddMembers::ID:
14695 func(static_cast<pushMessageContentChatAddMembers &>(obj));
14696 return true;
14697 case pushMessageContentChatChangePhoto::ID:
14698 func(static_cast<pushMessageContentChatChangePhoto &>(obj));
14699 return true;
14700 case pushMessageContentChatChangeTitle::ID:
14701 func(static_cast<pushMessageContentChatChangeTitle &>(obj));
14702 return true;
14703 case pushMessageContentChatSetBackground::ID:
14704 func(static_cast<pushMessageContentChatSetBackground &>(obj));
14705 return true;
14706 case pushMessageContentChatSetTheme::ID:
14707 func(static_cast<pushMessageContentChatSetTheme &>(obj));
14708 return true;
14709 case pushMessageContentChatDeleteMember::ID:
14710 func(static_cast<pushMessageContentChatDeleteMember &>(obj));
14711 return true;
14712 case pushMessageContentChatJoinByLink::ID:
14713 func(static_cast<pushMessageContentChatJoinByLink &>(obj));
14714 return true;
14715 case pushMessageContentChatJoinByRequest::ID:
14716 func(static_cast<pushMessageContentChatJoinByRequest &>(obj));
14717 return true;
14718 case pushMessageContentRecurringPayment::ID:
14719 func(static_cast<pushMessageContentRecurringPayment &>(obj));
14720 return true;
14721 case pushMessageContentSuggestProfilePhoto::ID:
14722 func(static_cast<pushMessageContentSuggestProfilePhoto &>(obj));
14723 return true;
14724 case pushMessageContentSuggestBirthdate::ID:
14725 func(static_cast<pushMessageContentSuggestBirthdate &>(obj));
14726 return true;
14727 case pushMessageContentProximityAlertTriggered::ID:
14728 func(static_cast<pushMessageContentProximityAlertTriggered &>(obj));
14729 return true;
14730 case pushMessageContentChecklistTasksAdded::ID:
14731 func(static_cast<pushMessageContentChecklistTasksAdded &>(obj));
14732 return true;
14733 case pushMessageContentChecklistTasksDone::ID:
14734 func(static_cast<pushMessageContentChecklistTasksDone &>(obj));
14735 return true;
14736 case pushMessageContentPollOptionAdded::ID:
14737 func(static_cast<pushMessageContentPollOptionAdded &>(obj));
14738 return true;
14739 case pushMessageContentMessageForwards::ID:
14740 func(static_cast<pushMessageContentMessageForwards &>(obj));
14741 return true;
14742 case pushMessageContentMediaAlbum::ID:
14743 func(static_cast<pushMessageContentMediaAlbum &>(obj));
14744 return true;
14745 default:
14746 return false;
14747 }
14748}
14749
14756template <class T>
14758 switch (obj.get_id()) {
14759 case reactionNotificationSourceNone::ID:
14760 func(static_cast<reactionNotificationSourceNone &>(obj));
14761 return true;
14762 case reactionNotificationSourceContacts::ID:
14763 func(static_cast<reactionNotificationSourceContacts &>(obj));
14764 return true;
14765 case reactionNotificationSourceAll::ID:
14766 func(static_cast<reactionNotificationSourceAll &>(obj));
14767 return true;
14768 default:
14769 return false;
14770 }
14771}
14772
14779template <class T>
14780bool downcast_call(ReactionType &obj, const T &func) {
14781 switch (obj.get_id()) {
14782 case reactionTypeEmoji::ID:
14783 func(static_cast<reactionTypeEmoji &>(obj));
14784 return true;
14785 case reactionTypeCustomEmoji::ID:
14786 func(static_cast<reactionTypeCustomEmoji &>(obj));
14787 return true;
14788 case reactionTypePaid::ID:
14789 func(static_cast<reactionTypePaid &>(obj));
14790 return true;
14791 default:
14792 return false;
14793 }
14794}
14795
14802template <class T>
14804 switch (obj.get_id()) {
14805 case reactionUnavailabilityReasonAnonymousAdministrator::ID:
14807 return true;
14808 case reactionUnavailabilityReasonGuest::ID:
14809 func(static_cast<reactionUnavailabilityReasonGuest &>(obj));
14810 return true;
14811 case reactionUnavailabilityReasonRestricted::ID:
14812 func(static_cast<reactionUnavailabilityReasonRestricted &>(obj));
14813 return true;
14814 default:
14815 return false;
14816 }
14817}
14818
14825template <class T>
14826bool downcast_call(ReplyMarkup &obj, const T &func) {
14827 switch (obj.get_id()) {
14828 case replyMarkupRemoveKeyboard::ID:
14829 func(static_cast<replyMarkupRemoveKeyboard &>(obj));
14830 return true;
14831 case replyMarkupForceReply::ID:
14832 func(static_cast<replyMarkupForceReply &>(obj));
14833 return true;
14834 case replyMarkupShowKeyboard::ID:
14835 func(static_cast<replyMarkupShowKeyboard &>(obj));
14836 return true;
14837 case replyMarkupInlineKeyboard::ID:
14838 func(static_cast<replyMarkupInlineKeyboard &>(obj));
14839 return true;
14840 default:
14841 return false;
14842 }
14843}
14844
14851template <class T>
14852bool downcast_call(ReportChatResult &obj, const T &func) {
14853 switch (obj.get_id()) {
14854 case reportChatResultOk::ID:
14855 func(static_cast<reportChatResultOk &>(obj));
14856 return true;
14857 case reportChatResultOptionRequired::ID:
14858 func(static_cast<reportChatResultOptionRequired &>(obj));
14859 return true;
14860 case reportChatResultTextRequired::ID:
14861 func(static_cast<reportChatResultTextRequired &>(obj));
14862 return true;
14863 case reportChatResultMessagesRequired::ID:
14864 func(static_cast<reportChatResultMessagesRequired &>(obj));
14865 return true;
14866 default:
14867 return false;
14868 }
14869}
14870
14877template <class T>
14878bool downcast_call(ReportReason &obj, const T &func) {
14879 switch (obj.get_id()) {
14880 case reportReasonSpam::ID:
14881 func(static_cast<reportReasonSpam &>(obj));
14882 return true;
14883 case reportReasonViolence::ID:
14884 func(static_cast<reportReasonViolence &>(obj));
14885 return true;
14886 case reportReasonPornography::ID:
14887 func(static_cast<reportReasonPornography &>(obj));
14888 return true;
14889 case reportReasonChildAbuse::ID:
14890 func(static_cast<reportReasonChildAbuse &>(obj));
14891 return true;
14892 case reportReasonCopyright::ID:
14893 func(static_cast<reportReasonCopyright &>(obj));
14894 return true;
14895 case reportReasonUnrelatedLocation::ID:
14896 func(static_cast<reportReasonUnrelatedLocation &>(obj));
14897 return true;
14898 case reportReasonFake::ID:
14899 func(static_cast<reportReasonFake &>(obj));
14900 return true;
14901 case reportReasonIllegalDrugs::ID:
14902 func(static_cast<reportReasonIllegalDrugs &>(obj));
14903 return true;
14904 case reportReasonPersonalDetails::ID:
14905 func(static_cast<reportReasonPersonalDetails &>(obj));
14906 return true;
14907 case reportReasonCustom::ID:
14908 func(static_cast<reportReasonCustom &>(obj));
14909 return true;
14910 default:
14911 return false;
14912 }
14913}
14914
14921template <class T>
14922bool downcast_call(ReportSponsoredResult &obj, const T &func) {
14923 switch (obj.get_id()) {
14924 case reportSponsoredResultOk::ID:
14925 func(static_cast<reportSponsoredResultOk &>(obj));
14926 return true;
14927 case reportSponsoredResultFailed::ID:
14928 func(static_cast<reportSponsoredResultFailed &>(obj));
14929 return true;
14930 case reportSponsoredResultOptionRequired::ID:
14931 func(static_cast<reportSponsoredResultOptionRequired &>(obj));
14932 return true;
14933 case reportSponsoredResultAdsHidden::ID:
14934 func(static_cast<reportSponsoredResultAdsHidden &>(obj));
14935 return true;
14936 case reportSponsoredResultPremiumRequired::ID:
14937 func(static_cast<reportSponsoredResultPremiumRequired &>(obj));
14938 return true;
14939 default:
14940 return false;
14941 }
14942}
14943
14950template <class T>
14951bool downcast_call(ReportStoryResult &obj, const T &func) {
14952 switch (obj.get_id()) {
14953 case reportStoryResultOk::ID:
14954 func(static_cast<reportStoryResultOk &>(obj));
14955 return true;
14956 case reportStoryResultOptionRequired::ID:
14957 func(static_cast<reportStoryResultOptionRequired &>(obj));
14958 return true;
14959 case reportStoryResultTextRequired::ID:
14960 func(static_cast<reportStoryResultTextRequired &>(obj));
14961 return true;
14962 default:
14963 return false;
14964 }
14965}
14966
14973template <class T>
14974bool downcast_call(ResendCodeReason &obj, const T &func) {
14975 switch (obj.get_id()) {
14976 case resendCodeReasonUserRequest::ID:
14977 func(static_cast<resendCodeReasonUserRequest &>(obj));
14978 return true;
14979 case resendCodeReasonVerificationFailed::ID:
14980 func(static_cast<resendCodeReasonVerificationFailed &>(obj));
14981 return true;
14982 default:
14983 return false;
14984 }
14985}
14986
14993template <class T>
14994bool downcast_call(ResetPasswordResult &obj, const T &func) {
14995 switch (obj.get_id()) {
14996 case resetPasswordResultOk::ID:
14997 func(static_cast<resetPasswordResultOk &>(obj));
14998 return true;
14999 case resetPasswordResultPending::ID:
15000 func(static_cast<resetPasswordResultPending &>(obj));
15001 return true;
15002 case resetPasswordResultDeclined::ID:
15003 func(static_cast<resetPasswordResultDeclined &>(obj));
15004 return true;
15005 default:
15006 return false;
15007 }
15008}
15009
15016template <class T>
15017bool downcast_call(RevenueWithdrawalState &obj, const T &func) {
15018 switch (obj.get_id()) {
15019 case revenueWithdrawalStatePending::ID:
15020 func(static_cast<revenueWithdrawalStatePending &>(obj));
15021 return true;
15022 case revenueWithdrawalStateSucceeded::ID:
15023 func(static_cast<revenueWithdrawalStateSucceeded &>(obj));
15024 return true;
15025 case revenueWithdrawalStateFailed::ID:
15026 func(static_cast<revenueWithdrawalStateFailed &>(obj));
15027 return true;
15028 default:
15029 return false;
15030 }
15031}
15032
15039template <class T>
15040bool downcast_call(RichMessageSource &obj, const T &func) {
15041 switch (obj.get_id()) {
15042 case richMessageSourceBlocks::ID:
15043 func(static_cast<richMessageSourceBlocks &>(obj));
15044 return true;
15045 case richMessageSourceMarkdown::ID:
15046 func(static_cast<richMessageSourceMarkdown &>(obj));
15047 return true;
15048 case richMessageSourceHtml::ID:
15049 func(static_cast<richMessageSourceHtml &>(obj));
15050 return true;
15051 default:
15052 return false;
15053 }
15054}
15055
15062template <class T>
15063bool downcast_call(RichText &obj, const T &func) {
15064 switch (obj.get_id()) {
15065 case richTextPlain::ID:
15066 func(static_cast<richTextPlain &>(obj));
15067 return true;
15068 case richTextBold::ID:
15069 func(static_cast<richTextBold &>(obj));
15070 return true;
15071 case richTextItalic::ID:
15072 func(static_cast<richTextItalic &>(obj));
15073 return true;
15074 case richTextUnderline::ID:
15075 func(static_cast<richTextUnderline &>(obj));
15076 return true;
15077 case richTextStrikethrough::ID:
15078 func(static_cast<richTextStrikethrough &>(obj));
15079 return true;
15080 case richTextSpoiler::ID:
15081 func(static_cast<richTextSpoiler &>(obj));
15082 return true;
15083 case richTextSubscript::ID:
15084 func(static_cast<richTextSubscript &>(obj));
15085 return true;
15086 case richTextSuperscript::ID:
15087 func(static_cast<richTextSuperscript &>(obj));
15088 return true;
15089 case richTextMarked::ID:
15090 func(static_cast<richTextMarked &>(obj));
15091 return true;
15092 case richTextDateTime::ID:
15093 func(static_cast<richTextDateTime &>(obj));
15094 return true;
15095 case richTextMention::ID:
15096 func(static_cast<richTextMention &>(obj));
15097 return true;
15098 case richTextHashtag::ID:
15099 func(static_cast<richTextHashtag &>(obj));
15100 return true;
15101 case richTextCashtag::ID:
15102 func(static_cast<richTextCashtag &>(obj));
15103 return true;
15104 case richTextBankCardNumber::ID:
15105 func(static_cast<richTextBankCardNumber &>(obj));
15106 return true;
15107 case richTextBotCommand::ID:
15108 func(static_cast<richTextBotCommand &>(obj));
15109 return true;
15110 case richTextFixed::ID:
15111 func(static_cast<richTextFixed &>(obj));
15112 return true;
15113 case richTextMentionName::ID:
15114 func(static_cast<richTextMentionName &>(obj));
15115 return true;
15116 case richTextUrl::ID:
15117 func(static_cast<richTextUrl &>(obj));
15118 return true;
15119 case richTextEmailAddress::ID:
15120 func(static_cast<richTextEmailAddress &>(obj));
15121 return true;
15122 case richTextPhoneNumber::ID:
15123 func(static_cast<richTextPhoneNumber &>(obj));
15124 return true;
15125 case richTextCustomEmoji::ID:
15126 func(static_cast<richTextCustomEmoji &>(obj));
15127 return true;
15128 case richTextIcon::ID:
15129 func(static_cast<richTextIcon &>(obj));
15130 return true;
15131 case richTextMathematicalExpression::ID:
15132 func(static_cast<richTextMathematicalExpression &>(obj));
15133 return true;
15134 case richTextDiff::ID:
15135 func(static_cast<richTextDiff &>(obj));
15136 return true;
15137 case richTextReference::ID:
15138 func(static_cast<richTextReference &>(obj));
15139 return true;
15140 case richTextReferenceLink::ID:
15141 func(static_cast<richTextReferenceLink &>(obj));
15142 return true;
15143 case richTextAnchor::ID:
15144 func(static_cast<richTextAnchor &>(obj));
15145 return true;
15146 case richTextAnchorLink::ID:
15147 func(static_cast<richTextAnchorLink &>(obj));
15148 return true;
15149 case richTexts::ID:
15150 func(static_cast<richTexts &>(obj));
15151 return true;
15152 default:
15153 return false;
15154 }
15155}
15156
15163template <class T>
15164bool downcast_call(SavedMessagesTopicType &obj, const T &func) {
15165 switch (obj.get_id()) {
15166 case savedMessagesTopicTypeMyNotes::ID:
15167 func(static_cast<savedMessagesTopicTypeMyNotes &>(obj));
15168 return true;
15169 case savedMessagesTopicTypeAuthorHidden::ID:
15170 func(static_cast<savedMessagesTopicTypeAuthorHidden &>(obj));
15171 return true;
15172 case savedMessagesTopicTypeSavedFromChat::ID:
15173 func(static_cast<savedMessagesTopicTypeSavedFromChat &>(obj));
15174 return true;
15175 default:
15176 return false;
15177 }
15178}
15179
15186template <class T>
15187bool downcast_call(SearchChatTypeFilter &obj, const T &func) {
15188 switch (obj.get_id()) {
15189 case searchChatTypeFilterBot::ID:
15190 func(static_cast<searchChatTypeFilterBot &>(obj));
15191 return true;
15192 case searchChatTypeFilterChannel::ID:
15193 func(static_cast<searchChatTypeFilterChannel &>(obj));
15194 return true;
15195 default:
15196 return false;
15197 }
15198}
15199
15206template <class T>
15208 switch (obj.get_id()) {
15209 case searchMessagesChatTypeFilterPrivate::ID:
15210 func(static_cast<searchMessagesChatTypeFilterPrivate &>(obj));
15211 return true;
15212 case searchMessagesChatTypeFilterGroup::ID:
15213 func(static_cast<searchMessagesChatTypeFilterGroup &>(obj));
15214 return true;
15215 case searchMessagesChatTypeFilterChannel::ID:
15216 func(static_cast<searchMessagesChatTypeFilterChannel &>(obj));
15217 return true;
15218 default:
15219 return false;
15220 }
15221}
15222
15229template <class T>
15230bool downcast_call(SearchMessagesFilter &obj, const T &func) {
15231 switch (obj.get_id()) {
15232 case searchMessagesFilterEmpty::ID:
15233 func(static_cast<searchMessagesFilterEmpty &>(obj));
15234 return true;
15235 case searchMessagesFilterAnimation::ID:
15236 func(static_cast<searchMessagesFilterAnimation &>(obj));
15237 return true;
15238 case searchMessagesFilterAudio::ID:
15239 func(static_cast<searchMessagesFilterAudio &>(obj));
15240 return true;
15241 case searchMessagesFilterDocument::ID:
15242 func(static_cast<searchMessagesFilterDocument &>(obj));
15243 return true;
15244 case searchMessagesFilterPhoto::ID:
15245 func(static_cast<searchMessagesFilterPhoto &>(obj));
15246 return true;
15247 case searchMessagesFilterPoll::ID:
15248 func(static_cast<searchMessagesFilterPoll &>(obj));
15249 return true;
15250 case searchMessagesFilterVideo::ID:
15251 func(static_cast<searchMessagesFilterVideo &>(obj));
15252 return true;
15253 case searchMessagesFilterVoiceNote::ID:
15254 func(static_cast<searchMessagesFilterVoiceNote &>(obj));
15255 return true;
15256 case searchMessagesFilterPhotoAndVideo::ID:
15257 func(static_cast<searchMessagesFilterPhotoAndVideo &>(obj));
15258 return true;
15259 case searchMessagesFilterUrl::ID:
15260 func(static_cast<searchMessagesFilterUrl &>(obj));
15261 return true;
15262 case searchMessagesFilterChatPhoto::ID:
15263 func(static_cast<searchMessagesFilterChatPhoto &>(obj));
15264 return true;
15265 case searchMessagesFilterVideoNote::ID:
15266 func(static_cast<searchMessagesFilterVideoNote &>(obj));
15267 return true;
15268 case searchMessagesFilterVoiceAndVideoNote::ID:
15269 func(static_cast<searchMessagesFilterVoiceAndVideoNote &>(obj));
15270 return true;
15271 case searchMessagesFilterMention::ID:
15272 func(static_cast<searchMessagesFilterMention &>(obj));
15273 return true;
15274 case searchMessagesFilterUnreadMention::ID:
15275 func(static_cast<searchMessagesFilterUnreadMention &>(obj));
15276 return true;
15277 case searchMessagesFilterUnreadReaction::ID:
15278 func(static_cast<searchMessagesFilterUnreadReaction &>(obj));
15279 return true;
15280 case searchMessagesFilterUnreadPollVote::ID:
15281 func(static_cast<searchMessagesFilterUnreadPollVote &>(obj));
15282 return true;
15283 case searchMessagesFilterFailedToSend::ID:
15284 func(static_cast<searchMessagesFilterFailedToSend &>(obj));
15285 return true;
15286 case searchMessagesFilterPinned::ID:
15287 func(static_cast<searchMessagesFilterPinned &>(obj));
15288 return true;
15289 default:
15290 return false;
15291 }
15292}
15293
15300template <class T>
15301bool downcast_call(SecretChatState &obj, const T &func) {
15302 switch (obj.get_id()) {
15303 case secretChatStatePending::ID:
15304 func(static_cast<secretChatStatePending &>(obj));
15305 return true;
15306 case secretChatStateReady::ID:
15307 func(static_cast<secretChatStateReady &>(obj));
15308 return true;
15309 case secretChatStateClosed::ID:
15310 func(static_cast<secretChatStateClosed &>(obj));
15311 return true;
15312 default:
15313 return false;
15314 }
15315}
15316
15323template <class T>
15324bool downcast_call(SentGift &obj, const T &func) {
15325 switch (obj.get_id()) {
15326 case sentGiftRegular::ID:
15327 func(static_cast<sentGiftRegular &>(obj));
15328 return true;
15329 case sentGiftUpgraded::ID:
15330 func(static_cast<sentGiftUpgraded &>(obj));
15331 return true;
15332 default:
15333 return false;
15334 }
15335}
15336
15343template <class T>
15344bool downcast_call(SessionDeviceType &obj, const T &func) {
15345 switch (obj.get_id()) {
15346 case sessionDeviceTypeAndroid::ID:
15347 func(static_cast<sessionDeviceTypeAndroid &>(obj));
15348 return true;
15349 case sessionDeviceTypeApple::ID:
15350 func(static_cast<sessionDeviceTypeApple &>(obj));
15351 return true;
15352 case sessionDeviceTypeBrave::ID:
15353 func(static_cast<sessionDeviceTypeBrave &>(obj));
15354 return true;
15355 case sessionDeviceTypeChrome::ID:
15356 func(static_cast<sessionDeviceTypeChrome &>(obj));
15357 return true;
15358 case sessionDeviceTypeEdge::ID:
15359 func(static_cast<sessionDeviceTypeEdge &>(obj));
15360 return true;
15361 case sessionDeviceTypeFirefox::ID:
15362 func(static_cast<sessionDeviceTypeFirefox &>(obj));
15363 return true;
15364 case sessionDeviceTypeIpad::ID:
15365 func(static_cast<sessionDeviceTypeIpad &>(obj));
15366 return true;
15367 case sessionDeviceTypeIphone::ID:
15368 func(static_cast<sessionDeviceTypeIphone &>(obj));
15369 return true;
15370 case sessionDeviceTypeLinux::ID:
15371 func(static_cast<sessionDeviceTypeLinux &>(obj));
15372 return true;
15373 case sessionDeviceTypeMac::ID:
15374 func(static_cast<sessionDeviceTypeMac &>(obj));
15375 return true;
15376 case sessionDeviceTypeOpera::ID:
15377 func(static_cast<sessionDeviceTypeOpera &>(obj));
15378 return true;
15379 case sessionDeviceTypeSafari::ID:
15380 func(static_cast<sessionDeviceTypeSafari &>(obj));
15381 return true;
15382 case sessionDeviceTypeUbuntu::ID:
15383 func(static_cast<sessionDeviceTypeUbuntu &>(obj));
15384 return true;
15385 case sessionDeviceTypeUnknown::ID:
15386 func(static_cast<sessionDeviceTypeUnknown &>(obj));
15387 return true;
15388 case sessionDeviceTypeVivaldi::ID:
15389 func(static_cast<sessionDeviceTypeVivaldi &>(obj));
15390 return true;
15391 case sessionDeviceTypeWindows::ID:
15392 func(static_cast<sessionDeviceTypeWindows &>(obj));
15393 return true;
15394 case sessionDeviceTypeXbox::ID:
15395 func(static_cast<sessionDeviceTypeXbox &>(obj));
15396 return true;
15397 default:
15398 return false;
15399 }
15400}
15401
15408template <class T>
15409bool downcast_call(SessionType &obj, const T &func) {
15410 switch (obj.get_id()) {
15411 case sessionTypeDevice::ID:
15412 func(static_cast<sessionTypeDevice &>(obj));
15413 return true;
15414 case sessionTypeConnectedBot::ID:
15415 func(static_cast<sessionTypeConnectedBot &>(obj));
15416 return true;
15417 default:
15418 return false;
15419 }
15420}
15421
15428template <class T>
15429bool downcast_call(SettingsSection &obj, const T &func) {
15430 switch (obj.get_id()) {
15431 case settingsSectionAppearance::ID:
15432 func(static_cast<settingsSectionAppearance &>(obj));
15433 return true;
15434 case settingsSectionAskQuestion::ID:
15435 func(static_cast<settingsSectionAskQuestion &>(obj));
15436 return true;
15437 case settingsSectionBusiness::ID:
15438 func(static_cast<settingsSectionBusiness &>(obj));
15439 return true;
15440 case settingsSectionChatFolders::ID:
15441 func(static_cast<settingsSectionChatFolders &>(obj));
15442 return true;
15443 case settingsSectionDataAndStorage::ID:
15444 func(static_cast<settingsSectionDataAndStorage &>(obj));
15445 return true;
15446 case settingsSectionDevices::ID:
15447 func(static_cast<settingsSectionDevices &>(obj));
15448 return true;
15449 case settingsSectionEditProfile::ID:
15450 func(static_cast<settingsSectionEditProfile &>(obj));
15451 return true;
15452 case settingsSectionFaq::ID:
15453 func(static_cast<settingsSectionFaq &>(obj));
15454 return true;
15455 case settingsSectionFeatures::ID:
15456 func(static_cast<settingsSectionFeatures &>(obj));
15457 return true;
15458 case settingsSectionInAppBrowser::ID:
15459 func(static_cast<settingsSectionInAppBrowser &>(obj));
15460 return true;
15461 case settingsSectionLanguage::ID:
15462 func(static_cast<settingsSectionLanguage &>(obj));
15463 return true;
15464 case settingsSectionMyStars::ID:
15465 func(static_cast<settingsSectionMyStars &>(obj));
15466 return true;
15467 case settingsSectionMyGrams::ID:
15468 func(static_cast<settingsSectionMyGrams &>(obj));
15469 return true;
15470 case settingsSectionNotifications::ID:
15471 func(static_cast<settingsSectionNotifications &>(obj));
15472 return true;
15473 case settingsSectionPowerSaving::ID:
15474 func(static_cast<settingsSectionPowerSaving &>(obj));
15475 return true;
15476 case settingsSectionPremium::ID:
15477 func(static_cast<settingsSectionPremium &>(obj));
15478 return true;
15479 case settingsSectionPrivacyAndSecurity::ID:
15480 func(static_cast<settingsSectionPrivacyAndSecurity &>(obj));
15481 return true;
15482 case settingsSectionPrivacyPolicy::ID:
15483 func(static_cast<settingsSectionPrivacyPolicy &>(obj));
15484 return true;
15485 case settingsSectionQrCode::ID:
15486 func(static_cast<settingsSectionQrCode &>(obj));
15487 return true;
15488 case settingsSectionSearch::ID:
15489 func(static_cast<settingsSectionSearch &>(obj));
15490 return true;
15491 case settingsSectionSendGift::ID:
15492 func(static_cast<settingsSectionSendGift &>(obj));
15493 return true;
15494 default:
15495 return false;
15496 }
15497}
15498
15505template <class T>
15506bool downcast_call(SpeechRecognitionResult &obj, const T &func) {
15507 switch (obj.get_id()) {
15508 case speechRecognitionResultPending::ID:
15509 func(static_cast<speechRecognitionResultPending &>(obj));
15510 return true;
15511 case speechRecognitionResultText::ID:
15512 func(static_cast<speechRecognitionResultText &>(obj));
15513 return true;
15514 case speechRecognitionResultError::ID:
15515 func(static_cast<speechRecognitionResultError &>(obj));
15516 return true;
15517 default:
15518 return false;
15519 }
15520}
15521
15528template <class T>
15529bool downcast_call(StarSubscriptionType &obj, const T &func) {
15530 switch (obj.get_id()) {
15531 case starSubscriptionTypeChannel::ID:
15532 func(static_cast<starSubscriptionTypeChannel &>(obj));
15533 return true;
15534 case starSubscriptionTypeBot::ID:
15535 func(static_cast<starSubscriptionTypeBot &>(obj));
15536 return true;
15537 default:
15538 return false;
15539 }
15540}
15541
15548template <class T>
15549bool downcast_call(StarTransactionType &obj, const T &func) {
15550 switch (obj.get_id()) {
15551 case starTransactionTypePremiumBotDeposit::ID:
15552 func(static_cast<starTransactionTypePremiumBotDeposit &>(obj));
15553 return true;
15554 case starTransactionTypeAppStoreDeposit::ID:
15555 func(static_cast<starTransactionTypeAppStoreDeposit &>(obj));
15556 return true;
15557 case starTransactionTypeGooglePlayDeposit::ID:
15558 func(static_cast<starTransactionTypeGooglePlayDeposit &>(obj));
15559 return true;
15560 case starTransactionTypeFragmentDeposit::ID:
15561 func(static_cast<starTransactionTypeFragmentDeposit &>(obj));
15562 return true;
15563 case starTransactionTypeUserDeposit::ID:
15564 func(static_cast<starTransactionTypeUserDeposit &>(obj));
15565 return true;
15566 case starTransactionTypeGiveawayDeposit::ID:
15567 func(static_cast<starTransactionTypeGiveawayDeposit &>(obj));
15568 return true;
15569 case starTransactionTypeFragmentWithdrawal::ID:
15570 func(static_cast<starTransactionTypeFragmentWithdrawal &>(obj));
15571 return true;
15572 case starTransactionTypeTelegramAdsWithdrawal::ID:
15573 func(static_cast<starTransactionTypeTelegramAdsWithdrawal &>(obj));
15574 return true;
15575 case starTransactionTypeTelegramApiUsage::ID:
15576 func(static_cast<starTransactionTypeTelegramApiUsage &>(obj));
15577 return true;
15578 case starTransactionTypeBotPaidMediaPurchase::ID:
15579 func(static_cast<starTransactionTypeBotPaidMediaPurchase &>(obj));
15580 return true;
15581 case starTransactionTypeBotPaidMediaSale::ID:
15582 func(static_cast<starTransactionTypeBotPaidMediaSale &>(obj));
15583 return true;
15584 case starTransactionTypeChannelPaidMediaPurchase::ID:
15585 func(static_cast<starTransactionTypeChannelPaidMediaPurchase &>(obj));
15586 return true;
15587 case starTransactionTypeChannelPaidMediaSale::ID:
15588 func(static_cast<starTransactionTypeChannelPaidMediaSale &>(obj));
15589 return true;
15590 case starTransactionTypeBotInvoicePurchase::ID:
15591 func(static_cast<starTransactionTypeBotInvoicePurchase &>(obj));
15592 return true;
15593 case starTransactionTypeBotInvoiceSale::ID:
15594 func(static_cast<starTransactionTypeBotInvoiceSale &>(obj));
15595 return true;
15596 case starTransactionTypeBotSubscriptionPurchase::ID:
15597 func(static_cast<starTransactionTypeBotSubscriptionPurchase &>(obj));
15598 return true;
15599 case starTransactionTypeBotSubscriptionSale::ID:
15600 func(static_cast<starTransactionTypeBotSubscriptionSale &>(obj));
15601 return true;
15602 case starTransactionTypeChannelSubscriptionPurchase::ID:
15603 func(static_cast<starTransactionTypeChannelSubscriptionPurchase &>(obj));
15604 return true;
15605 case starTransactionTypeChannelSubscriptionSale::ID:
15606 func(static_cast<starTransactionTypeChannelSubscriptionSale &>(obj));
15607 return true;
15608 case starTransactionTypeGiftAuctionBid::ID:
15609 func(static_cast<starTransactionTypeGiftAuctionBid &>(obj));
15610 return true;
15611 case starTransactionTypeGiftPurchase::ID:
15612 func(static_cast<starTransactionTypeGiftPurchase &>(obj));
15613 return true;
15614 case starTransactionTypeGiftPurchaseOffer::ID:
15615 func(static_cast<starTransactionTypeGiftPurchaseOffer &>(obj));
15616 return true;
15617 case starTransactionTypeGiftTransfer::ID:
15618 func(static_cast<starTransactionTypeGiftTransfer &>(obj));
15619 return true;
15620 case starTransactionTypeGiftOriginalDetailsDrop::ID:
15621 func(static_cast<starTransactionTypeGiftOriginalDetailsDrop &>(obj));
15622 return true;
15623 case starTransactionTypeGiftSale::ID:
15624 func(static_cast<starTransactionTypeGiftSale &>(obj));
15625 return true;
15626 case starTransactionTypeGiftUpgrade::ID:
15627 func(static_cast<starTransactionTypeGiftUpgrade &>(obj));
15628 return true;
15629 case starTransactionTypeGiftUpgradePurchase::ID:
15630 func(static_cast<starTransactionTypeGiftUpgradePurchase &>(obj));
15631 return true;
15632 case starTransactionTypeUpgradedGiftPurchase::ID:
15633 func(static_cast<starTransactionTypeUpgradedGiftPurchase &>(obj));
15634 return true;
15635 case starTransactionTypeUpgradedGiftSale::ID:
15636 func(static_cast<starTransactionTypeUpgradedGiftSale &>(obj));
15637 return true;
15638 case starTransactionTypeChannelPaidReactionSend::ID:
15639 func(static_cast<starTransactionTypeChannelPaidReactionSend &>(obj));
15640 return true;
15641 case starTransactionTypeChannelPaidReactionReceive::ID:
15642 func(static_cast<starTransactionTypeChannelPaidReactionReceive &>(obj));
15643 return true;
15644 case starTransactionTypeAffiliateProgramCommission::ID:
15645 func(static_cast<starTransactionTypeAffiliateProgramCommission &>(obj));
15646 return true;
15647 case starTransactionTypePaidMessageSend::ID:
15648 func(static_cast<starTransactionTypePaidMessageSend &>(obj));
15649 return true;
15650 case starTransactionTypePaidMessageReceive::ID:
15651 func(static_cast<starTransactionTypePaidMessageReceive &>(obj));
15652 return true;
15653 case starTransactionTypePaidGroupCallMessageSend::ID:
15654 func(static_cast<starTransactionTypePaidGroupCallMessageSend &>(obj));
15655 return true;
15656 case starTransactionTypePaidGroupCallMessageReceive::ID:
15657 func(static_cast<starTransactionTypePaidGroupCallMessageReceive &>(obj));
15658 return true;
15659 case starTransactionTypePaidGroupCallReactionSend::ID:
15660 func(static_cast<starTransactionTypePaidGroupCallReactionSend &>(obj));
15661 return true;
15662 case starTransactionTypePaidGroupCallReactionReceive::ID:
15663 func(static_cast<starTransactionTypePaidGroupCallReactionReceive &>(obj));
15664 return true;
15665 case starTransactionTypeSuggestedPostPaymentSend::ID:
15666 func(static_cast<starTransactionTypeSuggestedPostPaymentSend &>(obj));
15667 return true;
15668 case starTransactionTypeSuggestedPostPaymentReceive::ID:
15669 func(static_cast<starTransactionTypeSuggestedPostPaymentReceive &>(obj));
15670 return true;
15671 case starTransactionTypePremiumPurchase::ID:
15672 func(static_cast<starTransactionTypePremiumPurchase &>(obj));
15673 return true;
15674 case starTransactionTypeBusinessBotTransferSend::ID:
15675 func(static_cast<starTransactionTypeBusinessBotTransferSend &>(obj));
15676 return true;
15677 case starTransactionTypeBusinessBotTransferReceive::ID:
15678 func(static_cast<starTransactionTypeBusinessBotTransferReceive &>(obj));
15679 return true;
15680 case starTransactionTypePublicPostSearch::ID:
15681 func(static_cast<starTransactionTypePublicPostSearch &>(obj));
15682 return true;
15683 case starTransactionTypeUnsupported::ID:
15684 func(static_cast<starTransactionTypeUnsupported &>(obj));
15685 return true;
15686 default:
15687 return false;
15688 }
15689}
15690
15697template <class T>
15698bool downcast_call(StartLiveStoryResult &obj, const T &func) {
15699 switch (obj.get_id()) {
15700 case startLiveStoryResultOk::ID:
15701 func(static_cast<startLiveStoryResultOk &>(obj));
15702 return true;
15703 case startLiveStoryResultFail::ID:
15704 func(static_cast<startLiveStoryResultFail &>(obj));
15705 return true;
15706 default:
15707 return false;
15708 }
15709}
15710
15717template <class T>
15718bool downcast_call(StatisticalGraph &obj, const T &func) {
15719 switch (obj.get_id()) {
15720 case statisticalGraphData::ID:
15721 func(static_cast<statisticalGraphData &>(obj));
15722 return true;
15723 case statisticalGraphAsync::ID:
15724 func(static_cast<statisticalGraphAsync &>(obj));
15725 return true;
15726 case statisticalGraphError::ID:
15727 func(static_cast<statisticalGraphError &>(obj));
15728 return true;
15729 default:
15730 return false;
15731 }
15732}
15733
15740template <class T>
15741bool downcast_call(StickerFormat &obj, const T &func) {
15742 switch (obj.get_id()) {
15743 case stickerFormatWebp::ID:
15744 func(static_cast<stickerFormatWebp &>(obj));
15745 return true;
15746 case stickerFormatTgs::ID:
15747 func(static_cast<stickerFormatTgs &>(obj));
15748 return true;
15749 case stickerFormatWebm::ID:
15750 func(static_cast<stickerFormatWebm &>(obj));
15751 return true;
15752 default:
15753 return false;
15754 }
15755}
15756
15763template <class T>
15764bool downcast_call(StickerFullType &obj, const T &func) {
15765 switch (obj.get_id()) {
15766 case stickerFullTypeRegular::ID:
15767 func(static_cast<stickerFullTypeRegular &>(obj));
15768 return true;
15769 case stickerFullTypeMask::ID:
15770 func(static_cast<stickerFullTypeMask &>(obj));
15771 return true;
15772 case stickerFullTypeCustomEmoji::ID:
15773 func(static_cast<stickerFullTypeCustomEmoji &>(obj));
15774 return true;
15775 default:
15776 return false;
15777 }
15778}
15779
15786template <class T>
15787bool downcast_call(StickerType &obj, const T &func) {
15788 switch (obj.get_id()) {
15789 case stickerTypeRegular::ID:
15790 func(static_cast<stickerTypeRegular &>(obj));
15791 return true;
15792 case stickerTypeMask::ID:
15793 func(static_cast<stickerTypeMask &>(obj));
15794 return true;
15795 case stickerTypeCustomEmoji::ID:
15796 func(static_cast<stickerTypeCustomEmoji &>(obj));
15797 return true;
15798 default:
15799 return false;
15800 }
15801}
15802
15809template <class T>
15810bool downcast_call(StorePaymentPurpose &obj, const T &func) {
15811 switch (obj.get_id()) {
15812 case storePaymentPurposePremiumSubscription::ID:
15813 func(static_cast<storePaymentPurposePremiumSubscription &>(obj));
15814 return true;
15815 case storePaymentPurposePremiumGift::ID:
15816 func(static_cast<storePaymentPurposePremiumGift &>(obj));
15817 return true;
15818 case storePaymentPurposePremiumGiftCodes::ID:
15819 func(static_cast<storePaymentPurposePremiumGiftCodes &>(obj));
15820 return true;
15821 case storePaymentPurposePremiumGiveaway::ID:
15822 func(static_cast<storePaymentPurposePremiumGiveaway &>(obj));
15823 return true;
15824 case storePaymentPurposeStarGiveaway::ID:
15825 func(static_cast<storePaymentPurposeStarGiveaway &>(obj));
15826 return true;
15827 case storePaymentPurposeStars::ID:
15828 func(static_cast<storePaymentPurposeStars &>(obj));
15829 return true;
15830 case storePaymentPurposeGiftedStars::ID:
15831 func(static_cast<storePaymentPurposeGiftedStars &>(obj));
15832 return true;
15833 default:
15834 return false;
15835 }
15836}
15837
15844template <class T>
15845bool downcast_call(StoreTransaction &obj, const T &func) {
15846 switch (obj.get_id()) {
15847 case storeTransactionAppStore::ID:
15848 func(static_cast<storeTransactionAppStore &>(obj));
15849 return true;
15850 case storeTransactionGooglePlay::ID:
15851 func(static_cast<storeTransactionGooglePlay &>(obj));
15852 return true;
15853 default:
15854 return false;
15855 }
15856}
15857
15864template <class T>
15865bool downcast_call(StoryAreaType &obj, const T &func) {
15866 switch (obj.get_id()) {
15867 case storyAreaTypeLocation::ID:
15868 func(static_cast<storyAreaTypeLocation &>(obj));
15869 return true;
15870 case storyAreaTypeVenue::ID:
15871 func(static_cast<storyAreaTypeVenue &>(obj));
15872 return true;
15873 case storyAreaTypeSuggestedReaction::ID:
15874 func(static_cast<storyAreaTypeSuggestedReaction &>(obj));
15875 return true;
15876 case storyAreaTypeMessage::ID:
15877 func(static_cast<storyAreaTypeMessage &>(obj));
15878 return true;
15879 case storyAreaTypeLink::ID:
15880 func(static_cast<storyAreaTypeLink &>(obj));
15881 return true;
15882 case storyAreaTypeWeather::ID:
15883 func(static_cast<storyAreaTypeWeather &>(obj));
15884 return true;
15885 case storyAreaTypeUpgradedGift::ID:
15886 func(static_cast<storyAreaTypeUpgradedGift &>(obj));
15887 return true;
15888 default:
15889 return false;
15890 }
15891}
15892
15899template <class T>
15900bool downcast_call(StoryContent &obj, const T &func) {
15901 switch (obj.get_id()) {
15902 case storyContentPhoto::ID:
15903 func(static_cast<storyContentPhoto &>(obj));
15904 return true;
15905 case storyContentVideo::ID:
15906 func(static_cast<storyContentVideo &>(obj));
15907 return true;
15908 case storyContentLive::ID:
15909 func(static_cast<storyContentLive &>(obj));
15910 return true;
15911 case storyContentUnsupported::ID:
15912 func(static_cast<storyContentUnsupported &>(obj));
15913 return true;
15914 default:
15915 return false;
15916 }
15917}
15918
15925template <class T>
15926bool downcast_call(StoryContentType &obj, const T &func) {
15927 switch (obj.get_id()) {
15928 case storyContentTypePhoto::ID:
15929 func(static_cast<storyContentTypePhoto &>(obj));
15930 return true;
15931 case storyContentTypeVideo::ID:
15932 func(static_cast<storyContentTypeVideo &>(obj));
15933 return true;
15934 case storyContentTypeLive::ID:
15935 func(static_cast<storyContentTypeLive &>(obj));
15936 return true;
15937 case storyContentTypeUnsupported::ID:
15938 func(static_cast<storyContentTypeUnsupported &>(obj));
15939 return true;
15940 default:
15941 return false;
15942 }
15943}
15944
15951template <class T>
15952bool downcast_call(StoryInteractionType &obj, const T &func) {
15953 switch (obj.get_id()) {
15954 case storyInteractionTypeView::ID:
15955 func(static_cast<storyInteractionTypeView &>(obj));
15956 return true;
15957 case storyInteractionTypeForward::ID:
15958 func(static_cast<storyInteractionTypeForward &>(obj));
15959 return true;
15960 case storyInteractionTypeRepost::ID:
15961 func(static_cast<storyInteractionTypeRepost &>(obj));
15962 return true;
15963 default:
15964 return false;
15965 }
15966}
15967
15974template <class T>
15975bool downcast_call(StoryList &obj, const T &func) {
15976 switch (obj.get_id()) {
15977 case storyListMain::ID:
15978 func(static_cast<storyListMain &>(obj));
15979 return true;
15980 case storyListArchive::ID:
15981 func(static_cast<storyListArchive &>(obj));
15982 return true;
15983 default:
15984 return false;
15985 }
15986}
15987
15994template <class T>
15995bool downcast_call(StoryOrigin &obj, const T &func) {
15996 switch (obj.get_id()) {
15997 case storyOriginPublicStory::ID:
15998 func(static_cast<storyOriginPublicStory &>(obj));
15999 return true;
16000 case storyOriginHiddenUser::ID:
16001 func(static_cast<storyOriginHiddenUser &>(obj));
16002 return true;
16003 default:
16004 return false;
16005 }
16006}
16007
16014template <class T>
16015bool downcast_call(StoryPrivacySettings &obj, const T &func) {
16016 switch (obj.get_id()) {
16017 case storyPrivacySettingsEveryone::ID:
16018 func(static_cast<storyPrivacySettingsEveryone &>(obj));
16019 return true;
16020 case storyPrivacySettingsContacts::ID:
16021 func(static_cast<storyPrivacySettingsContacts &>(obj));
16022 return true;
16023 case storyPrivacySettingsCloseFriends::ID:
16024 func(static_cast<storyPrivacySettingsCloseFriends &>(obj));
16025 return true;
16026 case storyPrivacySettingsSelectedUsers::ID:
16027 func(static_cast<storyPrivacySettingsSelectedUsers &>(obj));
16028 return true;
16029 default:
16030 return false;
16031 }
16032}
16033
16040template <class T>
16041bool downcast_call(SuggestedAction &obj, const T &func) {
16042 switch (obj.get_id()) {
16043 case suggestedActionEnableArchiveAndMuteNewChats::ID:
16044 func(static_cast<suggestedActionEnableArchiveAndMuteNewChats &>(obj));
16045 return true;
16046 case suggestedActionCheckPassword::ID:
16047 func(static_cast<suggestedActionCheckPassword &>(obj));
16048 return true;
16049 case suggestedActionCheckPhoneNumber::ID:
16050 func(static_cast<suggestedActionCheckPhoneNumber &>(obj));
16051 return true;
16052 case suggestedActionViewChecksHint::ID:
16053 func(static_cast<suggestedActionViewChecksHint &>(obj));
16054 return true;
16055 case suggestedActionConvertToBroadcastGroup::ID:
16056 func(static_cast<suggestedActionConvertToBroadcastGroup &>(obj));
16057 return true;
16058 case suggestedActionSetPassword::ID:
16059 func(static_cast<suggestedActionSetPassword &>(obj));
16060 return true;
16061 case suggestedActionUpgradePremium::ID:
16062 func(static_cast<suggestedActionUpgradePremium &>(obj));
16063 return true;
16064 case suggestedActionRestorePremium::ID:
16065 func(static_cast<suggestedActionRestorePremium &>(obj));
16066 return true;
16067 case suggestedActionSubscribeToAnnualPremium::ID:
16068 func(static_cast<suggestedActionSubscribeToAnnualPremium &>(obj));
16069 return true;
16070 case suggestedActionGiftPremiumForChristmas::ID:
16071 func(static_cast<suggestedActionGiftPremiumForChristmas &>(obj));
16072 return true;
16073 case suggestedActionSetBirthdate::ID:
16074 func(static_cast<suggestedActionSetBirthdate &>(obj));
16075 return true;
16076 case suggestedActionSetProfilePhoto::ID:
16077 func(static_cast<suggestedActionSetProfilePhoto &>(obj));
16078 return true;
16079 case suggestedActionExtendPremium::ID:
16080 func(static_cast<suggestedActionExtendPremium &>(obj));
16081 return true;
16082 case suggestedActionExtendStarSubscriptions::ID:
16083 func(static_cast<suggestedActionExtendStarSubscriptions &>(obj));
16084 return true;
16085 case suggestedActionCustom::ID:
16086 func(static_cast<suggestedActionCustom &>(obj));
16087 return true;
16088 case suggestedActionSetLoginEmailAddress::ID:
16089 func(static_cast<suggestedActionSetLoginEmailAddress &>(obj));
16090 return true;
16091 case suggestedActionAddLoginPasskey::ID:
16092 func(static_cast<suggestedActionAddLoginPasskey &>(obj));
16093 return true;
16094 default:
16095 return false;
16096 }
16097}
16098
16105template <class T>
16106bool downcast_call(SuggestedPostPrice &obj, const T &func) {
16107 switch (obj.get_id()) {
16108 case suggestedPostPriceStar::ID:
16109 func(static_cast<suggestedPostPriceStar &>(obj));
16110 return true;
16111 case suggestedPostPriceGram::ID:
16112 func(static_cast<suggestedPostPriceGram &>(obj));
16113 return true;
16114 default:
16115 return false;
16116 }
16117}
16118
16125template <class T>
16126bool downcast_call(SuggestedPostRefundReason &obj, const T &func) {
16127 switch (obj.get_id()) {
16128 case suggestedPostRefundReasonPostDeleted::ID:
16129 func(static_cast<suggestedPostRefundReasonPostDeleted &>(obj));
16130 return true;
16131 case suggestedPostRefundReasonPaymentRefunded::ID:
16132 func(static_cast<suggestedPostRefundReasonPaymentRefunded &>(obj));
16133 return true;
16134 default:
16135 return false;
16136 }
16137}
16138
16145template <class T>
16146bool downcast_call(SuggestedPostState &obj, const T &func) {
16147 switch (obj.get_id()) {
16148 case suggestedPostStatePending::ID:
16149 func(static_cast<suggestedPostStatePending &>(obj));
16150 return true;
16151 case suggestedPostStateApproved::ID:
16152 func(static_cast<suggestedPostStateApproved &>(obj));
16153 return true;
16154 case suggestedPostStateDeclined::ID:
16155 func(static_cast<suggestedPostStateDeclined &>(obj));
16156 return true;
16157 default:
16158 return false;
16159 }
16160}
16161
16168template <class T>
16169bool downcast_call(SupergroupMembersFilter &obj, const T &func) {
16170 switch (obj.get_id()) {
16171 case supergroupMembersFilterRecent::ID:
16172 func(static_cast<supergroupMembersFilterRecent &>(obj));
16173 return true;
16174 case supergroupMembersFilterContacts::ID:
16175 func(static_cast<supergroupMembersFilterContacts &>(obj));
16176 return true;
16177 case supergroupMembersFilterAdministrators::ID:
16178 func(static_cast<supergroupMembersFilterAdministrators &>(obj));
16179 return true;
16180 case supergroupMembersFilterSearch::ID:
16181 func(static_cast<supergroupMembersFilterSearch &>(obj));
16182 return true;
16183 case supergroupMembersFilterRestricted::ID:
16184 func(static_cast<supergroupMembersFilterRestricted &>(obj));
16185 return true;
16186 case supergroupMembersFilterBanned::ID:
16187 func(static_cast<supergroupMembersFilterBanned &>(obj));
16188 return true;
16189 case supergroupMembersFilterMention::ID:
16190 func(static_cast<supergroupMembersFilterMention &>(obj));
16191 return true;
16192 case supergroupMembersFilterBots::ID:
16193 func(static_cast<supergroupMembersFilterBots &>(obj));
16194 return true;
16195 default:
16196 return false;
16197 }
16198}
16199
16206template <class T>
16207bool downcast_call(TMeUrlType &obj, const T &func) {
16208 switch (obj.get_id()) {
16209 case tMeUrlTypeUser::ID:
16210 func(static_cast<tMeUrlTypeUser &>(obj));
16211 return true;
16212 case tMeUrlTypeSupergroup::ID:
16213 func(static_cast<tMeUrlTypeSupergroup &>(obj));
16214 return true;
16215 case tMeUrlTypeChatInvite::ID:
16216 func(static_cast<tMeUrlTypeChatInvite &>(obj));
16217 return true;
16218 case tMeUrlTypeStickerSet::ID:
16219 func(static_cast<tMeUrlTypeStickerSet &>(obj));
16220 return true;
16221 default:
16222 return false;
16223 }
16224}
16225
16232template <class T>
16233bool downcast_call(TargetChat &obj, const T &func) {
16234 switch (obj.get_id()) {
16235 case targetChatCurrent::ID:
16236 func(static_cast<targetChatCurrent &>(obj));
16237 return true;
16238 case targetChatChosen::ID:
16239 func(static_cast<targetChatChosen &>(obj));
16240 return true;
16241 case targetChatInternalLink::ID:
16242 func(static_cast<targetChatInternalLink &>(obj));
16243 return true;
16244 default:
16245 return false;
16246 }
16247}
16248
16255template <class T>
16256bool downcast_call(TelegramPaymentPurpose &obj, const T &func) {
16257 switch (obj.get_id()) {
16258 case telegramPaymentPurposePremiumGift::ID:
16259 func(static_cast<telegramPaymentPurposePremiumGift &>(obj));
16260 return true;
16261 case telegramPaymentPurposePremiumGiftCodes::ID:
16262 func(static_cast<telegramPaymentPurposePremiumGiftCodes &>(obj));
16263 return true;
16264 case telegramPaymentPurposePremiumGiveaway::ID:
16265 func(static_cast<telegramPaymentPurposePremiumGiveaway &>(obj));
16266 return true;
16267 case telegramPaymentPurposeStars::ID:
16268 func(static_cast<telegramPaymentPurposeStars &>(obj));
16269 return true;
16270 case telegramPaymentPurposeGiftedStars::ID:
16271 func(static_cast<telegramPaymentPurposeGiftedStars &>(obj));
16272 return true;
16273 case telegramPaymentPurposeStarGiveaway::ID:
16274 func(static_cast<telegramPaymentPurposeStarGiveaway &>(obj));
16275 return true;
16276 case telegramPaymentPurposeJoinChat::ID:
16277 func(static_cast<telegramPaymentPurposeJoinChat &>(obj));
16278 return true;
16279 default:
16280 return false;
16281 }
16282}
16283
16290template <class T>
16291bool downcast_call(TextEntityType &obj, const T &func) {
16292 switch (obj.get_id()) {
16293 case textEntityTypeMention::ID:
16294 func(static_cast<textEntityTypeMention &>(obj));
16295 return true;
16296 case textEntityTypeHashtag::ID:
16297 func(static_cast<textEntityTypeHashtag &>(obj));
16298 return true;
16299 case textEntityTypeCashtag::ID:
16300 func(static_cast<textEntityTypeCashtag &>(obj));
16301 return true;
16302 case textEntityTypeBotCommand::ID:
16303 func(static_cast<textEntityTypeBotCommand &>(obj));
16304 return true;
16305 case textEntityTypeUrl::ID:
16306 func(static_cast<textEntityTypeUrl &>(obj));
16307 return true;
16308 case textEntityTypeEmailAddress::ID:
16309 func(static_cast<textEntityTypeEmailAddress &>(obj));
16310 return true;
16311 case textEntityTypePhoneNumber::ID:
16312 func(static_cast<textEntityTypePhoneNumber &>(obj));
16313 return true;
16314 case textEntityTypeBankCardNumber::ID:
16315 func(static_cast<textEntityTypeBankCardNumber &>(obj));
16316 return true;
16317 case textEntityTypeBold::ID:
16318 func(static_cast<textEntityTypeBold &>(obj));
16319 return true;
16320 case textEntityTypeItalic::ID:
16321 func(static_cast<textEntityTypeItalic &>(obj));
16322 return true;
16323 case textEntityTypeUnderline::ID:
16324 func(static_cast<textEntityTypeUnderline &>(obj));
16325 return true;
16326 case textEntityTypeStrikethrough::ID:
16327 func(static_cast<textEntityTypeStrikethrough &>(obj));
16328 return true;
16329 case textEntityTypeSpoiler::ID:
16330 func(static_cast<textEntityTypeSpoiler &>(obj));
16331 return true;
16332 case textEntityTypeCode::ID:
16333 func(static_cast<textEntityTypeCode &>(obj));
16334 return true;
16335 case textEntityTypePre::ID:
16336 func(static_cast<textEntityTypePre &>(obj));
16337 return true;
16338 case textEntityTypePreCode::ID:
16339 func(static_cast<textEntityTypePreCode &>(obj));
16340 return true;
16341 case textEntityTypeBlockQuote::ID:
16342 func(static_cast<textEntityTypeBlockQuote &>(obj));
16343 return true;
16344 case textEntityTypeExpandableBlockQuote::ID:
16345 func(static_cast<textEntityTypeExpandableBlockQuote &>(obj));
16346 return true;
16347 case textEntityTypeTextUrl::ID:
16348 func(static_cast<textEntityTypeTextUrl &>(obj));
16349 return true;
16350 case textEntityTypeMentionName::ID:
16351 func(static_cast<textEntityTypeMentionName &>(obj));
16352 return true;
16353 case textEntityTypeCustomEmoji::ID:
16354 func(static_cast<textEntityTypeCustomEmoji &>(obj));
16355 return true;
16356 case textEntityTypeMediaTimestamp::ID:
16357 func(static_cast<textEntityTypeMediaTimestamp &>(obj));
16358 return true;
16359 case textEntityTypeDateTime::ID:
16360 func(static_cast<textEntityTypeDateTime &>(obj));
16361 return true;
16362 default:
16363 return false;
16364 }
16365}
16366
16373template <class T>
16374bool downcast_call(TextParseMode &obj, const T &func) {
16375 switch (obj.get_id()) {
16376 case textParseModeMarkdown::ID:
16377 func(static_cast<textParseModeMarkdown &>(obj));
16378 return true;
16379 case textParseModeHTML::ID:
16380 func(static_cast<textParseModeHTML &>(obj));
16381 return true;
16382 default:
16383 return false;
16384 }
16385}
16386
16393template <class T>
16394bool downcast_call(ThumbnailFormat &obj, const T &func) {
16395 switch (obj.get_id()) {
16396 case thumbnailFormatJpeg::ID:
16397 func(static_cast<thumbnailFormatJpeg &>(obj));
16398 return true;
16399 case thumbnailFormatGif::ID:
16400 func(static_cast<thumbnailFormatGif &>(obj));
16401 return true;
16402 case thumbnailFormatMpeg4::ID:
16403 func(static_cast<thumbnailFormatMpeg4 &>(obj));
16404 return true;
16405 case thumbnailFormatPng::ID:
16406 func(static_cast<thumbnailFormatPng &>(obj));
16407 return true;
16408 case thumbnailFormatTgs::ID:
16409 func(static_cast<thumbnailFormatTgs &>(obj));
16410 return true;
16411 case thumbnailFormatWebm::ID:
16412 func(static_cast<thumbnailFormatWebm &>(obj));
16413 return true;
16414 case thumbnailFormatWebp::ID:
16415 func(static_cast<thumbnailFormatWebp &>(obj));
16416 return true;
16417 default:
16418 return false;
16419 }
16420}
16421
16428template <class T>
16429bool downcast_call(TonTransactionType &obj, const T &func) {
16430 switch (obj.get_id()) {
16431 case tonTransactionTypeFragmentDeposit::ID:
16432 func(static_cast<tonTransactionTypeFragmentDeposit &>(obj));
16433 return true;
16434 case tonTransactionTypeFragmentWithdrawal::ID:
16435 func(static_cast<tonTransactionTypeFragmentWithdrawal &>(obj));
16436 return true;
16437 case tonTransactionTypeSuggestedPostPayment::ID:
16438 func(static_cast<tonTransactionTypeSuggestedPostPayment &>(obj));
16439 return true;
16440 case tonTransactionTypeGiftPurchaseOffer::ID:
16441 func(static_cast<tonTransactionTypeGiftPurchaseOffer &>(obj));
16442 return true;
16443 case tonTransactionTypeUpgradedGiftPurchase::ID:
16444 func(static_cast<tonTransactionTypeUpgradedGiftPurchase &>(obj));
16445 return true;
16446 case tonTransactionTypeUpgradedGiftSale::ID:
16447 func(static_cast<tonTransactionTypeUpgradedGiftSale &>(obj));
16448 return true;
16449 case tonTransactionTypeStakeDiceStake::ID:
16450 func(static_cast<tonTransactionTypeStakeDiceStake &>(obj));
16451 return true;
16452 case tonTransactionTypeStakeDicePayout::ID:
16453 func(static_cast<tonTransactionTypeStakeDicePayout &>(obj));
16454 return true;
16455 case tonTransactionTypeUnsupported::ID:
16456 func(static_cast<tonTransactionTypeUnsupported &>(obj));
16457 return true;
16458 default:
16459 return false;
16460 }
16461}
16462
16469template <class T>
16470bool downcast_call(TopChatCategory &obj, const T &func) {
16471 switch (obj.get_id()) {
16472 case topChatCategoryUsers::ID:
16473 func(static_cast<topChatCategoryUsers &>(obj));
16474 return true;
16475 case topChatCategoryBots::ID:
16476 func(static_cast<topChatCategoryBots &>(obj));
16477 return true;
16478 case topChatCategoryGroups::ID:
16479 func(static_cast<topChatCategoryGroups &>(obj));
16480 return true;
16481 case topChatCategoryChannels::ID:
16482 func(static_cast<topChatCategoryChannels &>(obj));
16483 return true;
16484 case topChatCategoryInlineBots::ID:
16485 func(static_cast<topChatCategoryInlineBots &>(obj));
16486 return true;
16487 case topChatCategoryGuestBots::ID:
16488 func(static_cast<topChatCategoryGuestBots &>(obj));
16489 return true;
16490 case topChatCategoryWebAppBots::ID:
16491 func(static_cast<topChatCategoryWebAppBots &>(obj));
16492 return true;
16493 case topChatCategoryCalls::ID:
16494 func(static_cast<topChatCategoryCalls &>(obj));
16495 return true;
16496 case topChatCategoryForwardChats::ID:
16497 func(static_cast<topChatCategoryForwardChats &>(obj));
16498 return true;
16499 default:
16500 return false;
16501 }
16502}
16503
16510template <class T>
16511bool downcast_call(TransactionDirection &obj, const T &func) {
16512 switch (obj.get_id()) {
16513 case transactionDirectionIncoming::ID:
16514 func(static_cast<transactionDirectionIncoming &>(obj));
16515 return true;
16516 case transactionDirectionOutgoing::ID:
16517 func(static_cast<transactionDirectionOutgoing &>(obj));
16518 return true;
16519 default:
16520 return false;
16521 }
16522}
16523
16530template <class T>
16531bool downcast_call(Update &obj, const T &func) {
16532 switch (obj.get_id()) {
16533 case updateAuthorizationState::ID:
16534 func(static_cast<updateAuthorizationState &>(obj));
16535 return true;
16536 case updateNewMessage::ID:
16537 func(static_cast<updateNewMessage &>(obj));
16538 return true;
16539 case updateMessageSendAcknowledged::ID:
16540 func(static_cast<updateMessageSendAcknowledged &>(obj));
16541 return true;
16542 case updateMessageSendSucceeded::ID:
16543 func(static_cast<updateMessageSendSucceeded &>(obj));
16544 return true;
16545 case updateMessageSendFailed::ID:
16546 func(static_cast<updateMessageSendFailed &>(obj));
16547 return true;
16548 case updateMessageContent::ID:
16549 func(static_cast<updateMessageContent &>(obj));
16550 return true;
16551 case updateMessageEdited::ID:
16552 func(static_cast<updateMessageEdited &>(obj));
16553 return true;
16554 case updateMessageIsPinned::ID:
16555 func(static_cast<updateMessageIsPinned &>(obj));
16556 return true;
16557 case updateMessageInteractionInfo::ID:
16558 func(static_cast<updateMessageInteractionInfo &>(obj));
16559 return true;
16560 case updateMessageContentOpened::ID:
16561 func(static_cast<updateMessageContentOpened &>(obj));
16562 return true;
16563 case updateMessageMentionRead::ID:
16564 func(static_cast<updateMessageMentionRead &>(obj));
16565 return true;
16566 case updateMessageUnreadReactions::ID:
16567 func(static_cast<updateMessageUnreadReactions &>(obj));
16568 return true;
16569 case updateMessageContainsUnreadPollVotes::ID:
16570 func(static_cast<updateMessageContainsUnreadPollVotes &>(obj));
16571 return true;
16572 case updateMessageFactCheck::ID:
16573 func(static_cast<updateMessageFactCheck &>(obj));
16574 return true;
16575 case updateMessageSuggestedPostInfo::ID:
16576 func(static_cast<updateMessageSuggestedPostInfo &>(obj));
16577 return true;
16578 case updateMessageLiveLocationViewed::ID:
16579 func(static_cast<updateMessageLiveLocationViewed &>(obj));
16580 return true;
16581 case updateVideoPublished::ID:
16582 func(static_cast<updateVideoPublished &>(obj));
16583 return true;
16584 case updateNewChat::ID:
16585 func(static_cast<updateNewChat &>(obj));
16586 return true;
16587 case updateChatTitle::ID:
16588 func(static_cast<updateChatTitle &>(obj));
16589 return true;
16590 case updateChatPhoto::ID:
16591 func(static_cast<updateChatPhoto &>(obj));
16592 return true;
16593 case updateChatAccentColors::ID:
16594 func(static_cast<updateChatAccentColors &>(obj));
16595 return true;
16596 case updateChatPermissions::ID:
16597 func(static_cast<updateChatPermissions &>(obj));
16598 return true;
16599 case updateChatLastMessage::ID:
16600 func(static_cast<updateChatLastMessage &>(obj));
16601 return true;
16602 case updateChatPosition::ID:
16603 func(static_cast<updateChatPosition &>(obj));
16604 return true;
16605 case updateChatAddedToList::ID:
16606 func(static_cast<updateChatAddedToList &>(obj));
16607 return true;
16608 case updateChatRemovedFromList::ID:
16609 func(static_cast<updateChatRemovedFromList &>(obj));
16610 return true;
16611 case updateChatReadInbox::ID:
16612 func(static_cast<updateChatReadInbox &>(obj));
16613 return true;
16614 case updateChatReadOutbox::ID:
16615 func(static_cast<updateChatReadOutbox &>(obj));
16616 return true;
16617 case updateChatActionBar::ID:
16618 func(static_cast<updateChatActionBar &>(obj));
16619 return true;
16620 case updateChatBusinessBotManageBar::ID:
16621 func(static_cast<updateChatBusinessBotManageBar &>(obj));
16622 return true;
16623 case updateChatAvailableReactions::ID:
16624 func(static_cast<updateChatAvailableReactions &>(obj));
16625 return true;
16626 case updateChatDraftMessage::ID:
16627 func(static_cast<updateChatDraftMessage &>(obj));
16628 return true;
16629 case updateChatEmojiStatus::ID:
16630 func(static_cast<updateChatEmojiStatus &>(obj));
16631 return true;
16632 case updateChatMessageSender::ID:
16633 func(static_cast<updateChatMessageSender &>(obj));
16634 return true;
16635 case updateChatMessageAutoDeleteTime::ID:
16636 func(static_cast<updateChatMessageAutoDeleteTime &>(obj));
16637 return true;
16638 case updateChatNotificationSettings::ID:
16639 func(static_cast<updateChatNotificationSettings &>(obj));
16640 return true;
16641 case updateChatPendingJoinRequests::ID:
16642 func(static_cast<updateChatPendingJoinRequests &>(obj));
16643 return true;
16644 case updateChatReplyMarkup::ID:
16645 func(static_cast<updateChatReplyMarkup &>(obj));
16646 return true;
16647 case updateChatBackground::ID:
16648 func(static_cast<updateChatBackground &>(obj));
16649 return true;
16650 case updateChatTheme::ID:
16651 func(static_cast<updateChatTheme &>(obj));
16652 return true;
16653 case updateChatUnreadMentionCount::ID:
16654 func(static_cast<updateChatUnreadMentionCount &>(obj));
16655 return true;
16656 case updateChatUnreadReactionCount::ID:
16657 func(static_cast<updateChatUnreadReactionCount &>(obj));
16658 return true;
16659 case updateChatUnreadPollVoteCount::ID:
16660 func(static_cast<updateChatUnreadPollVoteCount &>(obj));
16661 return true;
16662 case updateChatVideoChat::ID:
16663 func(static_cast<updateChatVideoChat &>(obj));
16664 return true;
16665 case updateChatDefaultDisableNotification::ID:
16666 func(static_cast<updateChatDefaultDisableNotification &>(obj));
16667 return true;
16668 case updateChatHasProtectedContent::ID:
16669 func(static_cast<updateChatHasProtectedContent &>(obj));
16670 return true;
16671 case updateChatIsTranslatable::ID:
16672 func(static_cast<updateChatIsTranslatable &>(obj));
16673 return true;
16674 case updateChatIsMarkedAsUnread::ID:
16675 func(static_cast<updateChatIsMarkedAsUnread &>(obj));
16676 return true;
16677 case updateChatViewAsTopics::ID:
16678 func(static_cast<updateChatViewAsTopics &>(obj));
16679 return true;
16680 case updateChatBlockList::ID:
16681 func(static_cast<updateChatBlockList &>(obj));
16682 return true;
16683 case updateChatHasScheduledMessages::ID:
16684 func(static_cast<updateChatHasScheduledMessages &>(obj));
16685 return true;
16686 case updateChatFolders::ID:
16687 func(static_cast<updateChatFolders &>(obj));
16688 return true;
16689 case updateChatOnlineMemberCount::ID:
16690 func(static_cast<updateChatOnlineMemberCount &>(obj));
16691 return true;
16692 case updateSavedMessagesTopic::ID:
16693 func(static_cast<updateSavedMessagesTopic &>(obj));
16694 return true;
16695 case updateSavedMessagesTopicCount::ID:
16696 func(static_cast<updateSavedMessagesTopicCount &>(obj));
16697 return true;
16698 case updateDirectMessagesChatTopic::ID:
16699 func(static_cast<updateDirectMessagesChatTopic &>(obj));
16700 return true;
16701 case updateTopicMessageCount::ID:
16702 func(static_cast<updateTopicMessageCount &>(obj));
16703 return true;
16704 case updateQuickReplyShortcut::ID:
16705 func(static_cast<updateQuickReplyShortcut &>(obj));
16706 return true;
16707 case updateQuickReplyShortcutDeleted::ID:
16708 func(static_cast<updateQuickReplyShortcutDeleted &>(obj));
16709 return true;
16710 case updateQuickReplyShortcuts::ID:
16711 func(static_cast<updateQuickReplyShortcuts &>(obj));
16712 return true;
16713 case updateQuickReplyShortcutMessages::ID:
16714 func(static_cast<updateQuickReplyShortcutMessages &>(obj));
16715 return true;
16716 case updateForumTopicInfo::ID:
16717 func(static_cast<updateForumTopicInfo &>(obj));
16718 return true;
16719 case updateForumTopic::ID:
16720 func(static_cast<updateForumTopic &>(obj));
16721 return true;
16722 case updateScopeNotificationSettings::ID:
16723 func(static_cast<updateScopeNotificationSettings &>(obj));
16724 return true;
16725 case updateReactionNotificationSettings::ID:
16726 func(static_cast<updateReactionNotificationSettings &>(obj));
16727 return true;
16728 case updateNotification::ID:
16729 func(static_cast<updateNotification &>(obj));
16730 return true;
16731 case updateNotificationGroup::ID:
16732 func(static_cast<updateNotificationGroup &>(obj));
16733 return true;
16734 case updateActiveNotifications::ID:
16735 func(static_cast<updateActiveNotifications &>(obj));
16736 return true;
16737 case updateHavePendingNotifications::ID:
16738 func(static_cast<updateHavePendingNotifications &>(obj));
16739 return true;
16740 case updateDeleteMessages::ID:
16741 func(static_cast<updateDeleteMessages &>(obj));
16742 return true;
16743 case updateChatAction::ID:
16744 func(static_cast<updateChatAction &>(obj));
16745 return true;
16746 case updatePendingMessage::ID:
16747 func(static_cast<updatePendingMessage &>(obj));
16748 return true;
16749 case updateCommunity::ID:
16750 func(static_cast<updateCommunity &>(obj));
16751 return true;
16752 case updateUserStatus::ID:
16753 func(static_cast<updateUserStatus &>(obj));
16754 return true;
16755 case updateUser::ID:
16756 func(static_cast<updateUser &>(obj));
16757 return true;
16758 case updateBasicGroup::ID:
16759 func(static_cast<updateBasicGroup &>(obj));
16760 return true;
16761 case updateSupergroup::ID:
16762 func(static_cast<updateSupergroup &>(obj));
16763 return true;
16764 case updateSecretChat::ID:
16765 func(static_cast<updateSecretChat &>(obj));
16766 return true;
16767 case updateUserFullInfo::ID:
16768 func(static_cast<updateUserFullInfo &>(obj));
16769 return true;
16770 case updateBasicGroupFullInfo::ID:
16771 func(static_cast<updateBasicGroupFullInfo &>(obj));
16772 return true;
16773 case updateSupergroupFullInfo::ID:
16774 func(static_cast<updateSupergroupFullInfo &>(obj));
16775 return true;
16776 case updateServiceNotification::ID:
16777 func(static_cast<updateServiceNotification &>(obj));
16778 return true;
16779 case updateNewOauthRequest::ID:
16780 func(static_cast<updateNewOauthRequest &>(obj));
16781 return true;
16782 case updateFile::ID:
16783 func(static_cast<updateFile &>(obj));
16784 return true;
16785 case updateFileGenerationStart::ID:
16786 func(static_cast<updateFileGenerationStart &>(obj));
16787 return true;
16788 case updateFileGenerationStop::ID:
16789 func(static_cast<updateFileGenerationStop &>(obj));
16790 return true;
16791 case updateFileDownloads::ID:
16792 func(static_cast<updateFileDownloads &>(obj));
16793 return true;
16794 case updateFileAddedToDownloads::ID:
16795 func(static_cast<updateFileAddedToDownloads &>(obj));
16796 return true;
16797 case updateFileDownload::ID:
16798 func(static_cast<updateFileDownload &>(obj));
16799 return true;
16800 case updateFileRemovedFromDownloads::ID:
16801 func(static_cast<updateFileRemovedFromDownloads &>(obj));
16802 return true;
16803 case updateApplicationVerificationRequired::ID:
16804 func(static_cast<updateApplicationVerificationRequired &>(obj));
16805 return true;
16806 case updateApplicationRecaptchaVerificationRequired::ID:
16807 func(static_cast<updateApplicationRecaptchaVerificationRequired &>(obj));
16808 return true;
16809 case updateCall::ID:
16810 func(static_cast<updateCall &>(obj));
16811 return true;
16812 case updateGroupCall::ID:
16813 func(static_cast<updateGroupCall &>(obj));
16814 return true;
16815 case updateGroupCallParticipant::ID:
16816 func(static_cast<updateGroupCallParticipant &>(obj));
16817 return true;
16818 case updateGroupCallParticipants::ID:
16819 func(static_cast<updateGroupCallParticipants &>(obj));
16820 return true;
16821 case updateGroupCallVerificationState::ID:
16822 func(static_cast<updateGroupCallVerificationState &>(obj));
16823 return true;
16824 case updateNewGroupCallMessage::ID:
16825 func(static_cast<updateNewGroupCallMessage &>(obj));
16826 return true;
16827 case updateNewGroupCallPaidReaction::ID:
16828 func(static_cast<updateNewGroupCallPaidReaction &>(obj));
16829 return true;
16830 case updateGroupCallMessageSendFailed::ID:
16831 func(static_cast<updateGroupCallMessageSendFailed &>(obj));
16832 return true;
16833 case updateGroupCallMessagesDeleted::ID:
16834 func(static_cast<updateGroupCallMessagesDeleted &>(obj));
16835 return true;
16836 case updateLiveStoryTopDonors::ID:
16837 func(static_cast<updateLiveStoryTopDonors &>(obj));
16838 return true;
16839 case updateNewCallSignalingData::ID:
16840 func(static_cast<updateNewCallSignalingData &>(obj));
16841 return true;
16842 case updateGiftAuctionState::ID:
16843 func(static_cast<updateGiftAuctionState &>(obj));
16844 return true;
16845 case updateActiveGiftAuctions::ID:
16846 func(static_cast<updateActiveGiftAuctions &>(obj));
16847 return true;
16848 case updateUserPrivacySettingRules::ID:
16849 func(static_cast<updateUserPrivacySettingRules &>(obj));
16850 return true;
16851 case updateUnreadMessageCount::ID:
16852 func(static_cast<updateUnreadMessageCount &>(obj));
16853 return true;
16854 case updateUnreadChatCount::ID:
16855 func(static_cast<updateUnreadChatCount &>(obj));
16856 return true;
16857 case updateChatJoinResult::ID:
16858 func(static_cast<updateChatJoinResult &>(obj));
16859 return true;
16860 case updateStory::ID:
16861 func(static_cast<updateStory &>(obj));
16862 return true;
16863 case updateStoryDeleted::ID:
16864 func(static_cast<updateStoryDeleted &>(obj));
16865 return true;
16866 case updateStoryPostSucceeded::ID:
16867 func(static_cast<updateStoryPostSucceeded &>(obj));
16868 return true;
16869 case updateStoryPostFailed::ID:
16870 func(static_cast<updateStoryPostFailed &>(obj));
16871 return true;
16872 case updateChatActiveStories::ID:
16873 func(static_cast<updateChatActiveStories &>(obj));
16874 return true;
16875 case updateStoryListChatCount::ID:
16876 func(static_cast<updateStoryListChatCount &>(obj));
16877 return true;
16878 case updateStoryStealthMode::ID:
16879 func(static_cast<updateStoryStealthMode &>(obj));
16880 return true;
16881 case updateTrustedMiniAppBots::ID:
16882 func(static_cast<updateTrustedMiniAppBots &>(obj));
16883 return true;
16884 case updateOption::ID:
16885 func(static_cast<updateOption &>(obj));
16886 return true;
16887 case updateStickerSet::ID:
16888 func(static_cast<updateStickerSet &>(obj));
16889 return true;
16890 case updateInstalledStickerSets::ID:
16891 func(static_cast<updateInstalledStickerSets &>(obj));
16892 return true;
16893 case updateTrendingStickerSets::ID:
16894 func(static_cast<updateTrendingStickerSets &>(obj));
16895 return true;
16896 case updateRecentStickers::ID:
16897 func(static_cast<updateRecentStickers &>(obj));
16898 return true;
16899 case updateFavoriteStickers::ID:
16900 func(static_cast<updateFavoriteStickers &>(obj));
16901 return true;
16902 case updateSavedAnimations::ID:
16903 func(static_cast<updateSavedAnimations &>(obj));
16904 return true;
16905 case updateSavedNotificationSounds::ID:
16906 func(static_cast<updateSavedNotificationSounds &>(obj));
16907 return true;
16908 case updateDefaultBackground::ID:
16909 func(static_cast<updateDefaultBackground &>(obj));
16910 return true;
16911 case updateEmojiChatThemes::ID:
16912 func(static_cast<updateEmojiChatThemes &>(obj));
16913 return true;
16914 case updateAccentColors::ID:
16915 func(static_cast<updateAccentColors &>(obj));
16916 return true;
16917 case updateProfileAccentColors::ID:
16918 func(static_cast<updateProfileAccentColors &>(obj));
16919 return true;
16920 case updateWebBrowserSettings::ID:
16921 func(static_cast<updateWebBrowserSettings &>(obj));
16922 return true;
16923 case updateLanguagePackStrings::ID:
16924 func(static_cast<updateLanguagePackStrings &>(obj));
16925 return true;
16926 case updateConnectionState::ID:
16927 func(static_cast<updateConnectionState &>(obj));
16928 return true;
16929 case updateFreezeState::ID:
16930 func(static_cast<updateFreezeState &>(obj));
16931 return true;
16932 case updateAgeVerificationParameters::ID:
16933 func(static_cast<updateAgeVerificationParameters &>(obj));
16934 return true;
16935 case updateTermsOfService::ID:
16936 func(static_cast<updateTermsOfService &>(obj));
16937 return true;
16938 case updateUnconfirmedSession::ID:
16939 func(static_cast<updateUnconfirmedSession &>(obj));
16940 return true;
16941 case updateAttachmentMenuBots::ID:
16942 func(static_cast<updateAttachmentMenuBots &>(obj));
16943 return true;
16944 case updateWebAppMessageSent::ID:
16945 func(static_cast<updateWebAppMessageSent &>(obj));
16946 return true;
16947 case updateActiveEmojiReactions::ID:
16948 func(static_cast<updateActiveEmojiReactions &>(obj));
16949 return true;
16950 case updateAvailableMessageEffects::ID:
16951 func(static_cast<updateAvailableMessageEffects &>(obj));
16952 return true;
16953 case updateDefaultReactionType::ID:
16954 func(static_cast<updateDefaultReactionType &>(obj));
16955 return true;
16956 case updateDefaultPaidReactionType::ID:
16957 func(static_cast<updateDefaultPaidReactionType &>(obj));
16958 return true;
16959 case updateSavedMessagesTags::ID:
16960 func(static_cast<updateSavedMessagesTags &>(obj));
16961 return true;
16962 case updateActiveLiveLocationMessages::ID:
16963 func(static_cast<updateActiveLiveLocationMessages &>(obj));
16964 return true;
16965 case updateOwnedStarCount::ID:
16966 func(static_cast<updateOwnedStarCount &>(obj));
16967 return true;
16968 case updateOwnedGramCount::ID:
16969 func(static_cast<updateOwnedGramCount &>(obj));
16970 return true;
16971 case updateChatRevenueAmount::ID:
16972 func(static_cast<updateChatRevenueAmount &>(obj));
16973 return true;
16974 case updateStarRevenueStatus::ID:
16975 func(static_cast<updateStarRevenueStatus &>(obj));
16976 return true;
16977 case updateGramRevenueStatus::ID:
16978 func(static_cast<updateGramRevenueStatus &>(obj));
16979 return true;
16980 case updateSpeechRecognitionTrial::ID:
16981 func(static_cast<updateSpeechRecognitionTrial &>(obj));
16982 return true;
16983 case updateGroupCallMessageLevels::ID:
16984 func(static_cast<updateGroupCallMessageLevels &>(obj));
16985 return true;
16986 case updateDiceEmojis::ID:
16987 func(static_cast<updateDiceEmojis &>(obj));
16988 return true;
16989 case updateStakeDiceState::ID:
16990 func(static_cast<updateStakeDiceState &>(obj));
16991 return true;
16992 case updateAnimatedEmojiMessageClicked::ID:
16993 func(static_cast<updateAnimatedEmojiMessageClicked &>(obj));
16994 return true;
16995 case updateAnimationSearchParameters::ID:
16996 func(static_cast<updateAnimationSearchParameters &>(obj));
16997 return true;
16998 case updateTextCompositionStyles::ID:
16999 func(static_cast<updateTextCompositionStyles &>(obj));
17000 return true;
17001 case updateSuggestedActions::ID:
17002 func(static_cast<updateSuggestedActions &>(obj));
17003 return true;
17004 case updateSpeedLimitNotification::ID:
17005 func(static_cast<updateSpeedLimitNotification &>(obj));
17006 return true;
17007 case updateContactCloseBirthdays::ID:
17008 func(static_cast<updateContactCloseBirthdays &>(obj));
17009 return true;
17010 case updateAutosaveSettings::ID:
17011 func(static_cast<updateAutosaveSettings &>(obj));
17012 return true;
17013 case updateBusinessConnection::ID:
17014 func(static_cast<updateBusinessConnection &>(obj));
17015 return true;
17016 case updateNewBusinessMessage::ID:
17017 func(static_cast<updateNewBusinessMessage &>(obj));
17018 return true;
17019 case updateBusinessMessageEdited::ID:
17020 func(static_cast<updateBusinessMessageEdited &>(obj));
17021 return true;
17022 case updateBusinessMessagesDeleted::ID:
17023 func(static_cast<updateBusinessMessagesDeleted &>(obj));
17024 return true;
17025 case updateNewInlineQuery::ID:
17026 func(static_cast<updateNewInlineQuery &>(obj));
17027 return true;
17028 case updateNewChosenInlineResult::ID:
17029 func(static_cast<updateNewChosenInlineResult &>(obj));
17030 return true;
17031 case updateNewGuestQuery::ID:
17032 func(static_cast<updateNewGuestQuery &>(obj));
17033 return true;
17034 case updateNewCallbackQuery::ID:
17035 func(static_cast<updateNewCallbackQuery &>(obj));
17036 return true;
17037 case updateNewInlineCallbackQuery::ID:
17038 func(static_cast<updateNewInlineCallbackQuery &>(obj));
17039 return true;
17040 case updateNewBusinessCallbackQuery::ID:
17041 func(static_cast<updateNewBusinessCallbackQuery &>(obj));
17042 return true;
17043 case updateNewShippingQuery::ID:
17044 func(static_cast<updateNewShippingQuery &>(obj));
17045 return true;
17046 case updateNewPreCheckoutQuery::ID:
17047 func(static_cast<updateNewPreCheckoutQuery &>(obj));
17048 return true;
17049 case updateNewCustomEvent::ID:
17050 func(static_cast<updateNewCustomEvent &>(obj));
17051 return true;
17052 case updateNewCustomQuery::ID:
17053 func(static_cast<updateNewCustomQuery &>(obj));
17054 return true;
17055 case updateUserSubscription::ID:
17056 func(static_cast<updateUserSubscription &>(obj));
17057 return true;
17058 case updatePoll::ID:
17059 func(static_cast<updatePoll &>(obj));
17060 return true;
17061 case updatePollAnswer::ID:
17062 func(static_cast<updatePollAnswer &>(obj));
17063 return true;
17064 case updateManagedBot::ID:
17065 func(static_cast<updateManagedBot &>(obj));
17066 return true;
17067 case updateChatMember::ID:
17068 func(static_cast<updateChatMember &>(obj));
17069 return true;
17070 case updateNewChatJoinRequest::ID:
17071 func(static_cast<updateNewChatJoinRequest &>(obj));
17072 return true;
17073 case updateChatBoost::ID:
17074 func(static_cast<updateChatBoost &>(obj));
17075 return true;
17076 case updateMessageReaction::ID:
17077 func(static_cast<updateMessageReaction &>(obj));
17078 return true;
17079 case updateMessageReactions::ID:
17080 func(static_cast<updateMessageReactions &>(obj));
17081 return true;
17082 case updatePaidMediaPurchased::ID:
17083 func(static_cast<updatePaidMediaPurchased &>(obj));
17084 return true;
17085 default:
17086 return false;
17087 }
17088}
17089
17096template <class T>
17097bool downcast_call(UpgradedGiftAttributeId &obj, const T &func) {
17098 switch (obj.get_id()) {
17099 case upgradedGiftAttributeIdModel::ID:
17100 func(static_cast<upgradedGiftAttributeIdModel &>(obj));
17101 return true;
17102 case upgradedGiftAttributeIdSymbol::ID:
17103 func(static_cast<upgradedGiftAttributeIdSymbol &>(obj));
17104 return true;
17105 case upgradedGiftAttributeIdBackdrop::ID:
17106 func(static_cast<upgradedGiftAttributeIdBackdrop &>(obj));
17107 return true;
17108 default:
17109 return false;
17110 }
17111}
17112
17119template <class T>
17121 switch (obj.get_id()) {
17122 case upgradedGiftAttributeRarityPerMille::ID:
17123 func(static_cast<upgradedGiftAttributeRarityPerMille &>(obj));
17124 return true;
17125 case upgradedGiftAttributeRarityUncommon::ID:
17126 func(static_cast<upgradedGiftAttributeRarityUncommon &>(obj));
17127 return true;
17128 case upgradedGiftAttributeRarityRare::ID:
17129 func(static_cast<upgradedGiftAttributeRarityRare &>(obj));
17130 return true;
17131 case upgradedGiftAttributeRarityEpic::ID:
17132 func(static_cast<upgradedGiftAttributeRarityEpic &>(obj));
17133 return true;
17134 case upgradedGiftAttributeRarityLegendary::ID:
17135 func(static_cast<upgradedGiftAttributeRarityLegendary &>(obj));
17136 return true;
17137 default:
17138 return false;
17139 }
17140}
17141
17148template <class T>
17149bool downcast_call(UpgradedGiftOrigin &obj, const T &func) {
17150 switch (obj.get_id()) {
17151 case upgradedGiftOriginUpgrade::ID:
17152 func(static_cast<upgradedGiftOriginUpgrade &>(obj));
17153 return true;
17154 case upgradedGiftOriginTransfer::ID:
17155 func(static_cast<upgradedGiftOriginTransfer &>(obj));
17156 return true;
17157 case upgradedGiftOriginResale::ID:
17158 func(static_cast<upgradedGiftOriginResale &>(obj));
17159 return true;
17160 case upgradedGiftOriginBlockchain::ID:
17161 func(static_cast<upgradedGiftOriginBlockchain &>(obj));
17162 return true;
17163 case upgradedGiftOriginPrepaidUpgrade::ID:
17164 func(static_cast<upgradedGiftOriginPrepaidUpgrade &>(obj));
17165 return true;
17166 case upgradedGiftOriginOffer::ID:
17167 func(static_cast<upgradedGiftOriginOffer &>(obj));
17168 return true;
17169 case upgradedGiftOriginCraft::ID:
17170 func(static_cast<upgradedGiftOriginCraft &>(obj));
17171 return true;
17172 default:
17173 return false;
17174 }
17175}
17176
17183template <class T>
17184bool downcast_call(UserPrivacySetting &obj, const T &func) {
17185 switch (obj.get_id()) {
17186 case userPrivacySettingShowStatus::ID:
17187 func(static_cast<userPrivacySettingShowStatus &>(obj));
17188 return true;
17189 case userPrivacySettingShowProfilePhoto::ID:
17190 func(static_cast<userPrivacySettingShowProfilePhoto &>(obj));
17191 return true;
17192 case userPrivacySettingShowLinkInForwardedMessages::ID:
17193 func(static_cast<userPrivacySettingShowLinkInForwardedMessages &>(obj));
17194 return true;
17195 case userPrivacySettingShowPhoneNumber::ID:
17196 func(static_cast<userPrivacySettingShowPhoneNumber &>(obj));
17197 return true;
17198 case userPrivacySettingShowBio::ID:
17199 func(static_cast<userPrivacySettingShowBio &>(obj));
17200 return true;
17201 case userPrivacySettingShowBirthdate::ID:
17202 func(static_cast<userPrivacySettingShowBirthdate &>(obj));
17203 return true;
17204 case userPrivacySettingShowProfileAudio::ID:
17205 func(static_cast<userPrivacySettingShowProfileAudio &>(obj));
17206 return true;
17207 case userPrivacySettingAllowChatInvites::ID:
17208 func(static_cast<userPrivacySettingAllowChatInvites &>(obj));
17209 return true;
17210 case userPrivacySettingAllowCalls::ID:
17211 func(static_cast<userPrivacySettingAllowCalls &>(obj));
17212 return true;
17213 case userPrivacySettingAllowPeerToPeerCalls::ID:
17214 func(static_cast<userPrivacySettingAllowPeerToPeerCalls &>(obj));
17215 return true;
17216 case userPrivacySettingAllowFindingByPhoneNumber::ID:
17217 func(static_cast<userPrivacySettingAllowFindingByPhoneNumber &>(obj));
17218 return true;
17219 case userPrivacySettingAllowPrivateVoiceAndVideoNoteMessages::ID:
17221 return true;
17222 case userPrivacySettingAutosaveGifts::ID:
17223 func(static_cast<userPrivacySettingAutosaveGifts &>(obj));
17224 return true;
17225 case userPrivacySettingAllowUnpaidMessages::ID:
17226 func(static_cast<userPrivacySettingAllowUnpaidMessages &>(obj));
17227 return true;
17228 default:
17229 return false;
17230 }
17231}
17232
17239template <class T>
17240bool downcast_call(UserPrivacySettingRule &obj, const T &func) {
17241 switch (obj.get_id()) {
17242 case userPrivacySettingRuleAllowAll::ID:
17243 func(static_cast<userPrivacySettingRuleAllowAll &>(obj));
17244 return true;
17245 case userPrivacySettingRuleAllowContacts::ID:
17246 func(static_cast<userPrivacySettingRuleAllowContacts &>(obj));
17247 return true;
17248 case userPrivacySettingRuleAllowBots::ID:
17249 func(static_cast<userPrivacySettingRuleAllowBots &>(obj));
17250 return true;
17251 case userPrivacySettingRuleAllowPremiumUsers::ID:
17252 func(static_cast<userPrivacySettingRuleAllowPremiumUsers &>(obj));
17253 return true;
17254 case userPrivacySettingRuleAllowUsers::ID:
17255 func(static_cast<userPrivacySettingRuleAllowUsers &>(obj));
17256 return true;
17257 case userPrivacySettingRuleAllowChatMembers::ID:
17258 func(static_cast<userPrivacySettingRuleAllowChatMembers &>(obj));
17259 return true;
17260 case userPrivacySettingRuleRestrictAll::ID:
17261 func(static_cast<userPrivacySettingRuleRestrictAll &>(obj));
17262 return true;
17263 case userPrivacySettingRuleRestrictContacts::ID:
17264 func(static_cast<userPrivacySettingRuleRestrictContacts &>(obj));
17265 return true;
17266 case userPrivacySettingRuleRestrictBots::ID:
17267 func(static_cast<userPrivacySettingRuleRestrictBots &>(obj));
17268 return true;
17269 case userPrivacySettingRuleRestrictUsers::ID:
17270 func(static_cast<userPrivacySettingRuleRestrictUsers &>(obj));
17271 return true;
17272 case userPrivacySettingRuleRestrictChatMembers::ID:
17273 func(static_cast<userPrivacySettingRuleRestrictChatMembers &>(obj));
17274 return true;
17275 default:
17276 return false;
17277 }
17278}
17279
17286template <class T>
17287bool downcast_call(UserStatus &obj, const T &func) {
17288 switch (obj.get_id()) {
17289 case userStatusEmpty::ID:
17290 func(static_cast<userStatusEmpty &>(obj));
17291 return true;
17292 case userStatusOnline::ID:
17293 func(static_cast<userStatusOnline &>(obj));
17294 return true;
17295 case userStatusOffline::ID:
17296 func(static_cast<userStatusOffline &>(obj));
17297 return true;
17298 case userStatusRecently::ID:
17299 func(static_cast<userStatusRecently &>(obj));
17300 return true;
17301 case userStatusLastWeek::ID:
17302 func(static_cast<userStatusLastWeek &>(obj));
17303 return true;
17304 case userStatusLastMonth::ID:
17305 func(static_cast<userStatusLastMonth &>(obj));
17306 return true;
17307 default:
17308 return false;
17309 }
17310}
17311
17318template <class T>
17319bool downcast_call(UserType &obj, const T &func) {
17320 switch (obj.get_id()) {
17321 case userTypeRegular::ID:
17322 func(static_cast<userTypeRegular &>(obj));
17323 return true;
17324 case userTypeDeleted::ID:
17325 func(static_cast<userTypeDeleted &>(obj));
17326 return true;
17327 case userTypeBot::ID:
17328 func(static_cast<userTypeBot &>(obj));
17329 return true;
17330 case userTypeUnknown::ID:
17331 func(static_cast<userTypeUnknown &>(obj));
17332 return true;
17333 default:
17334 return false;
17335 }
17336}
17337
17344template <class T>
17345bool downcast_call(VectorPathCommand &obj, const T &func) {
17346 switch (obj.get_id()) {
17347 case vectorPathCommandLine::ID:
17348 func(static_cast<vectorPathCommandLine &>(obj));
17349 return true;
17350 case vectorPathCommandCubicBezierCurve::ID:
17351 func(static_cast<vectorPathCommandCubicBezierCurve &>(obj));
17352 return true;
17353 default:
17354 return false;
17355 }
17356}
17357
17364template <class T>
17365bool downcast_call(WebAppOpenMode &obj, const T &func) {
17366 switch (obj.get_id()) {
17367 case webAppOpenModeCompact::ID:
17368 func(static_cast<webAppOpenModeCompact &>(obj));
17369 return true;
17370 case webAppOpenModeFullSize::ID:
17371 func(static_cast<webAppOpenModeFullSize &>(obj));
17372 return true;
17373 case webAppOpenModeFullScreen::ID:
17374 func(static_cast<webAppOpenModeFullScreen &>(obj));
17375 return true;
17376 default:
17377 return false;
17378 }
17379}
17380
17387template <class T>
17388bool downcast_call(WebBrowserType &obj, const T &func) {
17389 switch (obj.get_id()) {
17390 case webBrowserTypeExternal::ID:
17391 func(static_cast<webBrowserTypeExternal &>(obj));
17392 return true;
17393 case webBrowserTypeInApp::ID:
17394 func(static_cast<webBrowserTypeInApp &>(obj));
17395 return true;
17396 default:
17397 return false;
17398 }
17399}
17400
17401} // namespace td_api
17402} // namespace td
virtual std::int32_t get_id() const =0
Definition td_api.h:155
Definition td_api.h:442
Definition td_api.h:775
Definition td_api.h:906
Definition td_api.h:1093
Definition td_api.h:1400
Definition td_api.h:1576
Definition td_api.h:1635
Definition td_api.h:1842
Definition td_api.h:1911
Definition td_api.h:2286
Definition td_api.h:2614
Definition td_api.h:3009
Definition td_api.h:3093
Definition td_api.h:3201
Definition td_api.h:3375
Definition td_api.h:3425
Definition td_api.h:3555
Definition td_api.h:3611
Definition td_api.h:3727
Definition td_api.h:4222
Definition td_api.h:3988
Definition td_api.h:4422
Definition td_api.h:4639
Definition td_api.h:4773
Definition td_api.h:6125
Definition td_api.h:6209
Definition td_api.h:6276
Definition td_api.h:6393
Definition td_api.h:6522
Definition td_api.h:6808
Definition td_api.h:7068
Definition td_api.h:7118
Definition td_api.h:7271
Definition td_api.h:7311
Definition td_api.h:7349
Definition td_api.h:7441
Definition td_api.h:7686
Definition td_api.h:7776
Definition td_api.h:7961
Definition td_api.h:8116
Definition td_api.h:8311
Definition td_api.h:8348
Definition td_api.h:8434
Definition td_api.h:8651
Definition td_api.h:8714
Definition td_api.h:8898
Definition td_api.h:9050
Definition td_api.h:9131
Definition td_api.h:9166
Definition td_api.h:9351
Definition td_api.h:9619
Definition td_api.h:71
Definition td_api.h:10787
Definition td_api.h:10851
Definition td_api.h:10916
Definition td_api.h:10956
Definition td_api.h:11142
Definition td_api.h:11212
Definition td_api.h:11295
Definition td_api.h:11428
Definition td_api.h:11702
Definition td_api.h:11892
Definition td_api.h:12104
Definition td_api.h:12474
Definition td_api.h:12570
Definition td_api.h:12613
Definition td_api.h:12686
Definition td_api.h:12768
Definition td_api.h:12864
Definition td_api.h:12938
Definition td_api.h:13013
Definition td_api.h:13307
Definition td_api.h:13409
Definition td_api.h:13866
Definition td_api.h:13968
Definition td_api.h:14402
Definition td_api.h:14451
Definition td_api.h:14919
Definition td_api.h:15102
Definition td_api.h:15235
Definition td_api.h:15404
Definition td_api.h:16746
Definition td_api.h:16873
Definition td_api.h:16915
Definition td_api.h:17136
Definition td_api.h:18160
Definition td_api.h:18245
Definition td_api.h:18309
Definition td_api.h:18639
Definition td_api.h:20638
Definition td_api.h:20677
Definition td_api.h:20841
Definition td_api.h:21059
Definition td_api.h:21165
Definition td_api.h:21211
Definition td_api.h:21264
Definition td_api.h:21330
Definition td_api.h:21390
Definition td_api.h:21434
Definition td_api.h:21640
Definition td_api.h:21812
Definition td_api.h:21856
Definition td_api.h:22022
Definition td_api.h:22082
Definition td_api.h:22177
Definition td_api.h:67
Definition td_api.h:22295
Definition td_api.h:22431
Definition td_api.h:23214
Definition td_api.h:23289
Definition td_api.h:23430
Definition td_api.h:23817
Definition td_api.h:24146
Definition td_api.h:24226
Definition td_api.h:24315
Definition td_api.h:24450
Definition td_api.h:24651
Definition td_api.h:24870
Definition td_api.h:24907
Definition td_api.h:25060
Definition td_api.h:25649
Definition td_api.h:25993
Definition td_api.h:26146
Definition td_api.h:26403
Definition td_api.h:26540
Definition td_api.h:26598
Definition td_api.h:26634
Definition td_api.h:26732
Definition td_api.h:27686
Definition td_api.h:27949
Definition td_api.h:28029
Definition td_api.h:28115
Definition td_api.h:28261
Definition td_api.h:28341
Definition td_api.h:28395
Definition td_api.h:28430
Definition td_api.h:28500
Definition td_api.h:28575
Definition td_api.h:28638
Definition td_api.h:29260
Definition td_api.h:29353
Definition td_api.h:29431
Definition td_api.h:29742
Definition td_api.h:29792
Definition td_api.h:29866
Definition td_api.h:30108
Definition td_api.h:30166
Definition td_api.h:30574
Definition td_api.h:30972
Definition td_api.h:31081
Definition td_api.h:31903
Definition td_api.h:31941
Definition td_api.h:32049
Definition td_api.h:32099
Definition td_api.h:32255
Definition td_api.h:32409
Definition td_api.h:32552
Definition td_api.h:32767
Definition td_api.h:32901
Definition td_api.h:32972
Definition td_api.h:33122
Definition td_api.h:33200
Definition td_api.h:33232
Definition td_api.h:33271
Definition td_api.h:33414
Definition td_api.h:33699
Definition td_api.h:33737
Definition td_api.h:33769
Definition td_api.h:33938
Definition td_api.h:34092
Definition td_api.h:34187
Definition td_api.h:34263
Definition td_api.h:34677
Definition td_api.h:35022
Definition td_api.h:35161
Definition td_api.h:35330
Definition td_api.h:35505
Definition td_api.h:35635
Definition td_api.h:35951
Definition td_api.h:39434
Definition td_api.h:39699
Definition td_api.h:40079
Definition td_api.h:40279
Definition td_api.h:40489
Definition td_api.h:40613
Definition td_api.h:40750
Definition td_api.h:41057
Definition td_api.h:41166
Definition td_api.h:75
Definition td_api.h:41248
Definition td_api.h:41270
Definition td_api.h:41294
Definition td_api.h:96
Definition td_api.h:117
Definition td_api.h:138
Definition td_api.h:41315
Definition td_api.h:159
Definition td_api.h:190
Definition td_api.h:176
Definition td_api.h:41335
Definition td_api.h:41380
Definition td_api.h:41403
Definition td_api.h:41427
Definition td_api.h:41451
Definition td_api.h:41476
Definition td_api.h:41522
Definition td_api.h:41543
Definition td_api.h:41569
Definition td_api.h:41598
Definition td_api.h:41623
Definition td_api.h:41645
Definition td_api.h:41669
Definition td_api.h:41696
Definition td_api.h:41719
Definition td_api.h:41742
Definition td_api.h:41792
Definition td_api.h:41817
Definition td_api.h:41840
Definition td_api.h:41940
Definition td_api.h:41962
Definition td_api.h:41985
Definition td_api.h:42008
Definition td_api.h:42031
Definition td_api.h:42054
Definition td_api.h:42077
Definition td_api.h:206
Definition td_api.h:225
Definition td_api.h:250
Definition td_api.h:272
Definition td_api.h:291
Definition td_api.h:315
Definition td_api.h:336
Definition td_api.h:359
Definition td_api.h:460
Definition td_api.h:477
Definition td_api.h:42120
Definition td_api.h:515
Definition td_api.h:539
Definition td_api.h:562
Definition td_api.h:589
Definition td_api.h:616
Definition td_api.h:42163
Definition td_api.h:42213
Definition td_api.h:42237
Definition td_api.h:42263
Definition td_api.h:42289
Definition td_api.h:42313
Definition td_api.h:42338
Definition td_api.h:42360
Definition td_api.h:42381
Definition td_api.h:42408
Definition td_api.h:695
Definition td_api.h:656
Definition td_api.h:730
Definition td_api.h:749
Definition td_api.h:779
Definition td_api.h:808
Definition td_api.h:837
Definition td_api.h:864
Definition td_api.h:884
Definition td_api.h:1296
Definition td_api.h:1254
Definition td_api.h:1310
Definition td_api.h:1360
Definition td_api.h:1465
Definition td_api.h:1487
Definition td_api.h:1506
Definition td_api.h:1528
Definition td_api.h:1597
Definition td_api.h:1580
Definition td_api.h:1554
Definition td_api.h:1694
Definition td_api.h:1677
Definition td_api.h:1657
Definition td_api.h:1639
Definition td_api.h:1713
Definition td_api.h:42432
Definition td_api.h:42456
Definition td_api.h:1730
Definition td_api.h:1750
Definition td_api.h:1799
Definition td_api.h:1770
Definition td_api.h:1823
Definition td_api.h:1846
Definition td_api.h:1860
Definition td_api.h:42502
Definition td_api.h:1874
Definition td_api.h:1892
Definition td_api.h:1971
Definition td_api.h:1915
Definition td_api.h:2025
Definition td_api.h:2059
Definition td_api.h:2100
Definition td_api.h:2120
Definition td_api.h:2140
Definition td_api.h:2157
Definition td_api.h:2177
Definition td_api.h:2346
Definition td_api.h:2290
Definition td_api.h:2304
Definition td_api.h:2318
Definition td_api.h:2332
Definition td_api.h:2434
Definition td_api.h:2454
Definition td_api.h:2549
Definition td_api.h:2570
Definition td_api.h:2592
Definition td_api.h:2716
Definition td_api.h:2618
Definition td_api.h:2702
Definition td_api.h:2796
Definition td_api.h:2844
Definition td_api.h:2870
Definition td_api.h:2890
Definition td_api.h:2910
Definition td_api.h:2929
Definition td_api.h:2965
Definition td_api.h:2990
Definition td_api.h:3041
Definition td_api.h:3013
Definition td_api.h:3027
Definition td_api.h:3055
Definition td_api.h:42526
Definition td_api.h:3097
Definition td_api.h:3153
Definition td_api.h:3111
Definition td_api.h:3071
Definition td_api.h:3184
Definition td_api.h:3289
Definition td_api.h:3205
Definition td_api.h:3233
Definition td_api.h:3219
Definition td_api.h:3261
Definition td_api.h:3275
Definition td_api.h:3331
Definition td_api.h:3354
Definition td_api.h:3397
Definition td_api.h:3499
Definition td_api.h:3519
Definition td_api.h:3447
Definition td_api.h:3485
Definition td_api.h:3429
Definition td_api.h:3461
Definition td_api.h:3536
Definition td_api.h:3559
Definition td_api.h:3594
Definition td_api.h:42549
Definition td_api.h:42570
Definition td_api.h:3660
Definition td_api.h:3646
Definition td_api.h:3708
Definition td_api.h:3691
Definition td_api.h:3615
Definition td_api.h:3632
Definition td_api.h:3674
Definition td_api.h:42593
Definition td_api.h:42614
Definition td_api.h:3745
Definition td_api.h:3731
Definition td_api.h:42635
Definition td_api.h:42657
Definition td_api.h:42675
Definition td_api.h:42697
Definition td_api.h:42756
Definition td_api.h:42777
Definition td_api.h:42800
Definition td_api.h:4275
Definition td_api.h:4303
Definition td_api.h:4226
Definition td_api.h:4206
Definition td_api.h:4006
Definition td_api.h:3992
Definition td_api.h:4068
Definition td_api.h:4020
Definition td_api.h:4326
Definition td_api.h:4348
Definition td_api.h:4368
Definition td_api.h:4403
Definition td_api.h:4463
Definition td_api.h:4506
Definition td_api.h:4483
Definition td_api.h:4532
Definition td_api.h:4599
Definition td_api.h:4622
Definition td_api.h:4643
Definition td_api.h:4661
Definition td_api.h:4682
Definition td_api.h:4701
Definition td_api.h:4731
Definition td_api.h:5349
Definition td_api.h:5590
Definition td_api.h:5112
Definition td_api.h:5711
Definition td_api.h:4914
Definition td_api.h:4864
Definition td_api.h:4932
Definition td_api.h:4946
Definition td_api.h:4795
Definition td_api.h:4777
Definition td_api.h:4813
Definition td_api.h:4830
Definition td_api.h:5166
Definition td_api.h:4847
Definition td_api.h:5238
Definition td_api.h:5256
Definition td_api.h:5520
Definition td_api.h:5744
Definition td_api.h:5765
Definition td_api.h:5796
Definition td_api.h:5817
Definition td_api.h:5900
Definition td_api.h:3929
Definition td_api.h:6106
Definition td_api.h:6173
Definition td_api.h:6191
Definition td_api.h:6262
Definition td_api.h:6213
Definition td_api.h:6294
Definition td_api.h:6308
Definition td_api.h:6280
Definition td_api.h:6327
Definition td_api.h:6346
Definition td_api.h:6368
Definition td_api.h:6483
Definition td_api.h:6397
Definition td_api.h:6469
Definition td_api.h:6433
Definition td_api.h:6599
Definition td_api.h:6613
Definition td_api.h:6554
Definition td_api.h:6568
Definition td_api.h:6502
Definition td_api.h:6629
Definition td_api.h:6649
Definition td_api.h:6666
Definition td_api.h:6698
Definition td_api.h:6738
Definition td_api.h:6765
Definition td_api.h:6790
Definition td_api.h:6849
Definition td_api.h:6871
Definition td_api.h:6891
Definition td_api.h:6916
Definition td_api.h:6938
Definition td_api.h:6995
Definition td_api.h:7049
Definition td_api.h:7072
Definition td_api.h:7154
Definition td_api.h:7292
Definition td_api.h:7122
Definition td_api.h:7315
Definition td_api.h:7332
Definition td_api.h:7370
Definition td_api.h:7353
Definition td_api.h:7405
Definition td_api.h:7387
Definition td_api.h:7423
Definition td_api.h:42843
Definition td_api.h:42999
Definition td_api.h:43062
Definition td_api.h:43173
Definition td_api.h:43194
Definition td_api.h:43215
Definition td_api.h:43278
Definition td_api.h:43299
Definition td_api.h:7579
Definition td_api.h:7605
Definition td_api.h:43322
Definition td_api.h:43343
Definition td_api.h:43382
Definition td_api.h:43400
Definition td_api.h:43418
Definition td_api.h:43436
Definition td_api.h:43457
Definition td_api.h:43475
Definition td_api.h:43496
Definition td_api.h:43518
Definition td_api.h:7627
Definition td_api.h:43599
Definition td_api.h:43620
Definition td_api.h:43581
Definition td_api.h:43641
Definition td_api.h:43662
Definition td_api.h:43684
Definition td_api.h:7647
Definition td_api.h:7664
Definition td_api.h:43705
Definition td_api.h:7730
Definition td_api.h:7854
Definition td_api.h:43750
Definition td_api.h:43775
Definition td_api.h:43841
Definition td_api.h:43864
Definition td_api.h:7917
Definition td_api.h:7944
Definition td_api.h:8021
Definition td_api.h:8007
Definition td_api.h:8035
Definition td_api.h:8056
Definition td_api.h:8075
Definition td_api.h:8092
Definition td_api.h:43886
Definition td_api.h:8169
Definition td_api.h:8120
Definition td_api.h:8138
Definition td_api.h:43907
Definition td_api.h:43929
Definition td_api.h:43978
Definition td_api.h:44003
Definition td_api.h:44099
Definition td_api.h:44125
Definition td_api.h:44150
Definition td_api.h:44195
Definition td_api.h:44218
Definition td_api.h:44243
Definition td_api.h:44272
Definition td_api.h:44299
Definition td_api.h:44321
Definition td_api.h:44344
Definition td_api.h:44365
Definition td_api.h:44388
Definition td_api.h:44410
Definition td_api.h:44456
Definition td_api.h:8185
Definition td_api.h:8203
Definition td_api.h:8221
Definition td_api.h:8238
Definition td_api.h:8255
Definition td_api.h:8272
Definition td_api.h:8291
Definition td_api.h:8396
Definition td_api.h:44502
Definition td_api.h:44523
Definition td_api.h:44550
Definition td_api.h:44574
Definition td_api.h:44596
Definition td_api.h:44663
Definition td_api.h:44728
Definition td_api.h:44750
Definition td_api.h:44793
Definition td_api.h:44815
Definition td_api.h:44859
Definition td_api.h:44772
Definition td_api.h:44882
Definition td_api.h:44930
Definition td_api.h:44954
Definition td_api.h:44976
Definition td_api.h:45043
Definition td_api.h:45066
Definition td_api.h:45087
Definition td_api.h:45111
Definition td_api.h:45133
Definition td_api.h:45181
Definition td_api.h:45227
Definition td_api.h:45252
Definition td_api.h:45273
Definition td_api.h:45296
Definition td_api.h:45317
Definition td_api.h:45382
Definition td_api.h:45444
Definition td_api.h:45462
Definition td_api.h:45505
Definition td_api.h:45483
Definition td_api.h:45548
Definition td_api.h:8456
Definition td_api.h:8474
Definition td_api.h:8631
Definition td_api.h:8510
Definition td_api.h:8563
Definition td_api.h:8614
Definition td_api.h:8580
Definition td_api.h:8544
Definition td_api.h:8493
Definition td_api.h:8655
Definition td_api.h:8672
Definition td_api.h:8695
Definition td_api.h:8749
Definition td_api.h:8718
Definition td_api.h:8732
Definition td_api.h:8765
Definition td_api.h:8789
Definition td_api.h:45587
Definition td_api.h:45605
Definition td_api.h:45655
Definition td_api.h:45673
Definition td_api.h:8823
Definition td_api.h:45694
Definition td_api.h:8844
Definition td_api.h:8902
Definition td_api.h:8869
Definition td_api.h:45719
Definition td_api.h:45743
Definition td_api.h:45883
Definition td_api.h:45938
Definition td_api.h:45971
Definition td_api.h:45999
Definition td_api.h:46121
Definition td_api.h:46146
Definition td_api.h:46175
Definition td_api.h:46230
Definition td_api.h:46281
Definition td_api.h:46308
Definition td_api.h:46337
Definition td_api.h:46365
Definition td_api.h:46393
Definition td_api.h:46419
Definition td_api.h:46471
Definition td_api.h:46497
Definition td_api.h:46523
Definition td_api.h:46546
Definition td_api.h:46599
Definition td_api.h:46574
Definition td_api.h:46622
Definition td_api.h:46647
Definition td_api.h:9090
Definition td_api.h:9111
Definition td_api.h:9170
Definition td_api.h:9228
Definition td_api.h:9247
Definition td_api.h:9267
Definition td_api.h:9286
Definition td_api.h:9332
Definition td_api.h:9314
Definition td_api.h:9396
Definition td_api.h:9413
Definition td_api.h:46670
Definition td_api.h:46693
Definition td_api.h:9430
Definition td_api.h:9453
Definition td_api.h:46717
Definition td_api.h:46738
Definition td_api.h:46759
Definition td_api.h:9478
Definition td_api.h:9498
Definition td_api.h:9516
Definition td_api.h:9537
Definition td_api.h:9581
Definition td_api.h:9602
Definition td_api.h:9558
Definition td_api.h:9637
Definition td_api.h:9651
Definition td_api.h:9665
Definition td_api.h:9679
Definition td_api.h:9623
Definition td_api.h:9707
Definition td_api.h:9721
Definition td_api.h:9735
Definition td_api.h:9749
Definition td_api.h:9763
Definition td_api.h:9777
Definition td_api.h:9861
Definition td_api.h:9875
Definition td_api.h:9889
Definition td_api.h:9903
Definition td_api.h:9917
Definition td_api.h:9931
Definition td_api.h:9945
Definition td_api.h:9959
Definition td_api.h:46782
Definition td_api.h:46806
Definition td_api.h:46829
Definition td_api.h:10052
Definition td_api.h:10072
Definition td_api.h:10098
Definition td_api.h:10126
Definition td_api.h:10148
Definition td_api.h:10177
Definition td_api.h:46854
Definition td_api.h:10200
Definition td_api.h:10224
Definition td_api.h:10244
Definition td_api.h:10265
Definition td_api.h:10286
Definition td_api.h:10309
Definition td_api.h:10330
Definition td_api.h:10349
Definition td_api.h:10366
Definition td_api.h:10388
Definition td_api.h:10410
Definition td_api.h:10429
Definition td_api.h:10449
Definition td_api.h:10497
Definition td_api.h:10518
Definition td_api.h:10474
Definition td_api.h:46881
Definition td_api.h:46899
Definition td_api.h:46917
Definition td_api.h:46940
Definition td_api.h:46964
Definition td_api.h:46985
Definition td_api.h:47041
Definition td_api.h:47064
Definition td_api.h:47085
Definition td_api.h:47124
Definition td_api.h:47160
Definition td_api.h:47196
Definition td_api.h:47216
Definition td_api.h:47238
Definition td_api.h:47280
Definition td_api.h:47259
Definition td_api.h:47303
Definition td_api.h:47326
Definition td_api.h:47370
Definition td_api.h:47392
Definition td_api.h:47413
Definition td_api.h:47435
Definition td_api.h:47457
Definition td_api.h:47538
Definition td_api.h:47556
Definition td_api.h:47579
Definition td_api.h:47602
Definition td_api.h:47625
Definition td_api.h:47669
Definition td_api.h:47690
Definition td_api.h:47711
Definition td_api.h:47776
Definition td_api.h:47797
Definition td_api.h:47861
Definition td_api.h:47882
Definition td_api.h:47908
Definition td_api.h:47957
Definition td_api.h:47978
Definition td_api.h:47934
Definition td_api.h:48043
Definition td_api.h:48064
Definition td_api.h:47648
Definition td_api.h:48187
Definition td_api.h:48212
Definition td_api.h:48235
Definition td_api.h:48257
Definition td_api.h:48283
Definition td_api.h:48311
Definition td_api.h:48339
Definition td_api.h:48387
Definition td_api.h:48408
Definition td_api.h:48452
Definition td_api.h:48519
Definition td_api.h:48540
Definition td_api.h:48562
Definition td_api.h:48610
Definition td_api.h:48631
Definition td_api.h:48653
Definition td_api.h:48676
Definition td_api.h:48704
Definition td_api.h:48747
Definition td_api.h:48765
Definition td_api.h:48785
Definition td_api.h:48808
Definition td_api.h:48879
Definition td_api.h:48897
Definition td_api.h:48915
Definition td_api.h:48954
Definition td_api.h:48972
Definition td_api.h:48933
Definition td_api.h:48995
Definition td_api.h:49016
Definition td_api.h:49036
Definition td_api.h:49075
Definition td_api.h:49096
Definition td_api.h:49189
Definition td_api.h:49355
Definition td_api.h:49376
Definition td_api.h:49397
Definition td_api.h:49461
Definition td_api.h:49522
Definition td_api.h:49479
Definition td_api.h:49543
Definition td_api.h:49586
Definition td_api.h:49604
Definition td_api.h:49564
Definition td_api.h:49651
Definition td_api.h:49677
Definition td_api.h:49699
Definition td_api.h:49743
Definition td_api.h:49764
Definition td_api.h:49788
Definition td_api.h:49809
Definition td_api.h:49830
Definition td_api.h:49853
Definition td_api.h:49875
Definition td_api.h:49896
Definition td_api.h:49917
Definition td_api.h:49935
Definition td_api.h:49957
Definition td_api.h:49980
Definition td_api.h:50004
Definition td_api.h:50029
Definition td_api.h:50050
Definition td_api.h:50075
Definition td_api.h:50097
Definition td_api.h:50133
Definition td_api.h:50157
Definition td_api.h:50182
Definition td_api.h:50205
Definition td_api.h:50273
Definition td_api.h:50294
Definition td_api.h:50315
Definition td_api.h:50337
Definition td_api.h:50358
Definition td_api.h:50382
Definition td_api.h:50451
Definition td_api.h:50472
Definition td_api.h:50493
Definition td_api.h:50514
Definition td_api.h:50535
Definition td_api.h:50556
Definition td_api.h:50574
Definition td_api.h:50595
Definition td_api.h:50613
Definition td_api.h:50631
Definition td_api.h:50649
Definition td_api.h:50673
Definition td_api.h:50698
Definition td_api.h:50743
Definition td_api.h:50767
Definition td_api.h:50793
Definition td_api.h:50814
Definition td_api.h:50832
Definition td_api.h:50877
Definition td_api.h:50902
Definition td_api.h:50947
Definition td_api.h:50968
Definition td_api.h:50991
Definition td_api.h:50853
Definition td_api.h:51081
Definition td_api.h:51103
Definition td_api.h:51125
Definition td_api.h:51149
Definition td_api.h:51171
Definition td_api.h:51216
Definition td_api.h:51194
Definition td_api.h:51241
Definition td_api.h:51263
Definition td_api.h:51285
Definition td_api.h:51306
Definition td_api.h:51346
Definition td_api.h:51367
Definition td_api.h:51385
Definition td_api.h:51407
Definition td_api.h:51428
Definition td_api.h:51494
Definition td_api.h:51516
Definition td_api.h:51538
Definition td_api.h:51560
Definition td_api.h:51582
Definition td_api.h:51604
Definition td_api.h:51625
Definition td_api.h:51647
Definition td_api.h:51670
Definition td_api.h:51693
Definition td_api.h:51741
Definition td_api.h:51801
Definition td_api.h:51824
Definition td_api.h:51845
Definition td_api.h:51863
Definition td_api.h:51881
Definition td_api.h:51902
Definition td_api.h:51924
Definition td_api.h:51946
Definition td_api.h:51964
Definition td_api.h:51985
Definition td_api.h:52024
Definition td_api.h:52047
Definition td_api.h:52081
Definition td_api.h:52099
Definition td_api.h:52117
Definition td_api.h:52138
Definition td_api.h:52159
Definition td_api.h:52216
Definition td_api.h:52239
Definition td_api.h:52261
Definition td_api.h:52283
Definition td_api.h:52301
Definition td_api.h:52368
Definition td_api.h:52407
Definition td_api.h:52448
Definition td_api.h:52469
Definition td_api.h:52491
Definition td_api.h:52512
Definition td_api.h:52532
Definition td_api.h:52553
Definition td_api.h:52592
Definition td_api.h:52612
Definition td_api.h:52634
Definition td_api.h:52660
Definition td_api.h:52687
Definition td_api.h:52710
Definition td_api.h:52735
Definition td_api.h:52756
Definition td_api.h:52779
Definition td_api.h:52802
Definition td_api.h:52823
Definition td_api.h:52846
Definition td_api.h:52891
Definition td_api.h:52870
Definition td_api.h:52932
Definition td_api.h:52956
Definition td_api.h:52909
Definition td_api.h:52977
Definition td_api.h:53004
Definition td_api.h:53022
Definition td_api.h:53046
Definition td_api.h:53069
Definition td_api.h:53130
Definition td_api.h:53169
Definition td_api.h:53148
Definition td_api.h:53192
Definition td_api.h:53216
Definition td_api.h:53234
Definition td_api.h:53252
Definition td_api.h:53292
Definition td_api.h:53354
Definition td_api.h:53372
Definition td_api.h:53392
Definition td_api.h:53417
Definition td_api.h:53464
Definition td_api.h:53503
Definition td_api.h:53524
Definition td_api.h:53608
Definition td_api.h:53630
Definition td_api.h:53587
Definition td_api.h:53692
Definition td_api.h:53715
Definition td_api.h:53738
Definition td_api.h:53802
Definition td_api.h:53873
Definition td_api.h:53896
Definition td_api.h:53919
Definition td_api.h:10599
Definition td_api.h:10625
Definition td_api.h:10576
Definition td_api.h:10646
Definition td_api.h:10664
Definition td_api.h:10687
Definition td_api.h:10708
Definition td_api.h:10728
Definition td_api.h:10750
Definition td_api.h:10769
Definition td_api.h:10819
Definition td_api.h:10791
Definition td_api.h:10543
Definition td_api.h:53943
Definition td_api.h:10833
Definition td_api.h:10897
Definition td_api.h:10937
Definition td_api.h:10920
Definition td_api.h:10960
Definition td_api.h:10996
Definition td_api.h:11022
Definition td_api.h:11043
Definition td_api.h:11067
Definition td_api.h:11090
Definition td_api.h:11118
Definition td_api.h:11165
Definition td_api.h:11146
Definition td_api.h:11189
Definition td_api.h:11299
Definition td_api.h:11316
Definition td_api.h:11337
Definition td_api.h:11356
Definition td_api.h:11432
Definition td_api.h:11380
Definition td_api.h:11460
Definition td_api.h:11477
Definition td_api.h:11495
Definition td_api.h:11519
Definition td_api.h:11542
Definition td_api.h:11569
Definition td_api.h:11626
Definition td_api.h:11646
Definition td_api.h:11664
Definition td_api.h:11685
Definition td_api.h:11734
Definition td_api.h:11748
Definition td_api.h:11766
Definition td_api.h:53967
Definition td_api.h:53987
Definition td_api.h:11783
Definition td_api.h:11804
Definition td_api.h:54010
Definition td_api.h:54033
Definition td_api.h:11828
Definition td_api.h:11848
Definition td_api.h:54056
Definition td_api.h:11870
Definition td_api.h:12063
Definition td_api.h:12108
Definition td_api.h:12224
Definition td_api.h:12129
Definition td_api.h:12242
Definition td_api.h:12187
Definition td_api.h:12148
Definition td_api.h:12262
Definition td_api.h:12282
Definition td_api.h:12168
Definition td_api.h:12300
Definition td_api.h:12365
Definition td_api.h:12343
Definition td_api.h:12425
Definition td_api.h:12451
Definition td_api.h:12478
Definition td_api.h:12512
Definition td_api.h:12495
Definition td_api.h:12551
Definition td_api.h:12574
Definition td_api.h:12591
Definition td_api.h:12651
Definition td_api.h:12617
Definition td_api.h:12634
Definition td_api.h:12669
Definition td_api.h:12690
Definition td_api.h:12707
Definition td_api.h:12728
Definition td_api.h:12750
Definition td_api.h:12807
Definition td_api.h:12824
Definition td_api.h:12789
Definition td_api.h:12772
Definition td_api.h:12845
Definition td_api.h:12919
Definition td_api.h:12868
Definition td_api.h:12902
Definition td_api.h:12885
Definition td_api.h:12959
Definition td_api.h:12981
Definition td_api.h:13044
Definition td_api.h:13311
Definition td_api.h:13329
Definition td_api.h:13346
Definition td_api.h:13450
Definition td_api.h:13470
Definition td_api.h:13825
Definition td_api.h:13675
Definition td_api.h:13692
Definition td_api.h:13488
Definition td_api.h:13842
Definition td_api.h:13710
Definition td_api.h:13728
Definition td_api.h:13624
Definition td_api.h:13641
Definition td_api.h:13506
Definition td_api.h:13527
Definition td_api.h:13757
Definition td_api.h:13911
Definition td_api.h:13432
Definition td_api.h:13788
Definition td_api.h:13548
Definition td_api.h:13807
Definition td_api.h:13413
Definition td_api.h:13658
Definition td_api.h:13566
Definition td_api.h:13587
Definition td_api.h:13605
Definition td_api.h:14090
Definition td_api.h:14160
Definition td_api.h:14179
Definition td_api.h:14124
Definition td_api.h:14253
Definition td_api.h:14309
Definition td_api.h:14059
Definition td_api.h:14107
Definition td_api.h:14351
Definition td_api.h:14328
Definition td_api.h:13990
Definition td_api.h:14197
Definition td_api.h:14142
Definition td_api.h:14271
Definition td_api.h:14289
Definition td_api.h:14042
Definition td_api.h:14216
Definition td_api.h:14235
Definition td_api.h:14378
Definition td_api.h:14406
Definition td_api.h:14423
Definition td_api.h:14680
Definition td_api.h:14859
Definition td_api.h:14881
Definition td_api.h:14923
Definition td_api.h:14940
Definition td_api.h:14957
Definition td_api.h:14991
Definition td_api.h:15008
Definition td_api.h:15025
Definition td_api.h:15042
Definition td_api.h:15059
Definition td_api.h:15080
Definition td_api.h:15123
Definition td_api.h:15106
Definition td_api.h:15144
Definition td_api.h:15165
Definition td_api.h:15187
Definition td_api.h:15211
Definition td_api.h:15257
Definition td_api.h:15330
Definition td_api.h:15239
Definition td_api.h:15312
Definition td_api.h:15275
Definition td_api.h:15293
Definition td_api.h:15366
Definition td_api.h:15347
Definition td_api.h:15385
Definition td_api.h:15408
Definition td_api.h:15426
Definition td_api.h:15449
Definition td_api.h:15469
Definition td_api.h:15489
Definition td_api.h:15512
Definition td_api.h:15541
Definition td_api.h:15563
Definition td_api.h:15982
Definition td_api.h:16112
Definition td_api.h:16418
Definition td_api.h:16400
Definition td_api.h:16691
Definition td_api.h:54141
Definition td_api.h:54162
Definition td_api.h:54208
Definition td_api.h:54232
Definition td_api.h:54258
Definition td_api.h:16724
Definition td_api.h:16815
Definition td_api.h:16764
Definition td_api.h:16750
Definition td_api.h:16781
Definition td_api.h:16832
Definition td_api.h:16798
Definition td_api.h:16853
Definition td_api.h:16919
Definition td_api.h:17052
Definition td_api.h:17069
Definition td_api.h:17087
Definition td_api.h:17118
Definition td_api.h:17195
Definition td_api.h:54284
Definition td_api.h:54308
Definition td_api.h:54329
Definition td_api.h:17394
Definition td_api.h:17685
Definition td_api.h:17828
Definition td_api.h:17810
Definition td_api.h:54350
Definition td_api.h:18038
Definition td_api.h:18060
Definition td_api.h:54374
Definition td_api.h:54397
Definition td_api.h:54441
Definition td_api.h:54484
Definition td_api.h:54502
Definition td_api.h:18078
Definition td_api.h:18104
Definition td_api.h:18140
Definition td_api.h:18121
Definition td_api.h:54523
Definition td_api.h:18164
Definition td_api.h:18197
Definition td_api.h:18178
Definition td_api.h:18211
Definition td_api.h:18228
Definition td_api.h:18249
Definition td_api.h:18291
Definition td_api.h:54541
Definition td_api.h:18355
Definition td_api.h:18327
Definition td_api.h:18313
Definition td_api.h:18341
Definition td_api.h:18371
Definition td_api.h:18984
Definition td_api.h:18679
Definition td_api.h:18700
Definition td_api.h:18480
Definition td_api.h:18519
Definition td_api.h:18499
Definition td_api.h:19142
Definition td_api.h:19445
Definition td_api.h:19658
Definition td_api.h:19344
Definition td_api.h:19327
Definition td_api.h:19490
Definition td_api.h:19361
Definition td_api.h:19476
Definition td_api.h:19392
Definition td_api.h:19375
Definition td_api.h:19604
Definition td_api.h:19623
Definition td_api.h:20451
Definition td_api.h:19555
Definition td_api.h:19538
Definition td_api.h:19100
Definition td_api.h:20290
Definition td_api.h:18967
Definition td_api.h:20419
Definition td_api.h:20591
Definition td_api.h:19002
Definition td_api.h:18718
Definition td_api.h:20615
Definition td_api.h:18859
Definition td_api.h:18873
Definition td_api.h:18887
Definition td_api.h:18901
Definition td_api.h:20698
Definition td_api.h:20681
Definition td_api.h:20715
Definition td_api.h:19675
Definition td_api.h:19694
Definition td_api.h:20733
Definition td_api.h:19023
Definition td_api.h:19798
Definition td_api.h:20112
Definition td_api.h:19906
Definition td_api.h:20044
Definition td_api.h:20069
Definition td_api.h:19997
Definition td_api.h:19960
Definition td_api.h:19977
Definition td_api.h:20090
Definition td_api.h:20017
Definition td_api.h:19162
Definition td_api.h:18421
Definition td_api.h:20753
Definition td_api.h:20775
Definition td_api.h:19117
Definition td_api.h:18915
Definition td_api.h:18933
Definition td_api.h:19817
Definition td_api.h:20897
Definition td_api.h:20879
Definition td_api.h:20862
Definition td_api.h:20845
Definition td_api.h:18736
Definition td_api.h:20521
Definition td_api.h:19884
Definition td_api.h:19834
Definition td_api.h:18756
Definition td_api.h:19573
Definition td_api.h:19040
Definition td_api.h:19254
Definition td_api.h:19273
Definition td_api.h:20916
Definition td_api.h:20937
Definition td_api.h:19932
Definition td_api.h:20955
Definition td_api.h:21014
Definition td_api.h:21039
Definition td_api.h:21063
Definition td_api.h:21094
Definition td_api.h:21080
Definition td_api.h:21138
Definition td_api.h:21169
Definition td_api.h:21193
Definition td_api.h:18662
Definition td_api.h:19590
Definition td_api.h:21303
Definition td_api.h:21351
Definition td_api.h:21334
Definition td_api.h:21370
Definition td_api.h:21411
Definition td_api.h:21536
Definition td_api.h:21438
Definition td_api.h:21508
Definition td_api.h:21550
Definition td_api.h:21578
Definition td_api.h:21564
Definition td_api.h:21522
Definition td_api.h:19060
Definition td_api.h:21594
Definition td_api.h:18778
Definition td_api.h:19081
Definition td_api.h:19764
Definition td_api.h:20327
Definition td_api.h:20345
Definition td_api.h:20364
Definition td_api.h:20382
Definition td_api.h:20401
Definition td_api.h:18643
Definition td_api.h:21618
Definition td_api.h:21661
Definition td_api.h:21695
Definition td_api.h:21644
Definition td_api.h:20575
Definition td_api.h:20147
Definition td_api.h:20433
Definition td_api.h:18950
Definition td_api.h:19219
Definition td_api.h:19184
Definition td_api.h:19202
Definition td_api.h:18796
Definition td_api.h:18821
Definition td_api.h:21712
Definition td_api.h:21732
Definition td_api.h:18840
Definition td_api.h:20503
Definition td_api.h:20486
Definition td_api.h:21751
Definition td_api.h:21769
Definition td_api.h:21836
Definition td_api.h:21816
Definition td_api.h:21790
Definition td_api.h:21874
Definition td_api.h:21888
Definition td_api.h:21860
Definition td_api.h:21916
Definition td_api.h:21902
Definition td_api.h:21930
Definition td_api.h:21954
Definition td_api.h:22001
Definition td_api.h:21977
Definition td_api.h:22130
Definition td_api.h:22154
Definition td_api.h:22213
Definition td_api.h:22281
Definition td_api.h:54565
Definition td_api.h:54587
Definition td_api.h:54608
Definition td_api.h:54630
Definition td_api.h:54651
Definition td_api.h:54673
Definition td_api.h:54694
Definition td_api.h:54722
Definition td_api.h:54750
Definition td_api.h:22299
Definition td_api.h:22316
Definition td_api.h:22330
Definition td_api.h:22347
Definition td_api.h:22366
Definition td_api.h:22388
Definition td_api.h:22656
Definition td_api.h:22726
Definition td_api.h:22746
Definition td_api.h:22469
Definition td_api.h:22690
Definition td_api.h:23022
Definition td_api.h:22886
Definition td_api.h:22823
Definition td_api.h:22962
Definition td_api.h:22625
Definition td_api.h:22840
Definition td_api.h:22864
Definition td_api.h:22487
Definition td_api.h:22539
Definition td_api.h:22673
Definition td_api.h:23088
Definition td_api.h:22999
Definition td_api.h:22556
Definition td_api.h:22764
Definition td_api.h:22573
Definition td_api.h:22708
Definition td_api.h:23112
Definition td_api.h:22521
Definition td_api.h:22904
Definition td_api.h:22504
Definition td_api.h:22452
Definition td_api.h:23140
Definition td_api.h:22942
Definition td_api.h:22608
Definition td_api.h:22435
Definition td_api.h:22784
Definition td_api.h:22805
Definition td_api.h:23238
Definition td_api.h:23218
Definition td_api.h:23275
Definition td_api.h:23256
Definition td_api.h:23307
Definition td_api.h:23321
Definition td_api.h:23293
Definition td_api.h:23340
Definition td_api.h:54779
Definition td_api.h:54802
Definition td_api.h:23361
Definition td_api.h:23384
Definition td_api.h:23403
Definition td_api.h:23519
Definition td_api.h:23659
Definition td_api.h:23451
Definition td_api.h:24005
Definition td_api.h:24046
Definition td_api.h:24065
Definition td_api.h:24087
Definition td_api.h:24114
Definition td_api.h:24150
Definition td_api.h:24174
Definition td_api.h:24208
Definition td_api.h:24268
Definition td_api.h:24248
Definition td_api.h:24289
Definition td_api.h:24319
Definition td_api.h:24341
Definition td_api.h:24359
Definition td_api.h:24379
Definition td_api.h:24407
Definition td_api.h:24454
Definition td_api.h:24468
Definition td_api.h:24501
Definition td_api.h:24525
Definition td_api.h:24546
Definition td_api.h:54824
Definition td_api.h:54850
Definition td_api.h:54873
Definition td_api.h:24567
Definition td_api.h:24595
Definition td_api.h:24655
Definition td_api.h:24672
Definition td_api.h:24689
Definition td_api.h:24724
Definition td_api.h:24741
Definition td_api.h:24759
Definition td_api.h:24776
Definition td_api.h:24793
Definition td_api.h:24820
Definition td_api.h:24846
Definition td_api.h:24888
Definition td_api.h:24874
Definition td_api.h:25003
Definition td_api.h:25022
Definition td_api.h:25042
Definition td_api.h:54908
Definition td_api.h:54942
Definition td_api.h:25302
Definition td_api.h:25246
Definition td_api.h:25372
Definition td_api.h:25288
Definition td_api.h:25400
Definition td_api.h:25162
Definition td_api.h:25120
Definition td_api.h:25204
Definition td_api.h:25498
Definition td_api.h:25519
Definition td_api.h:25545
Definition td_api.h:25570
Definition td_api.h:25630
Definition td_api.h:25849
Definition td_api.h:25807
Definition td_api.h:25877
Definition td_api.h:25891
Definition td_api.h:25905
Definition td_api.h:25863
Definition td_api.h:25963
Definition td_api.h:26014
Definition td_api.h:26082
Definition td_api.h:26048
Definition td_api.h:26104
Definition td_api.h:26126
Definition td_api.h:26192
Definition td_api.h:26220
Definition td_api.h:26178
Definition td_api.h:26150
Definition td_api.h:26206
Definition td_api.h:26164
Definition td_api.h:26234
Definition td_api.h:26250
Definition td_api.h:26275
Definition td_api.h:26294
Definition td_api.h:54965
Definition td_api.h:55010
Definition td_api.h:55033
Definition td_api.h:55056
Definition td_api.h:55078
Definition td_api.h:26316
Definition td_api.h:26337
Definition td_api.h:26358
Definition td_api.h:26381
Definition td_api.h:26449
Definition td_api.h:26505
Definition td_api.h:26421
Definition td_api.h:26435
Definition td_api.h:26477
Definition td_api.h:26407
Definition td_api.h:26491
Definition td_api.h:26521
Definition td_api.h:26562
Definition td_api.h:26581
Definition td_api.h:26544
Definition td_api.h:26602
Definition td_api.h:26638
Definition td_api.h:26655
Definition td_api.h:26674
Definition td_api.h:26693
Definition td_api.h:26772
Definition td_api.h:26790
Definition td_api.h:26843
Definition td_api.h:27009
Definition td_api.h:26736
Definition td_api.h:26880
Definition td_api.h:26934
Definition td_api.h:26954
Definition td_api.h:27059
Definition td_api.h:27078
Definition td_api.h:27096
Definition td_api.h:27132
Definition td_api.h:27529
Definition td_api.h:27552
Definition td_api.h:27578
Definition td_api.h:27597
Definition td_api.h:55099
Definition td_api.h:27707
Definition td_api.h:27690
Definition td_api.h:27724
Definition td_api.h:55122
Definition td_api.h:55143
Definition td_api.h:55164
Definition td_api.h:55207
Definition td_api.h:55273
Definition td_api.h:55298
Definition td_api.h:27784
Definition td_api.h:55319
Definition td_api.h:27807
Definition td_api.h:27848
Definition td_api.h:55364
Definition td_api.h:27870
Definition td_api.h:27890
Definition td_api.h:55409
Definition td_api.h:27907
Definition td_api.h:55432
Definition td_api.h:55456
Definition td_api.h:55478
Definition td_api.h:27924
Definition td_api.h:55563
Definition td_api.h:55584
Definition td_api.h:55607
Definition td_api.h:55628
Definition td_api.h:55652
Definition td_api.h:55675
Definition td_api.h:55696
Definition td_api.h:55719
Definition td_api.h:55788
Definition td_api.h:55766
Definition td_api.h:55810
Definition td_api.h:55853
Definition td_api.h:55874
Definition td_api.h:55895
Definition td_api.h:55918
Definition td_api.h:55940
Definition td_api.h:55963
Definition td_api.h:56005
Definition td_api.h:56028
Definition td_api.h:56049
Definition td_api.h:56095
Definition td_api.h:56138
Definition td_api.h:56159
Definition td_api.h:56181
Definition td_api.h:56204
Definition td_api.h:56253
Definition td_api.h:56320
Definition td_api.h:56343
Definition td_api.h:56387
Definition td_api.h:56433
Definition td_api.h:56457
Definition td_api.h:27970
Definition td_api.h:28010
Definition td_api.h:27953
Definition td_api.h:27988
Definition td_api.h:56499
Definition td_api.h:56525
Definition td_api.h:28033
Definition td_api.h:56574
Definition td_api.h:28097
Definition td_api.h:28161
Definition td_api.h:28245
Definition td_api.h:28203
Definition td_api.h:28217
Definition td_api.h:28147
Definition td_api.h:28119
Definition td_api.h:28133
Definition td_api.h:56618
Definition td_api.h:28265
Definition td_api.h:56640
Definition td_api.h:28345
Definition td_api.h:28359
Definition td_api.h:28377
Definition td_api.h:56686
Definition td_api.h:56748
Definition td_api.h:56789
Definition td_api.h:56848
Definition td_api.h:56874
Definition td_api.h:56949
Definition td_api.h:56967
Definition td_api.h:56985
Definition td_api.h:28434
Definition td_api.h:28482
Definition td_api.h:57003
Definition td_api.h:28552
Definition td_api.h:28579
Definition td_api.h:28614
Definition td_api.h:28596
Definition td_api.h:29103
Definition td_api.h:28868
Definition td_api.h:28659
Definition td_api.h:28886
Definition td_api.h:28850
Definition td_api.h:28994
Definition td_api.h:28795
Definition td_api.h:29048
Definition td_api.h:28958
Definition td_api.h:28904
Definition td_api.h:28832
Definition td_api.h:29012
Definition td_api.h:28676
Definition td_api.h:28778
Definition td_api.h:28814
Definition td_api.h:28921
Definition td_api.h:28976
Definition td_api.h:28642
Definition td_api.h:29066
Definition td_api.h:28727
Definition td_api.h:28710
Definition td_api.h:28744
Definition td_api.h:28761
Definition td_api.h:28693
Definition td_api.h:28939
Definition td_api.h:29139
Definition td_api.h:29156
Definition td_api.h:57069
Definition td_api.h:57096
Definition td_api.h:29174
Definition td_api.h:29194
Definition td_api.h:29215
Definition td_api.h:29238
Definition td_api.h:29309
Definition td_api.h:29328
Definition td_api.h:57147
Definition td_api.h:57171
Definition td_api.h:57192
Definition td_api.h:57239
Definition td_api.h:57269
Definition td_api.h:29357
Definition td_api.h:57321
Definition td_api.h:57346
Definition td_api.h:57369
Definition td_api.h:57391
Definition td_api.h:57413
Definition td_api.h:57442
Definition td_api.h:57469
Definition td_api.h:29463
Definition td_api.h:29435
Definition td_api.h:29491
Definition td_api.h:29505
Definition td_api.h:29561
Definition td_api.h:29519
Definition td_api.h:57522
Definition td_api.h:57572
Definition td_api.h:57595
Definition td_api.h:57617
Definition td_api.h:57640
Definition td_api.h:57689
Definition td_api.h:57739
Definition td_api.h:57764
Definition td_api.h:57789
Definition td_api.h:57817
Definition td_api.h:57842
Definition td_api.h:57866
Definition td_api.h:57890
Definition td_api.h:57916
Definition td_api.h:57961
Definition td_api.h:57983
Definition td_api.h:58004
Definition td_api.h:29701
Definition td_api.h:29720
Definition td_api.h:29774
Definition td_api.h:29746
Definition td_api.h:29760
Definition td_api.h:58026
Definition td_api.h:58069
Definition td_api.h:58130
Definition td_api.h:58098
Definition td_api.h:58159
Definition td_api.h:58185
Definition td_api.h:58211
Definition td_api.h:58235
Definition td_api.h:58261
Definition td_api.h:58285
Definition td_api.h:58336
Definition td_api.h:58369
Definition td_api.h:58398
Definition td_api.h:58425
Definition td_api.h:58525
Definition td_api.h:58491
Definition td_api.h:58550
Definition td_api.h:58604
Definition td_api.h:58634
Definition td_api.h:58705
Definition td_api.h:58730
Definition td_api.h:58756
Definition td_api.h:58780
Definition td_api.h:58803
Definition td_api.h:29796
Definition td_api.h:29813
Definition td_api.h:29870
Definition td_api.h:29884
Definition td_api.h:29898
Definition td_api.h:29912
Definition td_api.h:29926
Definition td_api.h:29940
Definition td_api.h:29954
Definition td_api.h:29968
Definition td_api.h:29982
Definition td_api.h:29996
Definition td_api.h:30010
Definition td_api.h:30024
Definition td_api.h:30038
Definition td_api.h:30052
Definition td_api.h:30066
Definition td_api.h:30080
Definition td_api.h:30094
Definition td_api.h:29832
Definition td_api.h:30129
Definition td_api.h:30112
Definition td_api.h:30148
Definition td_api.h:58826
Definition td_api.h:58850
Definition td_api.h:58871
Definition td_api.h:59013
Definition td_api.h:59039
Definition td_api.h:59061
Definition td_api.h:59084
Definition td_api.h:59105
Definition td_api.h:59151
Definition td_api.h:59176
Definition td_api.h:59198
Definition td_api.h:59220
Definition td_api.h:59266
Definition td_api.h:59361
Definition td_api.h:59407
Definition td_api.h:59454
Definition td_api.h:59477
Definition td_api.h:59498
Definition td_api.h:59523
Definition td_api.h:59547
Definition td_api.h:59571
Definition td_api.h:59597
Definition td_api.h:59622
Definition td_api.h:59644
Definition td_api.h:59689
Definition td_api.h:59715
Definition td_api.h:59740
Definition td_api.h:59764
Definition td_api.h:59790
Definition td_api.h:59813
Definition td_api.h:59860
Definition td_api.h:59930
Definition td_api.h:59954
Definition td_api.h:59976
Definition td_api.h:59998
Definition td_api.h:60021
Definition td_api.h:60045
Definition td_api.h:60067
Definition td_api.h:60089
Definition td_api.h:60114
Definition td_api.h:60163
Definition td_api.h:60209
Definition td_api.h:60234
Definition td_api.h:60328
Definition td_api.h:60374
Definition td_api.h:60395
Definition td_api.h:60443
Definition td_api.h:60471
Definition td_api.h:60496
Definition td_api.h:60520
Definition td_api.h:60611
Definition td_api.h:60632
Definition td_api.h:60659
Definition td_api.h:60683
Definition td_api.h:60704
Definition td_api.h:60726
Definition td_api.h:60747
Definition td_api.h:60770
Definition td_api.h:60817
Definition td_api.h:60841
Definition td_api.h:60866
Definition td_api.h:60894
Definition td_api.h:60941
Definition td_api.h:60965
Definition td_api.h:60988
Definition td_api.h:61011
Definition td_api.h:61084
Definition td_api.h:61060
Definition td_api.h:61106
Definition td_api.h:61131
Definition td_api.h:61154
Definition td_api.h:61176
Definition td_api.h:61200
Definition td_api.h:61243
Definition td_api.h:61266
Definition td_api.h:61288
Definition td_api.h:61312
Definition td_api.h:61334
Definition td_api.h:61402
Definition td_api.h:61426
Definition td_api.h:61476
Definition td_api.h:61500
Definition td_api.h:61526
Definition td_api.h:61550
Definition td_api.h:61576
Definition td_api.h:61600
Definition td_api.h:61622
Definition td_api.h:61647
Definition td_api.h:61671
Definition td_api.h:61741
Definition td_api.h:61785
Definition td_api.h:61807
Definition td_api.h:61841
Definition td_api.h:61864
Definition td_api.h:61888
Definition td_api.h:61962
Definition td_api.h:61984
Definition td_api.h:62029
Definition td_api.h:30170
Definition td_api.h:30201
Definition td_api.h:30252
Definition td_api.h:30286
Definition td_api.h:30300
Definition td_api.h:30331
Definition td_api.h:30365
Definition td_api.h:30348
Definition td_api.h:30413
Definition td_api.h:30458
Definition td_api.h:30475
Definition td_api.h:30489
Definition td_api.h:62053
Definition td_api.h:62077
Definition td_api.h:62100
Definition td_api.h:30508
Definition td_api.h:30530
Definition td_api.h:30553
Definition td_api.h:30629
Definition td_api.h:30651
Definition td_api.h:30672
Definition td_api.h:30700
Definition td_api.h:30718
Definition td_api.h:30740
Definition td_api.h:30758
Definition td_api.h:30777
Definition td_api.h:30820
Definition td_api.h:30839
Definition td_api.h:30862
Definition td_api.h:30883
Definition td_api.h:30904
Definition td_api.h:30929
Definition td_api.h:30952
Definition td_api.h:30994
Definition td_api.h:31018
Definition td_api.h:31042
Definition td_api.h:31848
Definition td_api.h:31778
Definition td_api.h:31761
Definition td_api.h:31880
Definition td_api.h:62124
Definition td_api.h:62173
Definition td_api.h:31924
Definition td_api.h:31907
Definition td_api.h:62199
Definition td_api.h:31963
Definition td_api.h:31945
Definition td_api.h:31980
Definition td_api.h:31997
Definition td_api.h:32067
Definition td_api.h:32081
Definition td_api.h:32053
Definition td_api.h:32120
Definition td_api.h:32103
Definition td_api.h:32024
Definition td_api.h:32165
Definition td_api.h:32204
Definition td_api.h:32237
Definition td_api.h:32287
Definition td_api.h:32273
Definition td_api.h:32259
Definition td_api.h:32303
Definition td_api.h:62222
Definition td_api.h:62248
Definition td_api.h:32343
Definition td_api.h:32384
Definition td_api.h:32322
Definition td_api.h:32512
Definition td_api.h:32556
Definition td_api.h:32594
Definition td_api.h:32676
Definition td_api.h:32698
Definition td_api.h:32719
Definition td_api.h:32737
Definition td_api.h:32771
Definition td_api.h:32826
Definition td_api.h:32880
Definition td_api.h:32789
Definition td_api.h:32861
Definition td_api.h:32940
Definition td_api.h:32905
Definition td_api.h:33004
Definition td_api.h:32976
Definition td_api.h:32990
Definition td_api.h:32958
Definition td_api.h:32922
Definition td_api.h:33032
Definition td_api.h:32629
Definition td_api.h:33050
Definition td_api.h:33076
Definition td_api.h:33096
Definition td_api.h:33126
Definition td_api.h:33179
Definition td_api.h:33218
Definition td_api.h:33204
Definition td_api.h:33254
Definition td_api.h:33236
Definition td_api.h:33342
Definition td_api.h:33362
Definition td_api.h:33386
Definition td_api.h:62273
Definition td_api.h:62297
Definition td_api.h:33623
Definition td_api.h:33678
Definition td_api.h:33720
Definition td_api.h:33703
Definition td_api.h:33755
Definition td_api.h:33741
Definition td_api.h:33787
Definition td_api.h:33801
Definition td_api.h:33773
Definition td_api.h:62319
Definition td_api.h:33878
Definition td_api.h:33825
Definition td_api.h:62343
Definition td_api.h:34072
Definition td_api.h:34130
Definition td_api.h:34147
Definition td_api.h:34113
Definition td_api.h:34096
Definition td_api.h:34166
Definition td_api.h:34205
Definition td_api.h:34191
Definition td_api.h:34239
Definition td_api.h:34409
Definition td_api.h:62364
Definition td_api.h:62382
Definition td_api.h:34429
Definition td_api.h:34448
Definition td_api.h:62403
Definition td_api.h:62424
Definition td_api.h:62442
Definition td_api.h:62463
Definition td_api.h:62486
Definition td_api.h:62507
Definition td_api.h:62551
Definition td_api.h:34465
Definition td_api.h:62569
Definition td_api.h:62589
Definition td_api.h:62612
Definition td_api.h:62633
Definition td_api.h:34482
Definition td_api.h:62654
Definition td_api.h:34499
Definition td_api.h:34518
Definition td_api.h:34535
Definition td_api.h:34554
Definition td_api.h:34590
Definition td_api.h:34637
Definition td_api.h:34656
Definition td_api.h:34908
Definition td_api.h:34793
Definition td_api.h:34723
Definition td_api.h:34709
Definition td_api.h:34863
Definition td_api.h:34970
Definition td_api.h:35004
Definition td_api.h:34695
Definition td_api.h:34807
Definition td_api.h:34681
Definition td_api.h:34953
Definition td_api.h:34765
Definition td_api.h:34891
Definition td_api.h:34877
Definition td_api.h:34849
Definition td_api.h:34936
Definition td_api.h:34821
Definition td_api.h:34737
Definition td_api.h:34571
Definition td_api.h:35043
Definition td_api.h:35026
Definition td_api.h:35059
Definition td_api.h:35078
Definition td_api.h:35115
Definition td_api.h:35179
Definition td_api.h:35165
Definition td_api.h:35193
Definition td_api.h:35207
Definition td_api.h:35221
Definition td_api.h:35235
Definition td_api.h:35249
Definition td_api.h:35141
Definition td_api.h:35263
Definition td_api.h:35284
Definition td_api.h:62738
Definition td_api.h:62805
Definition td_api.h:62894
Definition td_api.h:62917
Definition td_api.h:62939
Definition td_api.h:62985
Definition td_api.h:63007
Definition td_api.h:63030
Definition td_api.h:63075
Definition td_api.h:63322
Definition td_api.h:63476
Definition td_api.h:63591
Definition td_api.h:35303
Definition td_api.h:35369
Definition td_api.h:35486
Definition td_api.h:35523
Definition td_api.h:35607
Definition td_api.h:35551
Definition td_api.h:35537
Definition td_api.h:35579
Definition td_api.h:35565
Definition td_api.h:35509
Definition td_api.h:35593
Definition td_api.h:63679
Definition td_api.h:63704
Definition td_api.h:63752
Definition td_api.h:63778
Definition td_api.h:63801
Definition td_api.h:35669
Definition td_api.h:35690
Definition td_api.h:63824
Definition td_api.h:63889
Definition td_api.h:35714
Definition td_api.h:38270
Definition td_api.h:37858
Definition td_api.h:37186
Definition td_api.h:38432
Definition td_api.h:35955
Definition td_api.h:38834
Definition td_api.h:37402
Definition td_api.h:37333
Definition td_api.h:38852
Definition td_api.h:37642
Definition td_api.h:36325
Definition td_api.h:36475
Definition td_api.h:37241
Definition td_api.h:38025
Definition td_api.h:36402
Definition td_api.h:36656
Definition td_api.h:36854
Definition td_api.h:39251
Definition td_api.h:36529
Definition td_api.h:36548
Definition td_api.h:36890
Definition td_api.h:36800
Definition td_api.h:37934
Definition td_api.h:36365
Definition td_api.h:39206
Definition td_api.h:36566
Definition td_api.h:36347
Definition td_api.h:36307
Definition td_api.h:36384
Definition td_api.h:36438
Definition td_api.h:36457
Definition td_api.h:36420
Definition td_api.h:36638
Definition td_api.h:38604
Definition td_api.h:36674
Definition td_api.h:36289
Definition td_api.h:36746
Definition td_api.h:36836
Definition td_api.h:37281
Definition td_api.h:38342
Definition td_api.h:38235
Definition td_api.h:38501
Definition td_api.h:37221
Definition td_api.h:38694
Definition td_api.h:38253
Definition td_api.h:38184
Definition td_api.h:37566
Definition td_api.h:37529
Definition td_api.h:37492
Definition td_api.h:37512
Definition td_api.h:37475
Definition td_api.h:37083
Definition td_api.h:37066
Definition td_api.h:38359
Definition td_api.h:37841
Definition td_api.h:38640
Definition td_api.h:37659
Definition td_api.h:38323
Definition td_api.h:37805
Definition td_api.h:39188
Definition td_api.h:36044
Definition td_api.h:36063
Definition td_api.h:36198
Definition td_api.h:36083
Definition td_api.h:36139
Definition td_api.h:39269
Definition td_api.h:39291
Definition td_api.h:36025
Definition td_api.h:36217
Definition td_api.h:38869
Definition td_api.h:38986
Definition td_api.h:36272
Definition td_api.h:39230
Definition td_api.h:39094
Definition td_api.h:39111
Definition td_api.h:37731
Definition td_api.h:38967
Definition td_api.h:38924
Definition td_api.h:35972
Definition td_api.h:37456
Definition td_api.h:39071
Definition td_api.h:39051
Definition td_api.h:37162
Definition td_api.h:37144
Definition td_api.h:38095
Definition td_api.h:38587
Definition td_api.h:38570
Definition td_api.h:39311
Definition td_api.h:37261
Definition td_api.h:39168
Definition td_api.h:39151
Definition td_api.h:38288
Definition td_api.h:36997
Definition td_api.h:37031
Definition td_api.h:38166
Definition td_api.h:38201
Definition td_api.h:38535
Definition td_api.h:36927
Definition td_api.h:37367
Definition td_api.h:37438
Definition td_api.h:38711
Definition td_api.h:38622
Definition td_api.h:38113
Definition td_api.h:37970
Definition td_api.h:37953
Definition td_api.h:38042
Definition td_api.h:38006
Definition td_api.h:37988
Definition td_api.h:38060
Definition td_api.h:38782
Definition td_api.h:37420
Definition td_api.h:37350
Definition td_api.h:38396
Definition td_api.h:36978
Definition td_api.h:38078
Definition td_api.h:38414
Definition td_api.h:37912
Definition td_api.h:37893
Definition td_api.h:37384
Definition td_api.h:37316
Definition td_api.h:37298
Definition td_api.h:39130
Definition td_api.h:36254
Definition td_api.h:38449
Definition td_api.h:38306
Definition td_api.h:39331
Definition td_api.h:63932
Definition td_api.h:39350
Definition td_api.h:39612
Definition td_api.h:39570
Definition td_api.h:39630
Definition td_api.h:39389
Definition td_api.h:39679
Definition td_api.h:39657
Definition td_api.h:39796
Definition td_api.h:39779
Definition td_api.h:39734
Definition td_api.h:39703
Definition td_api.h:39859
Definition td_api.h:39838
Definition td_api.h:39877
Definition td_api.h:63960
Definition td_api.h:39970
Definition td_api.h:40013
Definition td_api.h:39925
Definition td_api.h:40451
Definition td_api.h:40139
Definition td_api.h:40468
Definition td_api.h:40493
Definition td_api.h:40575
Definition td_api.h:40558
Definition td_api.h:40524
Definition td_api.h:40507
Definition td_api.h:40541
Definition td_api.h:40594
Definition td_api.h:40645
Definition td_api.h:40631
Definition td_api.h:40617
Definition td_api.h:40676
Definition td_api.h:40690
Definition td_api.h:40710
Definition td_api.h:63987
Definition td_api.h:40730
Definition td_api.h:40754
Definition td_api.h:40792
Definition td_api.h:40814
Definition td_api.h:40868
Definition td_api.h:40840
Definition td_api.h:40889
Definition td_api.h:40942
Definition td_api.h:40967
Definition td_api.h:64012
Definition td_api.h:64038
Definition td_api.h:64059
Definition td_api.h:40991
Definition td_api.h:41016
Definition td_api.h:41039
Definition td_api.h:41061
Definition td_api.h:41089
Definition td_api.h:41075
Definition td_api.h:41107
Definition td_api.h:41126
Definition td_api.h:41146
Definition td_api.h:41170
Definition td_api.h:41184
Definition td_api.h:41198
Definition td_api.h:41222
Definition td_api.h:64122
bool downcast_call(Object &obj, const T &func)
Definition td_api.hpp:20