Skip to content

Fix name of package #29

Fix name of package

Fix name of package #29

Triggered via push March 19, 2025 14:13
Status Success
Total duration 1m 0s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: tests/Telegram.Tests/TestTelegramHostedService.cs#L55
'TelegramBotClientExtensions.AnswerInlineQueryAsync(ITelegramBotClient, string, IEnumerable<InlineQueryResult>, int?, bool, string?, InlineQueryResultsButton?, CancellationToken)' is obsolete: 'We removed all Async suffix from method names. Use AnswerInlineQuery instead'
build: tests/Telegram.Tests/TestTelegramHostedService.cs#L51
'TelegramBotClientExtensions.EditMessageTextAsync(ITelegramBotClient, ChatId, int, string, ParseMode, IEnumerable<MessageEntity>?, LinkPreviewOptions?, InlineKeyboardMarkup?, string?, CancellationToken)' is obsolete: 'We removed all Async suffix from method names. Use EditMessageText instead'
build: tests/Telegram.Tests/TestTelegramHostedService.cs#L47
'TelegramBotClientExtensions.AnswerCallbackQueryAsync(ITelegramBotClient, string, string?, bool, string?, int?, CancellationToken)' is obsolete: 'We removed all Async suffix from method names. Use AnswerCallbackQuery instead'
build: tests/Telegram.Tests/TestTelegramHostedService.cs#L43
'TelegramBotClientExtensions.SendTextMessageAsync(ITelegramBotClient, ChatId, string, int?, ParseMode, IEnumerable<MessageEntity>?, LinkPreviewOptions?, bool, bool, bool, string?, ReplyParameters?, ReplyMarkup?, string?, CancellationToken)' is obsolete: 'We removed all Async suffix from method names. Use SendMessage instead'
build: tests/Telegram.Tests/TestTelegramHostedService.cs#L105
Possible null reference argument for parameter 'method' in 'bool TelegramHostedService.IsValidHandlerMethod(MethodInfo method, Type parameterType)'.
build: tests/Telegram.Tests/TestTelegramHostedService.cs#L92
Possible null reference argument for parameter 'method' in 'bool TelegramHostedService.IsValidHandlerMethod(MethodInfo method, Type parameterType)'.
build: Examples/Telegram.Examples/UpdatePolling/Update.cs#L35
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: Examples/Telegram.Examples/Program.cs#L12
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: Examples/Telegram.Examples/UpdatePolling/Update.cs#L20
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: Examples/Telegram.Examples/UpdatePolling/Update.cs#L11
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.