Skip to content

Commit

Permalink
test(client): set onTransfer
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Jan 29, 2024
1 parent 5333271 commit ed3afc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions telegram/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit ed3afc0

Please sign in to comment.