From 4a844ebc6d52328a81518e655ccbda5c5834f40c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=B3=A5?= <44732554+Lyrapuff@users.noreply.github.com> Date: Mon, 18 Mar 2024 15:16:18 +0300 Subject: [PATCH] Update README.md to avoid confusion and frustration --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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