httpsms-gateway / api /pkg /requests /phone_api_key_store_request.go
ML Intern deploy
Deploy httpSMS gateway to Hugging Face Spaces (Docker SDK): nginx :7860 -> Go API :8000, Nuxt SPA, Android APK, bootstrap-mode entrypoint
83a59ca
Raw History Blame
376 Bytes
package requests
// PhoneAPIKeyStoreRequest is the payload for storing a phone API key
type PhoneAPIKeyStoreRequest struct {
request
Name string `json:"name" example:"My Phone API Key"`
}
// Sanitize sets defaults to MessageReceive
func (input *PhoneAPIKeyStoreRequest) Sanitize() PhoneAPIKeyStoreRequest {
input.Name = input.sanitizeAddress(input.Name)
return *input
}