Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AmarnathCJD committed Sep 18, 2024
1 parent 3ac027f commit a016008
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ func main() {
log.Fatal(err)
}

client.Conn()

client.LoginBot("<bot-token>") // or client.Login("<phone-number>") for user account, or client.AuthPrompt() for interactive login

client.On(telegram.OnMessage, func(message *telegram.NewMessage) error { // client.AddMessageHandler
Expand Down

0 comments on commit a016008

Please sign in to comment.