type github.com/gotd/td/telegram/auth.Client
18 uses
github.com/gotd/td/telegram/auth (current package)
bot.go#L12: func (c *Client) Bot(ctx context.Context, token string) (*tg.AuthAuthorization, error) {
client.go#L10: type Client struct {
client.go#L23: ) *Client {
client.go#L24: return &Client{
password.go#L80: func (c *Client) UpdatePassword(
password.go#L154: func (c *Client) ResetPassword(ctx context.Context) (time.Time, error) {
password.go#L174: func (c *Client) CancelPasswordReset(ctx context.Context) error {
self.go#L14: func (c *Client) self(ctx context.Context) (*tg.User, error) {
status.go#L20: func (c *Client) Status(ctx context.Context) (*Status, error) {
status.go#L36: func (c *Client) IfNecessary(ctx context.Context, flow Flow) error {
status.go#L52: func (c *Client) Test(ctx context.Context, dc int) error {
status.go#L58: func (c *Client) TestUser(ctx context.Context, phone string, dc int) error {
user.go#L22: func (c *Client) Password(ctx context.Context, password string) (*tg.AuthAuthorization, error) {
user.go#L67: func (c *Client) SendCode(ctx context.Context, phone string, options SendCodeOptions) (tg.AuthSentCodeClass, error) {
user.go#L102: func (c *Client) SignIn(ctx context.Context, phone, code, codeHash string) (*tg.AuthAuthorization, error) {
user.go#L122: func (c *Client) AcceptTOS(ctx context.Context, id tg.DataJSON) error {
user.go#L139: func (c *Client) SignUp(ctx context.Context, s SignUp) (*tg.AuthAuthorization, error) {
github.com/gotd/td/telegram
auth.go#L9: func (c *Client) Auth() *auth.Client {
|
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. |