fix: fixed tidal resolve of tracks, some cleanup
This commit is contained in:
@@ -83,13 +83,12 @@ public class LinkMessage : IMessage
|
||||
try
|
||||
{
|
||||
await botClient.AnswerInlineQueryAsync(update.InlineQuery.Id,
|
||||
new[]
|
||||
{
|
||||
[
|
||||
new InlineQueryResultArticle("0", message.preview!,
|
||||
new InputTextMessageContent(message.message))
|
||||
}, cancellationToken: cancellationToken);
|
||||
], cancellationToken: cancellationToken);
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
Console.WriteLine($"Failed to send answer to {update.Message?.Chat.Username}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user