// Path: src/main/java/de/vivistra/telegrambot/settings/BotSettings.java
// public class BotSettings {
// 
// 	private static String apiUrl = "https://api.telegram.org/bot";
// 	private static String apiToken = "";
// 
// 	public static String getApiUrlWithToken() {
// 		return apiUrl + apiToken + "/";
// 	}
// 
// 	public static boolean isEmptyApiToken() {
// 		return apiToken.isEmpty();
// 	}
// 
// 	public static void setApiUrl(String url) {
// 		apiUrl = url;
// 	}
// 
// 	public static void setApiToken(String token) {
// 		apiToken = token;
// 	}
// 
// }


import java.io.*;
import java.net.SocketException;
import javax.net.ssl.SSLContext;
import org.apache.http.HttpEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
import org.apache.http.entity.mime.MultipartEntityBuilder;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.ssl.SSLContexts;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.json.JSONException;
import de.vivistra.telegrambot.settings.BotSettings;
package de.vivistra.telegrambot.client;





/**
 * This class connects to the Telegram API and posts querys.
 */
public class Bot {

	private static final Logger LOG = LogManager.getLogger();
// Path: src/main/java/de/vivistra/telegrambot/settings/BotSettings.java
// public class BotSettings {
// 
// 	private static String apiUrl = "https://api.telegram.org/bot";
// 	private static String apiToken = "";
// 
// 	public static String getApiUrlWithToken() {
// 		return apiUrl + apiToken + "/";
// 	}
// 
// 	public static boolean isEmptyApiToken() {
// 		return apiToken.isEmpty();
// 	}
// 
// 	public static void setApiUrl(String url) {
// 		apiUrl = url;
// 	}
// 
// 	public static void setApiToken(String token) {
// 		apiToken = token;
// 	}
// 
// }


// Path: src/main/java/de/vivistra/telegrambot/client/Bot.java
import java.io.*;
import java.net.SocketException;
import javax.net.ssl.SSLContext;
import org.apache.http.HttpEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.conn.ssl.SSLConnectionSocketFactory;
import org.apache.http.entity.mime.MultipartEntityBuilder;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.ssl.SSLContexts;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.json.JSONException;
import de.vivistra.telegrambot.settings.BotSettings;

package de.vivistra.telegrambot.client;





/**
 * This class connects to the Telegram API and posts querys.
 */
public class Bot {

	private static final Logger LOG = LogManager.getLogger();
	private static String API_URL_WITH_TOKEN = BotSettings.getApiUrlWithToken();