mirror of
https://github.com/c0re100/gotdlib.git
synced 2026-02-21 20:20:17 +01:00
add registration scenario
This commit is contained in:
parent
e4a9f57780
commit
d74e676cd7
2 changed files with 23 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue