Commit Graph

372 Commits

Author SHA1 Message Date
Clevero
ebf93add88
add no implementation for [...]
add "No implementation for org.telegram.telegrambots.generics.BotSession was bound" error to "Errors-Handling"
2017-10-31 19:50:32 +01:00
Ruben Bermudez
10d0934439
Merge pull request #320 from Clevero/dev
change sendMessage to execute in "Getting Started"
2017-10-31 11:06:10 +01:00
Clevero
a05ec52f5b Update FAQ.md 2017-10-24 17:49:59 +02:00
Clevero
a5942de946 change sendMessage to execute in "Getting Started" 2017-10-24 17:09:57 +02:00
Ruben Bermudez
babb9d8be5 Update API version 3.4 2017-10-11 19:27:12 +02:00
Ruben Bermudez
9317c6f5a9 Merge pull request #284 from vantuz-subhuman/#269
#269 Fixed update queue polling order and added `TelegramBatchLongPollingBot`
2017-10-06 18:23:10 +02:00
Ruben Bermudez
193834e023 Merge pull request #309 from dschulz/dev
Use a regular expression to split command parameters
2017-10-06 18:20:20 +02:00
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
c63117cdc1 Merge pull request #280 from McPringle/dev
Adding API context initialization to example code snippet
2017-09-17 00:07:02 +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
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
0e6e9e7e99 Closes #266 2017-07-10 02:16:21 +02:00
Ruben Bermudez
38c99cb78d Closes #264 2017-07-09 02:48:49 +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
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
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
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