Commit Graph

298 Commits

Author SHA1 Message Date
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
1bb4d12983 change chat id to chat object to be able to work with username 2016-05-20 12:03:00 +02:00
tschulz
5fe18aefa3 rename Command class and fix visibility of execute method 2016-05-20 11:56:15 +02:00
tschulz
9958d677e2 add command init character to help command response 2016-05-20 11:18:41 +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
tschulz
92aa4e218e Add java doc 2016-05-20 11:13:29 +02:00
tschulz
10d39077eb add chat command detection to message (properties field) 2016-05-20 11:12:48 +02:00
tschulz
f2da0a6558 Implement Command Registry 2016-05-20 11:12:22 +02:00
tschulz
2089dfbe23 Implement basic help command, which provides an overview over all registered commands 2016-05-20 11:11:38 +02:00
tschulz
91191ee63b Add method to retrieve all registered commands 2016-05-20 11:10:35 +02:00
tschulz
5d0f508b5a Create interface for the registry of all comannds of a bot 2016-05-20 11:08:16 +02:00
tschulz
f775d5c00c Create and implement basic command 2016-05-20 11:07:14 +02:00
tschulz
88ae4a7516 Make Chat id a long attribute everywhere 2016-05-20 11:02:32 +02:00
Rubenlagus
37eac08554 Merge branch 'antonu17-fix-message-caption' into dev 2016-05-19 20:39:32 +02:00
Rubenlagus
e54396a0ca Final bot logger version 2016-05-19 20:29:45 +02:00
Rubenlagus
dc474a2c2f Fix formatter 2016-05-19 20:22:20 +02:00
Rubenlagus
6155731058 Improve logging system 2016-05-19 20:14:15 +02:00
antonu17
a854a027e7 Add caption field 2016-05-19 23:25:52 +06: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
antonu17
10df49a11e Fix caption field var 2016-05-10 22:39:36 +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
Rubenlagus
077ac9e6d6 Closes #71 2016-05-09 02:16:00 +02:00
Rubenlagus
19f473cfe5 Compute message entities content during Message deserialization 2016-05-09 02:01:31 +02:00
Rubenlagus
199152e9bf Possible improvements, may be unestable 2016-05-08 13:55:27 +02:00
Rubenlagus
d0950a23e1 Possible improvements, may be unestable 2016-05-08 01:54:53 +02:00
Ruben Bermudez
bb110e1127 Merge pull request #70 from rubenlagus/dev
Added new api fields
2016-05-07 18:43:46 +02:00
Rubenlagus
f7d7ed14bb Added new api fields 2016-05-07 18:41:48 +02:00
Ruben Bermudez
f8396f758d Merge pull request #69 from rubenlagus/dev
Dev
2016-05-05 23:28:48 +02:00
Rubenlagus
c8e1e907ad Added Telegram badge 2016-05-05 23:27:56 +02:00
Rubenlagus
fd8e939f54 update version 2016-05-05 23:09:50 +02:00
Rubenlagus
848c228fea Close #46 2016-05-05 23:00:08 +02:00
Ruben Bermudez
241afa0630 Merge pull request #68 from rubenlagus/dev
Dev
2016-05-05 22:51:28 +02:00
Rubenlagus
587b730e47 Merge branch 'remove_ide_files' of https://github.com/antonu17/TelegramBots into dev 2016-05-05 22:43:53 +02:00
Ruben Bermudez
96ca92d703 Merge pull request #67 from rubenlagus/dev
Upgrade version to 2.3
2016-05-05 22:42:04 +02:00
Rubenlagus
a343801315 Upgrade version to 2.3 2016-05-05 22:41:22 +02:00
Ruben Bermudez
e0076ebf8b Merge pull request #66 from rubenlagus/dev
Dev
2016-05-05 22:40:44 +02:00
Rubenlagus
160a2fa3ba Upgrade version to 2.3 2016-05-05 21:50:55 +02:00
Rubenlagus
f92a4616b1 Merge branch 'antonu17-fix_response_creation' into dev 2016-05-05 21:25:17 +02:00
Rubenlagus
0ead56bac7 Merge branch 'antonu17-contact_getters' into dev 2016-05-05 21:22:35 +02:00
kit
4f427ba5d8 Fix response processing on methods: sendDocument sendPhoto sendVideo sendSticker sendVoice 2016-05-02 12:32:01 +06:00
kit
7f9e4494e7 Add Contact getters 2016-05-02 12:21:41 +06:00