Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading