message

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewListCommand

func NewListCommand(commandName string, client client.API, w io.Writer) *cobra.Command

NewListCommand creates a new command to deal with messages

func NewMessageCommand

func NewMessageCommand(client client.API, w io.Writer) *cobra.Command

NewMessageCommand creates a new `message` command

func NewSendCommand

func NewSendCommand(commandName string, client client.API, w io.Writer) *cobra.Command

NewSendCommand creates a new command to deal with sending a message

Types

type ListOptions

type ListOptions struct {
	Args         []string
	UserID       string
	CreatedAfter string
	Unread       bool
}

ListOptions is the options for the listing messages command.

type SendOptions

type SendOptions struct {
	Args        []string
	RecipientID string
	StudyID     string
	Body        string
}

SendOptions is the options for the send message command.

Jump to

Keyboard shortcuts

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