Documentation ¶
Overview ¶
Package dialog contains GUI dialog Telegram authenticator.
Index ¶
- type Dialog
- func (d Dialog) AcceptTermsOfService(ctx context.Context, tos tg.HelpTermsOfService) error
- func (d Dialog) Code(ctx context.Context, sentCode *tg.AuthSentCode) (string, error)
- func (d Dialog) Password(ctx context.Context) (string, error)
- func (d Dialog) Phone(ctx context.Context) (string, error)
- func (d Dialog) SignUp(ctx context.Context) (tgauth.UserInfo, error)
- func (d Dialog) WithPrinter(printer *message.Printer) Dialog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialog ¶
type Dialog struct {
// contains filtered or unexported fields
}
Dialog is authenticator implementation using GUI dialogs.
func (Dialog) AcceptTermsOfService ¶
AcceptTermsOfService implements telegram.UserAuthenticator.
Click to show internal directories.
Click to hide internal directories.