Uses of Class
org.drinkless.tdlib.TdApi.Function
Packages that use TdApi.Function
Package
Description
-
Uses of TdApi.Function in dev.voroby.springframework.telegram.client
Methods in dev.voroby.springframework.telegram.client with parameters of type TdApi.FunctionModifier and TypeMethodDescription<T extends TdApi.Object>
Response<T>TelegramClient.send(TdApi.Function<T> query) Sends a request to the TDLib.<T extends TdApi.Object>
CompletableFuture<Response<T>>TelegramClient.sendAsync(TdApi.Function<T> query) Sends a request to the TDLib asynchronously.<T extends TdApi.Object>
voidTelegramClient.sendWithCallback(TdApi.Function<T> query, QueryResultHandler<T> resultHandler) Sends a request to the TDLib with callback. -
Uses of TdApi.Function in dev.voroby.springframework.telegram.exception
Methods in dev.voroby.springframework.telegram.exception that return TdApi.FunctionModifier and TypeMethodDescriptionTdApi.Function<? extends TdApi.Object>TelegramClientTdApiException.getQuery()Constructors in dev.voroby.springframework.telegram.exception with parameters of type TdApi.FunctionModifierConstructorDescriptionTelegramClientTdApiException(String message, Throwable cause, TdApi.Error error, TdApi.Function<? extends TdApi.Object> query) TelegramClientTdApiException(String message, TdApi.Error error, TdApi.Function<? extends TdApi.Object> query) -
Uses of TdApi.Function in org.drinkless.tdlib
Subclasses of TdApi.Function in org.drinkless.tdlibModifier and TypeClassDescriptionstatic classAccepts an incoming call.static classAccepts Telegram terms of services.static classActivates stealth mode for stories, which hides all views of stories from the current user in the last "story_stealth_mode_past_period" seconds and for the next "story_stealth_mode_future_period" seconds; for Telegram Premium users only.static classAdds a new media preview to the beginning of the list of media previews of a bot.static classAdds a chat folder by an invite link.static classAdds a new member to a chat; requires canInviteUsers member right.static classAdds multiple new members to a chat; requires canInviteUsers member right.static classAdds a chat to a chat list.static classAdds tasks to a checklist in a message.static classAdds a user to the contact list or edits an existing contact by their user identifier.static classAdds a custom server language pack to the list of installed language packs in current localization target.static classAdds a new sticker to the list of favorite stickers.static classAdds a file from a message to the list of file downloads.static classAdds a local message to a chat.static classAdds a message to TDLib internal log.static classAdds a reaction or a tag to a message.static classAdds the specified data to data usage statistics.static classSent a suggested post based on a previously sent message in a channel direct messages chat.static classAdds the paid message reaction to a message.static classAdds a proxy server for network requests.static classAdds a message to a quick reply shortcut via inline bot.static classAdds a message to a quick reply shortcut.static classAdds 2-10 messages grouped together into an album to a quick reply shortcut.static classAdds a chat to the list of recently found chats.static classManually adds a new sticker to the list of recently used stickers.static classManually adds a new animation to the list of saved animations.static classAdds a new notification sound to the list of saved notification sounds.static classAdds a new sticker to a set.static classAllows the specified bot to send messages to the user.static classAllows the specified user to send unpaid private messages to the current user by adding a rule to userPrivacySettingAllowUnpaidMessages.static classSets the result of a callback query; for bots only.static classAnswers a custom query; for bots only.static classSets the result of an inline query; for bots only.static classSets the result of a pre-checkout query; for bots only.static classSets the result of a shipping query; for bots only.static classSets the result of interaction with a Web App and sends corresponding message on behalf of the user to the chat from which the query originated; for bots only.static classApplies a Telegram Premium gift code.static classApproves a suggested post in a channel direct messages chat.static classInforms server about an in-store purchase.static classBans a member in a chat; requires canRestrictMembers administrator right.static classBans users from a group call not bound to a chat; requires groupCall.isOwned.static classBlocks an original sender of a message in the Replies chat.static classBoosts a chat and returns the list of available chat boost slots for the current user after the boost.static classChecks whether the specified bot can send messages to the user.static classStops the downloading of a file.static classCancels reset of 2-step verification password.static classStops the preliminary uploading of a file.static classCancels verification of the 2-step verification recovery email address.static classChecks whether the current user can post a story on behalf of a chat; requires canPostStories administrator right for supergroup and channel chats.static classChecks whether an in-store purchase is possible.static classCheck whether the current user can message another user or try to create a chat with them.static classChecks whether the current session can be used to transfer a chat ownership to another user.static classChanges imported contacts using the list of contacts saved on the device.static classInstalls/uninstalls or activates/archives a sticker set.static classChecks the authentication token of a bot; to log in as a bot.static classChecks the authentication code.static classChecks the authentication of an email address.static classChecks the 2-step verification password for correctness.static classChecks whether a 2-step verification password recovery code sent to an email address is valid.static classChecks whether an in-store purchase of Telegram Premium is possible before authorization.static classChecks the validity of an invite link for a chat folder and returns information about the corresponding chat folder.static classChecks the validity of an invite link for a chat and returns information about the corresponding chat.static classChecks whether a username can be set for a chat.static classChecks whether the maximum number of owned public chats has been reached.static classChecks the email address verification code for Telegram Passport.static classChecks the login email address authentication.static classChecks whether a 2-step verification password recovery code sent to an email address is valid.static classCheck the authentication code and completes the request for which the code was sent if appropriate.static classReturn information about a Telegram Premium gift code.static classChecks validness of a name for a quick reply shortcut.static classChecks the 2-step verification recovery email address verification code.static classChecks whether a name can be used for a new sticker set.static classChecks whether a file can be downloaded and saved locally by Web App request.static classRemoves potentially dangerous characters from the name of a file.static classClears message drafts in all chats.static classClears the list of all autosave settings exceptions.static classClears all imported contacts, contact list remains unchanged.static classClears the list of recently used emoji statuses for self status.static classClears the list of recently found chats.static classClears the list of recently used reactions.static classClears the list of recently used stickers.static classClears the list of recently searched for hashtags or cashtags.static classInforms TDLib that a message with an animated emoji was clicked by the user.static classInforms TDLib that the user opened the sponsored chat via the button, the name, the chat photo, a mention in the sponsored message text, or the media in the sponsored message.static classInforms TDLib that the user clicked Premium subscription button on the Premium features screen.static classInforms TDLib that the user clicked a video message advertisement.static classCloses the TDLib instance.static classInforms TDLib that the chat is closed by the user.static classCloses a secret chat, effectively transferring its state to secretChatStateClosed.static classInforms TDLib that a story is closed by the user.static classInforms TDLib that a previously opened Web App was closed.static classApplies all pending paid reactions on a message.static classConfirms QR code authentication on another device.static classConfirms an unconfirmed session of the current user from another device.static classConnects an affiliate program to the given affiliate.static classReturns an existing chat corresponding to a known basic group.static classCreates a business chat link for the current account.static classCreates a new call.static classCreates new chat folder.static classCreates a new invite link for a chat folder.static classCreates a new invite link for a chat.static classCreates a new subscription invite link for a channel chat.static classCreates a topic in a forum supergroup chat; requires canManageTopics administrator or canCreateTopics member right in the supergroup.static classCreates a new group call that isn't bound to a chat.static classCreates a link for the given invoice; for bots only.static classCreates a new basic group and sends a corresponding messageBasicGroupChatCreate.static classCreates a new secret chat.static classCreates a new sticker set.static classCreates a new supergroup or channel and sends a corresponding messageSupergroupChatCreate.static classReturns an existing chat corresponding to a given user.static classReturns an existing chat corresponding to a known secret chat.static classReturns an existing chat corresponding to a known supergroup or channel.static classCreates a new temporary password for processing payments.static classCreates a video chat (a group call bound to a chat).static classDeclines an invitation to an active group call via messageGroupCall.static classDeclines a suggested post in a channel direct messages chat.static classDecrypts group call data received by tgcalls.static classDeletes the account of the current user, deleting all information associated with the user from the server.static classDeletes all call messages.static classDeletes all revoked chat invite links created by a given chat administrator.static classDelete media previews from the list of media previews of a bot.static classDeletes a business chat link of the current account.static classDeletes the business bot that is connected to the current user account.static classDeletes messages on behalf of a business account; for bots only.static classDeletes a story posted by the bot on behalf of a business account; for bots only.static classDeletes a chat along with all messages in the corresponding chat for all chat members.static classDeletes background in a specific chat.static classDeletes existing chat folder.static classDeletes an invite link for a chat folder.static classDeletes all messages in the chat.static classDeletes all messages between the specified dates in a chat.static classDeletes all messages sent by the specified message sender in a chat.static classDeletes the default reply markup from a chat.static classDeletes commands supported by the bot for the given user scope and language; for bots only.static classDeletes default background for chats.static classDeletes all messages in the topic in a channel direct messages chat administered by the current user.static classDeletes all messages between the specified dates in the topic in a channel direct messages chat administered by the current user.static classDeletes a file from the TDLib file cache.static classDeletes all messages in a forum topic; requires canDeleteMessages administrator right in the supergroup unless the user is creator of the topic, the topic has no messages from other users and has at most 11 messages.static classDeletes all information about a language pack in the current localization target.static classDeletes messages.static classDeletes a Telegram Passport element.static classDeletes a profile photo.static classDeletes a quick reply shortcut.static classDeletes specified quick reply messages.static classDeletes revoked chat invite links.static classDeletes saved credentials for all payment provider bots.static classDeletes all messages in a Saved Messages topic.static classDeletes all messages between the specified dates in a Saved Messages topic.static classDeletes saved order information.static classCompletely deletes a sticker set.static classDeletes a previously posted story.static classCloses the TDLib instance, destroying all local data without a proper logout.static classDisables all active non-editable usernames of a supergroup or channel, requires owner privileges in the supergroup or channel.static classDisables the currently enabled proxy.static classDiscards a call.static classDisconnects an affiliate program from the given affiliate and immediately deactivates its referral link.static classDisconnects all websites from the current user's Telegram account.static classDisconnects website from the current user's Telegram account.static classDownloads a file from the cloud.static classReplaces media preview in the list of media previews of a bot.static classEdits a business chat link of the current account.static classEdits the caption of a message sent on behalf of a business account; for bots only.static classEdits the content of a checklist in a message sent on behalf of a business account; for bots only.static classEdits the content of a live location in a message sent on behalf of a business account; for bots only.static classEdits the media content of a message with a text, an animation, an audio, a document, a photo or a video in a message sent on behalf of a business account; for bots only.static classEdits the reply markup of a message sent on behalf of a business account; for bots only.static classEdits the text of a text or game message sent on behalf of a business account; for bots only.static classChanges a story posted by the bot on behalf of a business account; for bots only.static classEdits existing chat folder.static classEdits an invite link for a chat folder.static classEdits a non-primary invite link for a chat.static classEdits a subscription invite link for a channel chat.static classEdits information about a custom local language pack in the current localization target.static classEdits title and icon of a topic in a forum supergroup chat; requires canManageTopics administrator right in the supergroup unless the user is creator of the topic.static classEdits the caption of an inline message sent via a bot; for bots only.static classEdits the content of a live location in an inline message sent via a bot; for bots only.static classEdits the media content of a message with a text, an animation, an audio, a document, a photo or a video in an inline message sent via a bot; for bots only.static classEdits the reply markup of an inline message sent via a bot; for bots only.static classEdits the text of an inline text or game message sent via a bot; for bots only.static classEdits the message content caption.static classEdits the message content of a checklist.static classEdits the message content of a live location.static classEdits the media content of a message, including message caption.static classEdits the message reply markup; for bots only.static classEdits the time when a scheduled message will be sent.static classEdits the text of a message (or a text of a game message).static classEdits an existing proxy server for network requests.static classAsynchronously edits the text, media or caption of a quick reply message.static classCancels or re-enables Telegram Star subscription.static classChanges content and caption of a story.static classChanges cover of a video story.static classCancels or re-enables Telegram Star subscription for a user; for bots only.static classEnables a proxy.static classEncrypts group call data before sending them over network using tgcalls.static classEnds a group call.static classEnds recording of an active group call; for video chats only.static classEnds screen sharing in a joined group call.static classFinishes the file generation.static classForwards previously sent messages.static classReturns the period of inactivity after which the account of the current user will automatically be deleted.static classReturns all active sessions of the current user.static classReturns all available Telegram Passport elements.static classReturns unique emoji that correspond to stickers to be found by the getStickers(stickerType, query, 1000000, chatId).static classReturns an animated emoji corresponding to a given emoji.static classReturns application config, provided by the server.static classReturns the link for downloading official Telegram application to be used when the current user invites friends to Telegram.static classReturns settings for automatic moving of chats to and from the Archive chat lists.static classReturns a list of archived sticker sets.static classReturns a list of sticker sets attached to a file, including regular, mask, and emoji sticker sets.static classReturns information about a bot that can be added to attachment or side menu.static classReturns the current authorization state.static classReturns auto-download settings presets for the current user.static classReturns autosave settings for the current user.static classReturns the list of available chat boost slots for the current user.static classReturns gifts that can be sent to other users and channel chats.static classConstructs a persistent HTTP URL for a background.static classReturns information about a bank card.static classReturns information about a basic group by its identifier.static classReturns full information about a basic group by its identifier.static classReturns users and chats that were blocked by the current user.static classReturns the text shown in the chat with a bot if the chat is empty in the given language.static classReturns the text shown on a bot's profile page and sent together with the link when users share the bot in the given language.static classReturns the list of media previews for the given language and the list of languages for which the bot has dedicated previews.static classReturns the list of media previews of a bot.static classReturns the name of a bot in the given language.static classReturns approximate number of bots similar to the given bot.static classReturns a list of bots similar to the given bot.static classReturns the amount of Telegram Stars owned by a business account; for bots only.static classReturns information about a business chat link.static classReturns business chat links created for the current account.static classReturns the business bot that is connected to the current user account.static classReturns information about a business connection by its identifier; for bots only.static classReturns information about features, available to Business users.static classSends a callback query to a bot and returns an answer.static classReturns information about a message with the callback button that originated a callback query; for bots only.static classReturns information about a chat by its identifier.static classReturns the list of active stories posted by the given chat.static classReturns a list of administrators of the chat with their custom titles.static classReturns the list of all stories posted by the given chat; requires canEditStories administrator right in the chat.static classReturns the list of message sender identifiers, which can be used to send messages in a chat.static classReturns the list of message sender identifiers, which can be used to send a paid reaction in a chat.static classReturns the list of features available for different chat boost levels.static classReturns the list of features available on the specific chat boost level.static classReturns an HTTPS link to boost the specified supergroup or channel chat.static classReturns information about a link to boost a chat.static classReturns the list of boosts applied to a chat; requires administrator rights in the chat.static classReturns the current boost status for a supergroup or a channel chat.static classReturns a list of service actions taken by chat members and administrators in the last 48 hours.static classReturns information about a chat folder by its identifier.static classReturns approximate number of chats in a being created chat folder.static classReturns identifiers of pinned or always included chats from a chat folder, which are suggested to be left when the chat folder is deleted.static classReturns default icon name for a folder.static classReturns invite links created by the current user for a shareable chat folder.static classReturns new chats added to a shareable chat folder by its owner.static classReturns messages in a chat.static classReturns information about an invite link.static classReturns the list of chat administrators with number of their invite links.static classReturns chat members joined a chat via an invite link.static classReturns invite links for a chat created by specified administrator.static classReturns pending join requests in a chat.static classReturns chat lists to which the chat can be added.static classReturns information about a single member of a chat.static classReturns the last message sent in a chat no later than the specified date.static classReturns information about the next messages of the specified type in the chat split by days.static classReturns approximate number of messages of the specified type in the chat or its topic.static classReturns approximate 1-based position of a message among messages, which can be found by the specified filter in the chat and topic.static classReturns the list of chats with non-default notification settings for new messages.static classReturns information about a newest pinned message in the chat.static classReturns the list of stories that posted by the given chat to its chat page.static classReturns detailed revenue statistics about a chat.static classReturns the list of revenue transactions for a chat.static classReturns a URL for chat revenue withdrawal; requires owner privileges in the channel chat or the bot.static classReturns an ordered list of chats from the beginning of a chat list.static classReturns all scheduled messages in a chat.static classReturns identifiers of chats from a chat folder, suitable for adding to a chat folder invite link.static classReturns approximate number of chats similar to the given chat.static classReturns a list of chats similar to the given chat.static classReturns sparse positions of messages of the specified type in the chat to be used for shared media scroll implementation.static classReturns sponsored messages to be shown in a chat; for channel chats and chats with bots only.static classReturns detailed statistics about a chat.static classReturns supergroup and channel chats in which the current user has the right to post stories.static classReturns interactions with a story posted in a chat.static classReturns all close friends of the current user.static classReturns information about a given collectible item that was purchased at https://fragment.com.static classReturns the list of commands supported by the bot for the given user scope and language; for bots only.static classReturns an affiliate program that were connected to the given affiliate by identifier of the bot that created the program.static classReturns affiliate programs that were connected to the given affiliate.static classReturns all website where the current user used Telegram to log in.static classReturns all contacts of the user.static classReturns information about existing countries.static classUses the current IP address to find the current country.static classReturns an emoji for the given country.static classReturns a list of public chats of the specified type, owned by the user.static classReturns all updates needed to restore current TDLib state, i.e. all actual updateAuthorizationState/updateUser/updateNewChat and others.static classReturns the current weather in the given location.static classReturns TGS stickers with generic animations for custom emoji reactions.static classReturns the list of custom emoji stickers by their identifiers.static classReturns database statistics.static classReturns information about a tg:// deep link.static classReturns default list of custom emoji stickers for reply background.static classReturns default emoji statuses for chats.static classReturns default list of custom emoji stickers for placing on a chat photo.static classReturns default emoji statuses for self status.static classReturns default message auto-delete time setting for new chats.static classReturns default list of custom emoji stickers for placing on a profile photo.static classReturns information about the topic in a channel direct messages chat administered by the current user.static classReturns messages in the topic in a channel direct messages chat administered by the current user.static classReturns the last message sent in the topic in a channel direct messages chat administered by the current user no later than the specified date.static classReturns the total number of Telegram Stars received by the channel chat for direct messages from the given topic.static classReturns the list of emoji statuses, which can't be used as chat emoji status, even if they are from a sticker set with isAllowedAsChatEmojiStatus == true.static classReturns available emoji categories.static classReturns information about an emoji reaction.static classReturns an HTTP URL which can be used to automatically log in to the translation platform and suggest new emoji replacements.static classReturns an HTTP URL which can be used to automatically authorize the current user on a website after clicking an HTTP link.static classReturns information about an action to be done when the current user clicks an external link.static classReturns favorite stickers.static classReturns information about a file.static classReturns file downloaded prefix size from a given offset, in bytes.static classReturns the extension of a file, guessed by its MIME type.static classReturns the MIME type of a file, guessed by its extension.static classReturns information about a forum topic.static classReturns the list of custom emoji, which can be used as forum topic icon by all users.static classReturns an HTTPS link to a topic in a forum chat.static classReturns found forum topics in a forum chat.static classReturns the high scores for a game and some part of the high score table in the range of the specified user; for bots only.static classReturns examples of possible upgraded gifts for a regular gift.static classReturns information about a giveaway.static classReturns greeting stickers from regular sticker sets that can be used for the start page of other users.static classReturns the most grossing Web App bots.static classReturns information about a group call.static classReturns information about participants of a non-joined group call that is not bound to a chat.static classReturns a list of common group chats with a given user.static classReturns the total number of imported contacts.static classReturns a list of recently inactive supergroups and channels.static classReturns game high scores and some part of the high score table in the range of the specified user; for bots only.static classSends an inline query to a bot and returns its results.static classReturns backgrounds installed by the user.static classReturns a list of installed sticker sets.static classReturns an HTTPS or a tg: link with the given type.static classReturns information about the type of internal link.static classConverts a JsonValue object to corresponding JSON-serialized string.static classConverts a JSON-serialized string to corresponding JsonValue object.static classReturn emojis matching the keyword.static classReturns information about a language pack.static classReturns a string stored in the local database from the specified localization target and language pack by its key.static classReturns strings from a language pack in the current localization target by their keys.static classReturns a link preview by the text of a message.static classReturns information about the current localization target.static classReturns an HTTP URL which can be used to automatically authorize the user on a website after clicking an inline button of type inlineKeyboardButtonTypeLoginUrl.static classReturns information about a button of type inlineKeyboardButtonTypeLoginUrl.static classReturns information about currently used log stream for internal logging of TDLib.static classReturns the list of available TDLib internal log tags, for example, ["actor", "binlog", "connections", "notifications", "proxy"].static classReturns current verbosity level for a specified TDLib internal log tag.static classReturns current verbosity level of the internal logging of TDLib.static classReturns information needed to open the main Web App of a bot.static classReturns information about a file with a map thumbnail in PNG format.static classReplaces text entities with Markdown formatting in a human-friendly format.static classReturns the current user.static classReturns menu button set by the bot for the given user; for bots only.static classReturns information about a message.static classReturns reactions added for a message, along with their sender.static classReturns information about actual author of a message sent on behalf of a channel.static classReturns reactions, which can be added to a message.static classReturns information about a message effect.static classReturns an HTML code for embedding the message.static classReturns information about a file with messages exported from another application.static classReturns a confirmation text to be shown to the user before starting message import.static classReturns an HTTPS link to a message in a chat.static classReturns information about a public or private message link.static classReturns information about a message, if it is available without sending network request.static classReturns properties of a message.static classReturns forwarded copies of a channel message to different public channels and public reposts as a story.static classReturns read date of a recent outgoing message in a private chat.static classReturns information about messages.static classReturns detailed statistics about a message.static classReturns information about a message thread.static classReturns messages in a message thread of a message.static classReturns viewers of a recent outgoing message in a basic group or a supergroup chat.static classReturns network data usage statistics.static classReturns privacy settings for new chat creation.static classReturns the value of an option by its name.static classReturns the list of bots owned by the current user.static classReturns sticker sets owned by the current user.static classReturns the total number of Telegram Stars received by the current user for paid messages from the given user.static classReturns a Telegram Passport authorization form for sharing data with a service.static classReturns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form.static classReturns one of the available Telegram Passport elements.static classReturns the current state of 2-step verification.static classReturns an invoice payment form.static classReturns information about a successful payment.static classReturns information about a phone number by its prefix.static classReturns information about a phone number by its prefix synchronously. getCountries must be called at least once after changing localization to the specified language if properly localized country information is expected.static classReturns message senders voted for the specified option in a non-anonymous polls.static classReturns an IETF language tag of the language preferred in the country, which must be used to fill native fields in Telegram Passport personal details.static classReturns information about features, available to Premium users.static classReturns available options for gifting Telegram Premium to a user.static classReturns available options for creating of Telegram Premium giveaway or manual distribution of Telegram Premium among chat members.static classReturns the sticker to be used as representation of the Telegram Premium subscription.static classReturns information about a limit, increased for Premium users.static classReturns state of Telegram Premium subscription and promotion videos for Premium features.static classReturns examples of premium stickers for demonstration purposes.static classReturns premium stickers from regular sticker sets.static classSaves an inline message to be sent by the given user.static classReturns the list of proxies that are currently set up.static classReturns an HTTPS link, which can be used to add a proxy.static classReturns a globally unique push notification subscription identifier for identification of an account, which has received a push notification.static classReturns privacy settings for message read date.static classReturns information about a received gift.static classReturns gifts received by the given user or chat.static classReturns recent emoji statuses for self status.static classReturns up to 20 recently used inline bots in the order of their last usage.static classReturns recently opened chats.static classReturns t.me URLs recently visited by a newly registered user.static classReturns a list of recently used stickers.static classReturns recommended chat folders for the current user.static classReturns a list of channel chats recommended to the current user.static classReturns a 2-step verification recovery email address that was previously set up.static classReturns information about a file by its remote identifier.static classReturns information about a non-bundled message that is replied by a given message.static classReturns saved animations.static classReturns tags used in Saved Messages or a Saved Messages topic.static classReturns messages in a Saved Messages topic.static classReturns the last message sent in a Saved Messages topic no later than the specified date.static classReturns saved notification sound by its identifier.static classReturns the list of saved notification sounds.static classReturns saved order information.static classReturns the notification settings for chats of a given type.static classReturns recently searched for hashtags or cashtags by their prefix.static classReturns sponsored chats to be shown in the search results.static classReturns information about a secret chat by its identifier.static classReturns a URL for a Telegram Ad platform account that can be used to set up advertisements for the chat paid in the owned Telegram Stars.static classReturns available options for Telegram Stars gifting.static classReturns available options for Telegram Star giveaway creation.static classReturns available options for Telegram Stars purchase.static classReturns detailed Telegram Star revenue statistics.static classReturns the list of Telegram Star subscriptions for the current user.static classReturns the list of Telegram Star transactions for the specified owner.static classReturns a URL for Telegram Star withdrawal.static classLoads an asynchronous or a zoomed in statistical graph.static classReturns emoji corresponding to a sticker.static classReturns outline of a sticker.static classReturns stickers from the installed sticker sets that correspond to any of the given emoji or can be found by sticker-specific keywords.static classReturns information about a sticker set by its identifier.static classReturns name of a sticker set by its identifier.static classReturns storage usage statistics.static classQuickly returns approximate storage usage statistics.static classReturns a story.static classReturns reactions, which can be chosen for a story.static classReturns interactions with a story.static classReturns the list of chats with non-default notification settings for stories.static classReturns forwards of a story as a message to public chats and reposts by public channels.static classReturns detailed statistics about a story.static classReturns suggested name for saving a file in a given directory.static classReturns a suggested name for a new sticker set with a given title.static classReturns a list of basic group and supergroup chats, which can be used as a discussion group for a channel.static classReturns a list of channel chats, which can be used as a personal chat.static classReturns information about a supergroup or a channel by its identifier.static classReturns full information about a supergroup or a channel by its identifier, cached for up to 1 minute.static classReturns information about members or banned users in a supergroup or channel.static classReturns localized name of the Telegram support user; for Telegram support only.static classReturns a user that can be contacted to get support.static classReturns information about the current temporary password.static classReturns all entities (mentions, hashtags, cashtags, bot commands, bank card numbers, URLs, and email addresses) found in the text.static classReturns up to 8 emoji statuses, which must be shown in the emoji status list for chats.static classReturns up to 8 emoji statuses, which must be shown right after the default Premium Badge in the emoji status list for self status.static classConverts a themeParameters object to corresponding JSON-serialized string.static classReturns the list of supported time zones.static classReturns the list of Toncoin transactions of the current user.static classReturns a list of frequently used chats.static classReturns a list of trending sticker sets.static classReturns information about an upgraded gift by its name.static classReturns available upgraded gift emoji statuses for self status.static classReturns a URL for upgraded gift withdrawal in the TON blockchain as an NFT; requires owner privileges for gifts owned by a chat.static classReturns information about a user by their identifier.static classReturns the list of boosts applied to a chat by a given user; requires administrator rights in the chat; for bots only.static classReturns full information about a user by their identifier.static classReturns an HTTPS link, which can be used to get information about the current user.static classReturns the current privacy settings.static classReturns the profile photos of a user.static classReturns support information for the given user; for Telegram support only.static classReturns the list of participant identifiers, on whose behalf a video chat in the chat can be joined.static classReturns invite link to a video chat in a public chat.static classReturns RTMP URL for streaming to the video chat of a chat; requires canManageVideoChats administrator right.static classReturns information about available video chat streams.static classReturns a file with a segment of a video chat stream in a modified OGG format for audio or MPEG-4 format for video.static classReturns advertisements to be shown while a video from a message is watched.static classReturns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked.static classReturns a default placeholder for Web Apps of a bot.static classReturns an HTTPS URL of a Web App to open from the side menu, a keyboardButtonTypeWebApp button, or an inlineQueryResultsButtonTypeWebApp button.static classReturns an instant view version of a web page if available.static classAllows to buy a Telegram Premium subscription for another user with payment in Telegram Stars; for bots only.static classHides the list of contacts that have close birthdays for 24 hours.static classHides a suggested action.static classAdds new contacts or edits existing contacts by their phone numbers; contacts' user identifiers are ignored.static classImports messages exported from another app.static classInvites a user to an active group call; for group calls not bound to a chat only.static classInvites users to an active video chat.static classAdds the current user as a new member to a chat.static classUses an invite link to add the current user to the chat if possible.static classJoins a group call that is not bound to a chat.static classJoins an active video chat.static classLaunches a prepaid giveaway.static classRemoves the current user from chat members.static classLeaves a group call.static classLoads more active stories from a story list.static classLoads more chats from a chat list.static classLoads more topics in a channel direct messages chat administered by the current user.static classLoads more participants of a group call.static classLoads quick reply messages that can be sent by a given quick reply shortcut.static classLoads quick reply shortcuts created by the current user.static classLoads more Saved Messages topics.static classCloses the TDLib instance after a proper logout.static classAdds tasks of a checklist in a message as done or not done.static classInforms TDLib that a bot was opened from the list of similar bots.static classInforms TDLib that the chat is opened by the user.static classInforms TDLib that a chat was opened from the list of similar chats.static classInforms TDLib that the message content has been opened (e.g., the user has opened a photo, video, document, location or venue, or has listened to an audio file or voice note message).static classInforms TDLib that the user opened a sponsored chat.static classInforms TDLib that a story is opened and is being viewed by the user.static classInforms TDLib that a Web App is being opened from the attachment menu, a botMenuButton button, an internalLinkTypeAttachmentMenuBot link, or an inlineKeyboardButtonTypeWebApp button.static classOptimizes storage usage, i.e. deletes some files and returns new storage usage statistics.static classParses Markdown entities in a human-friendly format, ignoring markup errors.static classParses Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, BlockQuote, ExpandableBlockQuote, Code, Pre, PreCode, TextUrl and MentionName entities from a marked-up text.static classPins a message in a chat.static classComputes time needed to receive a response from a Telegram server through a proxy.static classPosts a new story on behalf of a chat; requires canPostStories administrator right for supergroup and channel chats.static classPreliminary uploads a file to the cloud before sending it in a message, which can be useful for uploading of being recorded voice and video notes.static classProcess new chats added to a shareable chat folder by its owner.static classHandles a pending join request in a chat.static classHandles all pending join requests for a given link in a chat.static classHandles a push notification.static classRates recognized speech in a video note or a voice note message.static classMarks all mentions in a chat as read.static classMarks all reactions in a chat or a forum topic as read.static classRemoves all unread reactions in the topic in a channel direct messages chat administered by the current user.static classMarks all mentions in a forum topic as read.static classMarks all reactions in a forum topic as read.static classReads a message on behalf of a business account; for bots only.static classTraverse all chats in a chat list and marks all messages in the chats as read.static classReadds quick reply messages which failed to add.static classReads a part of a file from the TDLib file cache and returns read bytes.static classRecognizes speech in a video note or a voice note message.static classRecovers the 2-step verification password with a password recovery code sent to an email address that was previously set up.static classRecovers the 2-step verification password using a recovery code sent to an email address that was previously set up.static classRefunds a previously done payment in Telegram Stars; for bots only.static classRegisters the currently used device for receiving push notifications.static classFinishes user registration.static classRemoves all files from the file download list.static classRemoves the connected business bot from a specific chat by adding the chat to businessRecipients.excludedChatIds.static classRemoves a chat action bar without any other action.static classRemoves users from the contact list.static classRemoves a sticker from the list of favorite stickers.static classRemoves a file from the file download list.static classRemoves background from the list of installed backgrounds.static classRemoves a reaction from a message.static classRemoves the verification status of a user or a chat by an owned bot.static classRemoves an active notification from notification list.static classRemoves a group of active notifications.static classRemoves all pending paid reactions on a message.static classRemoves a proxy server.static classRemoves a hashtag from the list of recently used hashtags.static classRemoves a chat from the list of recently found chats.static classRemoves a sticker from the list of recently used stickers.static classRemoves an animation from the list of saved animations.static classRemoves a notification sound from the list of saved notification sounds.static classRemoves a hashtag or a cashtag from the list of recently searched for hashtags or cashtags.static classRemoves a sticker from the set to which it belongs.static classRemoves a chat from the list of frequently used chats.static classChanges order of active usernames of the current user.static classChanges order of active usernames of a bot.static classChanges order of media previews in the list of media previews of a bot.static classChanges the order of chat folders.static classChanges the order of installed sticker sets.static classChanges the order of quick reply shortcuts.static classChanges order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel.static classReplaces current primary invite link for a chat with a new primary invite link.static classReplaces existing sticker in a set.static classReplaces the current RTMP URL for streaming to the video chat of a chat; requires owner privileges in the chat.static classReports that authentication code wasn't delivered via SMS; for official mobile applications only.static classReports a chat to the Telegram moderators.static classReports a chat photo to the Telegram moderators.static classReports a sponsored message to Telegram moderators.static classReports reactions set on a message to the Telegram moderators.static classReports that authentication code wasn't delivered via SMS to the specified phone number; for official mobile applications only.static classReports a sponsored chat to Telegram moderators.static classReports a story to the Telegram moderators.static classReports a false deletion of a message by aggressive anti-spam checks; requires administrator rights in the supergroup.static classReports messages in a supergroup as spam; requires administrator rights in the supergroup.static classReports a video message advertisement to Telegram moderators.static classRequests to send a 2-step verification password recovery code to an email address that was previously set up.static classRequests to send a 2-step verification password recovery code to an email address that was previously set up.static classRequests QR code authentication by scanning a QR code on another logged in device.static classResends an authentication code to the user.static classResends the code to verify an email address to be added to a user's Telegram Passport.static classResends the login email address verification code.static classResends messages which failed to send.static classResends the authentication code sent to a phone number.static classResends the 2-step verification recovery email address verification code.static classResets all chat and scope notification settings to their default values.static classResets the login email address.static classResets list of installed backgrounds to its default value.static classResets all network data usage statistics to zero.static classRemoves 2-step verification password without previous password and access to recovery email address.static classReuses an active Telegram Star subscription to a channel chat and joins the chat again.static classRevokes invite link for a chat.static classRevokes invite link for a group call.static classSaves application log event on the server.static classSaves an inline message to be sent by the given user; for bots only.static classSearches affiliate programs that can be connected to the given affiliate.static classSearches for a background by its name.static classSearches for call and group call messages.static classSearches a chat with an affiliate program.static classSearches for a specified query in the first name, last name and usernames of the members of a specified chat.static classSearches for messages with given words in the chat.static classReturns information about the recent locations of chat members that were sent to the chat.static classSearches for the specified query in the title and username of already known chats.static classSearches for the specified query in the title and username of already known chats via request to the server.static classSearches for the specified query in the first names, last names and usernames of the known user contacts.static classSearches for emojis by keywords.static classSearches for files in the file download list or recently downloaded files from the list.static classReturns upgraded gifts that can be bought from other owners using sendResoldGift.static classSearches for recently used hashtags by their prefix.static classSearches for installed sticker sets by looking for specified query in their title and name.static classSearches for messages in all chats except secret chats.static classSearches for outgoing messages with content of the type messageDocument in all chats except secret chats.static classSearches a public chat by its username.static classSearches public chats by looking for specified query in their username and title.static classSearches for public channel posts containing the given hashtag or cashtag.static classSearches for public stories by the given address location.static classSearches for public stories containing the given hashtag or cashtag.static classSearches for public stories from the given venue.static classSearches for a given quote in a text.static classSearches for the specified query in the title and username of up to 50 recently found chats.static classSearches for messages tagged by the given reaction and with the given words in the Saved Messages chat; for Telegram Premium users only.static classSearches for messages in secret chats.static classSearches for stickers from public sticker sets that correspond to any of the given emoji.static classSearches for a sticker set by its name.static classSearches for sticker sets by looking for specified query in their title and name.static classSearches specified query by word prefixes in the provided strings.static classSearches a user by their phone number.static classSearches a user by a token from the user's link.static classReturns information about a Web App by its short name.static classSells a gift for Telegram Stars; requires owner privileges for gifts owned by a chat.static classSends Firebase Authentication SMS to the phone number of the user.static classInvites a bot to a chat (if it is not yet a member) and sends it the /start command; requires canInviteUsers member right.static classSends a message on behalf of a business account; for bots only.static classSends 2-10 messages grouped together into an album on behalf of a business account; for bots only.static classSends debug information for a call to Telegram servers.static classSends log file for a call to Telegram servers.static classSends a call rating.static classSends call signaling data.static classSends a notification about user activity in a chat.static classSends a custom request; for bots only.static classSends a code to verify an email address to be added to a user's Telegram Passport.static classSends a gift to another user or channel chat.static classSends the result of an inline query as a message.static classSends a message.static classSends 2-10 messages grouped together into an album.static classSends a Telegram Passport authorization form, effectively sharing data with the service.static classSends a filled-out payment form to the bot for final verification.static classSends a code to the specified phone number.static classSends Firebase Authentication SMS to the specified phone number.static classSends messages from a quick reply shortcut.static classSends an upgraded gift that is available for resale to another user or channel chat; gifts already owned by the current user must be transferred using transferGift and can't be passed to the method.static classSends a custom request from a Web App.static classSends data received from a keyboardButtonTypeWebApp Web App to a bot.static classChanges accent color and background custom emoji for the current user; for Telegram Premium users only.static classChanges the period of inactivity after which the account of the current user will automatically be deleted.static classSucceeds after a specified amount of time has passed.static classApplication or reCAPTCHA verification has been completed.static classChanges settings for automatic moving of chats to and from the Archive chat lists.static classSets the email address of the user and sends an authentication code to the email address.static classSets the phone number of the user and sends an authentication code to the user.static classInforms server about an in-store purchase of Telegram Premium before authorization.static classSets auto-download settings.static classSets autosave settings for the given scope.static classChanges the bio of the current user.static classChanges the birthdate of the current user.static classSets the text shown in the chat with a bot if the chat is empty.static classSets the text shown on a bot's profile page and sent together with the link when users share the bot.static classSets the name of a bot.static classChanges a profile photo for a bot.static classInforms the server about the number of pending bot updates if they haven't been processed for a long time; for bots only.static classChanges the bio of a business account; for bots only.static classChanges settings for gift receiving of a business account; for bots only.static classChanges the first and last name of a business account; for bots only.static classChanges a profile photo of a business account; for bots only.static classChanges the editable username of a business account; for bots only.static classChanges the business away message settings of the current user.static classAdds or changes business bot that is connected to the current user account.static classChanges the business greeting message settings of the current user.static classChanges the business location of the current user.static classPins or unpins a message sent on behalf of a business account; for bots only.static classChanges the business opening hours of the current user.static classChanges the business start page of the current user.static classChanges accent color and background custom emoji of a channel chat.static classChanges story list in which stories from the chat are shown.static classChanges affiliate program for a bot.static classChanges reactions, available in a chat.static classSets the background in a specific chat.static classChanges application-specific data associated with a chat.static classChanges information about a chat.static classChanges direct messages group settings for a channel chat; requires owner privileges in the chat.static classChanges the discussion group of a channel chat; requires canChangeInfo administrator right in the channel if it is specified.static classChanges the draft message in a chat.static classChanges the emoji status of a chat.static classChanges the location of a chat.static classChanges the status of a chat member; requires canInviteUsers member right to add a chat member, canPromoteMembers administrator right to change administrator rights of the member, and canRestrictMembers administrator right to change restrictions of a user.static classChanges the message auto-delete or self-destruct (for secret chats) time in a chat.static classSelects a message sender to send messages in a chat.static classChanges the notification settings of a chat.static classChanges the amount of Telegram Stars that must be paid to send a message to a supergroup chat; requires canRestrictMembers administrator right and supergroupFullInfo.canEnablePaidMessages.static classChanges the chat members permissions.static classChanges the photo of a chat.static classChanges the list of pinned stories on a chat page; requires canEditStories administrator right in the chat.static classChanges accent color and background custom emoji for profile of a supergroup or channel chat.static classChanges the slow mode delay of a chat.static classChanges the chat theme.static classChanges the chat title.static classChanges the list of close friends of the current user.static classSets the list of commands supported by the bot for the given user scope and language; for bots only.static classSets a custom emoji sticker set thumbnail.static classAdds or changes a custom local language pack to the current localization target.static classAdds, edits or deletes a string in a custom local language pack.static classChanges the database encryption key.static classSets default background for chats; adds the background to the list of installed backgrounds.static classSets default administrator rights for adding the bot to channel chats; for bots only.static classSets default administrator rights for adding the bot to basic group and supergroup chats; for bots only.static classChanges the default message auto-delete time for new chats.static classChanges type of default reaction for the current user.static classChanges the draft message in the topic in a channel direct messages chat administered by the current user.static classChanges the marked as unread state of the topic in a channel direct messages chat administered by the current user.static classChanges the emoji status of the current user; for Telegram Premium users only.static classInforms TDLib on a file generation progress.static classChanges the notification settings of a forum topic.static classUpdates the game score of the specified user in the game; for bots only.static classChanges resale price of a unique gift owned by the current user.static classChanges settings for gift receiving for the current user.static classInforms TDLib that speaking state of a participant of an active group call has changed.static classChanges volume level of a participant of an active group call.static classChanges the period of inactivity after which sessions will automatically be terminated.static classUpdates the game score of the specified user in a game; for bots only.static classChanges the login email address of the user.static classSets new log stream for internal logging of TDLib.static classSets the verbosity level for a specified TDLib internal log tag.static classSets the verbosity level of the internal logging of TDLib.static classSets menu button for the given user or for all users; for bots only.static classChanges the fact-check of a message.static classSets reactions on a message; for bots only.static classChanges the block list of a message sender.static classChanges the verification status of a user or a chat by an owned bot.static classChanges the first and last name of the current user.static classSets the current network type.static classChanges privacy settings for new chat creation; can be used only if getOption("can_set_new_chat_privacy_settings").static classSets the value of an option.static classChanges type of paid message reaction of the current user on a message.static classAdds an element to the user's Telegram Passport.static classInforms the user that some of the elements in their Telegram Passport contain errors; for bots only.static classChanges the 2-step verification password for the current user.static classChanges the personal chat of the current user.static classChanges the order of pinned chats.static classChanges the order of pinned forum topics; requires canManageTopics administrator right in the supergroup.static classChanges the list of pinned gifts on the current user's or the channel's profile page; requires canPostMessages administrator right in the channel chat.static classChanges the order of pinned Saved Messages topics.static classChanges the user answer to a poll.static classChanges accent color and background custom emoji for profile of the current user; for Telegram Premium users only.static classChanges a profile photo for the current user.static classChanges name of a quick reply shortcut.static classChanges notification settings for reactions.static classChanges privacy settings for message read date.static classChanges the 2-step verification recovery email address of the user.static classChanges label of a Saved Messages tag; for Telegram Premium users only.static classChanges notification settings for chats of a given type.static classChanges the list of emojis corresponding to a sticker.static classChanges the list of keywords of a sticker.static classChanges the mask position of a mask sticker.static classChanges the position of a sticker in the set to which it belongs.static classSets a sticker set thumbnail.static classSets a sticker set title.static classChanges privacy settings of a story.static classChanges chosen reaction on a story that has already been sent.static classChanges the custom emoji sticker set of a supergroup; requires canChangeInfo administrator right.static classChanges the sticker set of a supergroup; requires canChangeInfo administrator right.static classChanges the number of times the supergroup must be boosted by a user to ignore slow mode and chat permission restrictions; requires canRestrictMembers administrator right.static classChanges the editable username of a supergroup or channel, requires owner privileges in the supergroup or channel.static classSets the parameters for TDLib initialization.static classChanges the emoji status of a user; for bots only.static classChanges the editable username of the current user.static classChanges a personal profile photo of a contact user.static classChanges user privacy settings.static classSets support information for the given user; for Telegram support only.static classChanges default participant identifier, on whose behalf a video chat in the chat will be joined.static classSets title of a video chat; requires groupCall.canBeManaged right.static classShares a chat after pressing a keyboardButtonTypeRequestChat button with the bot.static classShares the phone number of the current user with a mutual contact.static classShares users after pressing a keyboardButtonTypeRequestUsers button with the bot.static classStarts recording of an active group call; for video chats only.static classStarts screen sharing in a joined group call.static classStarts a scheduled video chat.static classStops a poll sent on behalf of a business account; for bots only.static classStops a poll.static classSuggests a profile photo to another regular user with common messages and allowing non-paid messages.static classFetches the latest versions of all strings from a language pack in the current localization target from the server.static classTerminates all other sessions of the current user.static classTerminates a session of the current user.static classReturns the received bytes; for testing only.static classDoes nothing; for testing only.static classReturns the received string; for testing only.static classReturns the received vector of numbers; for testing only.static classReturns the received vector of objects containing a number; for testing only.static classReturns the received vector of strings; for testing only.static classReturns the received vector of objects containing a string; for testing only.static classForces an updates.getDifference call to the Telegram servers; for testing only.static classSends a simple network request to the Telegram servers; for testing only.static classSends a simple network request to the Telegram servers via proxy; for testing only.static classReturns the specified error and ensures that the Error object is used; for testing only.static classReturns the squared received number; for testing only.static classDoes nothing and ensures that the Update object is used; for testing only.static classChanges pause state of all files in the file download list.static classToggles whether the bot can manage emoji status of the current user.static classAdds or removes a bot to attachment and side menu.static classChanges active state for a username of a bot.static classPauses or resumes the connected business bot in a specific chat.static classChanges the value of the default disableNotification parameter, used when a message is sent to a chat.static classToggles whether chat folder tags are enabled.static classToggles whether notifications for new gifts received by a channel chat are sent to the current user; requires canPostMessages administrator right in the chat.static classChanges the ability of users to save, forward, or copy chat content.static classChanges the marked as unread state of a chat.static classChanges the pinned state of a chat.static classChanges the translatable state of a chat.static classChanges the viewAsTopics setting of a forum chat or Saved Messages.static classAllows to send unpaid messages to the given topic of the channel direct messages chat administered by the current user.static classChanges pause state of a file in the file download list.static classToggles whether a topic is closed in a forum supergroup chat; requires canManageTopics administrator right in the supergroup unless the user is creator of the topic.static classChanges the pinned state of a forum topic; requires canManageTopics administrator right in the supergroup.static classToggles whether a General topic is hidden in a forum supergroup chat; requires canManageTopics administrator right in the supergroup.static classToggles whether a gift is shown on the current user's or the channel's profile page; requires canPostMessages administrator right in the channel chat.static classToggles whether current user's video is enabled.static classToggles whether current user's video is paused.static classToggles whether a group call participant hand is rased; for video chats only.static classToggles whether a participant of an active group call is muted, unmuted, or allowed to unmute themselves.static classPauses or unpauses screen sharing in a joined group call.static classToggles whether the current user has sponsored messages enabled.static classChanges the pinned state of a Saved Messages topic.static classToggles whether a session can accept incoming calls.static classToggles whether a session can accept incoming secret chats.static classToggles whether a story is accessible after expiration.static classToggles whether sponsored messages are shown in the channel chat; requires owner privileges in the channel.static classToggles whether aggressive anti-spam checks are enabled in the supergroup.static classToggles whether messages are automatically translated in the channel chat; requires canChangeInfo administrator right in the channel.static classToggles whether non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers.static classToggles whether the message history of a supergroup is available to new members; requires canChangeInfo member right.static classUpgrades supergroup to a broadcast group; requires owner privileges in the supergroup.static classToggles whether the supergroup is a forum; requires owner privileges in the supergroup.static classToggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires canRestrictMembers administrator right.static classToggles whether joining is mandatory to send messages to a discussion supergroup; requires canRestrictMembers administrator right.static classToggles whether sender signature or link to the account is added to sent messages in a channel; requires canChangeInfo member right.static classChanges active state for a username of a supergroup or channel, requires owner privileges in the supergroup or channel.static classChanges active state for a username of the current user.static classToggles whether the current user will receive a notification when the video chat starts; for scheduled video chats only.static classToggles whether new participants of a video chat can be unmuted only by administrators of the video chat.static classTransfer Telegram Stars from the business account to the business bot; for bots only.static classChanges the owner of a chat; requires owner privileges in the chat.static classSends an upgraded gift to another user or a channel chat.static classExtracts text or caption of the given message and translates it to the given language.static classTranslates a text to the given language.static classRemoves all pinned messages from a chat; requires canPinMessages member right if the chat is a basic group or supergroup, or canEditMessages administrator right if the chat is a channel.static classRemoves all pinned messages from the topic in a channel direct messages chat administered by the current user.static classRemoves all pinned messages from a forum topic; requires canPinMessages member right in the supergroup.static classRemoves a pinned message from a chat; requires canPinMessages member right if the chat is a basic group or supergroup, or canEditMessages administrator right if the chat is a channel.static classCreates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires owner privileges.static classUpgrades a regular gift.static classUploads a file with a sticker; returns the uploaded file.static classValidates the order information provided by a user and returns the available shipping options for a flexible invoice.static classInforms TDLib that messages are being viewed by the user.static classInforms TDLib that the user viewed detailed information about a Premium feature on the Premium features screen.static classInforms TDLib that the user fully viewed a sponsored chat.static classInforms the server that some trending sticker sets have been viewed by the user.static classInforms TDLib that the user viewed a video message advertisement.static classWrites a part of a generated file.Methods in org.drinkless.tdlib with parameters of type TdApi.FunctionModifier and TypeMethodDescriptionstatic <T extends TdApi.Object>
TClient.execute(TdApi.Function<T> query) Synchronously executes a TDLib request.voidClient.send(TdApi.Function query, Client.ResultHandler resultHandler) Sends a request to the TDLib with an empty ExceptionHandler.voidClient.send(TdApi.Function query, Client.ResultHandler resultHandler, Client.ExceptionHandler exceptionHandler) Sends a request to the TDLib.