Javagram
Telegram API Client and Telegram Bot API library and framework in pure Java.
Hello Telegram
You can use Javagram for both Telegram API Client and Telegram Bot API (currently Javagram is only being developed for the Telegram BOT API).
Bot
Create Javagram class and pass your token to it to send your requests to Telegram. You can turn on debugging mode by passing debug: True to Javagram.
import com.github.javaforeverything.javagram.Javagram;
import com.github.javaforeverything.javagram.method.SendMessage;
Javagram javagram = new Javagram(<token>);
SendMessage sendMessage = new SendMessage(<telegram_id or username>, "Hello Telegram!");
javagram.sendRequest(sendMessage);
Authors
Javagram is developed by Soroush Shemshadi and contributors.
Contribution
If you want to contribute on this project, Please read the contribution guide.
Releases
To see the changes in different versions of Javagram, you can read the release notes.
Issues
If you encounter a bug or vulnerability, please read the issue policy.
Documentation
To learn how to work with Javagram, please take a look at the /doc folder.