attachmentactions

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachmentAction

type AttachmentAction struct {
	ID        string                 `json:"id,omitempty"`
	Type      string                 `json:"type,omitempty"`
	MessageID string                 `json:"messageId,omitempty"`
	Inputs    map[string]interface{} `json:"inputs,omitempty"`
	PersonID  string                 `json:"personId,omitempty"`
	RoomID    string                 `json:"roomId,omitempty"`
	Created   *time.Time             `json:"created,omitempty"`
}

AttachmentAction represents a Webex attachment action

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is the attachment actions API client

func New

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

New creates a new AttachmentActions plugin

func (*Client) Create

func (c *Client) Create(action *AttachmentAction) (*AttachmentAction, error)

Create submits an attachment action for a message with an adaptive card

func (*Client) Get

func (c *Client) Get(actionID string) (*AttachmentAction, error)

Get returns a single attachment action by ID

type Config

type Config struct {
}

Config holds the configuration for the AttachmentActions plugin

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig returns the default configuration for the AttachmentActions plugin

Jump to

Keyboard shortcuts

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