diff --git a/telegram/client_test.go b/telegram/client_test.go index a2890d42ce..f6c8069cc9 100644 --- a/telegram/client_test.go +++ b/telegram/client_test.go @@ -86,6 +86,7 @@ func newTestClient(h testHandler) *Client { ctx: context.Background(), cancel: func() {}, updateHandler: UpdateHandlerFunc(func(ctx context.Context, u tg.UpdatesClass) error { return nil }), + onTransfer: noopOnTransfer, } client.init()