Documentation
¶
Index ¶
- func GetId(client_id, kind, description string) string
- func GetStatus(serviceId string) (et.Json, error)
- func SendEmail(project_id string, to []et.Json, subject string, html_content string, ...) et.Json
- func SendEmailByTemplate(project_id string, to []et.Json, subject string, template_id int, ...) et.Json
- func SendOtpEmail(project_id string, email, name, device string, length int, duration int, ...) et.Json
- func SendOtpSms(project_id string, phone_number, name, device string, length int, duration int, ...) et.Json
- func SendOtpWhatsapp(project_id string, phone_number, name, device string, length int, duration int, ...) et.Json
- func SendSms(project_id string, contactNumbers []string, content string, params []et.Json, ...) et.Json
- func SendWhatsapp(project_id string, template_id int, contactNumbers []string, params []et.Json, ...) et.Json
- func SetStatus(serviceId string, status et.Json)
- func VerifyOtp(channel, device, kind, code, clientId string) (et.Item, error)
- type TpMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetId ¶ added in v1.1.74
* * GetId * @param client_id, kind, description string * @response string *
func GetStatus ¶ added in v1.1.74
* * GetStatus * @param serviceId string * @response et.Json, error *
func SendEmail ¶ added in v1.1.73
func SendEmail(project_id string, to []et.Json, subject string, html_content string, params []et.Json, tp TpMessage, clientId string) et.Json
* * SendEmail * @param project_id string, to []et.Json, subject string, html_content string, params []et.Json, tp TpMessage, clientId string * @response et.Json *
func SendEmailByTemplate ¶ added in v1.1.73
func SendEmailByTemplate(project_id string, to []et.Json, subject string, template_id int, params []et.Json, tp TpMessage, clientId string) et.Json
* * SendEmailByTemplate * @param project_id string, to []et.Json, subject string, template_id int, params []et.Json, tp TpMessage, clientId string * @response et.Json *
func SendOtpEmail ¶ added in v1.1.74
func SendOtpEmail(project_id string, email, name, device string, length int, duration int, clientId string) et.Json
* * SendOtpEmail * @param project_id string, email, name, device string, length, duration int, clientId string * @response et.Json *
func SendOtpSms ¶ added in v1.1.74
func SendOtpSms(project_id string, phone_number, name, device string, length int, duration int, clientId string) et.Json
* * SendOtp * @param project_id string, channel, name, device string, length, duration int, clientId string * @response et.Json *
func SendOtpWhatsapp ¶ added in v1.1.74
func SendOtpWhatsapp(project_id string, phone_number, name, device string, length int, duration int, clientId string) et.Json
* * SendOtpWhatsapp * @param project_id string, phone_number, name, device string, length, duration int, clientId string * @response et.Json *
func SendSms ¶ added in v1.1.73
func SendSms(project_id string, contactNumbers []string, content string, params []et.Json, tp TpMessage, clientId string) et.Json
* * SendSms * @param project_id string, contactNumbers []string, content string, params []et.Json, tp TpMessage, clientId string * @response et.Json *
func SendWhatsapp ¶ added in v1.1.73
func SendWhatsapp(project_id string, template_id int, contactNumbers []string, params []et.Json, tp TpMessage, clientId string) et.Json
* * SendWhatsapp * @param project_id string, template_id int, contactNumbers []string, params []et.Json, tp TpMessage, clientId string * @response et.Json *