slack

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() core.Interface

Types

type Bot

type Bot struct {
	// contains filtered or unexported fields
}

func NewBot

func NewBot(botToken, appToken string, manager *core.SessionManager) *Bot

func NewBotFromClient added in v0.1.1

func NewBotFromClient(client *slack.Client, appToken string, manager *core.SessionManager) *Bot

func (*Bot) Run

func (b *Bot) Run(ctx context.Context) error

type BotAdapter

type BotAdapter struct {
	// contains filtered or unexported fields
}

func (*BotAdapter) Name

func (b *BotAdapter) Name() string

func (*BotAdapter) Run

func (b *BotAdapter) Run(ctx context.Context, deps core.Deps) error

func (*BotAdapter) ScheduleNotify added in v0.1.1

func (b *BotAdapter) ScheduleNotify(ctx context.Context, channel, message string) error

type DebouncedUpdater

type DebouncedUpdater struct {
	// contains filtered or unexported fields
}

func NewDebouncedUpdater

func NewDebouncedUpdater(client *slack.Client, channel, threadTs, msgTs string) *DebouncedUpdater

func (*DebouncedUpdater) Append

func (d *DebouncedUpdater) Append(text string)

func (*DebouncedUpdater) Finalize

func (d *DebouncedUpdater) Finalize()

func (*DebouncedUpdater) SetError

func (d *DebouncedUpdater) SetError(text string)

Jump to

Keyboard shortcuts

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