Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the events API client
func (*Client) List ¶
func (c *Client) List(options *ListOptions) (*EventsPage, error)
List returns a list of events with optional filters
type Config ¶
type Config struct {
}
Config holds the configuration for the Events plugin
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns the default configuration for the Events plugin
type Event ¶
type Event struct {
ID string `json:"id,omitempty"`
Resource string `json:"resource,omitempty"`
Type string `json:"type,omitempty"`
AppID string `json:"appId,omitempty"`
ActorID string `json:"actorId,omitempty"`
OrgID string `json:"orgId,omitempty"`
Created time.Time `json:"created,omitempty"`
Data EventData `json:"data,omitempty"`
Errors webexsdk.ResourceErrors `json:"errors,omitempty"`
}
Event represents a Webex event
type EventData ¶
type EventData struct {
ID string `json:"id,omitempty"`
RoomID string `json:"roomId,omitempty"`
RoomType string `json:"roomType,omitempty"`
OrgID string `json:"orgId,omitempty"`
Text string `json:"text,omitempty"`
PersonID string `json:"personId,omitempty"`
PersonEmail string `json:"personEmail,omitempty"`
MeetingID string `json:"meetingId,omitempty"`
CreatorID string `json:"creatorId,omitempty"`
Host json.RawMessage `json:"host,omitempty"`
Attendees json.RawMessage `json:"attendees,omitempty"`
TranscriptionEnabled string `json:"transcriptionEnabled,omitempty"`
RecordingEnabled string `json:"recordingEnabled,omitempty"`
HasPostMeetingsChat string `json:"hasPostMeetingsChat,omitempty"`
// Telephony-related fields
CorrelationID string `json:"corelationId,omitempty"`
CallType string `json:"callType,omitempty"`
UserID string `json:"userId,omitempty"`
UserType string `json:"userType,omitempty"`
CallDirection string `json:"callDirection,omitempty"`
IsCallAnswered string `json:"isCallAnswered,omitempty"`
CallDurationSeconds string `json:"callDurationSeconds,omitempty"`
CallStartTime string `json:"callStartTime,omitempty"`
CallAnswerTime string `json:"callAnswerTime,omitempty"`
CallTransferTime string `json:"callTransferTime,omitempty"`
CallingNumber string `json:"callingNumber,omitempty"`
CallingLineID string `json:"callingLineId,omitempty"`
CalledNumber string `json:"calledNumber,omitempty"`
CalledLineID string `json:"calledLineId,omitempty"`
DialedDigits string `json:"dialedDigits,omitempty"`
CallRedirectingNumber string `json:"callRedirectingNumber,omitempty"`
CallRedirectedReason string `json:"callRedirectedReason,omitempty"`
Created string `json:"created,omitempty"`
}
EventData represents the data field of an event
type EventsPage ¶
EventsPage represents a paginated list of events
type ListOptions ¶
type ListOptions struct {
Resource string `url:"resource,omitempty"`
Type string `url:"type,omitempty"`
ActorID string `url:"actorId,omitempty"`
From string `url:"from,omitempty"`
To string `url:"to,omitempty"`
Max int `url:"max,omitempty"`
}
ListOptions contains the options for listing events
Click to show internal directories.
Click to hide internal directories.