GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - botscommunity/vkgo: 🏙️💗🍭 Flexible and high-performance VK API module Go

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
api
api
 
 
benchmarks
benchmarks
 
 
callback
callback
 
 
internal/pkg
internal/pkg
 
 
keyboard
keyboard
 
 
longpoll
longpoll
 
 
multibot
multibot
 
 
samples
samples
 
 
scene
scene
 
 
template
template
 
 
tests
tests
 
 
types
types
 
 
update
update
 
 
.gitignore
.gitignore
 
 
.golangci.yaml
.golangci.yaml
 
 
CONTACTS.md
CONTACTS.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
preview.png
preview.png
 
 

Repository files navigation

Bots Community

Flexible and high-performance VK API module Go

Instalation

go get github.com/botscommunity/vkgo

Getting started

Examples of working bots can be seen in the catalog /samples

A simple example of a LongPoll API Bot:

package main

import (
  "github.com/botscommunity/vkgo/api"
  "github.com/botscommunity/vkgo/longpoll"
  "github.com/botscommunity/vkgo/scene"
  "github.com/botscommunity/vkgo/update"
  "os"
)

func main() {
  bot, err := api.New(os.Getenv("TOKEN"))
  if err != nil {
	  panic(err)
  }

  messageScene := scene.Message(func(bot *api.Bot, message update.Message) {
    bot.SendMessage(message.ChatID, "echo message: "+message.Text)
  })

  longpoll.Start(bot, messageScene)
}

Help in solving problems

Don't know how to solve your problem? Ask the programmers from our community. There is a chance that they have already dealt with this problem and are ready to help you

About

🏙️💗🍭 Flexible and high-performance VK API module Go

Topics

apicallbackcarouselgogolangkeyboardlongpollmultibottemplatevkvk-apivk-botvkontaktevkontakte-api

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.