package
0.20.0
Repository: https://github.com/gotd/contrib.git
Documentation: pkg.go.dev

# Packages

Package dialog contains GUI dialog Telegram authenticator.
Package kv contains wrapper implementations over generic KV storage.
Package localization contains localization helpers for terminal and dialog authenticator.
Package terminal contains authenticator implementation using terminal.

# Functions

Build creates new UserAuthenticator.
BuildAsk creates new Ask.
ConstantSignUp creates new SignUpFlow using given User info.
NoSignUp creates new SignUpFlow which returns ErrSignUpIsNotExpected.

# Variables

ErrSignUpIsNotExpected is returned, when sign up request from Telegram server is not expected.

# Structs

AutoAccept is noop implementation of AcceptTermsOfService call.

# Interfaces

Ask represents parts of auth flow which requires user interaction.
Credentials represents Telegram user credentials.
SignUpFlow is abstraction for user signup setup.