sozsoft-platform/api/modules/Sozsoft.Sender/SendResult.cs
2026-10-17 21:51:10 +03:00

16 lines
586 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace Sozsoft.Sender;
/// <summary>
/// Her kanalın (e-posta, SMS, Rocket, WhatsApp, Telegram) tek gönderim sonucu. Kanal yalnızca
/// başarı bilgisi veriyorsa <see cref="MessageId"/> ve <see cref="ErrorMessage"/> boş kalır.
/// </summary>
public class SendResult
{
public bool Success { get; set; }
/// <summary>Başarılı gönderimde sağlayıcının verdiği ileti kimliği.</summary>
public string? MessageId { get; set; }
/// <summary>Başarısız gönderimde sağlayıcının açıklaması.</summary>
public string? ErrorMessage { get; set; }
}