Andrea Cavalli
da0a69309b
Bugfixes
2022-06-22 23:41:51 +02:00
Andrea Cavalli
40006eabd3
Merge tag 'v6.1.0'
2022-06-22 00:31:29 +02:00
Ruben Bermudez
82659125d1
Fix tests
2022-06-21 21:35:42 +02:00
AndreicaRadu
3b080a149a
Wrong assertion always true(compares same object)
...
Probably due to carelessness the same object is compared and the assertion is always true. Sonarlint raised this issue.
2022-05-08 18:16:04 +03:00
Andrea Cavalli
60eed343f6
Support more fields
2022-02-24 02:04:29 +01:00
Andrea Cavalli
7067e1a65e
Deduplicate code
2022-01-29 17:21:54 +01:00
Victor
aff5385685
Fix ability bot test
2021-07-08 17:42:27 +03:00
rubenlagus
ff6ce9f764
ApiVersion 5.3
2021-07-04 03:14:10 +01:00
rubenlagus
6653ffe937
API 5.1
2021-03-09 10:59:28 +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
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
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
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
54096d2e85
Add test
2020-07-18 00:43:28 -07:00
Ruben Bermudez
28f60e3024
Merge pull request #731 from addo37/ability-stats
...
Add basic statistics to Abilities and Replies
2020-05-31 19:08:57 +01:00
Abbas Abou Daya
202fb72c3f
Handle the poll flag in the getChatId method
2020-05-09 14:02:36 -07:00
Abbas Abou Daya
9ffc547cdf
Add basic statistics to Abilities and Replies
2020-04-27 21:40:47 -07:00
Abbas Abou Daya
40c17126ae
Spawn the EMPTY_USER and add the proper tests
2020-04-26 13:22:05 -07:00
Ruben Bermudez
1ebbc68485
Merge branch 'dev' into add-ability-toggle
2019-10-12 01:00:28 +01:00
Abbas Abou Daya
861b7f24f9
Add Abillity toggles and export default abilities to their own class
2019-09-29 23:00:16 -07:00
Abbas Abou Daya
0ff63149f7
Add ReplyFlow implementation, tests, and wiki
...
This commit also has a some minor test refactoring.
2019-09-25 23:25:11 -07:00
Abbas Abou Daya
c633f1fcc2
Modified tests to accommodate JUnit5 and Mockito API changes
2019-07-08 23:18:08 -07:00
rubenlagus
7b5acf0987
Update travis yalm
2019-07-08 20:37:04 +01:00
rubenlagus
679ad618b9
Java 11, initial version
2019-07-08 20:22:51 +01:00
chmilevfa
ad3dbfdd58
Merge branch 'dev' into java9-support
...
# Conflicts:
# telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/bot/AbilityBot.java
# telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/objects/EndUser.java
# telegrambots-abilities/src/main/java/org/telegram/abilitybots/api/objects/MessageContext.java
# telegrambots-spring-boot-starter/src/main/java/org/telegram/telegrambots/starter/TelegramBotStarterConfiguration.java
# telegrambots/src/main/java/org/telegram/telegrambots/bots/DefaultBotOptions.java
2018-07-16 19:37:30 +02:00
chmilevfa
db9ae4f586
telegrambots-meta java 9 supported
2018-07-08 01:41:21 +02:00
Abbas Abou Daya
889fd46834
Expose abilities and replies, add report command and reformat /commands, closes #436
2018-05-23 18:59:03 -04:00
Abbas Abou Daya
a819d7f178
Cleanup and refactoring
2018-05-21 07:01:45 -04:00
Abbas Abou Daya
8729271d34
Fix tests
2018-05-21 05:57:43 -04:00
davioooh
9347d064c1
Refactor localized messages retrievement
2018-05-21 05:57:43 -04:00
davioooh
ab86947cc3
Fix issues
...
- export message codes
- standardize message codes
- format/spacing
2018-05-21 05:57:43 -04:00
davioooh
c8f1c69fb2
Complete externalization of messages
2018-05-21 05:57:43 -04:00
davioooh
97a4c0031b
Refactor EndUser to serialize locale
2018-05-21 05:57:43 -04:00
davioooh
d77887fd2c
Add basic internationalization support
2018-05-21 05:57:43 -04:00
Abbas Abou Daya
677b401fc6
Check if the message is a group or super group message for GROUP_ADMIN, #390
2018-05-08 03:39:21 +03:00
Abbas Abou Daya
dc9f34196e
Make abilities case-insensitive, fix msg markdown bug and add group-admin privacy
2018-02-04 03:23:41 -05: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
Abbas Abou Daya
adddadfba5
Refreshed MessageSender and added a silent sender
2017-10-28 22:15:53 -04:00
Ruben Bermudez
3c99f34532
Updates Pom and remove unused imports
2017-07-20 22:25:57 +02:00
Abbas Abou Daya
6df6627821
Added AbilityBot module
2017-07-11 21:18:40 +03:00