Commit Graph

112 Commits

Author SHA1 Message Date
Andrea Cavalli a941d30074 Require jackson annotation 2022-11-15 18:26:23 +01:00
Andrea Cavalli 40006eabd3 Merge tag 'v6.1.0' 2022-06-22 00:31:29 +02:00
Ruben Bermudez db1b24cd09
Merge pull request #918 from monkeyboiii/dev 2022-06-15 02:39:32 +02:00
Ruben Bermudez 69e4a6a149
Merge pull request #1055 from LamGC/change-exception-log-format 2022-06-15 02:26:53 +02:00
rubenlagus ce4760d994 Allow Long setters for ChatIds 2022-06-14 22:20:22 +02:00
Andrea Cavalli ea4076b319 Merge remote-tracking branch 'TelegramBots/master' 2022-05-05 12:17:14 +02:00
LamGC 80ef86b90d
Change exception log information.
Output exception details in exception handling to help developers troubleshoot problems.
At the same time, by checking whether the debug level is enabled, too many output logs in the production environment can be avoided. (I guess the original design was for this reason)
2022-04-18 11:56:33 +08:00
Ruben e779402e74 Api Version 6.0 2022-04-17 20:40:17 +01:00
Andrea Cavalli a8a00430e6 Java modules 2022-04-09 02:42:41 +02:00
Ruben 29cdebad8a Api Version 5.4 2021-11-06 15:37:30 +00:00
Ruben eef0681ddf Api Version 5.4 2021-11-06 14:52:47 +00:00
Victor 0ec2e32bc9 Add an access to the user in ChatMember interface 2021-07-08 15:46:41 +03:00
Ruben Bermudez 96d3cf187f
Merge pull request #937 from addo47/fix-force-reply
Set the proper fields for forceReply method in silent sender
2021-07-04 12:39:06 +01:00
rubenlagus ff6ce9f764 ApiVersion 5.3 2021-07-04 03:14:10 +01:00
Abbas Abou Daya c453b54bd4 Set the proper fields for forceReply 2021-07-03 11:20:42 -07:00
CalvinDesktop 330d9c29fa fix minor issues for previous commit fix issue #755 2021-05-15 14:16:12 +08:00
CalvinDesktop 9abce70359 Add feature #755, can use properties to configure ability toggle 2021-05-15 14:09:35 +08:00
Shang Jihao d3e58de851 fix issue 869 2021-04-25 18:09:24 +08:00
rubenlagus 6653ffe937 API 5.1 2021-03-09 10:59:28 +00:00
rubenlagus c7728fbc8a Fix webhook version and validate username and token is present 2021-03-07 03:28:24 +00:00
Ruben Bermudez 7287c38444
Merge pull request #859 from Narryel/dev
add multiple reply declaration support
2021-03-06 11:15:38 +00:00
Valentin Afanasiev 39a5678543 add comments to BaseAbilityBot.java and static construction method to ReplyCollection.java 2021-01-31 22:05:52 +03:00
Valentin Afanasiev ec4f81b94a revert indentation changes 2021-01-26 13:39:41 +03:00
Valentin Afanasiev eea4c3adc1 revert indentation changes 2021-01-26 13:33:01 +03:00
Valentin Afanasiev aac8afe209 add multiple reply declaration support 2021-01-25 19:57:48 +03:00
Chase22 e7cb0e6ced Inject bot instance into the reply update consumer
Also added deprecated methods to still allow the old behaviour, discarding the bot reference in that case.

The condition could have a bot instance injected as well, which would require rewriting the Flag register though.
2020-11-24 17:07:55 +01:00
rubenlagus 447c9d3f92 Update 5.0 and lombok 2020-11-03 01:32:26 +00:00
rubenlagus 3275c10913 More cleanup 2020-10-31 17:43:32 +00:00
Ruben Bermudez b4684b9ec7 Fix bug 2020-10-26 01:25:35 +00:00
Ruben Bermudez 5d058d41c9
Merge pull request #814 from Daniil547/master
Change Ability name check according to Telegram bot API requirements
2020-10-26 01:15:40 +00:00
Ruben Bermudez 814955c2a6
Merge pull request #813 from christianblos/feature/ability-extension-list
Be able to add AbilityExtensions in Bot constructor
2020-10-23 00:26:26 +01:00
Ruben Bermudez aa030fa148
Merge pull request #812 from christianblos/feature/lazy-load-abilities
Feature/lazy load abilities
2020-10-23 00:25:46 +01:00
Christian Blos 247ca5f984 Don't expose extensions in BaseAbilityBot 2020-10-08 15:46:31 +02:00
Christian Blos 5b465e79f3 Removed unnecessary onRegister() overrides 2020-10-08 15:07:14 +02:00
Daniil547 5d8d10b02d
Update AbilityUtils.java 2020-10-06 16:08:44 +00:00
Daniil547 fe79de9bb7
Update AbilityUtils.java 2020-10-06 15:49:49 +00:00
Daniil547 1855a27d13
Update Ability.java 2020-10-06 15:46:18 +00:00
Christian Blos b715f2a154 Be able to add AbilityExtensions in Bot constructor 2020-10-05 18:07:06 +02:00
Christian Blos 74e305c2a7 Load abilities when bot gets registered 2020-10-05 17:08:26 +02:00
Christian Blos a106e3190c Be able to access AbilityBot via MessageContext 2020-10-02 21:57:57 +02:00
Abbas Abou Daya 402c36e6b2 Fix matching longest ability name on continuous text feature 2020-08-01 05:56:50 -07:00
Ruben Bermudez 196d0a3924
Merge pull request #785 from oskov/update-comments-for-AbilityBot
Simple comment update
2020-07-31 01:29:31 +01:00
Ruben Bermudez 280b9f2686
Merge pull request #780 from addo37/improve-token-fetch
Add customization options for command processing
2020-07-31 01:12:55 +01:00
Ruben Bermudez 4a4267768c
Merge pull request #779 from addo37/access-privacy
Ease the access modifier on getPrivacy and other auxiliary methods
2020-07-31 01:12:06 +01:00
Ruben Bermudez fdb60e7b53
Merge pull request #778 from addo37/safe-get-user
Make getUser a safer method by returning a non-null user
2020-07-31 01:10:40 +01:00
oskov 12619422c0 Seems to have forgotten about the comment after refactoring 2020-07-23 23:13:45 +03:00
Abbas Abou Daya 4991eef1f1 Add wiki and rename no space feature 2020-07-18 01:50:16 -07:00
Abbas Abou Daya e6aae3c282 Allow users to customize command prefix, split regex and NoSpaceText 2020-07-18 01:27:39 -07:00
Abbas Abou Daya 709ed0f212 Ease the access modifier on getPrivacy and other auxiliary methods 2020-07-18 01:07:57 -07:00
Abbas Abou Daya 5281caad39 Make getUser a safer method by returning an EMPTY_USER on null 2020-07-18 00:36:29 -07:00