Documentation
¶
Index ¶
- type Auth
- func (Auth) AcceptTermsOfService(ctx context.Context, tos tg.HelpTermsOfService) error
- func (Auth) Code(ctx context.Context, sentCode *tg.AuthSentCode) (string, error)
- func (Auth) Password(_ context.Context) (string, error)
- func (a Auth) Phone(_ context.Context) (string, error)
- func (Auth) SignUp(ctx context.Context) (auth.UserInfo, error)
- type Telegram
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
func (Auth) AcceptTermsOfService ¶
Click to show internal directories.
Click to hide internal directories.