Commit Graph

478 Commits

Author SHA1 Message Date
vantuz-subhuman
cb92eca883 #269: Deleted TelegramBatchLongPollingBot, added onUpdatesReceived method to basic LongPollingBot interface 2017-09-21 00:46:41 +03:00
Diego Schulz
4a9b0726e7 Update BotCommand.java 2017-09-18 15:39:45 -04:00
Diego Schulz
cf2632b6cc Use a regular expression to split parameters 2017-09-18 15:36:02 -04:00
Ruben Bermudez
d5c8a32361 Merge pull request #307 from rubenlagus/revert-305-dschulz-patch-1
Revert "Use a regular expression to split parameters for BotCommands"
2017-09-17 00:10:50 +02:00
Ruben Bermudez
2cb51d6af9 Revert "Use a regular expression to split parameters for BotCommands" 2017-09-17 00:10:38 +02:00
Ruben Bermudez
1362ace747 Merge pull request #305 from dschulz/dschulz-patch-1
Use a regular expression to split parameters for BotCommands
2017-09-17 00:10:29 +02:00
Ruben Bermudez
c63117cdc1 Merge pull request #280 from McPringle/dev
Adding API context initialization to example code snippet
2017-09-17 00:07:02 +02:00
Diego Schulz
17864c6239 Use a regular expression to split parameters 2017-09-14 12:45:20 -04:00
Diego Schulz
2c716133aa Use a regular expression to split parameters
This avoids the problem described in issue #304
2017-09-14 12:39:48 -04:00
Ruben Bermudez
e2862beb2d Merge pull request #291 from rubenlagus/dev
Update API version 3.3
2017-08-23 09:55:32 +02:00
Ruben Bermudez
06c55a9c74 Update API version 3.3 2017-08-23 09:06:32 +02:00
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