Initial creation of endpoint to send messages to public reporters
This commit is contained in:
parent
9707e8793b
commit
cc95c38ab5
12 changed files with 240 additions and 20 deletions
|
|
@ -10,11 +10,14 @@ import (
|
|||
|
||||
var channelJobText chan text.Job
|
||||
|
||||
func ReportUserText(destination text.E164, report_id string, message string) {
|
||||
//enqueueJobText(text.N
|
||||
}
|
||||
func ReportSubscriptionConfirmationText(destination text.E164, report_id string) {
|
||||
enqueueJobText(text.NewJobReportSubscriptionConfirmation(
|
||||
destination,
|
||||
report_id,
|
||||
config.PhoneNumberReport,
|
||||
*text.NewE164(&config.PhoneNumberReport),
|
||||
))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue