Skip to content
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