Skip to content

Commit

Permalink
Updated methods to Telegram Bot API v8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mymmrac committed Jan 15, 2025
1 parent 31fb793 commit 1b53f53
Show file tree
Hide file tree
Showing 5 changed files with 947 additions and 22 deletions.
2 changes: 1 addition & 1 deletion internal/generator/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ func parseReturnType(methodDescription string) string {
return returnTypeNotFound
case "True", "error":
return ""
case "Messages":
case "Messages", "array of Messages":
return "[]Message"
default:
return parseType(returnType, true)
Expand Down
Loading

0 comments on commit 1b53f53

Please sign in to comment.