README ¶ tgauth Simple CLI tool for creating gotd sessions. Install go install github.com/tdakkota/tgauth@latest Examples Create user session interactively $ tgauth user ? Your phone number 79000427572 ? Activation code [? for help] ? ? The code sent by Telegram SMS ? Activation code Read Telegram Desktop session $ tgauth -tdata "Telegram Desktop/tdata" Read Telegram Desktop session with passcode $ tgauth -passcode 12345 -tdata "Telegram Desktop/tdata" Create session using bot token $ tgauth bot -token 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew1 QR login # Will print a QR using ANSI in your terminal. $ tgauth qr Expand ▾ Collapse ▴ Documentation ¶ Overview ¶ Command tgauth is a simple CLI tool to create Telegram/gotd sessions. Source Files ¶ View all Source files bot.go gotd.go main.go noauth.go output.go qr.go tdesktop.go test.go try.go user.go Click to show internal directories. Click to hide internal directories.