Functions
td_api.hpp File Reference

Description

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

Go to the source code of this file.

Functions

template<class T >
bool downcast_call (Object &obj, const T &func)
 
template<class T >
bool downcast_call (Function &obj, const T &func)
 
template<class T >
bool downcast_call (AuthenticationCodeType &obj, const T &func)
 
template<class T >
bool downcast_call (AuthorizationState &obj, const T &func)
 
template<class T >
bool downcast_call (AutosaveSettingsScope &obj, const T &func)
 
template<class T >
bool downcast_call (BackgroundFill &obj, const T &func)
 
template<class T >
bool downcast_call (BackgroundType &obj, const T &func)
 
template<class T >
bool downcast_call (BlockList &obj, const T &func)
 
template<class T >
bool downcast_call (BotCommandScope &obj, const T &func)
 
template<class T >
bool downcast_call (BotTransactionPurpose &obj, const T &func)
 
template<class T >
bool downcast_call (BotWriteAccessAllowReason &obj, const T &func)
 
template<class T >
bool downcast_call (BusinessAwayMessageSchedule &obj, const T &func)
 
template<class T >
bool downcast_call (BusinessFeature &obj, const T &func)
 
template<class T >
bool downcast_call (CallDiscardReason &obj, const T &func)
 
template<class T >
bool downcast_call (CallProblem &obj, const T &func)
 
template<class T >
bool downcast_call (CallServerType &obj, const T &func)
 
template<class T >
bool downcast_call (CallState &obj, const T &func)
 
template<class T >
bool downcast_call (CallbackQueryPayload &obj, const T &func)
 
template<class T >
bool downcast_call (CanSendMessageToUserResult &obj, const T &func)
 
template<class T >
bool downcast_call (CanSendStoryResult &obj, const T &func)
 
template<class T >
bool downcast_call (CanTransferOwnershipResult &obj, const T &func)
 
template<class T >
bool downcast_call (ChatAction &obj, const T &func)
 
template<class T >
bool downcast_call (ChatActionBar &obj, const T &func)
 
template<class T >
bool downcast_call (ChatAvailableReactions &obj, const T &func)
 
template<class T >
bool downcast_call (ChatBoostSource &obj, const T &func)
 
template<class T >
bool downcast_call (ChatEventAction &obj, const T &func)
 
template<class T >
bool downcast_call (ChatList &obj, const T &func)
 
template<class T >
bool downcast_call (ChatMemberStatus &obj, const T &func)
 
template<class T >
bool downcast_call (ChatMembersFilter &obj, const T &func)
 
template<class T >
bool downcast_call (ChatPhotoStickerType &obj, const T &func)
 
template<class T >
bool downcast_call (ChatRevenueTransactionType &obj, const T &func)
 
template<class T >
bool downcast_call (ChatSource &obj, const T &func)
 
template<class T >
bool downcast_call (ChatStatistics &obj, const T &func)
 
template<class T >
bool downcast_call (ChatStatisticsObjectType &obj, const T &func)
 
template<class T >
bool downcast_call (ChatTransactionPurpose &obj, const T &func)
 
template<class T >
bool downcast_call (ChatType &obj, const T &func)
 
template<class T >
bool downcast_call (CheckChatUsernameResult &obj, const T &func)
 
template<class T >
bool downcast_call (CheckStickerSetNameResult &obj, const T &func)
 
template<class T >
bool downcast_call (CollectibleItemType &obj, const T &func)
 
template<class T >
bool downcast_call (ConnectionState &obj, const T &func)
 
template<class T >
bool downcast_call (DeviceToken &obj, const T &func)
 
template<class T >
bool downcast_call (DiceStickers &obj, const T &func)
 
template<class T >
bool downcast_call (EmailAddressAuthentication &obj, const T &func)
 
template<class T >
bool downcast_call (EmailAddressResetState &obj, const T &func)
 
template<class T >
bool downcast_call (EmojiCategorySource &obj, const T &func)
 
template<class T >
bool downcast_call (EmojiCategoryType &obj, const T &func)
 
template<class T >
bool downcast_call (FileType &obj, const T &func)
 
template<class T >
bool downcast_call (FirebaseAuthenticationSettings &obj, const T &func)
 
template<class T >
bool downcast_call (FirebaseDeviceVerificationParameters &obj, const T &func)
 
template<class T >
bool downcast_call (GiveawayInfo &obj, const T &func)
 
template<class T >
bool downcast_call (GiveawayParticipantStatus &obj, const T &func)
 
template<class T >
bool downcast_call (GiveawayPrize &obj, const T &func)
 
template<class T >
bool downcast_call (GroupCallVideoQuality &obj, const T &func)
 
template<class T >
bool downcast_call (InlineKeyboardButtonType &obj, const T &func)
 
template<class T >
bool downcast_call (InlineQueryResult &obj, const T &func)
 
template<class T >
bool downcast_call (InlineQueryResultsButtonType &obj, const T &func)
 
template<class T >
bool downcast_call (InputBackground &obj, const T &func)
 
template<class T >
bool downcast_call (InputChatPhoto &obj, const T &func)
 
template<class T >
bool downcast_call (InputCredentials &obj, const T &func)
 
template<class T >
bool downcast_call (InputFile &obj, const T &func)
 
template<class T >
bool downcast_call (InputInlineQueryResult &obj, const T &func)
 
template<class T >
bool downcast_call (InputInvoice &obj, const T &func)
 
template<class T >
bool downcast_call (InputMessageContent &obj, const T &func)
 
template<class T >
bool downcast_call (InputMessageReplyTo &obj, const T &func)
 
template<class T >
bool downcast_call (InputPaidMediaType &obj, const T &func)
 
template<class T >
bool downcast_call (InputPassportElement &obj, const T &func)
 
template<class T >
bool downcast_call (InputPassportElementErrorSource &obj, const T &func)
 
template<class T >
bool downcast_call (InputStoryAreaType &obj, const T &func)
 
template<class T >
bool downcast_call (InputStoryContent &obj, const T &func)
 
template<class T >
bool downcast_call (InternalLinkType &obj, const T &func)
 
template<class T >
bool downcast_call (InviteLinkChatType &obj, const T &func)
 
template<class T >
bool downcast_call (JsonValue &obj, const T &func)
 
template<class T >
bool downcast_call (KeyboardButtonType &obj, const T &func)
 
template<class T >
bool downcast_call (LanguagePackStringValue &obj, const T &func)
 
template<class T >
bool downcast_call (LinkPreviewAlbumMedia &obj, const T &func)
 
template<class T >
bool downcast_call (LinkPreviewType &obj, const T &func)
 
template<class T >
bool downcast_call (LogStream &obj, const T &func)
 
template<class T >
bool downcast_call (LoginUrlInfo &obj, const T &func)
 
template<class T >
bool downcast_call (MaskPoint &obj, const T &func)
 
template<class T >
bool downcast_call (MessageContent &obj, const T &func)
 
template<class T >
bool downcast_call (MessageEffectType &obj, const T &func)
 
template<class T >
bool downcast_call (MessageFileType &obj, const T &func)
 
template<class T >
bool downcast_call (MessageOrigin &obj, const T &func)
 
template<class T >
bool downcast_call (MessageReadDate &obj, const T &func)
 
template<class T >
bool downcast_call (MessageReplyTo &obj, const T &func)
 
template<class T >
bool downcast_call (MessageSchedulingState &obj, const T &func)
 
template<class T >
bool downcast_call (MessageSelfDestructType &obj, const T &func)
 
template<class T >
bool downcast_call (MessageSender &obj, const T &func)
 
template<class T >
bool downcast_call (MessageSendingState &obj, const T &func)
 
template<class T >
bool downcast_call (MessageSource &obj, const T &func)
 
template<class T >
bool downcast_call (NetworkStatisticsEntry &obj, const T &func)
 
template<class T >
bool downcast_call (NetworkType &obj, const T &func)
 
template<class T >
bool downcast_call (NotificationGroupType &obj, const T &func)
 
template<class T >
bool downcast_call (NotificationSettingsScope &obj, const T &func)
 
template<class T >
bool downcast_call (NotificationType &obj, const T &func)
 
template<class T >
bool downcast_call (OptionValue &obj, const T &func)
 
template<class T >
bool downcast_call (PageBlock &obj, const T &func)
 
template<class T >
bool downcast_call (PageBlockHorizontalAlignment &obj, const T &func)
 
template<class T >
bool downcast_call (PageBlockVerticalAlignment &obj, const T &func)
 
template<class T >
bool downcast_call (PaidMedia &obj, const T &func)
 
template<class T >
bool downcast_call (PassportElement &obj, const T &func)
 
template<class T >
bool downcast_call (PassportElementErrorSource &obj, const T &func)
 
template<class T >
bool downcast_call (PassportElementType &obj, const T &func)
 
template<class T >
bool downcast_call (PaymentFormType &obj, const T &func)
 
template<class T >
bool downcast_call (PaymentProvider &obj, const T &func)
 
template<class T >
bool downcast_call (PaymentReceiptType &obj, const T &func)
 
template<class T >
bool downcast_call (PhoneNumberCodeType &obj, const T &func)
 
template<class T >
bool downcast_call (PollType &obj, const T &func)
 
template<class T >
bool downcast_call (PremiumFeature &obj, const T &func)
 
template<class T >
bool downcast_call (PremiumLimitType &obj, const T &func)
 
template<class T >
bool downcast_call (PremiumSource &obj, const T &func)
 
template<class T >
bool downcast_call (PremiumStoryFeature &obj, const T &func)
 
template<class T >
bool downcast_call (ProxyType &obj, const T &func)
 
template<class T >
bool downcast_call (PublicChatType &obj, const T &func)
 
template<class T >
bool downcast_call (PublicForward &obj, const T &func)
 
template<class T >
bool downcast_call (PushMessageContent &obj, const T &func)
 
template<class T >
bool downcast_call (ReactionNotificationSource &obj, const T &func)
 
template<class T >
bool downcast_call (ReactionType &obj, const T &func)
 
template<class T >
bool downcast_call (ReactionUnavailabilityReason &obj, const T &func)
 
template<class T >
bool downcast_call (ReplyMarkup &obj, const T &func)
 
template<class T >
bool downcast_call (ReportChatResult &obj, const T &func)
 
template<class T >
bool downcast_call (ReportChatSponsoredMessageResult &obj, const T &func)
 
template<class T >
bool downcast_call (ReportReason &obj, const T &func)
 
template<class T >
bool downcast_call (ReportStoryResult &obj, const T &func)
 
template<class T >
bool downcast_call (ResendCodeReason &obj, const T &func)
 
template<class T >
bool downcast_call (ResetPasswordResult &obj, const T &func)
 
template<class T >
bool downcast_call (RevenueWithdrawalState &obj, const T &func)
 
template<class T >
bool downcast_call (RichText &obj, const T &func)
 
template<class T >
bool downcast_call (SavedMessagesTopicType &obj, const T &func)
 
template<class T >
bool downcast_call (SearchMessagesFilter &obj, const T &func)
 
template<class T >
bool downcast_call (SecretChatState &obj, const T &func)
 
template<class T >
bool downcast_call (SessionType &obj, const T &func)
 
template<class T >
bool downcast_call (SpeechRecognitionResult &obj, const T &func)
 
template<class T >
bool downcast_call (StarTransactionDirection &obj, const T &func)
 
template<class T >
bool downcast_call (StarTransactionPartner &obj, const T &func)
 
template<class T >
bool downcast_call (StatisticalGraph &obj, const T &func)
 
template<class T >
bool downcast_call (StickerFormat &obj, const T &func)
 
template<class T >
bool downcast_call (StickerFullType &obj, const T &func)
 
template<class T >
bool downcast_call (StickerType &obj, const T &func)
 
template<class T >
bool downcast_call (StorePaymentPurpose &obj, const T &func)
 
template<class T >
bool downcast_call (StoryAreaType &obj, const T &func)
 
template<class T >
bool downcast_call (StoryContent &obj, const T &func)
 
template<class T >
bool downcast_call (StoryInteractionType &obj, const T &func)
 
template<class T >
bool downcast_call (StoryList &obj, const T &func)
 
template<class T >
bool downcast_call (StoryOrigin &obj, const T &func)
 
template<class T >
bool downcast_call (StoryPrivacySettings &obj, const T &func)
 
template<class T >
bool downcast_call (SuggestedAction &obj, const T &func)
 
template<class T >
bool downcast_call (SupergroupMembersFilter &obj, const T &func)
 
template<class T >
bool downcast_call (TMeUrlType &obj, const T &func)
 
template<class T >
bool downcast_call (TargetChat &obj, const T &func)
 
template<class T >
bool downcast_call (TelegramPaymentPurpose &obj, const T &func)
 
template<class T >
bool downcast_call (TextEntityType &obj, const T &func)
 
template<class T >
bool downcast_call (TextParseMode &obj, const T &func)
 
template<class T >
bool downcast_call (ThumbnailFormat &obj, const T &func)
 
template<class T >
bool downcast_call (TopChatCategory &obj, const T &func)
 
template<class T >
bool downcast_call (Update &obj, const T &func)
 
template<class T >
bool downcast_call (UserPrivacySetting &obj, const T &func)
 
template<class T >
bool downcast_call (UserPrivacySettingRule &obj, const T &func)
 
template<class T >
bool downcast_call (UserStatus &obj, const T &func)
 
template<class T >
bool downcast_call (UserTransactionPurpose &obj, const T &func)
 
template<class T >
bool downcast_call (UserType &obj, const T &func)
 
template<class T >
bool downcast_call (VectorPathCommand &obj, const T &func)
 

Function Documentation

◆ downcast_call() [1/162]

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() [2/162]

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() [3/162]

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() [4/162]

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() [5/162]

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() [6/162]

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() [7/162]

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() [8/162]

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() [9/162]

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() [10/162]

bool td::td_api::downcast_call ( BotTransactionPurpose obj,
const T &  func 
)

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

Parameters
[in]objObject to pass as an argument to the function object.
[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/162]

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() [12/162]

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() [13/162]

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() [14/162]

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() [15/162]

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() [16/162]

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() [17/162]

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() [18/162]

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() [19/162]

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() [20/162]

bool td::td_api::downcast_call ( CanSendStoryResult obj,
const T &  func 
)

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

Parameters
[in]objObject to pass as an argument to the function object.
[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/162]

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() [22/162]

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() [23/162]

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() [24/162]

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() [25/162]

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() [26/162]

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() [27/162]

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() [28/162]

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() [29/162]

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() [30/162]

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() [31/162]

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() [32/162]

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() [33/162]

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() [34/162]

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() [35/162]

bool td::td_api::downcast_call ( ChatTransactionPurpose obj,
const T &  func 
)

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

Parameters
[in]objObject to pass as an argument to the function object.
[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/162]

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() [37/162]

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() [38/162]

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() [39/162]

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() [40/162]

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() [41/162]

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() [42/162]

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() [43/162]

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() [44/162]

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() [45/162]

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() [46/162]

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() [47/162]

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() [48/162]

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() [49/162]

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() [50/162]

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() [51/162]

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() [52/162]

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() [53/162]

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() [54/162]

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() [55/162]

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() [56/162]

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() [57/162]

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() [58/162]

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() [59/162]

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() [60/162]

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() [61/162]

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() [62/162]

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() [63/162]

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() [64/162]

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() [65/162]

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() [66/162]

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() [67/162]

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() [68/162]

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() [69/162]

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() [70/162]

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() [71/162]

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() [72/162]

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() [73/162]

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() [74/162]

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() [75/162]

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() [76/162]

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() [77/162]

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() [78/162]

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() [79/162]

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() [80/162]

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() [81/162]

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() [82/162]

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() [83/162]

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() [84/162]

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() [85/162]

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() [86/162]

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() [87/162]

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() [88/162]

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() [89/162]

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() [90/162]

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() [91/162]

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() [92/162]

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() [93/162]

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() [94/162]

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() [95/162]

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() [96/162]

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() [97/162]

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() [98/162]

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() [99/162]

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() [100/162]

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() [101/162]

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() [102/162]

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() [103/162]

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() [104/162]

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() [105/162]

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() [106/162]

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() [107/162]

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() [108/162]

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() [109/162]

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() [110/162]

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() [111/162]

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() [112/162]

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() [113/162]

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() [114/162]

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() [115/162]

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() [116/162]

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() [117/162]

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() [118/162]

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() [119/162]

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() [120/162]

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() [121/162]

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() [122/162]

bool td::td_api::downcast_call ( ReportChatSponsoredMessageResult obj,
const T &  func 
)

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

Parameters
[in]objObject to pass as an argument to the function object.
[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/162]

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() [124/162]

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() [125/162]

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() [126/162]

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() [127/162]

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() [128/162]

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() [129/162]

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() [130/162]

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() [131/162]

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() [132/162]

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() [133/162]

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() [134/162]

bool td::td_api::downcast_call ( StarTransactionDirection obj,
const T &  func 
)

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

Parameters
[in]objObject to pass as an argument to the function object.
[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/162]

bool td::td_api::downcast_call ( StarTransactionPartner obj,
const T &  func 
)

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

Parameters
[in]objObject to pass as an argument to the function object.
[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/162]

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() [137/162]

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() [138/162]

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() [139/162]

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() [140/162]

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() [141/162]

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() [142/162]

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() [143/162]

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() [144/162]

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() [145/162]

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() [146/162]

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() [147/162]

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() [148/162]

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() [149/162]

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() [150/162]

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() [151/162]

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() [152/162]

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() [153/162]

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() [154/162]

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() [155/162]

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() [156/162]

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() [157/162]

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() [158/162]

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() [159/162]

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() [160/162]

bool td::td_api::downcast_call ( UserTransactionPurpose obj,
const T &  func 
)

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

Parameters
[in]objObject to pass as an argument to the function object.
[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/162]

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() [162/162]

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.