telegram

package
v0.0.0-...-1354829 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Create(ctx context.Context, ch *Channel) (err error)
	Read(ctx context.Context, link string) (ch *Channel, err error)
	Delete(ctx context.Context, link string) (err error)
	List(ctx context.Context, filter *Filter, limit uint32, cursor string, order model.Order) (page []string, err error)

	Login(ctx context.Context, code string, replicaIdx uint32) (success bool, err error)
}

func NewService

func NewService(client ServiceClient, fmtUriReplica string) Service

func NewServiceLogging

func NewServiceLogging(svc Service, log *slog.Logger) Service

Jump to

Keyboard shortcuts

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