Documentation
¶
Index ¶
- Constants
- Variables
- func Private(botName string, client *tg.Client, openaiClient *openai.Client, ...) func(ctx context.Context, msg *tgb.MessageUpdate) error
- func Public(me *tg.User) func(ctx context.Context, msg *tgb.MessageUpdate) error
- func Reset() func(ctx context.Context, msg *tgb.MessageUpdate) error
- func Start(botName string) func(ctx context.Context, msg *tgb.MessageUpdate) error
Constants ¶
View Source
const (
DurationTyping = 8 * time.Second
)
Variables ¶
View Source
var (
ErrTooLongUserMessage = errors.New("too long message")
)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.