Uses of Class
dev.voroby.springframework.telegram.client.templates.response.Response
Packages that use Response
Package
Description
-
Uses of Response in dev.voroby.springframework.telegram.client
Methods in dev.voroby.springframework.telegram.client that return ResponseModifier and TypeMethodDescription<T extends TdApi.Object>
Response<T>TelegramClient.send(TdApi.Function<T> query) Sends a request to the TDLib.Methods in dev.voroby.springframework.telegram.client that return types with arguments of type ResponseModifier and TypeMethodDescription<T extends TdApi.Object>
CompletableFuture<Response<T>>TelegramClient.sendAsync(TdApi.Function<T> query) Sends a request to the TDLib asynchronously. -
Uses of Response in dev.voroby.springframework.telegram.client.templates
Methods in dev.voroby.springframework.telegram.client.templates that return types with arguments of type ResponseModifier and TypeMethodDescriptionChatTemplate.deleteChat(long chatId) Deletes a chat along with all messages in the corresponding chat for all chat members.ChatTemplate.getBasicGroup(long basicGroupId) Returns information about a basic group by its identifier.ChatTemplate.getBasicGroupFullInfo(long basicGroupId) Returns full information about a basic group by its identifier.ChatTemplate.getChat(long chatId) Returns information about a chat by its identifier; this is an offline request if the current user is not a bot.UserTemplate.getMe()Returns the current user.UserTemplate.getProfilePhoto(long userId) Returns profile photo of the user.UserTemplate.getPublicPhoto(long userId) Returns user profile photo visible if the main photo is hidden by privacy settings.ChatTemplate.getSupergroup(long supergroupId) Returns information about a supergroup or a channel by its identifier.ChatTemplate.getSupergroupFullInfo(long supergroupId) Returns full information about a supergroup or a channel by its identifier, cached for up to 1 minute.UserTemplate.getUser(long userId) Returns information about a user by their identifier.UserTemplate.getUserFullInfo(long userId) Returns full information about a user by their identifier.UserTemplate.getUserLink()Returns an HTTPS link, which can be used to get information about the current user.UserTemplate.getUserProfilePhotos(long userId, int offset, int limit) Returns the profile photos of a user.ChatTemplate.joinChat(long chatId) Adds the current user as a new member to a chat.ChatTemplate.leaveChat(long chatId) Removes the current user from chat members.ChatTemplate.searchChats(String query, int limit) Searches for the specified query in the title and username of already known chats; this is an offline request.ChatTemplate.searchPublicChat(String username) Searches a public chat by its username.ChatTemplate.searchPublicChats(String query) Searches public chats by looking for specified query in their username and title.UserTemplate.searchUserByPhoneNumber(String phoneNumber) Searches a user by their phone number.UserTemplate.searchUserByUsername(String username) Searches a user by username. -
Uses of Response in dev.voroby.springframework.telegram.client.templates.response
Methods in dev.voroby.springframework.telegram.client.templates.response that return ResponseModifier and TypeMethodDescription<R extends TdApi.Object>
Response<R>Map, or transform, theTdApi.Objectif it exists insideResponseotherwise returnResponsewith existingTdApi.Error.Response.onError(Consumer<TdApi.Error> action) Performs an action in case of an error and returns currentResponse<T extends TdApi.Object>.Performs an action upon a successful function call to TDLib and returns currentResponse<T extends TdApi.Object>.