Documentation
¶
Index ¶
- func OnDelete(f DeleteFn)
- func OnSet(f SetFn)
- func SendEmail(serviceId string, sender et.Json, to []et.Json, subject string, ...) (et.Items, error)
- func SendEmailPromotional(serviceId string, sender et.Json, to []et.Json, subject string, ...) (et.Items, error)
- func SendEmailTransactional(serviceId string, sender et.Json, to []et.Json, subject string, ...) (et.Items, error)
- func SendSmsPromotional(serviceId string, sender, organisation string, contactNumbers []string, ...) (et.Items, error)
- func SendSmsTransactional(serviceId string, sender, organisation string, contactNumbers []string, ...) (et.Items, error)
- func SendWhatsapp(serviceId string, contactNumbers []string, templateId string, params []et.Json, ...) (et.Items, error)
- func SendWhatsappPromotional(serviceId string, contactNumbers []string, templateId string, params []et.Json) (et.Items, error)
- func SendWhatsappTransactional(serviceId string, contactNumbers []string, templateId string, params []et.Json) (et.Items, error)
- type DeleteFn
- type SetFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendEmail ¶ added in v0.1.17
func SendEmail(serviceId string, sender et.Json, to []et.Json, subject string, htmlContent string, params et.Json, tp string) (et.Items, error)
* * SendEmail * @param serviceId string, sender et.Json, to []et.Json, subject string, htmlContent string, params et.Json, tp string * @return et.Items, error *
func SendEmailPromotional ¶
func SendEmailPromotional(serviceId string, sender et.Json, to []et.Json, subject string, htmlContent string, params et.Json) (et.Items, error)
* * SendEmailPromotional * @param serviceId string, sender et.Json, to []et.Json, subject string, htmlContent string, params et.Json * @return et.Items, error *
func SendEmailTransactional ¶
func SendEmailTransactional(serviceId string, sender et.Json, to []et.Json, subject string, htmlContent string, params et.Json) (et.Items, error)
* * SendEmailTransactional * @param serviceId string, sender et.Json, to []et.Json, subject string, htmlContent string, params et.Json * @return et.Items, error *
func SendSmsPromotional ¶
func SendSmsPromotional(serviceId string, sender, organisation string, contactNumbers []string, content string, params []et.Json) (et.Items, error)
* * SendSmsPromotional * @param serviceId string, sender, organisation string, contactNumbers []string, content string, params []et.Json * @return et.Items, error *
func SendSmsTransactional ¶
func SendSmsTransactional(serviceId string, sender, organisation string, contactNumbers []string, content string, params []et.Json) (et.Items, error)
* * SendSmsTransactional * @param serviceId string, sender, organisation string, contactNumbers []string, content string, params []et.Json * @return et.Items, error *
func SendWhatsapp ¶ added in v0.1.17
func SendWhatsapp(serviceId string, contactNumbers []string, templateId string, params []et.Json, tp string) (et.Items, error)
* * SendWhatsapp * @param serviceId string, contactNumbers []string, templateId string, params []et.Json, tp string * @return et.Items, error *
func SendWhatsappPromotional ¶
func SendWhatsappPromotional(serviceId string, contactNumbers []string, templateId string, params []et.Json) (et.Items, error)
* * SendWhatsappPromotional * @param serviceId string, contactNumbers []string, templateId string, params []et.Json * @return et.Items, error *
func SendWhatsappTransactional ¶
func SendWhatsappTransactional(serviceId string, contactNumbers []string, templateId string, params []et.Json) (et.Items, error)
* * SendWhatsappTransactional * @param serviceId string, contactNumbers []string, templateId string, params []et.Json * @return et.Items, error *