message

package
v0.0.60 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBulkSendCommand added in v0.0.58

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

NewBulkSendCommand creates a new command to send a message to multiple participants

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

func NewSendGroupCommand added in v0.0.58

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

NewSendGroupCommand creates a new command to send a message to a participant group

Types

type BulkSendOptions added in v0.0.58

type BulkSendOptions struct {
	IDs     string
	StudyID string
	Body    string
}

BulkSendOptions is the options for the bulk send message command.

type ListOptions

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

ListOptions is the options for the listing messages command.

type SendGroupOptions added in v0.0.58

type SendGroupOptions struct {
	GroupID string
	StudyID string
	Body    string
}

SendGroupOptions is the options for the send group message 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