Skip to content

Commit

Permalink
Update Bot API to 8.2 (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolfik1 authored Jan 24, 2025
1 parent 0f77da8 commit cb3b475
Show file tree
Hide file tree
Showing 7 changed files with 1,226 additions and 142 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![.NET Core](https://github.com/Dolfik1/Funogram/workflows/.NET/badge.svg)
[![NuGet](https://img.shields.io/nuget/v/Funogram.svg)](https://www.nuget.org/packages/Funogram/)
[![NuGet](https://img.shields.io/nuget/v/Funogram.Telegram.svg)](https://www.nuget.org/packages/Funogram.Telegram/)
[![NuGet](https://img.shields.io/badge/Bot%20API-7.10-blue?logo=telegram)](https://www.nuget.org/packages/Funogram.Telegram/)
[![NuGet](https://img.shields.io/badge/Bot%20API-8.2-blue?logo=telegram)](https://www.nuget.org/packages/Funogram.Telegram/)

<img src="https://github.com/Dolfik1/Funogram/raw/master/docs/files/img/logo.png" alt="Funogram Logo" width="200" align="right" />

Expand Down
4 changes: 3 additions & 1 deletion src/Funogram.Generator/Methods/MethodsParser.fs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ let loadRemapData remapPath config =

let private returnTypeRegexes =
[|
// Returns the list of gifts that can be sent by the bot to users. Requires no parameters. Returns a Gifts object

// invite links
Regex("Returns the new invite link as a ([A|a]rray of \w+|\w+)\s")
Regex("Returns the new invite link as ([A|a]rray of \w+|\w+)\s")
Expand All @@ -59,10 +61,10 @@ let private returnTypeRegexes =

Regex("([A|a]rray of \w+|\w+) is returned, otherwise ([A|a]rray of \w+|\w+)")

Regex("[R|r]eturns a ([A|a]rray of \w+|\w+)\s")
Regex("[R|r]eturns the uploaded (\w+)\s")
Regex("[R|r]eturns the ([A|a]rray of \w+|\w+)\s")
Regex("[R|r]eturns an ([A|a]rray of \w+|\w+)\s")
Regex("[R|r]eturns a ([A|a]rray of \w+|\w+)\s")
Regex("[R|r]eturns ([A|a]rray of \w+|\w+)\s")


Expand Down
452 changes: 446 additions & 6 deletions src/Funogram.Generator/out/methods.json

Large diffs are not rendered by default.

Loading

0 comments on commit cb3b475

Please sign in to comment.