Source File
errors.go
Belonging Package
github.com/gotd/td/telegram/auth/qrlogin
package qrloginimport ()// MigrationNeededError reports that Telegram requested DC migration to continue login.type MigrationNeededError struct {MigrateTo *tg.AuthLoginTokenMigrateTo// Tried indicates that the migration was attempted.//// Deprecated: do not use. QR login uses migrate function passed via// options.Tried bool}// Error implements error.func ( *MigrationNeededError) () string {return fmt.Sprintf("migration to %d needed", .MigrateTo.DCID)}
![]() |
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |