result.Add("from", fmt.Sprintf("no phone found with with 'from' number [%s]. install the android app on your phone to start sending messages", request.From))
}
iferr!=nil {
ctxLogger.Error(validator.tracer.WrapErrorSpan(span, stacktrace.Propagate(err, fmt.Sprintf("could not load phone for user [%s] and phone [%s]", userID, request.From))))
result.Add("from", fmt.Sprintf("could not validate 'from' number [%s], please try again later", request.From))
}
returnresult
}
// ValidateMessageBulkSend validates the requests.MessageBulkSend request
result.Add("from", fmt.Sprintf("no phone found with with 'from' number [%s]. Install the android app on your phone to start sending messages", request.From))
}
iferr!=nil {
ctxLogger.Error(validator.tracer.WrapErrorSpan(span, stacktrace.Propagate(err, fmt.Sprintf("could not load phone for user [%s] and phone [%s]", userID, request.From))))
result.Add("from", fmt.Sprintf("could not validate 'from' number [%s], please try again later", request.From))
}
returnresult
}
// ValidateMessageOutstanding validates the requests.MessageOutstanding request