Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md to avoid confusion and frustration #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ var tonClient = app.Services.GetRequiredService<ITonClient>();
// 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);
```

Expand Down Expand Up @@ -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
* TL Language description: https://core.telegram.org/mtproto/TL