public interface MessageSender
DefaultAbsSender methods.Optional<org.telegram.telegrambots.api.objects.Message> send(String message, long id)
Optional<org.telegram.telegrambots.api.objects.Message> sendMd(String message, long id)
Optional<org.telegram.telegrambots.api.objects.Message> forceReply(String message, long id)
Boolean answerInlineQuery(org.telegram.telegrambots.api.methods.AnswerInlineQuery answerInlineQuery) throws org.telegram.telegrambots.exceptions.TelegramApiException
Boolean sendChatAction(org.telegram.telegrambots.api.methods.send.SendChatAction sendChatAction) throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.Message forwardMessage(org.telegram.telegrambots.api.methods.ForwardMessage forwardMessage) throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.Message sendLocation(org.telegram.telegrambots.api.methods.send.SendLocation sendLocation) throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.Message sendVenue(org.telegram.telegrambots.api.methods.send.SendVenue sendVenue) throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.Message sendContact(org.telegram.telegrambots.api.methods.send.SendContact sendContact) throws org.telegram.telegrambots.exceptions.TelegramApiException
Boolean kickMember(org.telegram.telegrambots.api.methods.groupadministration.KickChatMember kickChatMember) throws org.telegram.telegrambots.exceptions.TelegramApiException
Boolean unbanMember(org.telegram.telegrambots.api.methods.groupadministration.UnbanChatMember unbanChatMember) throws org.telegram.telegrambots.exceptions.TelegramApiException
Boolean leaveChat(org.telegram.telegrambots.api.methods.groupadministration.LeaveChat leaveChat) throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.Chat getChat(org.telegram.telegrambots.api.methods.groupadministration.GetChat getChat) throws org.telegram.telegrambots.exceptions.TelegramApiException
List<org.telegram.telegrambots.api.objects.ChatMember> getChatAdministrators(org.telegram.telegrambots.api.methods.groupadministration.GetChatAdministrators getChatAdministrators) throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.ChatMember getChatMember(org.telegram.telegrambots.api.methods.groupadministration.GetChatMember getChatMember) throws org.telegram.telegrambots.exceptions.TelegramApiException
Integer getChatMemberCount(org.telegram.telegrambots.api.methods.groupadministration.GetChatMemberCount getChatMemberCount) throws org.telegram.telegrambots.exceptions.TelegramApiException
Boolean setChatPhoto(org.telegram.telegrambots.api.methods.groupadministration.SetChatPhoto setChatPhoto) throws org.telegram.telegrambots.exceptions.TelegramApiException
Boolean deleteChatPhoto(org.telegram.telegrambots.api.methods.groupadministration.DeleteChatPhoto deleteChatPhoto) throws org.telegram.telegrambots.exceptions.TelegramApiException
void deleteChatPhoto(org.telegram.telegrambots.api.methods.groupadministration.DeleteChatPhoto deleteChatPhoto, org.telegram.telegrambots.updateshandlers.SentCallback<Boolean> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
Boolean pinChatMessage(org.telegram.telegrambots.api.methods.pinnedmessages.PinChatMessage pinChatMessage) throws org.telegram.telegrambots.exceptions.TelegramApiException
void pinChatMessage(org.telegram.telegrambots.api.methods.pinnedmessages.PinChatMessage pinChatMessage, org.telegram.telegrambots.updateshandlers.SentCallback<Boolean> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
Boolean unpinChatMessage(org.telegram.telegrambots.api.methods.pinnedmessages.UnpinChatMessage unpinChatMessage) throws org.telegram.telegrambots.exceptions.TelegramApiException
void unpinChatMessage(org.telegram.telegrambots.api.methods.pinnedmessages.UnpinChatMessage unpinChatMessage, org.telegram.telegrambots.updateshandlers.SentCallback<Boolean> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
Boolean promoteChatMember(org.telegram.telegrambots.api.methods.groupadministration.PromoteChatMember promoteChatMember) throws org.telegram.telegrambots.exceptions.TelegramApiException
void promoteChatMember(org.telegram.telegrambots.api.methods.groupadministration.PromoteChatMember promoteChatMember, org.telegram.telegrambots.updateshandlers.SentCallback<Boolean> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
Boolean restrictChatMember(org.telegram.telegrambots.api.methods.groupadministration.RestrictChatMember restrictChatMember) throws org.telegram.telegrambots.exceptions.TelegramApiException
void restrictChatMember(org.telegram.telegrambots.api.methods.groupadministration.RestrictChatMember restrictChatMember, org.telegram.telegrambots.updateshandlers.SentCallback<Boolean> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
Boolean setChatDescription(org.telegram.telegrambots.api.methods.groupadministration.SetChatDescription setChatDescription) throws org.telegram.telegrambots.exceptions.TelegramApiException
void setChatDescription(org.telegram.telegrambots.api.methods.groupadministration.SetChatDescription setChatDescription, org.telegram.telegrambots.updateshandlers.SentCallback<Boolean> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
Boolean setChatTite(org.telegram.telegrambots.api.methods.groupadministration.SetChatTitle setChatTitle) throws org.telegram.telegrambots.exceptions.TelegramApiException
void setChatTite(org.telegram.telegrambots.api.methods.groupadministration.SetChatTitle setChatTitle, org.telegram.telegrambots.updateshandlers.SentCallback<Boolean> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
String exportChatInviteLink(org.telegram.telegrambots.api.methods.groupadministration.ExportChatInviteLink exportChatInviteLink) throws org.telegram.telegrambots.exceptions.TelegramApiException
void exportChatInviteLinkAsync(org.telegram.telegrambots.api.methods.groupadministration.ExportChatInviteLink exportChatInviteLink, org.telegram.telegrambots.updateshandlers.SentCallback<String> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
Boolean deleteMessage(org.telegram.telegrambots.api.methods.updatingmessages.DeleteMessage deleteMessage) throws org.telegram.telegrambots.exceptions.TelegramApiException
void deleteMessageAsync(org.telegram.telegrambots.api.methods.updatingmessages.DeleteMessage deleteMessage, org.telegram.telegrambots.updateshandlers.SentCallback<Boolean> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
Serializable editMessageText(org.telegram.telegrambots.api.methods.updatingmessages.EditMessageText editMessageText) throws org.telegram.telegrambots.exceptions.TelegramApiException
Serializable editMessageCaption(org.telegram.telegrambots.api.methods.updatingmessages.EditMessageCaption editMessageCaption) throws org.telegram.telegrambots.exceptions.TelegramApiException
Serializable editMessageReplyMarkup(org.telegram.telegrambots.api.methods.updatingmessages.EditMessageReplyMarkup editMessageReplyMarkup) throws org.telegram.telegrambots.exceptions.TelegramApiException
Boolean answerCallbackQuery(org.telegram.telegrambots.api.methods.AnswerCallbackQuery answerCallbackQuery) throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.UserProfilePhotos getUserProfilePhotos(org.telegram.telegrambots.api.methods.GetUserProfilePhotos getUserProfilePhotos) throws org.telegram.telegrambots.exceptions.TelegramApiException
File downloadFile(String path) throws org.telegram.telegrambots.exceptions.TelegramApiException
void downloadFileAsync(String path, org.telegram.telegrambots.updateshandlers.DownloadFileCallback<String> callback) throws org.telegram.telegrambots.exceptions.TelegramApiException
File downloadFile(org.telegram.telegrambots.api.objects.File file) throws org.telegram.telegrambots.exceptions.TelegramApiException
void downloadFileAsync(org.telegram.telegrambots.api.objects.File file, org.telegram.telegrambots.updateshandlers.DownloadFileCallback<org.telegram.telegrambots.api.objects.File> callback) throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.File getFile(org.telegram.telegrambots.api.methods.GetFile getFile) throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.User getMe() throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.WebhookInfo getWebhookInfo() throws org.telegram.telegrambots.exceptions.TelegramApiException
Serializable setGameScore(org.telegram.telegrambots.api.methods.games.SetGameScore setGameScore) throws org.telegram.telegrambots.exceptions.TelegramApiException
Serializable getGameHighScores(org.telegram.telegrambots.api.methods.games.GetGameHighScores getGameHighScores) throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.Message sendGame(org.telegram.telegrambots.api.methods.send.SendGame sendGame) throws org.telegram.telegrambots.exceptions.TelegramApiException
Boolean deleteWebhook(org.telegram.telegrambots.api.methods.updates.DeleteWebhook deleteWebhook) throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.Message sendMessage(org.telegram.telegrambots.api.methods.send.SendMessage sendMessage) throws org.telegram.telegrambots.exceptions.TelegramApiException
void sendMessageAsync(org.telegram.telegrambots.api.methods.send.SendMessage sendMessage, org.telegram.telegrambots.updateshandlers.SentCallback<org.telegram.telegrambots.api.objects.Message> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void answerInlineQueryAsync(org.telegram.telegrambots.api.methods.AnswerInlineQuery answerInlineQuery, org.telegram.telegrambots.updateshandlers.SentCallback<Boolean> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void sendChatActionAsync(org.telegram.telegrambots.api.methods.send.SendChatAction sendChatAction, org.telegram.telegrambots.updateshandlers.SentCallback<Boolean> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void forwardMessageAsync(org.telegram.telegrambots.api.methods.ForwardMessage forwardMessage, org.telegram.telegrambots.updateshandlers.SentCallback<org.telegram.telegrambots.api.objects.Message> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void sendLocationAsync(org.telegram.telegrambots.api.methods.send.SendLocation sendLocation, org.telegram.telegrambots.updateshandlers.SentCallback<org.telegram.telegrambots.api.objects.Message> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void sendVenueAsync(org.telegram.telegrambots.api.methods.send.SendVenue sendVenue, org.telegram.telegrambots.updateshandlers.SentCallback<org.telegram.telegrambots.api.objects.Message> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void sendContactAsync(org.telegram.telegrambots.api.methods.send.SendContact sendContact, org.telegram.telegrambots.updateshandlers.SentCallback<org.telegram.telegrambots.api.objects.Message> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void kickMemberAsync(org.telegram.telegrambots.api.methods.groupadministration.KickChatMember kickChatMember, org.telegram.telegrambots.updateshandlers.SentCallback<Boolean> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void unbanMemberAsync(org.telegram.telegrambots.api.methods.groupadministration.UnbanChatMember unbanChatMember, org.telegram.telegrambots.updateshandlers.SentCallback<Boolean> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void leaveChatAsync(org.telegram.telegrambots.api.methods.groupadministration.LeaveChat leaveChat, org.telegram.telegrambots.updateshandlers.SentCallback<Boolean> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void getChatAsync(org.telegram.telegrambots.api.methods.groupadministration.GetChat getChat, org.telegram.telegrambots.updateshandlers.SentCallback<org.telegram.telegrambots.api.objects.Chat> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void getChatAdministratorsAsync(org.telegram.telegrambots.api.methods.groupadministration.GetChatAdministrators getChatAdministrators, org.telegram.telegrambots.updateshandlers.SentCallback<ArrayList<org.telegram.telegrambots.api.objects.ChatMember>> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void getChatMemberAsync(org.telegram.telegrambots.api.methods.groupadministration.GetChatMember getChatMember, org.telegram.telegrambots.updateshandlers.SentCallback<org.telegram.telegrambots.api.objects.ChatMember> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void getChatMemberCountAsync(org.telegram.telegrambots.api.methods.groupadministration.GetChatMemberCount getChatMemberCount, org.telegram.telegrambots.updateshandlers.SentCallback<Integer> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void editMessageTextAsync(org.telegram.telegrambots.api.methods.updatingmessages.EditMessageText editMessageText, org.telegram.telegrambots.updateshandlers.SentCallback<Serializable> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void editMessageCaptionAsync(org.telegram.telegrambots.api.methods.updatingmessages.EditMessageCaption editMessageCaption, org.telegram.telegrambots.updateshandlers.SentCallback<Serializable> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void editMessageReplyMarkup(org.telegram.telegrambots.api.methods.updatingmessages.EditMessageReplyMarkup editMessageReplyMarkup, org.telegram.telegrambots.updateshandlers.SentCallback<Serializable> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void answerCallbackQueryAsync(org.telegram.telegrambots.api.methods.AnswerCallbackQuery answerCallbackQuery, org.telegram.telegrambots.updateshandlers.SentCallback<Boolean> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void getUserProfilePhotosAsync(org.telegram.telegrambots.api.methods.GetUserProfilePhotos getUserProfilePhotos, org.telegram.telegrambots.updateshandlers.SentCallback<org.telegram.telegrambots.api.objects.UserProfilePhotos> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void getFileAsync(org.telegram.telegrambots.api.methods.GetFile getFile, org.telegram.telegrambots.updateshandlers.SentCallback<org.telegram.telegrambots.api.objects.File> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void getMeAsync(org.telegram.telegrambots.updateshandlers.SentCallback<org.telegram.telegrambots.api.objects.User> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void getWebhookInfoAsync(org.telegram.telegrambots.updateshandlers.SentCallback<org.telegram.telegrambots.api.objects.WebhookInfo> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void setGameScoreAsync(org.telegram.telegrambots.api.methods.games.SetGameScore setGameScore, org.telegram.telegrambots.updateshandlers.SentCallback<Serializable> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void getGameHighScoresAsync(org.telegram.telegrambots.api.methods.games.GetGameHighScores getGameHighScores, org.telegram.telegrambots.updateshandlers.SentCallback<ArrayList<org.telegram.telegrambots.api.objects.games.GameHighScore>> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void sendGameAsync(org.telegram.telegrambots.api.methods.send.SendGame sendGame, org.telegram.telegrambots.updateshandlers.SentCallback<org.telegram.telegrambots.api.objects.Message> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
void deleteWebhook(org.telegram.telegrambots.api.methods.updates.DeleteWebhook deleteWebhook, org.telegram.telegrambots.updateshandlers.SentCallback<Boolean> sentCallback) throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.Message sendDocument(org.telegram.telegrambots.api.methods.send.SendDocument sendDocument) throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.Message sendPhoto(org.telegram.telegrambots.api.methods.send.SendPhoto sendPhoto) throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.Message sendVideo(org.telegram.telegrambots.api.methods.send.SendVideo sendVideo) throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.Message sendSticker(org.telegram.telegrambots.api.methods.send.SendSticker sendSticker) throws org.telegram.telegrambots.exceptions.TelegramApiException
org.telegram.telegrambots.api.objects.Message sendAudio(org.telegram.telegrambots.api.methods.send.SendAudio sendAudio) throws org.telegram.telegrambots.exceptions.TelegramApiException
Copyright © 2017. All rights reserved.