Documentation ¶
Index ¶
- func Backoff(_clock tdclock.Clock) backoff.BackOff
- func Clock() (tdclock.Clock, error)
- func Login(ctx context.Context, middlewares ...telegram.Middleware) (*telegram.Client, kv.KV, error)
- func New(ctx context.Context, login bool, middlewares ...telegram.Middleware) (*telegram.Client, kv.KV, error)
- func NewDefaultMiddlewares(ctx context.Context) ([]telegram.Middleware, error)
- func NoLogin(ctx context.Context, middlewares ...telegram.Middleware) (*telegram.Client, kv.KV, error)
- func RunWithAuth(ctx context.Context, client *telegram.Client, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultMiddlewares ¶ added in v0.13.0
func NewDefaultMiddlewares(ctx context.Context) ([]telegram.Middleware, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.