Table of Contents

Method DeclineProposalAsync

Namespace
MailFathom.Application.Agent.Conversations
Assembly
MailFathom.Application.dll

DeclineProposalAsync(AgentConversationId, UserId, long, CancellationToken)

Records that a person declined a proposal the agent made.

public Task<long?> DeclineProposalAsync(AgentConversationId conversation, UserId user, long proposedAt, CancellationToken cancellationToken)

Parameters

conversation AgentConversationId

The conversation holding the proposal.

user UserId

The person answering.

proposedAt long

The place the proposal was written at, which is what names it.

cancellationToken CancellationToken

Cancels the write.

Returns

Task<long?>

The place the answer was written at, or null when it was not this person's to give from where the proposal stands.

Remarks

Declining is the only answer recorded here. Accepting is AgentProposalAcceptance's, because an acceptance is never recorded apart from carrying the act out.