Releases: gotd/td
Releases · gotd/td
v0.21.0
v0.20.0
v0.19.1
v0.19.0
v0.18.1
v0.18.0: Run() instead Connect()
BREAKING: Now Connect
method is removed, use following:
client := telegram.NewClient(1, "appHash", telegram.Options{})
client.Run(ctx, func(ctx context.Context) error {
// Client is ready, function return closes client.
return nil
})