type Client struct { Business business.BusinessClient // Business is the business client. Messaging []messaging.MessagingClient // MessagingClient is the messaging client. eventManager *manager.EventManager // eventManager is the event manager. webhook *manager.WebhookManager // webhook is the webhook manager. requester *request_client.RequestClient apiAccessToken string businessAccountId string}
type ClientConfig struct { BusinessAccountId string ApiAccessToken string WebhookSecret string `validate:"required"` // these two are not required, because may be user want to use their own server WebhookPath string WebhookServerPort int}
Assistant
Responses are generated using AI and may contain mistakes.