org.telegram.telegrambots.meta.ApiConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telegrambots-meta Show documentation
Show all versions of telegrambots-meta Show documentation
Easy to use library to create Telegram Bots
package org.telegram.telegrambots.meta;
/**
* @author Ruben Bermudez
* @version 1.0
* Constants needed for Telegram Bots API
*/
public class ApiConstants {
public static final String BASE_URL = "https://api.telegram.org/bot";
public static final int GETUPDATES_TIMEOUT = 50;
public static final String RESPONSE_FIELD_OK = "ok";
public static final String RESPONSE_FIELD_RESULT = "result";
}