Class RegistrationOptions
- Namespace
- Signal.Application.Abstractions
- Assembly
- Signal.Application.dll
How a verification code is requested when registering a number.
public sealed record RegistrationOptions : IEquatable<RegistrationOptions>
- Inheritance
-
RegistrationOptions
- Implements
- Inherited Members
Constructors
RegistrationOptions(bool, string?)
How a verification code is requested when registering a number.
public RegistrationOptions(bool UseVoice = false, string? Captcha = null)
Parameters
UseVoiceboolDeliver the code by voice call instead of SMS (e.g. for landlines).
CaptchastringA captcha token, required when Signal rejects the registration with a captcha error. Solve the captcha at
https://signalcaptchas.org/registration/generate.htmland pass the resultingsignalcaptcha://…link.
Properties
Captcha
A captcha token, required when Signal rejects the registration with a captcha error. Solve the captcha at
https://signalcaptchas.org/registration/generate.html and pass the resulting signalcaptcha://… link.
public string? Captcha { get; init; }
Property Value
UseVoice
Deliver the code by voice call instead of SMS (e.g. for landlines).
public bool UseVoice { get; init; }