chore: update response message format

This commit is contained in:
Steven
2024-05-15 20:46:16 +08:00
parent d2cf1ff0c6
commit c89a32e576

View File

@@ -140,8 +140,13 @@ func (s *Service) handler(ctx context.Context, b *bot.Bot, m *models.Update) {
} }
b.SendMessage(ctx, &bot.SendMessageParams{ b.SendMessage(ctx, &bot.SendMessageParams{
ChatID: m.Message.Chat.ID, ChatID: m.Message.Chat.ID,
Text: fmt.Sprintf("Memo created with %s", memo.Name), Text: fmt.Sprintf("Content saved with [%s](%s/m/%s)", memo.Name, s.config.ServerAddr, memo.Uid),
ParseMode: models.ParseModeMarkdown,
DisableNotification: true,
ReplyParameters: &models.ReplyParameters{
MessageID: message.ID,
},
}) })
} }