Update example
This commit is contained in:
parent
d0f51e73ee
commit
993b734553
|
@ -60,7 +60,7 @@ func main() {
|
|||
log.Fatalf("GetMe error: %s", err)
|
||||
}
|
||||
|
||||
log.Printf("%s connected", me.Username)
|
||||
log.Printf("%v connected", me.Usernames)
|
||||
|
||||
listener := client.AddEventReceiver(&tdlib.UpdateNewMessage{}, 1000)
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ func main() {
|
|||
log.Fatalf("GetMe error: %s", err)
|
||||
}
|
||||
|
||||
log.Printf("%s connected", me.Username)
|
||||
log.Printf("%v connected", me.Usernames)
|
||||
|
||||
listener := client.AddEventReceiver(&tdlib.UpdateNewMessage{}, 1000)
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ func main() {
|
|||
log.Fatalf("GetMe error: %s", err)
|
||||
}
|
||||
|
||||
log.Printf("%s connected", me.Username)
|
||||
log.Printf("%v connected", me.Usernames)
|
||||
|
||||
listener := client.AddEventReceiver(&tdlib.UpdateNewMessage{}, 1000)
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ func main() {
|
|||
log.Fatalf("GetMe error: %s", err)
|
||||
}
|
||||
|
||||
log.Printf("%s connected", me.Username)
|
||||
log.Printf("%v connected", me.Usernames)
|
||||
|
||||
listener := client.AddEventReceiver(&tdlib.UpdateNewMessage{}, 1000)
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ func main() {
|
|||
log.Fatalf("GetMe error: %s", err)
|
||||
}
|
||||
|
||||
log.Printf("%s connected", me.Username)
|
||||
log.Printf("%v connected", me.Usernames)
|
||||
|
||||
listener := client.AddEventReceiver(&tdlib.UpdateNewMessage{}, 1000)
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ func main() {
|
|||
log.Fatalf("GetMe error: %s", err)
|
||||
}
|
||||
|
||||
log.Printf("%s connected", me.Username)
|
||||
log.Printf("%v connected", me.Usernames)
|
||||
|
||||
listener := client.GetListener()
|
||||
|
||||
|
|
Loading…
Reference in a new issue