chats

package
v0.0.0-...-b8ae332 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAlreadyExists = errors.New("chat already exists")
View Source
var ErrInternal = errors.New("internal failure")
View Source
var ErrNotFound = errors.New("chat or subscription not found")

Functions

This section is empty.

Types

type Handler

type Handler interface {
	Confirm(ctx *gin.Context)
	DeliverMessages(ctx *gin.Context)
}

func NewHandler

func NewHandler(
	topicPrefixBase string,
	format messages.Format,
	urlCallbackBase string,
	svcReader apiHttpReader.Service,
	tgBot *telebot.Bot,
	clientAwk api.Client,
	groupId string,
) Handler

Jump to

Keyboard shortcuts

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