Commit Graph

717 Commits

Author SHA1 Message Date
vsubhuman
0fb556518a #269 Extracted UpdatesSupplier insede DefaultBotSession and created tests 2017-08-03 13:29:02 +03:00
vsubhuman
fefe0cff05 #269 Added TelegramBatchLongPollingBotTest 2017-08-03 12:19:19 +03:00
vsubhuman
5741e4ba97 #269 Fixed update queue polling order and added TelegramBatchLongPollingBot 2017-08-03 00:30:51 +03:00
Marcus Fihlon
b83d77c78d
📝 Adding API context initialization to example code snippet 2017-07-25 14:44:41 +02:00
Ruben Bermudez
c45e480d6d Merge pull request #276 from rubenlagus/dev
Dev
2017-07-21 16:25:27 +02:00
Ruben Bermudez
ffcdbd126e Update version 3.2 2017-07-21 16:17:48 +02:00
Ruben Bermudez
8183b77fce Merge remote-tracking branch 'origin/dev' into dev 2017-07-20 22:38:06 +02:00
Ruben Bermudez
c90151d1a7 Closes #270 2017-07-20 22:37:19 +02:00
Roman Golyshev
cbcfab5d1e Refactor default abs sender (#272)
* refactor-default-abs-sender: move all returns to `try` scope

- it makes clear that return would not happen if some exception has been thrown

* refactor-default-abs-sender: extract `sendHttpPostRequest` method

* refactor-default-abs-sender: inline usage of `sendHttpPostRequest` in most occurrences

* refactor-default-abs-sender: extract creation of `HttpPost` with configuration to method

* refactor-default-abs-sender: rearrange code to ease up refactoring

* refactor-default-abs-sender: extract `sendMethodRequest` method

* refactor-default-abs-sender: move temporary file names to variables

* refactor-default-abs-sender: extract files downloading to separate methods

* refactor-default-abs-sender: extract creation of `Runnable` for async file download to method

* refactor-default-abs-sender: extract `assertParamNotNull` method

* refactor-default-abs-sender: rename `tryToDownloadToTemporaryFile` method
2017-07-20 22:28:59 +02:00
Ruben Bermudez
8b977fa851 Merge remote-tracking branch 'origin/dev' into dev 2017-07-20 22:26:39 +02:00
Ruben Bermudez
3c99f34532 Updates Pom and remove unused imports 2017-07-20 22:25:57 +02:00
Roman Gordeev
01175ed03d Explicit Contenttype for textBody (#274) 2017-07-20 18:55:02 +02:00
Abbas Abou Daya
8c9d3c3ad7 Fixed JDK compilation error (due to bug #JDK-8044546) 2017-07-11 21:18:40 +03:00
Abbas Abou Daya
6df6627821 Added AbilityBot module 2017-07-11 21:18:40 +03:00
Ruben Bermudez
67a3bd438b Merge pull request #267 from rubenlagus/dev
Closes #266
2017-07-10 02:23:36 +02:00
Ruben Bermudez
0e6e9e7e99 Closes #266 2017-07-10 02:16:21 +02:00
Ruben Bermudez
e79a333176 Merge pull request #265 from rubenlagus/dev
Closes #264
2017-07-09 02:56:58 +02:00
Ruben Bermudez
38c99cb78d Closes #264 2017-07-09 02:48:49 +02:00
Ruben Bermudez
ebf02fd37b Merge pull request #262 from rubenlagus/dev
Dev
2017-06-30 14:47:31 +02:00
Ruben Bermudez
356034f324 Merges #256 2017-06-30 14:32:34 +02:00
Ruben Bermudez
97be7f72d5 Fix link 2017-06-30 14:23:31 +02:00
Ruben Bermudez
3fe39ad76a Version 3.1 2017-06-30 14:15:48 +02:00
Ruben Bermudez
383b48cddd Merge pull request #253 from rubenlagus/dev
Version 3.0.2
2017-06-18 15:17:28 +02:00
Ruben Bermudez
dfc936d5df Fix version of extensions 2017-06-18 15:02:18 +02:00
Ruben Bermudez
082942ac9a Merges #249 2017-06-18 14:38:26 +02:00
Ruben Bermudez
4dd8205974 Merge branch 'xMandrake-dev' into dev 2017-06-18 14:24:42 +02:00
Ruben Bermudez
0a7180fb36 Fix TODO 2017-06-18 05:38:23 +02:00
Ruben Bermudez
0ec6b55216 Version 3.0.2
Create new extensions module
2017-06-18 05:34:13 +02:00
Ruben Bermudez
2113944180 Merge branch 'dev' of https://github.com/rubenlagus/TelegramBots into dev 2017-06-18 05:01:24 +02:00
Ruben Bermudez
30f5bff40c Close #250 2017-06-18 05:00:07 +02:00
Ruben Bermudez
ad2b7e485e Merge pull request #230 from JetCoder1/dev
Create TimedSendLongPollingBot.java
2017-06-18 04:50:17 +02:00
xDrake
799949e80f constructor correction 2017-06-10 09:08:23 +03:00
xDrake
5e5bbe4f77 new constructor in TelegramLongPollingCommandBot, to be able to set a botname in subclasses 2017-06-09 11:25:58 +03:00
Ruben Bermudez
41ee5fd38f Merge pull request #244 from rubenlagus/dev
Dev
2017-05-29 00:44:44 +02:00
Ruben Bermudez
0312a3bcb1 Version 3.0.1 2017-05-29 00:38:00 +02:00
Ruben Bermudez
f427662777 Merges #233 2017-05-29 00:32:09 +02:00
Ruben Bermudez
73958b06e4 Fix bug when setting webhook 2017-05-29 00:31:24 +02:00
Ruben Bermudez
96760f48c1 Merge pull request #221 from azhohov/dev
fix NPE
2017-05-29 00:29:08 +02:00
dapoldi
f574c27464 Merge pull request #241 from rubenlagus/dev
Dev 3.0 to Master
2017-05-19 09:20:05 +02:00
dapoldi
4cb53e7594 Merge pull request #240 from rubenlagus/revert-239-master
Revert "The holiday season is coming."
2017-05-19 08:57:51 +02:00
dapoldi
5f7818cffa Revert "The holiday season is coming." 2017-05-19 00:24:20 +02:00
dapoldi
630ca1325c Merge pull request #239 from rubenlagus/master
The holiday season is coming, Or ast least an API update.
2017-05-18 23:45:31 +02:00
JetCoder1
c2c217b1ee Create TimedSendLongPollingBot.java
LongPollingBot extinsion performing time-based sends obeying basic Telegram limits (no more 30 messages per second in different chats, no more 1 message per second in any single chat).
2017-05-12 17:12:01 +05:00
Ruben Bermudez
4e55995376 Closes #225 2017-05-12 01:52:47 +02:00
Ruben Bermudez
db229bb66e Support custom api url 2017-05-11 03:02:54 +02:00
Rubenlagus
48a7503c7f Api 3.0 2017-05-11 01:35:44 +02:00
Rubenlagus
e61a52dc11 Changed method to protected to allow overriding it 2017-05-09 01:53:40 +02:00
Rubenlagus
ca95a00b62 Fix constructors 2017-05-07 13:08:11 +02:00
Rubenlagus
5937a2e3a6 API 3.0 2017-05-03 01:40:55 +02:00
azhohov
7a35fb0ee8 fix NPE 2017-04-22 00:45:26 +03:00