diff --git a/index.html b/index.html index 2fb0c19..11f406e 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@
-The only way is Telegram API docs. Yes, it's outdated. But there is no other source. +Latest scheme in JSON format you can find here
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/params.json b/params.json index ed4c731..a422dc0 100644 --- a/params.json +++ b/params.json @@ -1,6 +1,6 @@ { - "name": "Tlsharp", - "tagline": "Telegram (http://telegram.org) client library implemented in C#. Waiting for contributors!", - "body": "#TLSharp\r\n\r\n[](https://gitter.im/TLSharp/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\r\n[](https://ci.appveyor.com/project/sochix/tlsharp)\r\n\r\n_Unofficial_ Telegram (http://telegram.org) client library implemented in C#. Latest TL scheme supported, thanks to Afshin Arani\r\n\r\n**Consider donation to speed up development process.** \r\n\r\nBitcoin wallet: **3K1ocweFgaHnAibJ3n6hX7RNZWFTFcJjUe**\r\n\r\nIt's a perfect fit for any developer who would like to send data directly to Telegram users or write own custom Telegram client.\r\n\r\n:star2: If you :heart: library, please star it! :star2:\r\n\r\n# Table of contents?\r\n\r\n- [How do I add this to my project?](#how-do-i-add-this-to-my-project)\r\n- [Dependencies](#dependencies)\r\n- [Starter Guide](#starter-guide)\r\n - [Quick configuration](#quick-configuration)\r\n - [First requests](#first-requests)\r\n- [Available Methods](#available-methods)\r\n- [Contributing](#contributing)\r\n- [FAQ](#faq)\r\n- [Donations](#donations)\r\n- [License](#license)\r\n\r\n# How do I add this to my project?\r\n\r\nLibrary _almost_ ready for production usage. We need contributors to make 1.0.0 release.\r\n\r\nTo use TLSharp follow next steps:\r\n\r\n1. Clone TLSharp from GitHub\r\n1. Compile source with VS2015\r\n1. Add reference to ```TLSharp.Core.dll``` to your awesome project.\r\n\r\n# Dependencies\r\n\r\nTLSharp has a few dependenices, most of functionality implemented from scratch.\r\nAll dependencies listed in [package.conf file](https://github.com/sochix/TLSharp/blob/master/TLSharp.Core/packages.config).\r\n\r\n# Starter Guide\r\n\r\n## Quick Configuration\r\nTelegram API isn't that easy to start. You need to do some configuration first.\r\n\r\n1. Create a [developer account](https://my.telegram.org/) in Telegram. \r\n1. Goto [API development tools](https://my.telegram.org/apps) and copy **API_ID** and **API_HASH** from your account. You'll need it later.\r\n\r\n## First requests\r\nTo start work, create an instance of TelegramClient and establish connection\r\n\r\n```csharp \r\n var client = new TelegramClient(apiId, apiHash);\r\n await client.ConnectAsync();\r\n```\r\nNow you can work with Telegram API, but ->\r\n> Only a small portion of the API methods are available to unauthorized users. ([full description](https://core.telegram.org/api/auth)) \r\n\r\nFor authentication you need to run following code\r\n```csharp\r\n var hash = await client.SendCodeRequestAsync(\"