Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
m-messiah committed May 19, 2023
1 parent f1e8d5a commit 65b5756
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions request.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"encoding/json"
"errors"
"io"
"log"
"math/rand"
"net/http"
"strconv"
Expand Down Expand Up @@ -34,10 +33,6 @@ func newRequest(w http.ResponseWriter, r *http.Request) (*requestInfo, error) {
return request, nil
}

func (request *requestInfo) logWarn(err error) {
log.Printf("[%v] %s", request.updateMessage.Chat.ID, err.Error())
}

func (request *requestInfo) answer(message, parseMode string) {
sendMessage(request.writer, request.updateMessage.Chat.ID, message, &request.updateMessage.ID, parseMode)
}
Expand Down

0 comments on commit 65b5756

Please sign in to comment.