Skip to content

feat: update to bot api 9.5 #156

feat: update to bot api 9.5

feat: update to bot api 9.5 #156

Triggered via push March 1, 2026 16:24
Status Success
Total duration 31s
Artifacts

build.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ReplyKeyboardRemove.cs#L16
Member 'RemoveKeyboard' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build: src/library/Telegram.BotAPI/Payments/RefundedPayment.cs#L16
Member 'Currency' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build: src/library/Telegram.BotAPI/AvailableTypes/MaybeInaccessibleMessage/MaybeInaccessibleMessage.cs#L29
Rename virtual/interface member MaybeInaccessibleMessage.Date so that it no longer conflicts with the reserved language keyword 'Date'. Using a reserved keyword as the name of a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)
build: src/tests/Telegram.BotAPI.Tests/MethodTests.cs#L13
Cannot convert null literal to non-nullable reference type.
build: src/tests/Telegram.BotAPI.Tests/Serialization.cs#L56
Dereference of a possibly null reference.
build: src/tests/Telegram.BotAPI.Tests/ConverterTests.cs#L113
Dereference of a possibly null reference.
build: src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ForceReply.cs#L16
Member 'ForceReplyFlag' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build: src/library/Telegram.BotAPI/AvailableTypes/ReplyMarkup/ReplyKeyboardRemove.cs#L16
Member 'RemoveKeyboard' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build: src/library/Telegram.BotAPI/Payments/RefundedPayment.cs#L16
Member 'Currency' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build: src/library/Telegram.BotAPI/AvailableTypes/MaybeInaccessibleMessage/MaybeInaccessibleMessage.cs#L29
Rename virtual/interface member MaybeInaccessibleMessage.Date so that it no longer conflicts with the reserved language keyword 'Date'. Using a reserved keyword as the name of a virtual/interface member makes it harder for consumers in other languages to override/implement the member. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1716)