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
conversationAgentConversationIdThe conversation holding the proposal.
userUserIdThe person answering.
proposedAtlongThe place the proposal was written at, which is what names it.
cancellationTokenCancellationTokenCancels 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.