roomtabs

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2026 License: MPL-2.0 Imports: 6 Imported by: 0

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 room tabs API client

func New

func New(webexClient *webexsdk.Client, config *Config) *Client

New creates a new RoomTabs plugin

func (*Client) Create

func (c *Client) Create(tab *RoomTab) (*RoomTab, error)

Create creates a new room tab

func (*Client) Delete

func (c *Client) Delete(tabID string) error

Delete deletes a room tab

func (*Client) Get

func (c *Client) Get(tabID string) (*RoomTab, error)

Get returns details for a room tab

func (*Client) List

func (c *Client) List(options *ListOptions) (*RoomTabsPage, error)

List returns a list of room tabs for a specified room

func (*Client) Update

func (c *Client) Update(tabID string, tab *RoomTab) (*RoomTab, error)

Update updates an existing room tab

type Config

type Config struct {
}

Config holds the configuration for the RoomTabs plugin

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig returns the default configuration for the RoomTabs plugin

type ListOptions

type ListOptions struct {
	RoomID string `url:"roomId,omitempty"`
}

ListOptions contains the options for listing room tabs

type RoomTab

type RoomTab struct {
	ID          string     `json:"id,omitempty"`
	RoomID      string     `json:"roomId,omitempty"`
	RoomType    string     `json:"roomType,omitempty"`
	DisplayName string     `json:"displayName,omitempty"`
	ContentURL  string     `json:"contentUrl,omitempty"`
	CreatorID   string     `json:"creatorId,omitempty"`
	Created     *time.Time `json:"created,omitempty"`
}

RoomTab represents a Webex room tab

type RoomTabsPage

type RoomTabsPage struct {
	Items []RoomTab `json:"items"`
	*webexsdk.Page
}

RoomTabsPage represents a paginated list of room tabs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL