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

# Functions

NewAPI returns ready to use Agent API.
NewArchivesFilters creates empty structure to aggregate filters for ListArchives method.
NewChatsFilters creates empty structure to aggregate filters for Chats in ListChats method By default filters include also active chats.
NewCustomersFilters creates empty structure to aggregate filters for customers in ListCustomers method.
NewIntegerFilter creates new filter for integer values `inclusive` parameter controls if the filtered values should match or exclude given values.
NewPropertyFilterType creates new filter object for Chat properties If only first parameter is passed, filter will check only existence of property Passing additional parameters will check if property values match/exclude given values based on the first parameter.
NewStringFilter creates new filter for string values `inclusive` parameter controls if the filtered values should match or exclude given values.
NewThreadsFilters creates empty structure to aggregate filters for Threads in ListThreads method.
ValidateEvent checks if given interface resolves into supported event type.

# Structs

Access represents LiveChat chat and thread access.
Agent represents LiveChat agent.
No description provided by the author
API provides the API operation methods for making requests to Agent Chat API via Web API.
Chat represents LiveChat chat.
ChatSummary represents a short summary of a chat.
Customer represents LiveChat customer.
CustomerChat represents LiveChat customer's chat.
DateRangeFilter represents structure to define a range in which filtered dates should be matched Dates are represented in ISO 8601 format with microseconds resolution, e.g.
Event represents base of all LiveChat chat events.
File represents LiveChat file event.
FilledForm represents LiveChat filled form event.
InitialChat represents initial chat used in StartChat or ResumeChat.
InitialThread represents initial chat thread used in StartChat or ResumeChat.
Message represents LiveChat message event.
MulticastRecipients aggregates Agent and Customer recipients that multicast should be sent to.
MulticastRecipientsAgents represents recipients for multicast to agents.
MulticastRecipientsCustomers represents recipients for multicast to customers.
Postback represents postback data in LiveChat message event.
Queue represents position of a thread in a queue.
RangeFilter represents structure to define a range in which filtered numbers should be matched LTE - less than or equal LT - less than GTE - greater than or equal GT - greater than EQ - equal.
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.
SurveyFilter represents structure to match surveys when getting Archives.
SystemMessage represents LiveChat system message event.
Thread represents LiveChat chat thread.
ThreadSummary represents a short summary of a thread.
User represents base of both Customer and Agent To get specific user type's structure, call Agent() or Customer() (based on Type value).
Visit contains information about particular customer's visit.

# Type aliases

No description provided by the author
Properties represents LiveChat properties in form of property_namespace -> property -> value.
PropertiesFilters represents set of filters for Chat properties.