customer_relationship

package
v1.0.49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2025 License: MIT Imports: 7 Imported by: 0

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

type CustomerServiceMessage interface {
	SendCSMessage() (any, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL