pre-1.0.3 #47
Annotations
10 warnings
|
build:
tests/Telegram.Tests/TestTelegramHostedService.cs#L108
Possible null reference argument for parameter 'method' in 'bool TelegramHostedService.IsValidHandlerMethod(MethodInfo method, Type parameterType)'.
|
|
build:
tests/Telegram.Tests/TestTelegramHostedService.cs#L95
Possible null reference argument for parameter 'method' in 'bool TelegramHostedService.IsValidHandlerMethod(MethodInfo method, Type parameterType)'.
|
|
build:
tests/Telegram.Tests/TestTelegramHostedService.cs#L54
'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#L50
'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#L46
'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:
Examples/Telegram.Examples/UpdatePolling/Update.cs#L11
Non-nullable field '_conf' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
|
build:
Examples/Telegram.Examples/UpdatePolling/Update.cs#L47
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#L26
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#L17
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#L16
Possible null reference argument for parameter 'token' in 'TelegramBotConfig.TelegramBotConfig(string token)'.
|