public record SmsNotification(String phone, String text) implements Notification {
    @Override
    public String send() {
        String shortText = text.length() > 20 ? text.substring(0, 20) + "..." : text;
        return "SMS a " + phone + ": " + shortText;
    }
}
