Skip to content

Commit

Permalink
⚡ Increase chunk size
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMarble committed Jul 25, 2020
1 parent 345e92d commit a338fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func (t *Telegram) handleCallback(c *tb.Callback) {
callbackResponse(t, c, err, payload, "")
return
}
for index, chunk := range chunkString(response, 300) {
for index, chunk := range chunkString(response, 3000) {
if index == 0 {
callbackResponse(t, c, err, payload, fmt.Sprintf("<code>%v</code>", chunk))
} else {
Expand Down

0 comments on commit a338fab

Please sign in to comment.