/TelegramApi

Java library to create Telegram Clients

Primary LanguageJavaMIT LicenseMIT

Telegram API

Jitpack Maven Central

Java library that implements Telegram API to create Telegram Clients

Contributions

Feel free to fork this project, work on it and then make a pull request to dev branch.

Please, DO NOT PUSH ANY API KEY OR API HASH, I will never accept a pull request with that content.

Usage

Just add the library to your project with one of these options:

  1. Using Maven Central Repository:
    <dependency>
        <groupId>org.telegram</groupId>
        <artifactId>telegramapi</artifactId>
        <version>57.2</version>
    </dependency>
  1. Using Jitpack from here
  2. Download the jar(including all dependencies) from here

Sample bots

Create your own stickers with Clippy

Telegram API and MTPROTO:

If you want more information about Telegram API, you can go here. And here you will find extra information about mtproto.

Questions or Suggestions

Feel free to create issues here as you need

Disclaimer

I know this project still have many things to improve, please be patient or help me with it.

Acknowledgments

  • To ex3ndr, whose code was the base of this bot long, long ago. Not much remains from that point, but still there are a few files.
  • To Drklo, whose code was also helpful in this project.
  • To Marvin for all the help, testing and programing that he spends in this project.
  • To Telegram Team for their help while developing it.

License

MIT License

Copyright (c) 2016 Ruben Bermudez

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.