handlers

package
v0.0.0-...-402233a Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2018 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const PageLimit = 5

每页条目

Variables

This section is empty.

Functions

func ReplyLuckyMoneyInfo

func ReplyLuckyMoneyInfo(bot *methods.BotExt, fromID int64, inlineMessageID string,
	luckyMoney *models.LuckyMoney, received uint32, expired bool)

回复红包信息

func ShowLuckyMoney

func ShowLuckyMoney(bot *methods.BotExt, query *types.InlineQuery)

显示红包信息

Types

type DepositHandler

type DepositHandler struct {
}

存款

func (*DepositHandler) Handle

func (*DepositHandler) Handle(bot *methods.BotExt, r *history.History, update *types.Update)

消息处理

type Handler

type Handler interface {
	Handle(*methods.BotExt, *history.History, *types.Update)
	// contains filtered or unexported methods
}

消息处理器

type HistoryHandler

type HistoryHandler struct {
}

历史记录

func (*HistoryHandler) Handle

func (handler *HistoryHandler) Handle(bot *methods.BotExt, r *history.History, update *types.Update)

消息处理

type MainMenuHandler struct {
}

主菜单

func (handler *MainMenuHandler) Handle(bot *methods.BotExt, r *history.History, update *types.Update)

消息处理

type NewHandler

type NewHandler struct {
}

创建红包

func (*NewHandler) Handle

func (handler *NewHandler) Handle(bot *methods.BotExt, r *history.History, update *types.Update)

消息处理

type RateBotHandler

type RateBotHandler struct {
}

机器人评分

func (*RateBotHandler) Handle

func (*RateBotHandler) Handle(bot *methods.BotExt, r *history.History, update *types.Update)

消息处理

type ReceiveHandler

type ReceiveHandler struct {
}

领取红包

func (*ReceiveHandler) Handle

func (handler *ReceiveHandler) Handle(bot *methods.BotExt, r *history.History, update *types.Update)

消息处理

type ShareBotHandler

type ShareBotHandler struct {
}

分享机器人

func (*ShareBotHandler) Handle

func (*ShareBotHandler) Handle(bot *methods.BotExt, r *history.History, update *types.Update)

消息处理

type UsageHandler

type UsageHandler struct {
}

使用说明

func (*UsageHandler) Handle

func (*UsageHandler) Handle(bot *methods.BotExt, r *history.History, update *types.Update)

消息处理

type WithdrawHandler

type WithdrawHandler struct {
}

取款

func (*WithdrawHandler) Handle

func (handler *WithdrawHandler) Handle(bot *methods.BotExt, r *history.History, update *types.Update)

消息处理

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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