Skip to content

Commit

Permalink
«когда меня отпустит?»:)
Browse files Browse the repository at this point in the history
  • Loading branch information
shoreward committed Feb 9, 2021
1 parent 2ee8c94 commit ac653b5
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions auth2fa.go → tdapi/auth.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package tdproto
package tdapi

type Auth2faRequiredResponse struct {
Token string `json:"token,omitempty"`
Me UserWithMe `json:"me"`
Required2fa bool `json:"required2fa"`
import "github.com/tada-team/tdproto"

type Auth struct {
Token string `json:"token,omitempty"`
Me tdproto.UserWithMe `json:"me"`
Required2fa bool `json:"required2fa"`
}

type Auth2faForm struct {
Expand Down

0 comments on commit ac653b5

Please sign in to comment.