platforms

package
v0.92.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package platforms provides multi-platform integration for chat and messaging.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MessageConvert

func MessageConvert(data any) protocol.Message

MessageConvert converts a generic payload into a platform-agnostic protocol.Message.

func PlatformRegister

func PlatformRegister(name string, caller *Caller) error

Types

type Caller

type Caller struct {
	Action  protocol.Action
	Adapter protocol.Adapter
}

func GetCaller

func GetCaller(name string) (*Caller, error)

func (*Caller) Do

Directories

Path Synopsis
Package discord implements the Discord platform integration.
Package discord implements the Discord platform integration.
Package slack implements the Slack platform integration.
Package slack implements the Slack platform integration.
Package tailchat implements the Tailchat platform integration.
Package tailchat implements the Tailchat platform integration.

Jump to

Keyboard shortcuts

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