File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 11# Golang bindings for the Telegram Bot API
22
3- [ ![ GoDoc] ( https://godoc.org/github.com/Syfaro /telegram-bot-api?status.svg )] ( http://godoc.org/github.com/Syfaro /telegram-bot-api )
4- [ ![ Travis] ( https://travis-ci.org/Syfaro /telegram-bot-api.svg )] ( https://travis-ci.org/Syfaro /telegram-bot-api )
3+ [ ![ GoDoc] ( https://godoc.org/github.com/go-telegram-bot-api /telegram-bot-api?status.svg )] ( http://godoc.org/github.com/go-telegram-bot-api /telegram-bot-api )
4+ [ ![ Travis] ( https://travis-ci.org/go-telegram-bot-api /telegram-bot-api.svg )] ( https://travis-ci.org/go-telegram-bot-api /telegram-bot-api )
55
66All methods have been added, and all features should be available.
77If you want a feature that hasn't been added yet or something is broken,
@@ -16,6 +16,9 @@ without any additional features. There are other projects for creating
1616something with plugins and command handlers without having to design
1717all that yourself.
1818
19+ Use github.com/go-telegram-bot-api/telegram-bot-api for the latest build,
20+ or use gopkg.in/telegram-bot-api.v1 for the current version.
21+
1922## Example
2023
2124This is a very simple bot that just displays any gotten updates,
@@ -26,7 +29,7 @@ package main
2629
2730import (
2831 " log"
29- " github.com/Syfaro/ telegram-bot-api"
32+ " gopkg.in/ telegram-bot-api.v1 "
3033)
3134
3235func main () {
@@ -62,7 +65,7 @@ you may use a slightly different method.
6265package main
6366
6467import (
65- " github.com/Syfaro/ telegram-bot-api"
68+ " gopkg.in/ telegram-bot-api.v1 "
6669 " log"
6770 " net/http"
6871)
Original file line number Diff line number Diff line change 11package tgbotapi_test
22
33import (
4- "github.com/Syfaro /telegram-bot-api"
4+ "github.com/go-telegram-bot-api /telegram-bot-api"
55 "io/ioutil"
66 "log"
77 "net/http"
Original file line number Diff line number Diff line change 11package tgbotapi_test
22
33import (
4- "github.com/Syfaro /telegram-bot-api"
4+ "github.com/go-telegram-bot-api /telegram-bot-api"
55 "testing"
66 "time"
77)
You can’t perform that action at this time.
0 commit comments