feat: improve inquiry notification links
This commit is contained in:
@@ -27,6 +27,7 @@ public class TelegramInquiryNotificationService : IInquiryNotificationService
|
||||
return;
|
||||
|
||||
var adminLink = $"{_baseUrl}/admin/inquiries/{inquiryId}";
|
||||
var summary = message.Length > 180 ? message[..180] + "..." : message;
|
||||
var text = new StringBuilder()
|
||||
.AppendLine("새 문의가 접수되었습니다.")
|
||||
.AppendLine()
|
||||
@@ -34,8 +35,8 @@ public class TelegramInquiryNotificationService : IInquiryNotificationService
|
||||
.AppendLine($"이름: {name}")
|
||||
.AppendLine($"연락처: {phone}")
|
||||
.AppendLine()
|
||||
.AppendLine("내용:")
|
||||
.AppendLine(message)
|
||||
.AppendLine("내용 요약:")
|
||||
.AppendLine(summary)
|
||||
.AppendLine()
|
||||
.AppendLine($"답변 링크: {adminLink}")
|
||||
.ToString();
|
||||
|
||||
Reference in New Issue
Block a user