Skip to content

Commit

Permalink
Update Bot API to 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolfik1 committed Apr 19, 2024
1 parent d998190 commit 436e7d3
Show file tree
Hide file tree
Showing 7 changed files with 1,209 additions and 237 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.0-blue?logo=telegram)](https://www.nuget.org/packages/Funogram.Telegram/)
[![NuGet](https://img.shields.io/badge/Bot%20API-7.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
266 changes: 230 additions & 36 deletions src/Funogram.Generator/out/methods.json

Large diffs are not rendered by default.

548 changes: 506 additions & 42 deletions src/Funogram.Generator/out/types.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Funogram.Telegram/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>7.1.0</Version>
<Version>7.2.0</Version>
<Authors>Nikolay Matyushin</Authors>
<Product>Funogram.Telegram</Product>
<Title>Funogram.Telegram</Title>
Expand Down
232 changes: 147 additions & 85 deletions src/Funogram.Telegram/RequestsTypes.fs

Large diffs are not rendered by default.

394 changes: 323 additions & 71 deletions src/Funogram.Telegram/Types.fs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Funogram.Tests/Constants.fs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module Constants =
let jsonTestObjString = """{"type":"italic","offset":0,"length":100,"url":"http://github.com"}"""
let jsonTestObjResultString = """{"ok":true,"result":{"type":"italic","offset":0,"length":100,"url":"http://github.com","user":null,"language":null} }"""

let jsonTestObjUser = { Id = 123456L; FirstName = "BotFather"; LastName = None; Username = (Some "BotFather"); LanguageCode = None; IsBot = false; CanJoinGroups = None; CanReadAllGroupMessages = None; SupportsInlineQueries = None; IsPremium = None; AddedToAttachmentMenu = None }
let jsonTestObjUser = { Id = 123456L; FirstName = "BotFather"; LastName = None; Username = (Some "BotFather"); LanguageCode = None; IsBot = false; CanJoinGroups = None; CanReadAllGroupMessages = None; SupportsInlineQueries = None; IsPremium = None; AddedToAttachmentMenu = None; CanConnectToBusiness = None }
let jsonTestObjUserResultString = """{"ok":true,"result":{"id":123456,"first_name":"BotFather","username":"BotFather","language_code":null,"is_bot":false,"can_join_groups":null,"can_read_all_group_messages":null,"supports_inline_queries":null}}"""

let jsonTestEditResult1 = EditMessageResult.Success(true)
Expand Down

0 comments on commit 436e7d3

Please sign in to comment.