File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ type AssignmentParams struct {
20
20
// Timestamp optionally defines the time when the conversation was assigned.
21
21
// If not given, this will default to the current time.
22
22
Timestamp * time.Time `json:"timestamp,omitempty"`
23
+
24
+ // Reason optionally allows you to describe why this assignment is happening.
25
+ Reason string `json:"reason,omitempty"`
23
26
}
24
27
25
28
// AssignConversation assigns a conversation to a participant.
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ type CancelParams struct {
11
11
// Timestamp optionally defines the time when the conversation was cancelled.
12
12
// If not given, this will default to the current time.
13
13
Timestamp * time.Time `json:"timestamp,omitempty"`
14
+
15
+ // Reason optionally allows you to describe why this cancellation is happening.
16
+ Reason string `json:"reason,omitempty"`
14
17
}
15
18
16
19
// CancelConversation cancels the conversation.
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ type FinishParams struct {
11
11
// Timestamp optionally defines the time when the conversation ended.
12
12
// If not given, this will default to the current time.
13
13
Timestamp * time.Time `json:"timestamp,omitempty"`
14
+
15
+ // Reason optionally allows you to describe why this conversation is finishing.
16
+ Reason string `json:"reason,omitempty"`
14
17
}
15
18
16
19
// FinishConversation finishes a conversation.
You can’t perform that action at this time.
0 commit comments