Interface IProfileService
- Namespace
- Signal.Application.Abstractions
- Assembly
- Signal.Application.dll
Updates the account's Signal profile.
public interface IProfileService
Methods
UpdateAsync(PhoneNumber, ProfileUpdate, CancellationToken)
Updates the profile (PUT /v1/profiles/{number}).
Task UpdateAsync(PhoneNumber account, ProfileUpdate profile, CancellationToken cancellationToken = default)
Parameters
accountPhoneNumberThe account.
profileProfileUpdateThe new profile values.
cancellationTokenCancellationTokenCancels the request.
Returns
- Task
A task that completes when the profile was updated.