Versions in this module Expand all Collapse all v1 v1.1.0 Jan 31, 2022 v1.0.1 Sep 23, 2021 v1.0.0 Dec 5, 2019 Changes in this version + func ValidateEvent(e interface{}) error + type Access struct + GroupIDs []int + type Agent struct + RoutingStatus string + type Chat struct + Access Access + Agents map[string]*Agent + Customers map[string]*Customer + ID string + Properties Properties + Threads []Thread + func (c *Chat) UnmarshalJSON(data []byte) error + func (c *Chat) Users() []*User + type ChatSummary struct + Access interface{} + ID string + IsFollowed bool + LastEventPerType interface{} + LastThreadSummary *ThreadSummary + Order uint64 + Properties Properties + Users []interface{} + type Customer struct + AgentLastEventCreatedAt time.Time + CreatedAt time.Time + CustomerLastEventCreatedAt time.Time + Fields map[string]string + LastVisit Visit + Statistics struct{ ... } + type Event struct + AuthorID string + CreatedAt time.Time + CustomID string + ID string + Properties Properties + Recipients string + Type string + func (e *Event) File() *File + func (e *Event) FilledForm() *FilledForm + func (e *Event) Message() *Message + func (e *Event) RichMessage() *RichMessage + type File struct + ContentType string + Height int + Name string + URL string + Width int + type FilledForm struct + Fields []struct{ ... } + type InitialChat struct + Access *Access + ID string + Properties Properties + Thread *InitialThread + func (chat *InitialChat) Validate() error + type InitialThread struct + Events []interface{} + Properties Properties + type Message struct + Text string + type Properties map[string]map[string]interface + type RichMessage struct + Elements []RichMessageElement + TemplateID string + type RichMessageButton struct + PostbackID string + Text string + Type string + UserIds []string + Value string + WebviewHeight string + type RichMessageElement struct + Buttons []RichMessageButton + Image RichMessageImage + Subtitle string + Title string + type RichMessageImage struct + ContentType string + Height int + Name string + Size int + URL string + Width int + type SystemMessage struct + Text string + Type string + type Thread struct + Access Access + Active bool + Events []*Event + ID string + Order int + Properties Properties + RestrictedAccess bool + Timestamp Time + UserIDs []string + type ThreadSummary struct + ID string + Order int32 + TotalEvents uint + type Time struct + func (t *Time) UnmarshalJSON(s []byte) (err error) + func (t Time) MarshalJSON() ([]byte, error) + type User struct + Avatar string + Email string + ID string + LastSeen Time + Name string + Present bool + Type string + func (u *User) Agent() *Agent + func (u *User) Customer() *Customer + type Visit struct + Geolocation struct{ ... } + IP string + LastPages []struct{ ... } + StartedAt time.Time + UserAgent string Other modules containing this package github.com/livechat/lc-sdk-go/v2 github.com/livechat/lc-sdk-go/v3 github.com/livechat/lc-sdk-go/v4