Skip to content

refactor: Update examples. Closes #49 #105

refactor: Update examples. Closes #49

refactor: Update examples. Closes #49 #105

Triggered via push November 17, 2024 17:40
Status Failure
Total duration 53s
Artifacts

build.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 8 warnings
build
Process completed with exit code 1.
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/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/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/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/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/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/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)