Fix typos
This commit is contained in:
parent
cea06afcef
commit
93106c8cfa
@ -39,7 +39,7 @@ import java.io.IOException;
|
||||
@RequiredArgsConstructor
|
||||
@Builder
|
||||
public class EditChatInviteLink extends BotApiMethod<ChatInviteLink> {
|
||||
public static final String PATH = "createChatInviteLink";
|
||||
public static final String PATH = "editChatInviteLink";
|
||||
|
||||
private static final String CHATID_FIELD = "chat_id";
|
||||
private static final String INVITELINK_FIELD = "invite_link";
|
||||
|
@ -39,7 +39,7 @@ import java.io.IOException;
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class RevokeChatInviteLink extends BotApiMethod<ChatInviteLink> {
|
||||
public static final String PATH = "createChatInviteLink";
|
||||
public static final String PATH = "revokeChatInviteLink";
|
||||
|
||||
private static final String CHATID_FIELD = "chat_id";
|
||||
private static final String INVITELINK_FIELD = "invite_link";
|
||||
|
@ -41,7 +41,7 @@ public class DefaultBotOptions implements BotOptions {
|
||||
baseUrl = ApiConstants.BASE_URL;
|
||||
httpContext = HttpClientContext.create();
|
||||
proxyType = ProxyType.NO_PROXY;
|
||||
getUpdatesLimit = ApiConstants.GETUPDATES_TIMEOUT;
|
||||
getUpdatesTimeout = ApiConstants.GETUPDATES_TIMEOUT;
|
||||
getUpdatesLimit = 100;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user