Skip to content

telegram captcha solver

Alain Gilbert edited this page Jun 18, 2021 · 1 revision
tgBotToken := "000000000:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
tgChatID := 000000000
params := ogame.Params{
    Universe:        universe,
    Username:        username,
    Password:        password,
    Lang:            language,
    AutoLogin:       false,
    CaptchaCallback: ogame.TelegramSolver(tgBotToken, tgChatID),
}
bot, _ := ogame.NewWithParams(params)
err := bot.Login()
Clone this wiki locally