Update README for v2
parent
b7c9b50020
commit
baf170548c
|
@ -17,7 +17,7 @@ something with plugins and command handlers without having to design
|
||||||
all that yourself.
|
all that yourself.
|
||||||
|
|
||||||
Use `github.com/go-telegram-bot-api/telegram-bot-api` for the latest
|
Use `github.com/go-telegram-bot-api/telegram-bot-api` for the latest
|
||||||
version, or use `gopkg.in/telegram-bot-api.v1` for the stable build.
|
version, or use `gopkg.in/telegram-bot-api.v2` for the stable build.
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
"gopkg.in/telegram-bot-api.v1"
|
"gopkg.in/telegram-bot-api.v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -65,7 +65,7 @@ you may use a slightly different method.
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gopkg.in/telegram-bot-api.v1"
|
"gopkg.in/telegram-bot-api.v2"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue