telbot

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: May 8, 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(userService *core.UserService, domainAddr string) *BotHandler

func (*BotHandler) ApprovePurchase added in v0.3.1

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

func (*BotHandler) ChoosePurchaseMethod added in v0.4.1

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

func (*BotHandler) HandleBankOrder added in v0.4.1

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

func (*BotHandler) HandleCard2CardOrder added in v0.4.1

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

func (*BotHandler) Help added in v0.4.1

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

func (*BotHandler) MainMenu added in v0.4.1

func (b *BotHandler) MainMenu(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