|
|
|
|
@ -44,7 +44,7 @@ func main() {
@@ -44,7 +44,7 @@ func main() {
|
|
|
|
|
user := "Unknown" |
|
|
|
|
if update.Message != nil { |
|
|
|
|
user = update.Message.From.String() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if update.Message.Photo != nil { |
|
|
|
|
fmt.Printf("User: %s send into bot directly photo\n", user) |
|
|
|
|
} |
|
|
|
|
@ -75,6 +75,7 @@ func main() {
@@ -75,6 +75,7 @@ func main() {
|
|
|
|
|
message := update.Message.Text |
|
|
|
|
fmt.Printf("User: %s send into bot directly: %s\n", user, message) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
continue |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|