telegram

package
v0.0.0-...-d6dd280 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetHookDoamin

func SetHookDoamin(botToken, url string) error

Types

type Ctx

type Ctx = context.Context

Ctx is a synonym for convenience.

type Svc

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

func New

func New(botToken string, a app.Appl, serverless bool) (*Svc, error)

func (*Svc) Ask

func (s *Svc) Ask(user int64, category string, day time.Time)

func (*Svc) ProcessUpdate

func (s *Svc) ProcessUpdate(u tb.Update)

func (*Svc) Start

func (s *Svc) Start()

Jump to

Keyboard shortcuts

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