Socket
Socket
Sign inDemoInstall

de.raysha.lib.telegram:bot-api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

de.raysha.lib.telegram:bot-api

This is an java library for the Telegram-Bot-API. The Bot-API is an HTTP-based interface created for developers keen on building bots for Telegram.


Version published
Maintainers
1
Source

telegram-bot-api

This is an api-project for the telegram bot (HTTPS) api. For additional informations see the official telegram bot api documentation.

Usage

import de.raysha.lib.telegram.bot.api.BotAPI;
import de.raysha.lib.telegram.bot.api.TelegramBot;
import de.raysha.lib.telegram.bot.api.model.User;

...

final String botToken = "11111-aaaabbbbbccccddddeeeeffff";
final BotAPI telegramBot = new TelegramBot(botToken);

try{
  User user = telegramBot.getMe();
}catch(BotException e){
  System.err.println("Could not get me!");
}

License

This Bot-API is distributed under the MIT-License.

Maven Usage

If you want to add telegram-bot-api to your maven project, you can add the following dependency in your pom.xml:

  <dependency>
    <groupId>de.raysha.lib.telegram</groupId>
    <artifactId>bot-api</artifactId>
    <version>2.0</version>
  </dependency>

FAQs

Package last updated on 10 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc