github.com/gotd/td/telegram/auth.Client.Bot (method)

2 uses

	github.com/gotd/td/telegram/auth (current package)
		bot.go#L12: func (c *Client) Bot(ctx context.Context, token string) (*tg.AuthAuthorization, error) {

	github.com/gotd/td/telegram
		bot.go#L46: 			if _, err := client.Auth().Bot(ctx, os.Getenv("BOT_TOKEN")); err != nil {