tsk-59: Added endpoint constant and made changes to handler

This commit is contained in:
phoenix
2025-12-30 19:30:23 -05:00
parent 8728fe9b60
commit aefa26199d
2 changed files with 14 additions and 0 deletions
+2
View File
@@ -12,5 +12,7 @@ const GetScheduledMessageEventEndpoint = "/api/v1/schedule/message/event"
const DeleteScheduledMessageEventEndpoint = "/api/v1/schedule/message/event/{id}"
const UpdateScheduledMessageStatusEndpoint = "/api/v1/schedule/message/status/update"
const FetchNextScheduledMessageEndpoint = "/api/v1/schedule/message/fetch"
// TODO: Make RecordEventResponse more consistent with MessageEventResponse
const RecordEventResponse = "/api/v1/schedule/message/event/response/record"
const FetchMessageEventResponse = "/api/v1/schedule/message/event/response"
const SendInstantMessageEndpoint = "/api/v1/instant/message"