mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
add validation for configured URL
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Kruzya.TelegramBot.CustomChatAddOns.Data
|
||||
[JsonProperty("confirmation")]
|
||||
public string Confirmation { get; set; } = Guid.NewGuid().ToString();
|
||||
|
||||
public Ping From(Message message) => new() {
|
||||
public static Ping From(Message message) => new() {
|
||||
ChatId = message.Chat.Id,
|
||||
UserId = message.From!.Id
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user