@Deprecated public class TelegramClient extends Object implements Closeable
| Constructor and Description |
|---|
TelegramClient()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
answerInlineQuery(String token,
String queryID,
Collection<InlineQueryResult> results)
Deprecated.
|
void |
answerInlineQuery(String token,
String queryID,
Collection<InlineQueryResult> results,
Integer cacheTime,
Boolean personal,
String nextOffset)
Deprecated.
|
void |
close()
Deprecated.
|
Message |
editMessageCaption(String token,
String chatID,
Long messageID,
String inlineMessageID,
String caption,
ReplyMarkup replyMarkup)
Deprecated.
|
Message |
editMessageReplyMarkup(String token,
String chatID,
Long messageID,
String inlineMessageID,
ReplyMarkup replyMarkup)
Deprecated.
|
Message |
editMessageText(String token,
String chatID,
Long messageID,
String inlineMessageID,
String text,
MessageParseMode parseMode,
Boolean disablePreview,
ReplyMarkup replyMarkup)
Deprecated.
|
Message |
forwardMessage(String token,
String chatID,
String fromChatID,
Boolean disableNotification,
long messageID)
Deprecated.
|
Chat |
getChat(String token,
String chatID)
Deprecated.
|
List<ChatMember> |
getChatAdministrators(String token,
String chatID)
Deprecated.
|
ChatMember |
getChatMember(String token,
String chatID,
long userID)
Deprecated.
|
int |
getChatMembersCount(String token,
String chatID)
Deprecated.
|
User |
getMe(String token)
Deprecated.
|
List<Update> |
getUpdates(String token,
Integer offset,
Integer limit,
Integer timeout,
String... allowedUpdates)
Deprecated.
|
boolean |
kickChatMember(String token,
String chatID,
long userID)
Deprecated.
|
boolean |
leaveChat(String token,
String chatID)
Deprecated.
|
Message |
sendMessage(String token,
String chatID,
String text)
Deprecated.
|
Message |
sendMessage(String token,
String chatID,
String text,
Long replyTo)
Deprecated.
|
Message |
sendMessage(String token,
String chatID,
String text,
MessageParseMode parseMode,
Boolean disablePreview,
Boolean disableNotification)
Deprecated.
|
Message |
sendMessage(String token,
String chatID,
String text,
MessageParseMode parseMode,
Boolean disablePreview,
Boolean disableNotification,
Long replyTo,
ReplyMarkup replyMarkup)
Deprecated.
|
boolean |
unbanChatMember(String token,
String chatID,
long userID)
Deprecated.
|
public List<Update> getUpdates(String token, Integer offset, Integer limit, Integer timeout, String... allowedUpdates)
public Message sendMessage(String token, String chatID, String text, MessageParseMode parseMode, Boolean disablePreview, Boolean disableNotification)
public Message sendMessage(String token, String chatID, String text, Long replyTo)
public Message sendMessage(String token, String chatID, String text, MessageParseMode parseMode, Boolean disablePreview, Boolean disableNotification, Long replyTo, ReplyMarkup replyMarkup)
public Message editMessageText(String token, String chatID, Long messageID, String inlineMessageID, String text, MessageParseMode parseMode, Boolean disablePreview, ReplyMarkup replyMarkup)
public Message editMessageCaption(String token, String chatID, Long messageID, String inlineMessageID, String caption, ReplyMarkup replyMarkup)
public Message editMessageReplyMarkup(String token, String chatID, Long messageID, String inlineMessageID, ReplyMarkup replyMarkup)
public Message forwardMessage(String token, String chatID, String fromChatID, Boolean disableNotification, long messageID)
public boolean unbanChatMember(String token, String chatID, long userID)
public List<ChatMember> getChatAdministrators(String token, String chatID)
public ChatMember getChatMember(String token, String chatID, long userID)
public void answerInlineQuery(String token, String queryID, Collection<InlineQueryResult> results)
public void answerInlineQuery(String token, String queryID, Collection<InlineQueryResult> results, Integer cacheTime, Boolean personal, String nextOffset)
public void close()
throws IOException
Copyright © 2017 iSuper.org. All Rights Reserved.