Skip to content

Commit 36ff818

Browse files
committed
remove unused type MessageAPISentPayloadV1
1 parent 089b8ae commit 36ff818

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

api/pkg/events/message_api_sent_event.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,3 @@ type MessageAPISentPayload struct {
2121
RequestReceivedAt time.Time `json:"request_received_at"`
2222
Content string `json:"content"`
2323
}
24-
25-
// MessageAPISentPayloadV1 is the old event
26-
type MessageAPISentPayloadV1 struct {
27-
MessageID uuid.UUID `json:"id"`
28-
UserID entities.UserID `json:"userID"`
29-
Owner string `json:"owner"`
30-
MaxSendAttempts uint `json:"max_send_attempts"`
31-
Contact string `json:"contact"`
32-
RequestReceivedAt time.Time `json:"request_received_at"`
33-
Content string `json:"content"`
34-
}

0 commit comments

Comments
 (0)