Skip to content

kseirru/VKApiJAVA

Repository files navigation

VKApiJava · Docs and Guide # NOT READY

VKApiJava - this is a library that allows you to easily create chat bots via Long poll VK.


Approximate future code:

src/main/java/commands/testCommand.java

public class testCommand extends EventListener {
    @Override
    public void onMessageReceived(OnMessageReceivedContext event) {
        event.respond("Test message!").queue();
    }
}

src/main/java/Main.java

public class Main {
    public static void main(String[] args) throws VKException {
        String token = "...";
        String groupId = "...";
        VKApi vkApi = new VKApiBuilder(token, groupId)
                .addEventListener(new testCommand())
                .build();
    }
}

About

VKApiJava - this is a library that allows you to easily create chatbots via Long poll VK.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages