diff --git a/example/bot/Bot.go b/example/bot/Bot.go index 0c4d570..357a014 100644 --- a/example/bot/Bot.go +++ b/example/bot/Bot.go @@ -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) diff --git a/example/command/ReplyCommand.go b/example/command/ReplyCommand.go index 22b4a6e..ff2d783 100644 --- a/example/command/ReplyCommand.go +++ b/example/command/ReplyCommand.go @@ -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) diff --git a/example/event/CustomEventFilter.go b/example/event/CustomEventFilter.go index 989a485..1333934 100644 --- a/example/event/CustomEventFilter.go +++ b/example/event/CustomEventFilter.go @@ -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) diff --git a/example/media/Photo_or_Album.go b/example/media/Photo_or_Album.go index 9873a06..ed456de 100644 --- a/example/media/Photo_or_Album.go +++ b/example/media/Photo_or_Album.go @@ -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) diff --git a/example/pending/PendingUpdate.go b/example/pending/PendingUpdate.go index e0ec7a1..3d71dc6 100644 --- a/example/pending/PendingUpdate.go +++ b/example/pending/PendingUpdate.go @@ -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) diff --git a/example/raw_update/raw.go b/example/raw_update/raw.go index 8fcf134..b4edaad 100644 --- a/example/raw_update/raw.go +++ b/example/raw_update/raw.go @@ -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()