add registration scenario

This commit is contained in:
Aleksandr Zelenin 2018-10-04 13:05:40 +03:00
parent e4a9f57780
commit d74e676cd7
2 changed files with 23 additions and 3 deletions

View file

@ -59,7 +59,7 @@ func main() {
// client authorizer
authorizer := client.ClientAuthorizer()
go client.CliInteractor(authorizer)
go client.CliInteractor(authorizer, false)
// or bot authorizer
botToken := "000000000:gsVCGG5YbikxYHC7bP5vRvmBqJ7Xz6vG6td"