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

Go to the source code of this file.

Functions

template<class T >
bool td::td_api::downcast_call (Object &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (Function &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (AccessHashType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (AuthenticationCodeType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (AuthorizationState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (AutosaveSettingsScope &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (BackgroundFill &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (BackgroundType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (BlockList &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (BotCommandScope &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (BotWriteAccessAllowReason &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CallDiscardReason &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CallProblem &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CallServerType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CallState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CallbackQueryPayload &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CanBoostChatResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CanSendStoryResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CanTransferOwnershipResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatAction &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatActionBar &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatAvailableReactions &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatEventAction &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatList &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatMemberStatus &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatMembersFilter &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatPhotoStickerType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatSource &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatStatistics &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ChatType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CheckChatUsernameResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (CheckStickerSetNameResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ConnectionState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (DeviceToken &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (DiceStickers &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (EmailAddressAuthentication &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (EmailAddressResetState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (EmojiCategoryType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (FileType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (FirebaseAuthenticationSettings &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (GroupCallVideoQuality &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InlineKeyboardButtonType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InlineQueryResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InlineQueryResultsButtonType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputBackground &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputChatPhoto &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputCredentials &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputFile &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputInlineQueryResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputInvoice &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputMessageContent &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputPassportElement &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputPassportElementErrorSource &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputStoryAreaType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InputStoryContent &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InternalLinkType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (InviteLinkChatType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (JsonValue &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (KeyboardButtonType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (LanguagePackStringValue &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (LogStream &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (LoginUrlInfo &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MaskPoint &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageContent &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageExtendedMedia &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageFileType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageForwardOrigin &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageReplyTo &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageSchedulingState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageSelfDestructType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageSender &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageSendingState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageSource &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (MessageSponsorType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (NetworkStatisticsEntry &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (NetworkType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (NotificationGroupType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (NotificationSettingsScope &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (NotificationType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (OptionValue &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PageBlock &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PageBlockHorizontalAlignment &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PageBlockVerticalAlignment &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PassportElement &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PassportElementErrorSource &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PassportElementType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PaymentProvider &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PollType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PremiumFeature &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PremiumLimitType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PremiumSource &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PremiumStoryFeature &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ProxyType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PublicChatType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (PushMessageContent &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ReactionType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ReplyMarkup &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ReportReason &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ResetPasswordResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (RichText &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SearchMessagesFilter &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SecretChatState &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SessionType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SpeechRecognitionResult &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StatisticalGraph &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StickerFormat &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StickerFullType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StickerType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StorePaymentPurpose &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StoryAreaType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StoryContent &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StoryList &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (StoryPrivacySettings &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SuggestedAction &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (SupergroupMembersFilter &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (TMeUrlType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (TargetChat &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (TextEntityType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (TextParseMode &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (ThumbnailFormat &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (TopChatCategory &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (Update &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (UserPrivacySetting &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (UserPrivacySettingRule &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (UserStatus &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (UserType &obj, const T &func)
 
template<class T >
bool td::td_api::downcast_call (VectorPathCommand &obj, const T &func)
 

Detailed Description

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

Function Documentation

◆ downcast_call() [1/127]

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

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

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

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

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

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

◆ downcast_call() [3/127]

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

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

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

◆ downcast_call() [4/127]

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

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

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

◆ downcast_call() [5/127]

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

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

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

◆ downcast_call() [6/127]

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

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

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

◆ downcast_call() [7/127]

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

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

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

◆ downcast_call() [8/127]

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

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

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

◆ downcast_call() [9/127]

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

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

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

◆ downcast_call() [10/127]

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

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

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

◆ downcast_call() [11/127]

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

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

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

◆ downcast_call() [12/127]

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

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

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

◆ downcast_call() [13/127]

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

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

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

◆ downcast_call() [14/127]

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

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

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

◆ downcast_call() [15/127]

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

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

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

template<class T >
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() [17/127]

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

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

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

◆ downcast_call() [18/127]

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

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

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

◆ downcast_call() [19/127]

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

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

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

◆ downcast_call() [20/127]

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

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

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

◆ downcast_call() [21/127]

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

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

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

◆ downcast_call() [22/127]

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

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

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

◆ downcast_call() [23/127]

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

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

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

◆ downcast_call() [24/127]

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

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

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

◆ downcast_call() [25/127]

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

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

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

◆ downcast_call() [26/127]

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

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

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

◆ downcast_call() [27/127]

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

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

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

◆ downcast_call() [28/127]

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

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

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

◆ downcast_call() [29/127]

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

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

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

◆ downcast_call() [30/127]

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

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

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

◆ downcast_call() [31/127]

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

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

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

◆ downcast_call() [32/127]

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

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

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

◆ downcast_call() [33/127]

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

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

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

◆ downcast_call() [34/127]

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

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

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

◆ downcast_call() [35/127]

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

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

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

◆ downcast_call() [36/127]

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

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

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

◆ downcast_call() [37/127]

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

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

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

◆ downcast_call() [38/127]

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

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

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

◆ downcast_call() [39/127]

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

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

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

◆ downcast_call() [40/127]

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

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

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

◆ downcast_call() [41/127]

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

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

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

◆ downcast_call() [42/127]

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

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

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

◆ downcast_call() [43/127]

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

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

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

◆ downcast_call() [44/127]

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

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

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

◆ downcast_call() [45/127]

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

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

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

◆ downcast_call() [46/127]

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

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

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

◆ downcast_call() [47/127]

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

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

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

◆ downcast_call() [48/127]

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

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

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

◆ downcast_call() [49/127]

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

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

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

◆ downcast_call() [50/127]

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

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

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

◆ downcast_call() [51/127]

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

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

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

◆ downcast_call() [52/127]

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

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

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

◆ downcast_call() [53/127]

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

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

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

◆ downcast_call() [54/127]

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

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

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

◆ downcast_call() [55/127]

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

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

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

◆ downcast_call() [56/127]

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

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

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

◆ downcast_call() [57/127]

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

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

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

◆ downcast_call() [58/127]

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

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

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

◆ downcast_call() [59/127]

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

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

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

◆ downcast_call() [60/127]

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

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

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

◆ downcast_call() [61/127]

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

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

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

◆ downcast_call() [62/127]

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

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

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

◆ downcast_call() [63/127]

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

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

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

◆ downcast_call() [64/127]

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

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

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

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

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

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

◆ downcast_call() [66/127]

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

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

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

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

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

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

◆ downcast_call() [68/127]

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

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

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

◆ downcast_call() [69/127]

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

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

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

◆ downcast_call() [70/127]

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

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

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

◆ downcast_call() [71/127]

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

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

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

◆ downcast_call() [72/127]

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

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

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

◆ downcast_call() [73/127]

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

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

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

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

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

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

◆ downcast_call() [75/127]

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

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

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

◆ downcast_call() [76/127]

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

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

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

◆ downcast_call() [77/127]

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

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

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

◆ downcast_call() [78/127]

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

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

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

◆ downcast_call() [79/127]

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

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

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

◆ downcast_call() [80/127]

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

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

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

◆ downcast_call() [81/127]

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

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

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

◆ downcast_call() [82/127]

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

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

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

◆ downcast_call() [83/127]

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

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

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

◆ downcast_call() [84/127]

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

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

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

◆ downcast_call() [85/127]

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

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

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

◆ downcast_call() [86/127]

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

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

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

◆ downcast_call() [87/127]

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

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

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

◆ downcast_call() [88/127]

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

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

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

◆ downcast_call() [89/127]

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

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

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

◆ downcast_call() [90/127]

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

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

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

◆ downcast_call() [91/127]

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

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

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

◆ downcast_call() [92/127]

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

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

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

◆ downcast_call() [93/127]

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

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

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

◆ downcast_call() [94/127]

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

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

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

◆ downcast_call() [95/127]

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

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

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

◆ downcast_call() [96/127]

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

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

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

◆ downcast_call() [97/127]

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

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

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

◆ downcast_call() [98/127]

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

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

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

◆ downcast_call() [99/127]

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

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

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

◆ downcast_call() [100/127]

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

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

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

◆ downcast_call() [101/127]

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

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

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

◆ downcast_call() [102/127]

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

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

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

◆ downcast_call() [103/127]

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

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

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

◆ downcast_call() [104/127]

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

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

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

◆ downcast_call() [105/127]

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

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

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

◆ downcast_call() [106/127]

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

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

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

◆ downcast_call() [107/127]

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

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

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

◆ downcast_call() [108/127]

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

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

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

◆ downcast_call() [109/127]

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

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

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

◆ downcast_call() [110/127]

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

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

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

◆ downcast_call() [111/127]

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

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

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

◆ downcast_call() [112/127]

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

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

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

◆ downcast_call() [113/127]

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

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

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

◆ downcast_call() [114/127]

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

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

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

◆ downcast_call() [115/127]

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

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

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

◆ downcast_call() [116/127]

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

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

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

◆ downcast_call() [117/127]

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

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

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

◆ downcast_call() [118/127]

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

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

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

◆ downcast_call() [119/127]

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

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

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

◆ downcast_call() [120/127]

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

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

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

◆ downcast_call() [121/127]

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

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

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

◆ downcast_call() [122/127]

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

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

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

◆ downcast_call() [123/127]

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

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

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

◆ downcast_call() [124/127]

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

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

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

◆ downcast_call() [125/127]

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

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

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

◆ downcast_call() [126/127]

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

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

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

◆ downcast_call() [127/127]

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

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

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