Merge pull request #874 from aNNiMON/typo-fix

Fix typos
This commit is contained in:
Ruben Bermudez 2021-03-15 01:34:44 +00:00 committed by GitHub
commit 1f8b7a0f01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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";

View File

@ -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";

View File

@ -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;
}