func (bot *VKBot) ListenGroup(api *VkAPI) error {
	bot.LongPoll = NewGroupLongPollServer(API.RequestInterval)
	c := time.Tick(3 * time.Second)
	for range c {
		bot.MainRoute()
	}
	return nil
}
ListenGroup - listen group VK API
package govkbot
import (
	"fmt"
	"log"
	"strconv"
	"strings"
	"time"
)
type VKBot struct {
	msgRoutes        map[string]msgRoute
	actionRoutes     map[string]func(*Message) string
	cmdHandlers      map[string]func(*Message) string
	msgHandlers      map[string]func(*Message) string
	errorHandler     func(*Message, error)
	LastMsg          int
	lastUserMessages map[int]int
	lastChatMessages map[int]int
	autoFriend       bool
	IgnoreBots       bool
	LongPoll         LongPollServer
	API              *VkAPI
}
type msgRoute struct {
	SimpleHandler func(*Message) string
	Handler       func(*Message) Reply
}
func (api *VkAPI) NewBot() *VKBot {
	if api.IsGroup() {
		return &VKBot{
			msgRoutes:        make(map[string]msgRoute),
			actionRoutes:     make(map[string]func(*Message) string),
			lastUserMessages: make(map[int]int),
			lastChatMessages: make(map[int]int),
			LongPoll:         NewGroupLongPollServer(API.RequestInterval),
			API:              api,
		}
	}
	return &VKBot{
		msgRoutes:        make(map[string]msgRoute),
		actionRoutes:     make(map[string]func(*Message) string),
		lastUserMessages: make(map[int]int),
		lastChatMessages: make(map[int]int),
		LongPoll:         NewUserLongPollServer(false, longPollVersion, API.RequestInterval),
		API:              api,
	}
}
func (bot *VKBot) ListenUser(api *VkAPI) error {
	bot.LongPoll = NewUserLongPollServer(false, longPollVersion, API.RequestInterval)
	go bot.friendReceiver()
	c := time.Tick(3 * time.Second)
	for range c {
		bot.MainRoute()
	}
	return nil
}