mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
Update README.md
This commit is contained in:
parent
27216da193
commit
b9d9d17ec4
|
|
@ -14,6 +14,7 @@ It's a perfect fit for any developer who need to sends data directly to Telegram
|
|||
- [Dependencies](#dependencies)
|
||||
- [Starter Guide](#starter-guide)
|
||||
- [Quick configuration](#quick-configuration)
|
||||
- [Sending messages set-up](#sending-messages-set-up)
|
||||
- [Using TLSharp](#using-tlsharp)
|
||||
- [Contributing](#contributing)
|
||||
- [FAQ](#faq)
|
||||
|
|
@ -36,6 +37,13 @@ All dependencies listed in [package.conf file](https://github.com/sochix/TLSharp
|
|||
1. When you're done you should specify phone number in international format for Test purposes in [app.config file]( https://github.com/sochix/TLSharp/blob/master/TLSharp.Tests/app.config)
|
||||
1. Run the test TestConnection(), if it passed than you successfully setted up a library.
|
||||
|
||||
##Sending messages set-up
|
||||
|
||||
1. Firstly create a valid session. Run the `AuthUser` test, and set a breakpoint on `var code = "123"; // you can change code in debugger line`.
|
||||
2. Replace value of `code` variable with code from Telegram.
|
||||
3. Continue execution. You'll see created session.dat file.
|
||||
4. Try to run `SendMessage` test
|
||||
|
||||
## Using TLSharp
|
||||
|
||||
See tests to undertsand how TLSharp works.
|
||||
|
|
|
|||
Loading…
Reference in a new issue