Documentation
¶
Index ¶
- type InternalPlugins
- type WebexClient
- func (c *WebexClient) AttachmentActions() *attachmentactions.Client
- func (c *WebexClient) Calling() *calling.Client
- func (c *WebexClient) Conversation() (*conversation.Client, error)
- func (c *WebexClient) Core() *webexsdk.Client
- func (c *WebexClient) Device() *device.Client
- func (c *WebexClient) Events() *events.Client
- func (c *WebexClient) Internal() *InternalPlugins
- func (c *WebexClient) Meetings() *meetings.Client
- func (c *WebexClient) Memberships() *memberships.Client
- func (c *WebexClient) Mercury() *mercury.Client
- func (c *WebexClient) Messages() *messages.Client
- func (c *WebexClient) People() *people.Client
- func (c *WebexClient) RoomTabs() *roomtabs.Client
- func (c *WebexClient) Rooms() *rooms.Client
- func (c *WebexClient) TeamMemberships() *teammemberships.Client
- func (c *WebexClient) Teams() *teams.Client
- func (c *WebexClient) Transcripts() *transcripts.Client
- func (c *WebexClient) Webhooks() *webhooks.Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InternalPlugins ¶
InternalPlugins holds internal plugins that aren't part of the public API
type WebexClient ¶
type WebexClient struct {
// contains filtered or unexported fields
}
WebexClient is the top-level client for the Webex API
func NewClient ¶
func NewClient(accessToken string, config *webexsdk.Config) (*WebexClient, error)
NewClient creates a new Webex client with the given access token and optional configuration
func (*WebexClient) AttachmentActions ¶
func (c *WebexClient) AttachmentActions() *attachmentactions.Client
AttachmentActions returns the AttachmentActions plugin
func (*WebexClient) Calling ¶
func (c *WebexClient) Calling() *calling.Client
Calling returns the Calling plugin for Webex Calling APIs (Call History, Call Settings, Voicemail, Contacts).
func (*WebexClient) Conversation ¶
func (c *WebexClient) Conversation() (*conversation.Client, error)
Conversation returns a fully-wired Conversation client for real-time WebSocket message listening with automatic decryption.
This is a convenience method that abstracts away the manual setup of Device registration, Mercury WebSocket wiring, and encryption (KMS) authentication. The client is lazily initialized on first call and cached for subsequent calls.
Simple usage:
conv, err := client.Conversation()
conv.On("post", handler)
conv.Connect()
defer conv.Disconnect()
For advanced control over Device, Mercury, or Encryption configuration, use the lower-level APIs directly (device.New, mercury.New, conversation.New).
func (*WebexClient) Core ¶
func (c *WebexClient) Core() *webexsdk.Client
Core returns the core Webex client
func (*WebexClient) Device ¶
func (c *WebexClient) Device() *device.Client
Device returns the Device plugin (internal)
func (*WebexClient) Events ¶
func (c *WebexClient) Events() *events.Client
Events returns the Events plugin
func (*WebexClient) Internal ¶
func (c *WebexClient) Internal() *InternalPlugins
Internal returns a struct containing internal plugins
func (*WebexClient) Meetings ¶
func (c *WebexClient) Meetings() *meetings.Client
Meetings returns the Meetings plugin
func (*WebexClient) Memberships ¶
func (c *WebexClient) Memberships() *memberships.Client
Memberships returns the Memberships plugin
func (*WebexClient) Mercury ¶
func (c *WebexClient) Mercury() *mercury.Client
Mercury returns the Mercury plugin (internal)
func (*WebexClient) Messages ¶
func (c *WebexClient) Messages() *messages.Client
Messages returns the Messages plugin
func (*WebexClient) People ¶
func (c *WebexClient) People() *people.Client
People returns the People plugin
func (*WebexClient) RoomTabs ¶
func (c *WebexClient) RoomTabs() *roomtabs.Client
RoomTabs returns the RoomTabs plugin
func (*WebexClient) Rooms ¶
func (c *WebexClient) Rooms() *rooms.Client
Rooms returns the Rooms plugin
func (*WebexClient) TeamMemberships ¶
func (c *WebexClient) TeamMemberships() *teammemberships.Client
TeamMemberships returns the TeamMemberships plugin
func (*WebexClient) Teams ¶
func (c *WebexClient) Teams() *teams.Client
Teams returns the Teams plugin
func (*WebexClient) Transcripts ¶
func (c *WebexClient) Transcripts() *transcripts.Client
Transcripts returns the Transcripts plugin
func (*WebexClient) Webhooks ¶
func (c *WebexClient) Webhooks() *webhooks.Client
Webhooks returns the Webhooks plugin
Directories
¶
| Path | Synopsis |
|---|---|
|
Package calling provides a client for the Webex Calling APIs.
|
Package calling provides a client for the Webex Calling APIs. |
|
examples
|
|
|
attachmentactions
command
|
|
|
calling
command
Package main provides a web-based example application for the Webex Calling API.
|
Package main provides a web-based example application for the Webex Calling API. |
|
conversation-listen-internal
command
|
|
|
events
command
|
|
|
meetings
command
|
|
|
memberships
command
|
|
|
messages
command
|
|
|
messages-listen
command
|
|
|
people
command
|
|
|
rooms
command
|
|
|
roomtabs
command
|
|
|
teammemberships
command
|
|
|
teams
command
|
|
|
transcripts
command
|
|
|
webhooks
command
|
|