package
3.1.3
Repository: https://github.com/livechat/lc-sdk-go.git
Documentation: pkg.go.dev

# Functions

NewConfiguration creates basic WebhookHandler configuration that processes no webhooks and uses http.Error to handle webhook processing errors.
NewWebhookHandler creates WebhookHandler that can be used with golang HTTP server.
ValidateEvent checks if given interface resolves into supported event type.

# Structs

Access represents LiveChat chat and thread access.
Agent represents LiveChat agent.
AgentDeleted represents payload of agent_deleted webhook.
Chat represents LiveChat chat.
ChatAccessGranted represents payload of chat_access_granted webhook.
ChatAccessRevoked represents payload of chat_access_revoked webhook.
ChatDeactivated represents payload of chat_deactivated webhook.
ChatPropertiesDeleted represents payload of chat_properties_deleted webhook.
ChatPropertiesUpdated represents payload of chat_properties_updated webhook.
ChatTransferred represents payload of chat_transferred webhook.
A Configuration structure is used to configure WebhookHandler.
Customer represents LiveChat customer.
CustomerSessionFieldsUpdated represents payload of customer_session_fields_updated webhook.
Event represents base of all LiveChat chat events.
EventPropertiesDeleted represents payload of event_properties_deleted webhook.
EventPropertiesUpdated represents payload of event_properties_updated webhook.
EventsMarkedAsSeen represents payload of events_marked_as_seen webhook.
EventUpdated represents payload of event_updated webhook.
File represents LiveChat file event.
FilledForm represents LiveChat filled form event.
IncomingChat represents payload of incoming_chat webhook.
IncomingEvent represents payload of incoming_event webhook.
IncomingRichMessagePostback represents payload of incoming_rich_message_postback webhook.
Message represents LiveChat message event.
Postback represents postback data in LiveChat message event.
No description provided by the author
RichMessage represents LiveChat rich message event.
RichMessageButton represents button in LiveChat rich message.
RichMessageElement represents element of LiveChat rich message.
RichMessageImage represents image in LiveChat rich message.
RoutingStatusSet represents payload of routing_status_set webhook.
SystemMessage represents LiveChat system message event.
Thread represents LiveChat chat thread.
ThreadPropertiesDeleted represents payload of thread_properties_deleted webhook.
ThreadPropertiesUpdated represents payload of thread_properties_updated webhook.
ThreadTagged represents payload of thread_tagged webhook.
ThreadUntagged represents payload of thread_untagged webhook.
User represents base of both Customer and Agent To get specific user type's structure, call Agent() or Customer() (based on Type value).
UserAddedToChat represents payload of user_added_to_chat webhook.
UserRemovedFromChat represents payload of user_removed_from_chat webhook.
Visit contains information about particular customer's visit.
Webhook represents general webhook format.

# Type aliases

The ErrorHandler type is used to define custom error handlers for WebhookHandler.
The Handler type is used to define webhook processors.
IncomingCustomer represents payload of incoming_customer webhook.
Properties represents LiveChat properties in form of property_namespace -> property -> value.