matrix

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 28 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MatrixChannel

type MatrixChannel struct {
	*channels.BaseChannel
	// contains filtered or unexported fields
}

MatrixChannel implements the Channel interface for Matrix.

func NewMatrixChannel

func NewMatrixChannel(
	bc *config.Channel,
	cfg *config.MatrixSettings,
	messageBus *bus.MessageBus,
	cryptoDatabasePath string,
) (*MatrixChannel, error)

func (*MatrixChannel) ClearToolFeedbackMessage

func (c *MatrixChannel) ClearToolFeedbackMessage(chatID string)

func (*MatrixChannel) DeleteMessage

func (c *MatrixChannel) DeleteMessage(ctx context.Context, chatID string, messageID string) error

DeleteMessage implements channels.MessageDeleter.

func (*MatrixChannel) DismissToolFeedbackMessage

func (c *MatrixChannel) DismissToolFeedbackMessage(ctx context.Context, chatID string)

func (*MatrixChannel) EditMessage

func (c *MatrixChannel) EditMessage(ctx context.Context, chatID string, messageID string, content string) error

EditMessage implements channels.MessageEditor.

func (*MatrixChannel) FinalizeToolFeedbackMessage

func (c *MatrixChannel) FinalizeToolFeedbackMessage(ctx context.Context, msg bus.OutboundMessage) ([]string, bool)

func (*MatrixChannel) RecordToolFeedbackMessage

func (c *MatrixChannel) RecordToolFeedbackMessage(chatID, messageID, content string)

func (*MatrixChannel) Send

func (c *MatrixChannel) Send(ctx context.Context, msg bus.OutboundMessage) ([]string, error)

func (*MatrixChannel) SendMedia

func (c *MatrixChannel) SendMedia(ctx context.Context, msg bus.OutboundMediaMessage) ([]string, error)

SendMedia implements channels.MediaSender.

func (*MatrixChannel) SendPlaceholder

func (c *MatrixChannel) SendPlaceholder(ctx context.Context, chatID string) (string, error)

SendPlaceholder implements channels.PlaceholderCapable.

func (*MatrixChannel) Start

func (c *MatrixChannel) Start(ctx context.Context) error

func (*MatrixChannel) StartTyping

func (c *MatrixChannel) StartTyping(ctx context.Context, chatID string) (func(), error)

StartTyping implements channels.TypingCapable.

func (*MatrixChannel) Stop

func (c *MatrixChannel) Stop(ctx context.Context) error

func (*MatrixChannel) VoiceCapabilities

func (c *MatrixChannel) VoiceCapabilities() channels.VoiceCapabilities

VoiceCapabilities returns the voice capabilities of the channel.

Jump to

Keyboard shortcuts

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