telegram

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstanceObj

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

func NewTelegram added in v1.2.1

func NewTelegram(opts Options) (*InstanceObj, error)

func (*InstanceObj) Start

func (hdl *InstanceObj) Start() error

func (*InstanceObj) Stop added in v1.2.1

func (hdl *InstanceObj) Stop() error

type Options added in v1.4.0

type Options struct {
	Config  config.Tg
	Log     zerolog.Logger
	Model   *model.Model
	OldLog  *zap.SugaredLogger
	Router  *chi.Mux
	Storage *storage.InstanceObj
}

Jump to

Keyboard shortcuts

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