Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendCustomerServiceMessage ¶
func SendCustomerServiceMessage(cs CustomerServiceMessage) (any, error)
SendCustomerServiceMessage sends a customer service message using the input provided to the service.
It calls SendCSMessage on the input CustomerServiceMessage to send the message and processes the response to extract the message data, which is stored in the input data. If the input specifies that the message should be saved, it calls SaveMessage to save the message data.
Returns the message data if successful, or an error if any step fails.
Types ¶
type CustomerRelationshipService ¶
type CustomerRelationshipService struct {
WhatsappService *whatsapp.WhatsappService
FormService *form.FormService
TelegramService *telegram.TelegramService
InstagramService *instagram.InstagramService
// contains filtered or unexported fields
}
func NewCustomerRelationshipService ¶
func NewCustomerRelationshipService(ctx *context.ERPContext) *CustomerRelationshipService
func (*CustomerRelationshipService) Migrate ¶
func (cs *CustomerRelationshipService) Migrate() error
type CustomerServiceMessage ¶
Click to show internal directories.
Click to hide internal directories.