148 Commits

Author SHA1 Message Date
Rubenlagus
52919f2c04 Fix problem with proxy while setting webhook (#138) 2016-08-24 23:21:24 +02:00
Rubenlagus
add72983a3 Closes #136 2016-08-24 23:08:56 +02:00
Rubenlagus
6421d624c8 Add Get webhook information method 2016-08-12 21:23:30 +02:00
Rubenlagus
b039558c21 Closes #126 2016-08-07 14:24:10 +02:00
Rubenlagus
78bbe0b2c6 Closes #128 2016-08-07 14:04:00 +02:00
Rumen Nikiforov
b566ad9621 Fixing sending Files through InputStream causing exceptions. (#131)
- Added proper methods to send Audio/Document/Photo/Sticker/Video/Voice
through InputStream as it Telegram API requires file name to be
specified.
- Dropping not working methods that was using InputStream without name
2016-08-07 05:47:23 +02:00
Rubenlagus
18b31aad37 Add support for proxys
Marked as final methods not intended to be override

Close #102
2016-07-21 21:28:13 +02:00
Ruben Bermudez
333dd0939b Merge pull request #114 from dartwata/dev
get registered command by commandIdentifier
2016-07-21 20:59:15 +02:00
dartwata
a24c147a17 get registered command by commandIdentifier 2016-07-14 12:52:37 +08:00
Rubenlagus
759d829252 Merge filter in commandbot 2016-07-13 20:28:36 +02:00
Sheigutn
e75a28f518 Fixed a few copy-paste mistakes in toString() methods & fixed functionality of GetChatMember and GetChatMemberCount 2016-07-13 10:04:44 +02:00
Ruben Bermudez
e911314925 Merge pull request #99 from BjoernPetersen/fix_replay_typo
Fix replay/reply typo and deprecate old methods. Fixes #97
2016-06-26 19:39:05 +02:00
Rubenlagus
046d918574 Use enum for Actions types 2016-06-20 21:33:14 +02:00
Björn Petersen
68cda72ece Fix replay/reply typo and deprecate old methods. Fixes #97 2016-06-20 20:50:03 +02:00
Rubenlagus
ef66e35827 Document deprecated methods 2016-06-09 22:52:08 +02:00
Rubenlagus
df985fc276 Merge branch 'feature/improve_send_newfile' of https://github.com/antonu17/TelegramBots into antonu17-feature/improve_send_newfile 2016-06-09 22:32:11 +02:00
Rubenlagus
1c1b302b52 Extract constant text plain content type 2016-06-09 22:31:14 +02:00
antonu17
5108087144 Change send methods, add using InputStream 2016-06-04 10:17:00 +06:00
antonu17
65d82076c2 Deprecate old methods, overload setNew... methods with InputStream arguments 2016-06-04 10:15:55 +06:00
antonu17
7b6a376976 Change MultipartEntityBuilder.addBinaryBody() function 2016-06-03 23:22:13 +06:00
antonu17
ee12175eea Change sendNew methods signature, now accepting File 2016-06-03 23:22:02 +06:00
antonu17
4b08b8ef7b Set UTF-8 character set for reply_markup field in sendDocument(), sendPhoto(), sendVideo(), sendSticker(), sendAudio(), sendVoice() methods 2016-06-02 00:28:01 +06:00
Rubenlagus
56ac18e263 Fix ForwardMessage method 2016-06-01 02:06:35 +02:00
Rubenlagus
c9c2b0c187 Merge branch 'dev' of github.com:rubenlagus/TelegramBots into dev 2016-06-01 00:32:39 +02:00
Rubenlagus
e39e20c7f9 Remove setter for unmodificable fields in replymarkup 2016-06-01 00:32:14 +02:00
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
Timo Schulz
86f6e2785a Merge branch 'dev' into command_bot_additions 2016-05-31 19:51:14 +02:00
Rubenlagus
e4b92fd0ad Update Telegram api docs 2016-05-31 19:08:56 +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
c8aaa91187 Fix RestApi 2016-05-30 20:25:36 +02:00
Rubenlagus
402b842a35 Closes #85 2016-05-29 03:59:39 +02:00
Rubenlagus
4270a529a0 Closes #84 2016-05-27 15:06:09 +02:00
Rubenlagus
2825090112 Fix webhooks (unstable) 2016-05-27 14:11:11 +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
Rubenlagus
480f9a6907 Merge branch 'implement_command_mechanism' of https://github.com/Mit0x2/TelegramBots into Mit0x2-implement_command_mechanism 2016-05-27 02:12:59 +02:00
Rubenlagus
ce9d198d5c Merges #82 2016-05-27 02:04:21 +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
0584416773 Bug fix 2016-05-22 12:13:18 +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