wecom

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: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WeComChannel

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

func NewChannel

func NewChannel(bc *config.Channel, cfg *config.WeComSettings, messageBus *bus.MessageBus) (*WeComChannel, error)

func (*WeComChannel) BeginStream

func (c *WeComChannel) BeginStream(_ context.Context, chatID string) (channels.Streamer, error)

func (*WeComChannel) Name

func (c *WeComChannel) Name() string

func (*WeComChannel) Send

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

func (*WeComChannel) SendMedia

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

func (*WeComChannel) Start

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

func (*WeComChannel) Stop

func (c *WeComChannel) Stop(_ context.Context) error

Jump to

Keyboard shortcuts

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