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 (AffiliateProgramSortOrder &obj, const T &func)
 
template<class T >
bool downcast_call (AffiliateType &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 (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 (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 (EmojiStatusType &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 (PaidReactionType &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 (SearchMessagesChatTypeFilter &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 (SentGift &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 (StarSubscriptionType &obj, const T &func)
 
template<class T >
bool downcast_call (StarTransactionDirection &obj, const T &func)
 
template<class T >
bool downcast_call (StarTransactionType &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 (UserType &obj, const T &func)
 
template<class T >
bool downcast_call (VectorPathCommand &obj, const T &func)
 
template<class T >
bool downcast_call (WebAppOpenMode &obj, const T &func)
 

Function Documentation

◆ downcast_call() [1/167]

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/167]

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/167]

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

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

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/167]

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/167]

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/167]

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/167]

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/167]

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/167]

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/167]

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/167]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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/167]

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/167]

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/167]

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/167]

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/167]

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/167]

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/167]

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/167]

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/167]

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/167]

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/167]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.