MCPcopy Create free account

hub / github.com/Eng-Fouad/JTelegramBot / functions

Functions1,343 in github.com/Eng-Fouad/JTelegramBot

↓ 34 callersMethodsendHttpPost
Send HTTP POST request using multipart/form-data content type. @param requestUrl url to send the request to @param formFields pairs of Key/Value HTTP
JTelegramBot Core/src/io/fouad/jtb/core/utils/HttpClient.java:214
↓ 30 callersMethodtoJavaObject
(String json, Class<T> clazz)
JTelegramBot Core/src/io/fouad/jtb/core/utils/JsonUtils.java:40
↓ 27 callersMethodgetHttpStatusCode
()
JTelegramBot Core/src/io/fouad/jtb/core/utils/HttpClient.java:168
↓ 27 callersMethodgetResponseBody
()
JTelegramBot Core/src/io/fouad/jtb/core/utils/HttpClient.java:169
↓ 27 callersMethodgetResult
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/TelegramResult.java:71
↓ 27 callersMethodisOk
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/TelegramResult.java:69
↓ 22 callersMethodgetId
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/Chat.java:86
↓ 21 callersMethodgetUsername
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/Chat.java:89
↓ 19 callersMethodbyId
(long id)
JTelegramBot Core/src/io/fouad/jtb/core/beans/ChatIdentifier.java:41
↓ 19 callersMethodbyUsername
(String username)
JTelegramBot Core/src/io/fouad/jtb/core/beans/ChatIdentifier.java:46
↓ 12 callersMethodtoJson
(Object javaObject)
JTelegramBot Core/src/io/fouad/jtb/core/utils/JsonUtils.java:54
↓ 6 callersMethodbyFile
(File file)
JTelegramBot Core/src/io/fouad/jtb/core/beans/MediaIdentifier.java:54
↓ 6 callersMethodbyId
(String id)
JTelegramBot Core/src/io/fouad/jtb/core/beans/MediaIdentifier.java:49
↓ 6 callersMethodbyInputStream
(InputStream inputStream, String fileName)
JTelegramBot Core/src/io/fouad/jtb/core/beans/MediaIdentifier.java:59
↓ 6 callersMethodgetFileName
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/Document.java:78
↓ 6 callersMethodgetMediaId
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/MediaIdentifier.java:64
↓ 6 callersMethodgetMediaInputStream
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/MediaIdentifier.java:66
↓ 5 callersMethodgetName
()
JTelegramBot Core/src/io/fouad/jtb/core/utils/HttpClient.java:66
↓ 3 callersMethodequals
(Object o)
JTelegramBot Core/src/io/fouad/jtb/core/utils/HttpClient.java:123
↓ 3 callersMethodgetDescription
()
JTelegramBot Core/src/io/fouad/jtb/core/exceptions/NegativeResponseException.java:77
↓ 3 callersMethodgetErrorCode
()
JTelegramBot Core/src/io/fouad/jtb/core/exceptions/NegativeResponseException.java:76
↓ 3 callersMethodgetValue
()
JTelegramBot Core/src/io/fouad/jtb/core/utils/HttpClient.java:67
↓ 3 callersMethodhashCode
()
JTelegramBot Core/src/io/fouad/jtb/core/utils/HttpClient.java:136
↓ 2 callersMethodbuild
(List<List<InlineKeyboardButton>> twoDimensionKeyboardButtons)
JTelegramBot Builders/src/io/fouad/jtb/core/builders/InlineKeyboardButtonBuilder.java:204
↓ 2 callersMethodbuild
(List<List<KeyboardButton>> twoDimensionKeyboardButtons)
JTelegramBot Builders/src/io/fouad/jtb/core/builders/KeyboardButtonBuilder.java:155
↓ 2 callersMethodbuild
()
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotConfig.java:100
↓ 2 callersMethodbuildWrapper
(String response)
JTelegramBot Core/src/io/fouad/jtb/core/exceptions/NegativeResponseException.java:112
↓ 2 callersMethodequals
(Object o)
JTelegramBot Core/src/io/fouad/jtb/core/beans/Chat.java:93
↓ 2 callersMethodgetInputStream
()
JTelegramBot Core/src/io/fouad/jtb/core/utils/HttpClient.java:121
↓ 2 callersMethodgetPortNumber
()
JTelegramBot Webhook/src/io/fouad/jtb/webhook/enums/TelegramPort.java:44
↓ 2 callersMethodgetUpdateId
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/Update.java:89
↓ 2 callersMethodonUpdateReceived
This method is invoked by a worker thread upon receiving a new update. @param update the new update object to be handled
JTelegramBot Core/src/io/fouad/jtb/core/JTelegramBot.java:194
↓ 2 callersMethodreadResponse
Read HTTP responseBody. @param connection the HTTP connection which we read the responseBody from @return the responseBody @throws IOException if a
JTelegramBot Core/src/io/fouad/jtb/core/utils/HttpClient.java:331
↓ 2 callersMethodsetRequestContact
(Boolean requestContact)
JTelegramBot Core/src/io/fouad/jtb/core/beans/KeyboardButton.java:74
↓ 2 callersMethodsetRequestLocation
(Boolean requestLocation)
JTelegramBot Core/src/io/fouad/jtb/core/beans/KeyboardButton.java:77
↓ 2 callersMethodstart
Starts receiving requests from Telegram server (WEBHOOK mode). This is a blocking method.
JTelegramBot Webhook/src/io/fouad/jtb/webhook/WebhookServer.java:162
↓ 2 callersMethodstartPolling
Starts the bot in POLLING mode, with passing custom configurations. @param telegramBotConfig custom configurations related to the bot
JTelegramBot Core/src/io/fouad/jtb/core/JTelegramBot.java:146
↓ 2 callersMethodtoString
()
JTelegramBot Core/src/io/fouad/jtb/core/utils/HttpClient.java:144
↓ 1 callersMethodanswerCallbackQuery
Sends answers to callback queries sent from inline keyboards. The answer will be displayed to the user as a notification at the top of the chat screen
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:466
↓ 1 callersMethodanswerInlineQuery
Sends answers to an inline query. No more than 50 results per query are allowed. @param inlineQueryId unique identifier for the answered query @param
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:558
↓ 1 callersMethodbuild
Builds the inline keyboard. @return the inline keyboard
JTelegramBot Builders/src/io/fouad/jtb/core/builders/InlineKeyboardButtonBuilder.java:74
↓ 1 callersMethodbuild
Builds the keyboard. @return the keyboard
JTelegramBot Builders/src/io/fouad/jtb/core/builders/KeyboardButtonBuilder.java:74
↓ 1 callersMethoddownloadFile
Download a file from the internet. @param fileUrl the url where we download the file from @param saveToOutputStream the output stream where the file
JTelegramBot Core/src/io/fouad/jtb/core/utils/HttpClient.java:372
↓ 1 callersMethodeditMessageCaption
Edits captions of messages sent by the bot or via the bot (for inline bots). @param targetChatIdentifier unique identifier for the target chat or use
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:504
↓ 1 callersMethodeditMessageReplyMarkup
Edits only the reply markup of messages sent by the bot or via the bot (for inline bots). @param targetChatIdentifier unique identifier for the targe
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:521
↓ 1 callersMethodeditMessageText
Edits text messages sent by the bot or via the bot (for inline bots). @param targetChatIdentifier unique identifier for the target chat or username o
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:485
↓ 1 callersMethodforwardMessage
Forwards messages of any kind. @param targetChatIdentifier unique identifier for the target chat or username of the target channel @param sourceChatI
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:106
↓ 1 callersMethodgetApiToken
@return token used to authenticate with bot API
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:56
↓ 1 callersMethodgetCallbackQuery
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/Update.java:94
↓ 1 callersMethodgetChat
Use this method to get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:411
↓ 1 callersMethodgetChatAdministrators
Use this method to get a list of administrators in a chat. @param targetChatIdentifier unique identifier for the target group/supergroup or username
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:425
↓ 1 callersMethodgetChatMember
Use this method to get information about a member of a chat. @param targetChatIdentifier unique identifier for the target group/supergroup or usernam
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:450
↓ 1 callersMethodgetChatMembersCount
Use this method to get the number of members in a chat. @param targetChatIdentifier unique identifier for the target group/supergroup or username of
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:437
↓ 1 callersMethodgetChosenInlineResult
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/Update.java:93
↓ 1 callersMethodgetDescription
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/TelegramResult.java:72
↓ 1 callersMethodgetEditedMessage
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/Update.java:91
↓ 1 callersMethodgetFile
Gets basic info about a file and prepare it for downloading. For the moment, bots can download files of up to 20MB in size. Note: This function may n
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:354
↓ 1 callersMethodgetFileName
()
JTelegramBot Core/src/io/fouad/jtb/core/utils/HttpClient.java:120
↓ 1 callersMethodgetFilePath
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/PhotoSize.java:80
↓ 1 callersMethodgetInlineQuery
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/Update.java:92
↓ 1 callersMethodgetMe
A simple method for testing the bot's authentication token. @return basic information about the bot in form of a <code>User</code> object @throws IO
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:66
↓ 1 callersMethodgetMessage
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/Update.java:90
↓ 1 callersMethodgetNewUpdates
This method is used to receive incoming updates using long polling. @param offset identifier of the first update to be returned. Must be greater by o
JTelegramBot Core/src/io/fouad/jtb/core/JTelegramBot.java:280
↓ 1 callersMethodgetPollingTimeoutInSeconds
()
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotConfig.java:48
↓ 1 callersMethodgetUserProfilePhotos
Gets a list of profile pictures for a user. @param userId unique identifier of the target user @param offset sequential number of the first photo to
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:337
↓ 1 callersMethodgetWorkerThreads
()
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotConfig.java:45
↓ 1 callersMethodkickChatMember
Kicks a user from a group or a supergroup. In the case of supergroups, the user will not be able to return to the group on their own using invite link
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:372
↓ 1 callersMethodleaveChat
Use this method for your bot to leave a group, supergroup or channel. @param targetChatIdentifier unique identifier for the target group/supergroup o
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:384
↓ 1 callersMethodnewButton
Adds a new button in the row. @param text text of the new button
JTelegramBot Builders/src/io/fouad/jtb/core/builders/InlineKeyboardButtonBuilder.java:62
↓ 1 callersMethodnewRow
Starts a new row of the inline keyboard.
JTelegramBot Builders/src/io/fouad/jtb/core/builders/InlineKeyboardButtonBuilder.java:40
↓ 1 callersMethodonCallbackQueryReceived
Invoked on receiving new incoming callback query. @param telegramBotApi reference to the Telegram Bot API @param id The update‘s unique identifier. U
JTelegramBot Core/src/io/fouad/jtb/core/UpdateHandler.java:85
↓ 1 callersMethodonChosenInlineResultReceived
Invoked on receiving the result of an inline query that was chosen by a user and sent to their chat partner. @param telegramBotApi reference to the T
JTelegramBot Core/src/io/fouad/jtb/core/UpdateHandler.java:75
↓ 1 callersMethodonEditedMessageReceived
Invoked on receiving new version of a message that is known to the bot and was edited. @param telegramBotApi reference to the Telegram Bot API @param
JTelegramBot Core/src/io/fouad/jtb/core/UpdateHandler.java:55
↓ 1 callersMethodonGetUpdatesFailure
Invoked in case of an exception occurs when trying to get the new update. @param e the exception
JTelegramBot Core/src/io/fouad/jtb/core/UpdateHandler.java:92
↓ 1 callersMethodonInlineQueryReceived
Invoked on receiving new incoming inline query. @param telegramBotApi reference to the Telegram Bot API @param id The update‘s unique identifier. Upd
JTelegramBot Core/src/io/fouad/jtb/core/UpdateHandler.java:65
↓ 1 callersMethodonMessageReceived
Invoked on receiving new incoming message of any kind — text, photo, sticker, etc. @param telegramBotApi reference to the Telegram Bot API @param id
JTelegramBot Core/src/io/fouad/jtb/core/UpdateHandler.java:45
↓ 1 callersMethodsendAudio
Sends audio files that Telegram clients will display them in the music player. Your audio must be in the .mp3 format. Bots can currently send audio fi
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:151
↓ 1 callersMethodsendChatAction
Use this method when you need to tell the user that something is happening on the bot's side. The status is set for 5 seconds or less (when a message
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:322
↓ 1 callersMethodsendDocument
Sends general files. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future. @param targetChatIden
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:173
↓ 1 callersMethodsendLocation
Sends point on the map. @param targetChatIdentifier unique identifier for the target chat or username of the target channel @param latitude latitude
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:261
↓ 1 callersMethodsendMessage
Sends text messages. @param targetChatIdentifier unique identifier for the target chat or username of the target channel @param text text of the mess
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:87
↓ 1 callersMethodsendPhoto
Sends photos. @param targetChatIdentifier unique identifier for the target chat or username of the target channel @param mediaIdentifier photo to be
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:126
↓ 1 callersMethodsendSticker
Sends .webp stickers. @param targetChatIdentifier unique identifier for the target chat or username of the target channel @param mediaIdentifier stic
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:193
↓ 1 callersMethodsendVideo
Sends video files. Telegram clients support mp4 videos (other formats may be sent as Document). Bots can currently send video files of up to 50 MB in
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:218
↓ 1 callersMethodsendVoice
Sends audio files that Telegram clients will display them as playable voice messages. For this to work, your audio must be in an .ogg file encoded wit
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:241
↓ 1 callersMethodsetCallbackData
(String callbackData)
JTelegramBot Core/src/io/fouad/jtb/core/beans/InlineKeyboardButton.java:87
↓ 1 callersMethodsetSwitchInlineQuery
(String switchInlineQuery)
JTelegramBot Core/src/io/fouad/jtb/core/beans/InlineKeyboardButton.java:90
↓ 1 callersMethodsetUrl
(String url)
JTelegramBot Core/src/io/fouad/jtb/core/beans/InlineKeyboardButton.java:84
↓ 1 callersMethodstart
Starts the bot in POLLING mode. This is a blocking method.
JTelegramBot Core/src/io/fouad/jtb/core/JTelegramBot.java:80
↓ 1 callersMethodtoString
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/Chat.java:122
↓ 1 callersMethodunbanChatMember
Unbans a previously kicked user in a supergroup. The user will not return to the group automatically, but will be able to join via link, etc. The bot
JTelegramBot Core/src/io/fouad/jtb/core/TelegramBotApi.java:398
MethodAnsweringCallbackQueryNoId
(TelegramBotApi telegramBotApi)
JTelegramBot Builders/src/io/fouad/jtb/core/builders/ApiBuilder.java:2414
MethodAnsweringCallbackQueryReady
(TelegramBotApi telegramBotApi, String queryId)
JTelegramBot Builders/src/io/fouad/jtb/core/builders/ApiBuilder.java:2439
MethodAnsweringInlineQueryNoIdNoResults
(TelegramBotApi telegramBotApi)
JTelegramBot Builders/src/io/fouad/jtb/core/builders/ApiBuilder.java:2484
MethodAnsweringInlineQueryNoResults
(TelegramBotApi telegramBotApi, String queryId)
JTelegramBot Builders/src/io/fouad/jtb/core/builders/ApiBuilder.java:2507
MethodAnsweringInlineQueryReady
(TelegramBotApi telegramBotApi, String queryId, InlineQueryResult[] results)
JTelegramBot Builders/src/io/fouad/jtb/core/builders/ApiBuilder.java:2537
MethodApiBuilder
()
JTelegramBot Builders/src/io/fouad/jtb/core/builders/ApiBuilder.java:46
MethodApiTopLevel
(TelegramBotApi telegramBotApi)
JTelegramBot Builders/src/io/fouad/jtb/core/builders/ApiBuilder.java:62
MethodAsUserReady
(TelegramBotApi telegramBotApi)
JTelegramBot Builders/src/io/fouad/jtb/core/builders/ApiBuilder.java:516
MethodAudio
()
JTelegramBot Core/src/io/fouad/jtb/core/beans/Audio.java:73
next →1–100 of 1,343, ranked by callers