feat(GtxMessagingService): Empfänger- und Nachrichteneingaben zur SendSms-Methode über SMS-Parameter hinzugefügt

This commit is contained in:
Developer 02
2024-11-25 13:01:12 +01:00
parent ed80839777
commit 132acd35cc
2 changed files with 14 additions and 4 deletions

View File

@@ -7,7 +7,6 @@ namespace EnvelopeGenerator.Application.Configurations.GtxMessaging
/// </summary>
public class SmsParams : IHttpClientOptions
{
//TODO: Add a regex check to init methods to reduce the chance of errors.
public required string Uri { get; init; }
public string? Path { get; init; }
@@ -15,5 +14,9 @@ namespace EnvelopeGenerator.Application.Configurations.GtxMessaging
public IEnumerable<KeyValuePair<string, object>>? Headers { get; init; }
public IEnumerable<KeyValuePair<string, object?>>? QueryParams { get; init; }
public string RecipientQueryParamName { get; init; } = "from";
public string MessageQueryParamName { get; init; } = "text";
}
}