Small updates. Readme updated

This commit is contained in:
Gleb Sinyavsky 2015-11-21 17:31:59 +03:00
parent 2a5cf8652d
commit 5859ba3970
3 changed files with 19 additions and 19 deletions

2
bot.go
View file

@ -394,7 +394,7 @@ func (bot *BotAPI) SetWebhook(config WebhookConfig) (APIResponse, error) {
}
// UpdatesChan starts a channel for getting updates.
func (bot *BotAPI) UpdatesChan(config UpdateConfig) (<-chan Update, error) {
func (bot *BotAPI) GetUpdatesChan(config UpdateConfig) (<-chan Update, error) {
updatesChan := make(chan Update, 100)
go func() {