package ghl type TokenResponse struct { AccessToken string `json:"access_token"` RefreshToken string `json:"refresh_token"` ExpiresIn int `json:"expires_in"` TokenType string `json:"token_type"` LocationID string `json:"locationId"` CompanyID string `json:"companyId"` UserType string `json:"userType"` } type OutboundMessageWebhook struct { ContactID string `json:"contactId"` LocationID string `json:"locationId"` MessageID string `json:"messageId"` Type string `json:"type"` Phone string `json:"phone"` Message string `json:"message"` Attachments []string `json:"attachments"` UserID string `json:"userId"` } type MessageStatusUpdate struct { Status string `json:"status"` ErrorCode string `json:"error_code,omitempty"` ErrorMessage string `json:"error_message,omitempty"` } type UninstallWebhook struct { LocationID string `json:"locationId"` CompanyID string `json:"companyId"` } type InboundMessage struct { Type string `json:"type"` Message string `json:"message"` Phone string `json:"phone"` ConversationProviderID string `json:"conversationProviderId,omitempty"` } type InboundMessageResponse struct { ConversationID string `json:"conversationId"` MessageID string `json:"messageId"` }