tgc

package
v0.6.0-beta Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Login added in v0.3.0

func Login(middlewares ...telegram.Middleware) (*telegram.Client, kv.KV, error)

func New

func New(login bool, middlewares ...telegram.Middleware) (*telegram.Client, kv.KV, error)

func NoLogin added in v0.3.0

func NoLogin(middlewares ...telegram.Middleware) (*telegram.Client, kv.KV, error)

func RunWithAuth added in v0.3.0

func RunWithAuth(ctx context.Context, client *telegram.Client, f func(ctx context.Context) error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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