whahep

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Button

type Button struct {
	ButtonId    string `json:"button_id,omitempty"`
	DisplayText string `json:"display_text,omitempty"`
}

type ButtonsMessage

type ButtonsMessage struct {
	HeaderText  string `json:"header_text,omitempty"`
	ContentText string `json:"content_text,omitempty"`
	FooterText  string `json:"footer_text,omitempty"`
}

type ButtonsMessages

type ButtonsMessages struct {
	Message ButtonsMessage `json:"message,omitempty"`
	Buttons []Button       `json:"buttons,omitempty"`
}

type ListMessage

type ListMessage struct {
	Title       string
	Description string
	FooterText  string
	ButtonText  string
	Sections    []ListSection
}

type ListRow

type ListRow struct {
	Title       string
	Description string
	RowId       string
}

type ListSection

type ListSection struct {
	Title string
	Rows  []ListRow
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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