Documentation
¶
Index ¶
- func GetId(client_id, kind, description string) string
- func GetStatus(serviceId string) (et.Json, error)
- func SendEmail(projectId string, to []et.Json, subject string, htmlContent string, ...) et.Json
- func SendEmailByTemplate(projectId string, to []et.Json, subject string, templateId int, ...) et.Json
- func SendPush(projectId string, to []et.Json, subject string, content string, ...) et.Json
- func SendSms(projectId string, contactNumbers []string, content string, params []et.Json, ...) et.Json
- func SendWhatsapp(projectId, string, templateId int, contactNumbers []string, params []et.Json, ...) et.Json
- func SetStatus(serviceId string, status et.Json)
- type TpMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendEmail ¶
func SendEmail(projectId string, to []et.Json, subject string, htmlContent string, params []et.Json, tp TpMessage, createdBy string) et.Json
* * SendEmail * @param projectId string, to []et.Json, subject string, htmlContent string, params []et.Json, tp TpMessage, createdBy string * @response et.Json *
func SendEmailByTemplate ¶
func SendEmailByTemplate(projectId string, to []et.Json, subject string, templateId int, params []et.Json, tp TpMessage, createdBy string) et.Json
* * SendEmailByTemplate * @param projectId string, to []et.Json, subject string, templateId int, params []et.Json, tp TpMessage, createdBy string * @response et.Json *
func SendPush ¶
func SendPush(projectId string, to []et.Json, subject string, content string, params []et.Json, tp TpMessage, createdBy string) et.Json
* * SendPush * @param projectId string, to []et.Json, subject string, content string, params []et.Json, tp TpMessage, createdBy string * @response et.Json *
func SendSms ¶
func SendSms(projectId string, contactNumbers []string, content string, params []et.Json, tp TpMessage, createdBy string) et.Json
* * SendSms * @param projectId string, contactNumbers []string, content string, params []et.Json, tp TpMessage, createdBy string * @response et.Json *
func SendWhatsapp ¶
func SendWhatsapp(projectId, string, templateId int, contactNumbers []string, params []et.Json, tp TpMessage, createdBy string) et.Json
* * SendWhatsapp * @param projectId, string, templateId int, contactNumbers []string, params []et.Json, tp TpMessage, createdBy string * @response et.Json *