Commit Graph

395 Commits

Author SHA1 Message Date
Ruben Bermudez
49c0fef3c5 Update version 3.5 2017-11-17 15:47:22 +01:00
Ruben Bermudez
083f020a35 Closes #335 2017-11-15 18:39:27 +01:00
Ruben Bermudez
91eaccd8ad
Merge pull request #333 from ng1905/dev
Do not log stack trace when stopping bot
2017-11-15 18:34:55 +01:00
Ruben Bermudez
470b13bc5f
Merge pull request #337 from malta895/dev
Added processInvalidCommandUpdate()
2017-11-15 18:34:25 +01:00
Ruben Bermudez
41be63aed0
Merge pull request #324 from addo37/dev
Update AbilityBot and write tutorial
2017-11-15 18:32:49 +01:00
Ruben Bermudez
8cbe3cbcb5
Merge pull request #326 from Clevero/patch-1
add "no implementation for [...]" to Errors Handling
2017-11-15 18:31:56 +01:00
Ruben Bermudez
cd99c85884
Merge pull request #327 from Clevero/patch-2
update FAQ
2017-11-15 18:31:23 +01:00
Ruben Bermudez
135602b5b7
Merge pull request #330 from vadimgoroshevsky/dev
Add DefaultBotCommand, with message ID in execute method
2017-11-15 18:30:50 +01:00
malta895
ff1ef8586f Added processInvalidCommandUpdate(), to handle invalid command sent by user 2017-11-15 11:44:16 +01:00
ng1905
0132f25178
Fix if statement
Missing ')'
2017-11-06 07:19:11 +01:00
ng1905
216e910411
Do not log stack trace when stopping bot
When stopping a LongPollingBot, no exception should be logged due to closing the socket.
2017-11-06 07:11:22 +01:00
Abbas Abou Daya
066ad7f675 Added information about fast DB accessors 2017-11-05 11:31:46 -05:00
Vadim Goroshevsky
27d6d930cf
Add DefaultBotCommand, with message ID in execute method 2017-11-02 21:51:44 +02:00
Abbas Abou Daya
b53d252fb4 Update FAQ on the global flag 2017-10-31 23:08:23 -04:00
Abbas Abou Daya
1f5706b525 Change global flag to always return true and make ability flags as predicates 2017-10-31 23:06:03 -04:00
Clevero
3df2a35a46
Update FAQ.md 2017-10-31 20:31:29 +01:00
Clevero
64390bc6e7
update FAQ.md
- change getFile() to execute()
- add sendMessage is deprecated explanation
- add links for webhook examples
- add link to MonsterDevelopers book for deeper instructions for deploying on DigitalOcean
2017-10-31 20:29:21 +01:00
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
Abbas Abou Daya
3414d8c9f5 Added advanced use case FAQ 2017-10-30 21:45:08 -04:00
Abbas Abou Daya
7689a7bcca Proofreading 2017-10-30 21:32:34 -04:00
Abbas Abou Daya
c67d68dcf7 Tutorial fixes 2017-10-30 21:21:13 -04:00
Abbas Abou Daya
f5cbe8b953 Fix sidebar 2017-10-30 20:56:42 -04:00
Abbas Abou Daya
673506417c Write tutorial and implement SilentTest 2017-10-30 20:45:43 -04:00
Abbas Abou Daya
adddadfba5 Refreshed MessageSender and added a silent sender 2017-10-28 22:15:53 -04: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