From 81e24f034df9098e8d057f2ab3b7b058d2b00886 Mon Sep 17 00:00:00 2001 From: Mohammad Mahdi Mohammadi Date: Mon, 16 Sep 2024 01:35:39 +0330 Subject: [PATCH] Minor fix - TODO: add .env entry for it --- Services/HandleStartMessage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/HandleStartMessage.cs b/Services/HandleStartMessage.cs index adee34b..20b50da 100755 --- a/Services/HandleStartMessage.cs +++ b/Services/HandleStartMessage.cs @@ -28,7 +28,7 @@ namespace CatsOfMastodonBot.Services // send media attachment await _bot.SendPhotoAsync(message.Chat.Id, selectedMediaAttachment.MediaAttachments.FirstOrDefault(m => m.Approved == true).Url, caption: $"Here is your cat!🐈\n"+"" + $"View on Mastodon " + " ", parseMode: ParseMode.Html - , replyMarkup: new InlineKeyboardMarkup().AddButton(InlineKeyboardButton.WithUrl("Join channel 😺", selectedMediaAttachment.Url)) + , replyMarkup: new InlineKeyboardMarkup().AddButton(InlineKeyboardButton.WithUrl("Join channel 😺", "https://t.me/catsofmastodon")) .AddNewRow() .AddButton(InlineKeyboardButton.WithCallbackData("Send me another one!", $"new_random")));