telbot

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BotHandler

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

func NewBotHandler

func NewBotHandler(domainAddr string) *BotHandler

func (*BotHandler) ApprovePurchase added in v0.3.1

func (b *BotHandler) ApprovePurchase(c tele.Context) error

func (*BotHandler) HandlePackagePurchase added in v0.3.1

func (b *BotHandler) HandlePackagePurchase(c tele.Context) error

func (*BotHandler) Purchase added in v0.3.1

func (b *BotHandler) Purchase(c tele.Context) error

func (*BotHandler) PurchaseReceipt added in v0.3.1

func (b *BotHandler) PurchaseReceipt(c tele.Context) error

func (*BotHandler) Register

func (b *BotHandler) Register(c tele.Context) error

func (*BotHandler) RejectPurchase added in v0.3.1

func (b *BotHandler) RejectPurchase(c tele.Context) error

func (*BotHandler) Start

func (b *BotHandler) Start()

func (*BotHandler) StartNotifyingAdmins added in v0.3.1

func (b *BotHandler) StartNotifyingAdmins()

StartNotifyingAdmins loops over a channel and sends a photo with caption to the admin channel

func (*BotHandler) StartNotifyingUsers added in v0.3.1

func (b *BotHandler) StartNotifyingUsers()

func (*BotHandler) Sub

func (b *BotHandler) Sub(c tele.Context) error

func (*BotHandler) TrafficUsage

func (b *BotHandler) TrafficUsage(c tele.Context) error

Jump to

Keyboard shortcuts

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