github.com/gotd/td/telegram.Client.Auth (method)

4 uses

	github.com/gotd/td/telegram (current package)
		auth.go#L9: func (c *Client) Auth() *auth.Client {
		bot.go#L40: 		status, err := client.Auth().Status(ctx)
		bot.go#L46: 			if _, err := client.Auth().Bot(ctx, os.Getenv("BOT_TOKEN")); err != nil {
		builder.go#L164: 			if err := client.Auth().IfNecessary(runCtx, auth.NewFlow(