We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HI Can anybody help me? When I send message like than it's work
func main() { b, err := tele.NewBot(tele.Settings{ Token: token, Poller: &tele.LongPoller{Timeout: 10 * time.Second}, }) if err != nil { return } //send_to_user(6828712208) _,err=b.Send(&tele.User{ID: 6828712208},"HI") if err!=nil{ log.Fatal("Ошибка отправки уведомления: ", err) } }
func main() { b, err := tele.NewBot(tele.Settings{ Token: token, Poller: &tele.LongPoller{Timeout: 10 * time.Second}, }) if err != nil { return } send_to_user(6828712208) _,err=b.Send(&tele.User{ID: 6828712208},"HI") if err!=nil{ log.Fatal("Ошибка отправки уведомления: ", err) } } func send_to_user(id int64){ _,err:=b.Send(&tele.User{ID: id},"NEN") if err!=nil{ log.Fatal("Ошибка отправки уведомления: ", err) } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
HI
Can anybody help me?
When I send message like than it's work
The text was updated successfully, but these errors were encountered: