Imports github.com/gotd/td/session github.com/gotd/td/telegram github.com/gotd/td/telegram/auth github.com/gotd/td/tg github.com/gotd/td/tgerr github.com/mitchellh/go-homedir golang.org/x/crypto/ssh/terminal golang.org/x/xerrors Standard library imports bufio context encoding/json flag fmt io/fs io/ioutil os strconv strings sync time