Telegram client library implemented in C#
Find a file
2016-10-06 14:21:21 +03:30
TeleSharp.Generator Redesign Everything 2016-09-24 17:08:26 +03:30
TeleSharp.TL Temporary Update for TLVector Deserialization Bug 2016-10-06 14:21:21 +03:30
TLSharp.Core Redesign Everything 2016-09-24 17:08:26 +03:30
TLSharp.Tests Redesign Everything 2016-09-24 17:08:26 +03:30
.gitignore Redesign Everything 2016-09-24 17:08:26 +03:30
README.md Add Gitter badge 2016-10-02 19:43:02 +03:30
TLSharp.sln Redesign Everything 2016-09-24 17:08:26 +03:30

#TLSharp

Join the chat at https://gitter.im/TLSharp/Lobby

Build status

Telegram (http://telegram.org) client library implemented in C#. Only basic functionality is currently implemented. Consider donation to speed up development process. Bitcoin wallet: 3K1ocweFgaHnAibJ3n6hX7RNZWFTFcJjUe

It's a perfect fit for any developer who would like to send data directly to Telegram users.

If you ❤️ library, please star it!

Please, don't use it for SPAM!

The Docuemention Moved to TLSharp.aarani.ir

#Table of contents?

#How do I add this to my project?

Library isn't ready for production usage, that's why no Nu-Get package available.

To use it follow next steps:

  1. Clone TLSharp from GitHub
  2. Compile source with VS2015
  3. Add reference to TLSharp.Core.dll to your awesome project.

#Dependencies

TLSharp has a few dependenices, most of functionality implemented from scratch. All dependencies listed in package.conf file.

#Starter Guide

Quick Configuration

Telegram API isn't that easy to start. You need to do some configuration first.

  1. Create a developer account in Telegram.
  2. Goto API development tools and copy API_ID and API_HASH from your account. You'll need it later.

Contributing

Contributing is highly appreciated!

###What things can I Implement (Project Roadmap)?

  • Add Updates handling

FAQ

I get an error MIGRATE_X?

TLSharp library should automatically handle this errors. If you see such errors, pls create a new issue.

I get an exception: System.IO.EndOfStreamException: Unable to read beyond the end of the stream. All test methos except that AuthenticationWorks and TestConnection return same error. I did every thing including setting api id and hash, and setting server address.-

You should create a Telegram session. See configuration guide

Why I get FLOOD_WAIT error?

It's Telegram restrictions. See this

Why does TLSharp lacks feature XXXX?

Now TLSharp is basic realization of Telegram protocol, you can be a contributor or a sponsor to speed-up developemnt of any feature.

Nothing helps

Create an issue in project bug tracker.

Attach this information:

  • Full problem description and exception message
  • Stack-trace
  • Your code that runs in to this exception

Without information listen above your issue will be closed.

Donations

Thanks for donations! It's highly appreciated. Bitcoin wallet: 3K1ocweFgaHnAibJ3n6hX7RNZWFTFcJjUe

List of donators:

License

Please, provide link to an author when you using library

The MIT License

Copyright (c) 2015 Ilya Pirozhenko http://www.sochix.ru/ & Afshin Arani http://aarani.ir

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

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.