commandresponse

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	Type     string `json:"type"`
	ImageURL string `json:"image_url"`
	AltText  string `json:"alt_text"`
}

type Message

type Message struct {
	ResponseType string `json:"response_type"`
	Blocks       []any  `json:"blocks"`
}

type Section

type Section struct {
	Type   string `json:"type"`
	Text   Text   `json:"text,omitempty,omitzero"`
	Fields []any  `json:"fields,omitempty"`
}

type Text

type Text struct {
	Type string `json:"type"`
	Text string `json:"text"`
}

Jump to

Keyboard shortcuts

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