47 Commits

Author SHA1 Message Date
Timo Schulz
7047811eaa change @author tag to full name + github username for reference 2016-05-31 20:01:50 +02:00
Timo Schulz
3a41c3fd5e Add sender of the command to the execute method signature, to be able to do sth with it's data (e.g. userId) 2016-05-31 19:57:54 +02:00
tschulz
d8abaec756 add javadoc (class purpose) for ICommandRegistry 2016-05-31 10:56:21 +02:00
tschulz
eefeb1e19f remove empty constructor 2016-05-31 10:54:58 +02:00
tschulz
986608d7ad add java doc for CommandRegistry -> class purpose 2016-05-31 10:54:40 +02:00
Rubenlagus
b07bf5531b Clean up, update pom file 2016-05-27 04:43:13 +02:00
Rubenlagus
1100ad11e4 Changes on #83 2016-05-27 03:19:17 +02:00
Timo Schulz
66566e3a65 make command bot extend TelegramLongPollingBot 2016-05-26 09:24:10 +02:00
Timo Schulz
6daf18f007 fix BotLogger import 2016-05-25 18:08:10 +02:00
Timo Schulz
9c5d7ec9e6 Merge remote-tracking branch 'upstream/master' 2016-05-22 14:18:48 +02:00
Timo Schulz
f33b9fa10e remove AbsSender field for command and instead reach it in on each execute call -> so one command could be reached to multiple bot in parallel 2016-05-22 14:10:57 +02:00
Rubenlagus
fc553401a6 Merge branch 'antonu17-sendphoto_caption_fix' into dev 2016-05-22 11:47:33 +02:00
Rubenlagus
0b6f4e1d06 Support Telegram Bots API 2.1 2016-05-22 11:42:04 +02:00
Timo Schulz
e51d6eaa4b fix missing blank ;) 2016-05-21 15:00:40 +02:00
Timo Schulz
3dd0b87ca0 move command bot functionality to own bot base class, to avoid api change for future releases 2016-05-21 14:56:08 +02:00
Timo Schulz
2bff35b8b9 remove AbsSender Interface from BotCommand and add reference for sending messages 2016-05-20 19:23:44 +02:00
Timo Schulz
265915daf6 bring chatId of SendMessage back to String instead of Long 2016-05-20 18:39:06 +02:00
tschulz
5fe18aefa3 rename Command class and fix visibility of execute method 2016-05-20 11:56:15 +02:00
tschulz
618fb80333 fix typo 2016-05-20 11:16:39 +02:00
tschulz
f49cb8b62f Modify TelegramLongPollingBot to support commands 2016-05-20 11:14:58 +02:00
Rubenlagus
32b3429da0 Merge branch 'Kurpilyansky-send_replaymarkup_to_json_fix' into dev 2016-05-15 21:32:19 +02:00
dapoldi
acc9d14d04 Alpha, closeable for keepalive connections. 2016-05-11 15:24:40 +02:00
Eugene Kurpilyansky
13a5ca6e0c Fix serialization ReplayMarkup in sendPhoto, sendDocument, etc. 2016-05-10 22:40:00 +03:00
antonu17
85e31f87a4 Send caption in UTF-8 encoding 2016-05-10 22:46:52 +06:00
Rubenlagus
f1ce1a6ee9 Improve telegramapiexceptions 2016-05-09 02:56:49 +02:00
Rubenlagus
0f13e22917 Several improvements 2016-05-09 02:44:26 +02:00
Rubenlagus
c42a23501d Fix bug when sending locations 2016-05-09 02:27:49 +02:00
kit
4f427ba5d8 Fix response processing on methods: sendDocument sendPhoto sendVideo sendSticker sendVoice 2016-05-02 12:32:01 +06:00
Rubenlagus
1c66511bff Add compatibility with java7
Merge #21
2016-04-17 17:10:09 +02:00
Rubenlagu
b9d997fddc Merge #24 2016-04-12 19:53:21 +02:00
Rubenlagus
c587f83204 Bots API 2.0 2016-04-11 22:26:21 +02:00
morozov
bdb69445d4 fix Class cast exception 2016-04-07 15:36:13 +03:00
Rubenlagus
de141b50b0 Merge branch 'correctly-process-returned-message-at-sendAudio' of https://github.com/Clevero/TelegramBots into Clevero-correctly-process-returned-message-at-sendAudio 2016-04-02 18:52:08 +02:00
Rubenlagus
885791b927 Reformat and Rearrange 2016-04-02 18:20:49 +02:00
Rubenlagus
9f77b71742 Merge branch 'flicus-master' into dev 2016-04-02 18:17:38 +02:00
Ruben Bermudez
dcb58090a4 Merge pull request #18 from Clevero/add-api-method-getFile-to-AbsSender
add getFile to AbsSender in order to get the file path
2016-04-01 01:07:07 +02:00
Marcel Caspar
d30f77f6f2 add getFile to AbsSender in order to get the file path 2016-03-25 19:15:11 +01:00
Marcel Caspar
6ad4491136 revert changes in Message and remove useless if clause in AbsSender 2016-03-21 15:43:24 +01:00
schors
5bc595edc6 proxy to the separate branch 2016-03-21 13:38:12 +03:00
Marcel Caspar
ac18b952b9 change if clause in AbsSender.sendAudio() that checks if the response contains a positive 'ok' 2016-03-20 13:06:34 +01:00
Marcel Caspar
334b25b296 process return of sendAudio correctly 2016-03-20 12:47:22 +01:00
Marcel Caspar
7a9a704aa0 add DURATION_FIELD 2016-03-15 22:58:43 +01:00
flicus
5950bbd94b added possibility to work via HTTP proxy 2016-03-11 14:27:24 +03:00
Rubenlagus
bc2db06327 Support new disabled notifications 2016-02-27 03:17:06 +01:00
Rubenlagus
f5dcee5cb1 Added undocumented field
Updated sendaudio method
2016-02-16 00:24:32 +01:00
Rubenlagu
49ff79f0cd Added sendAudio support to AbsSender
Close #2
2016-01-24 03:20:54 +01:00
Rubenlagu
25d11ecadc 1. Refactor 2016-01-14 23:09:19 +01:00