Documentation ¶
Overview ¶
Package terminal contains authenticator implementation using terminal.
Index ¶
- type Terminal
- func (t *Terminal) AcceptTermsOfService(ctx context.Context, tos tg.HelpTermsOfService) error
- func (t *Terminal) Code(ctx context.Context) (string, error)
- func (t *Terminal) Password(ctx context.Context) (string, error)
- func (t *Terminal) Phone(ctx context.Context) (string, error)
- func (t *Terminal) SignUp(ctx context.Context) (u telegram.UserInfo, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.