Documentation ¶
Index ¶
- Constants
- Variables
- func AdBlock(c tb.Context) error
- func AddAd(c tb.Context) error
- func AllAd(c tb.Context) error
- func BotStart()
- func DelAd(c tb.Context) error
- func LoadAdMenuBtn(menu *tb.ReplyMarkup)
- func ManageBan() func(c tb.Context) error
- func ManagePass() func(c tb.Context) error
- func OnTextMessage(c tb.Context) error
- func RegisterHandle()
- func RunSyncTask()
- func StartCaptcha(c tb.Context) error
- func TimeoutLeaveGroupToUser()
- func UserJoinGroup(c tb.Context) error
- func VerificationProcess(c tb.Context) error
Constants ¶
View Source
const ( START_CMD = "/start" PING_CMD = "/ping" ADD_AD = "/add_ad" DEL_AD = "/del_ad" ALL_AD = "/all_ad" )
Variables ¶
View Source
var Bot *tb.Bot
View Source
var (
TgUserIdMapToCaptchaSession sync.Map
)
Functions ¶
func RunSyncTask ¶ added in v0.0.2
func RunSyncTask()
func TimeoutLeaveGroupToUser ¶ added in v0.0.2
func TimeoutLeaveGroupToUser()
TimeoutLeaveGroupToUser 一直没有验证就把用户踢出群
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.