TDLib
Loading...
Searching...
No Matches
td_api.hpp File Reference
#include "td_api.h"

Go to the source code of this file.

Functions

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

Detailed Description

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

Function Documentation

◆ downcast_call() [1/213]

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

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

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

◆ downcast_call() [2/213]

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

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

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

◆ downcast_call() [3/213]

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

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

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

◆ downcast_call() [4/213]

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

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

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

◆ downcast_call() [5/213]

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

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

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

◆ downcast_call() [6/213]

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

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

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

◆ downcast_call() [7/213]

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

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

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

◆ downcast_call() [8/213]

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

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

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

◆ downcast_call() [9/213]

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

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

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

◆ downcast_call() [10/213]

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

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

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

◆ downcast_call() [11/213]

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

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

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

◆ downcast_call() [12/213]

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

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

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

◆ downcast_call() [13/213]

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

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

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

◆ downcast_call() [14/213]

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

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

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

◆ downcast_call() [15/213]

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

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

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

◆ downcast_call() [16/213]

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

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

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

◆ downcast_call() [17/213]

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

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

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

◆ downcast_call() [18/213]

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

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

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

◆ downcast_call() [19/213]

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

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

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

◆ downcast_call() [20/213]

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

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

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

◆ downcast_call() [21/213]

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

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

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

◆ downcast_call() [22/213]

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

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

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

◆ downcast_call() [23/213]

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

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

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

◆ downcast_call() [24/213]

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

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

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

◆ downcast_call() [25/213]

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

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

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

◆ downcast_call() [26/213]

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

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

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

◆ downcast_call() [27/213]

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

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

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

◆ downcast_call() [28/213]

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

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

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

◆ downcast_call() [29/213]

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

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

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

◆ downcast_call() [30/213]

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

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

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

◆ downcast_call() [31/213]

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

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

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

◆ downcast_call() [32/213]

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

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

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

◆ downcast_call() [33/213]

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

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

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

◆ downcast_call() [34/213]

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

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

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

◆ downcast_call() [35/213]

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

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

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

◆ downcast_call() [36/213]

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

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

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

◆ downcast_call() [37/213]

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

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

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

◆ downcast_call() [38/213]

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

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

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

◆ downcast_call() [39/213]

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

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

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

◆ downcast_call() [40/213]

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

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

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

◆ downcast_call() [41/213]

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

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

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

◆ downcast_call() [42/213]

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

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

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

◆ downcast_call() [43/213]

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

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

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

◆ downcast_call() [44/213]

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

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

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

◆ downcast_call() [45/213]

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

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

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

◆ downcast_call() [46/213]

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

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

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

◆ downcast_call() [47/213]

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

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

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

◆ downcast_call() [48/213]

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

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

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

◆ downcast_call() [49/213]

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

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

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

◆ downcast_call() [50/213]

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

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

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

◆ downcast_call() [51/213]

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

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

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

◆ downcast_call() [52/213]

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

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

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

◆ downcast_call() [53/213]

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

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

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

◆ downcast_call() [54/213]

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

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

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

◆ downcast_call() [55/213]

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

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

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

◆ downcast_call() [56/213]

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

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

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

◆ downcast_call() [57/213]

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

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

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

◆ downcast_call() [58/213]

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

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

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

◆ downcast_call() [59/213]

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

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

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

◆ downcast_call() [60/213]

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

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

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

◆ downcast_call() [61/213]

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

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

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

◆ downcast_call() [62/213]

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

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

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

◆ downcast_call() [63/213]

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

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

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

◆ downcast_call() [64/213]

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

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

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

◆ downcast_call() [65/213]

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

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

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

◆ downcast_call() [66/213]

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

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

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

◆ downcast_call() [67/213]

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

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

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

◆ downcast_call() [68/213]

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

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

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

◆ downcast_call() [69/213]

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

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

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

◆ downcast_call() [70/213]

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

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

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

◆ downcast_call() [71/213]

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

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

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

◆ downcast_call() [72/213]

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

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

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

◆ downcast_call() [73/213]

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

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

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

◆ downcast_call() [74/213]

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

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

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

◆ downcast_call() [75/213]

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

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

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

◆ downcast_call() [76/213]

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

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

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

◆ downcast_call() [77/213]

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

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

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

◆ downcast_call() [78/213]

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

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

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

◆ downcast_call() [79/213]

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

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

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

◆ downcast_call() [80/213]

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

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

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

◆ downcast_call() [81/213]

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

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

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

◆ downcast_call() [82/213]

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

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

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

◆ downcast_call() [83/213]

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

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

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

◆ downcast_call() [84/213]

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

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

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

◆ downcast_call() [85/213]

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

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

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

◆ downcast_call() [86/213]

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

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

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

◆ downcast_call() [87/213]

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

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

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

◆ downcast_call() [88/213]

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

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

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

◆ downcast_call() [89/213]

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

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

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

◆ downcast_call() [90/213]

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

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

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

◆ downcast_call() [91/213]

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

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

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

◆ downcast_call() [92/213]

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

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

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

◆ downcast_call() [93/213]

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

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

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

◆ downcast_call() [94/213]

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

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

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

◆ downcast_call() [95/213]

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

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

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

◆ downcast_call() [96/213]

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

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

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

◆ downcast_call() [97/213]

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

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

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

◆ downcast_call() [98/213]

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

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

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

◆ downcast_call() [99/213]

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

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

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

◆ downcast_call() [100/213]

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

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

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

◆ downcast_call() [101/213]

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

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

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

◆ downcast_call() [102/213]

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

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

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

◆ downcast_call() [103/213]

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

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

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

◆ downcast_call() [104/213]

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

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

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

◆ downcast_call() [105/213]

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

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

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

◆ downcast_call() [106/213]

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

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

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

◆ downcast_call() [107/213]

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

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

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

◆ downcast_call() [108/213]

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

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

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

◆ downcast_call() [109/213]

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

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

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

◆ downcast_call() [110/213]

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

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

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

◆ downcast_call() [111/213]

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

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

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

◆ downcast_call() [112/213]

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

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

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

◆ downcast_call() [113/213]

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

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

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

◆ downcast_call() [114/213]

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

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

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

◆ downcast_call() [115/213]

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

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

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

◆ downcast_call() [116/213]

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

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

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

◆ downcast_call() [117/213]

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

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

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

◆ downcast_call() [118/213]

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

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

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

◆ downcast_call() [119/213]

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

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

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

◆ downcast_call() [120/213]

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

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

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

◆ downcast_call() [121/213]

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

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

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

◆ downcast_call() [122/213]

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

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

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

◆ downcast_call() [123/213]

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

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

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

◆ downcast_call() [124/213]

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

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

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

◆ downcast_call() [125/213]

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

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

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

◆ downcast_call() [126/213]

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

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

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

◆ downcast_call() [127/213]

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

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

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

◆ downcast_call() [128/213]

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

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

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

◆ downcast_call() [129/213]

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

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

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

◆ downcast_call() [130/213]

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

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

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

◆ downcast_call() [131/213]

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

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

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

◆ downcast_call() [132/213]

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

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

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

◆ downcast_call() [133/213]

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

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

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

◆ downcast_call() [134/213]

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

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

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

◆ downcast_call() [135/213]

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

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

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

◆ downcast_call() [136/213]

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

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

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

◆ downcast_call() [137/213]

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

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

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

◆ downcast_call() [138/213]

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

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

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

◆ downcast_call() [139/213]

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

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

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

◆ downcast_call() [140/213]

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

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

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

◆ downcast_call() [141/213]

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

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

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

◆ downcast_call() [142/213]

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

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

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

◆ downcast_call() [143/213]

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

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

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

◆ downcast_call() [144/213]

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

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

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

◆ downcast_call() [145/213]

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

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

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

◆ downcast_call() [146/213]

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

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

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

◆ downcast_call() [147/213]

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

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

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

◆ downcast_call() [148/213]

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

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

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

◆ downcast_call() [149/213]

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

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

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

◆ downcast_call() [150/213]

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

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

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

◆ downcast_call() [151/213]

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

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

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

◆ downcast_call() [152/213]

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

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

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

◆ downcast_call() [153/213]

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

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

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

◆ downcast_call() [154/213]

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

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

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

◆ downcast_call() [155/213]

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

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

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

◆ downcast_call() [156/213]

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

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

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

◆ downcast_call() [157/213]

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

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

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

◆ downcast_call() [158/213]

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

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

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

◆ downcast_call() [159/213]

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

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

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

◆ downcast_call() [160/213]

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

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

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

◆ downcast_call() [161/213]

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

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

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

◆ downcast_call() [162/213]

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

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

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

◆ downcast_call() [163/213]

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

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

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

◆ downcast_call() [164/213]

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

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

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

◆ downcast_call() [165/213]

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

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

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

◆ downcast_call() [166/213]

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

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

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

◆ downcast_call() [167/213]

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

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

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

◆ downcast_call() [168/213]

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

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

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

◆ downcast_call() [169/213]

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

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

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

◆ downcast_call() [170/213]

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

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

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

◆ downcast_call() [171/213]

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

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

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

◆ downcast_call() [172/213]

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

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

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

◆ downcast_call() [173/213]

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

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

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

◆ downcast_call() [174/213]

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

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

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

◆ downcast_call() [175/213]

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

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

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

◆ downcast_call() [176/213]

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

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

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

◆ downcast_call() [177/213]

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

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

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

◆ downcast_call() [178/213]

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

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

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

◆ downcast_call() [179/213]

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

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

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

◆ downcast_call() [180/213]

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

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

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

◆ downcast_call() [181/213]

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

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

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

◆ downcast_call() [182/213]

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

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

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

◆ downcast_call() [183/213]

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

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

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

◆ downcast_call() [184/213]

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

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

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

◆ downcast_call() [185/213]

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

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

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

◆ downcast_call() [186/213]

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

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

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

◆ downcast_call() [187/213]

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

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

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

◆ downcast_call() [188/213]

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

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

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

◆ downcast_call() [189/213]

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

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

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

◆ downcast_call() [190/213]

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

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

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

◆ downcast_call() [191/213]

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

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

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

◆ downcast_call() [192/213]

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

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

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

◆ downcast_call() [193/213]

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

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

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

◆ downcast_call() [194/213]

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

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

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

◆ downcast_call() [195/213]

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

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

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

◆ downcast_call() [196/213]

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

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

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

◆ downcast_call() [197/213]

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

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

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

◆ downcast_call() [198/213]

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

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

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

◆ downcast_call() [199/213]

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

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

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

◆ downcast_call() [200/213]

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

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

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

◆ downcast_call() [201/213]

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

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

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

◆ downcast_call() [202/213]

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

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

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

◆ downcast_call() [203/213]

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

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

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

◆ downcast_call() [204/213]

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

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

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

◆ downcast_call() [205/213]

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

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

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

◆ downcast_call() [206/213]

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

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

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

◆ downcast_call() [207/213]

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

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

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

◆ downcast_call() [208/213]

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

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

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

◆ downcast_call() [209/213]

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

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

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

◆ downcast_call() [210/213]

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

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

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

◆ downcast_call() [211/213]

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

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

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

◆ downcast_call() [212/213]

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

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

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

◆ downcast_call() [213/213]

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

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

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