diff --git a/README.md b/README.md index 3d594f0..11d3c32 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,8 @@ var tonClient = app.Services.GetRequiredService(); // to remember that you already called it. await tonClient.InitIfNeeded(); -// Use 'Execute' to send requests. -var lsi = await tonClient.Execute(new LiteServerGetInfo()); +// Get lite server info with an extension method +var lsi = await tonClient.LiteServerGetInfo(); logger.LogInformation("Server time: {Now}", lsi.Now); ``` @@ -90,4 +90,4 @@ The number of additional dependencies you need depends of what you already have * TON ADNL API Home: https://ton.org/docs/develop/dapps/apis/adnl * TonLib TL Schema: https://github.com/ton-blockchain/ton/blob/master/tl/generate/scheme/tonlib_api.tl * Block.tlb schema: https://github.com/ton-blockchain/ton/blob/master/crypto/block/block.tlb -* TL Language description: https://core.telegram.org/mtproto/TL \ No newline at end of file +* TL Language description: https://core.telegram.org/mtproto/TL