api

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrArgumentNotFound = errors.New("argument not found")

Functions

This section is empty.

Types

type Argument

type Argument interface {
	Get(req api.Request) (string, error)
}

func NewConstArg

func NewConstArg(val string) Argument

func NewRefArg

func NewRefArg(ref string) Argument

type SendMessage

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

func NewSendMessage

func NewSendMessage(chats []uint64, handler api.Handler) *SendMessage

func (*SendMessage) Call

func (sm *SendMessage) Call(ctx context.Context, req api.Request) error

Jump to

Keyboard shortcuts

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