feat(GtxMessagingService): Empfänger- und Nachrichteneingaben zur SendSms-Methode über SMS-Parameter hinzugefügt
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user