commit
2b2ede3833
@ -48,7 +48,7 @@ public class Main {
|
|||||||
TelegramBotsApi botsApi = new TelegramBotsApi(DefaultBotSessioin.class);
|
TelegramBotsApi botsApi = new TelegramBotsApi(DefaultBotSessioin.class);
|
||||||
|
|
||||||
// Set up Http proxy
|
// Set up Http proxy
|
||||||
DefaultBotOptions botOptions = new DefaultBotOptions());
|
DefaultBotOptions botOptions = new DefaultBotOptions();
|
||||||
|
|
||||||
botOptions.setProxyHost(PROXY_HOST);
|
botOptions.setProxyHost(PROXY_HOST);
|
||||||
botOptions.setProxyPort(PROXY_PORT);
|
botOptions.setProxyPort(PROXY_PORT);
|
||||||
|
Loading…
Reference in New Issue
Block a user