Skip to content

Releases: rubenlagus/TelegramBots

Bug Fixing

08 Nov 18:03
b03fe98
Compare
Choose a tag to compare
  1. Fixing couple of bugs from 5.0.0
  2. Buf fixing: #794
  3. Docs updated to reflect usage for version 5.0.0
  4. EditMessageText setChatIId(Long) is removed to keep consistency

Bot API Version 5.0 and more

04 Nov 15:15
cd2f746
Compare
Choose a tag to compare
  1. Update Api version 5.0
  2. Added Builders for many of the API methods and objects (hopefully all of them unless I missed something)
  3. Some setters/getters may have change name. They no longer return a reference to itself, use Builder for that.
  4. Simplified methods to set files in methods. Only InputFile is available now (this class contains constructors for all the cases)
  5. Locations now use Double instead of Float to avoid rounding.
  6. When using a TelegramApi for webhook usage, a Webhook instance has to be provided in constructor (i.e. DefaultWebhook class)
  7. When registering a Webhook Bot, a SetWebhook object must be provided.
  8. When using Webhook with Spring, extends class SpringWebhookBot instead of WebhookBot
  9. New Async methods returning CompletableFutures (yes, we still have the existing callback methods)
  10. Added new Async methods for missing cases returning CompletableFutures. Like for sendAudio or sendVideo.
  11. No more Guice to define custom class
  12. Bug fixes: #795

Bug Fixing

29 Oct 00:22
48dea81
Compare
Choose a tag to compare

Bug fixing: #792, #801, #804, #810, #812, #813, #820 and #814

Bux Fixing

02 Aug 10:43
203b265
Compare
Choose a tag to compare

Bug fixing: #767, #766, #761, #763, #776, #772, #771, #780

Api Version 4.9

04 Jun 22:07
1a2e7c9
Compare
Choose a tag to compare
  1. Update Api version 4.9
  2. Bug fixing: #731, #749, #752 and #753

Api Version 4.7

01 Apr 08:15
a7aec1e
Compare
Choose a tag to compare
  1. Update Api version 4.7

Api Version 4.6

23 Jan 23:42
bd5c5a2
Compare
Choose a tag to compare
  1. Update Api version 4.6

Api Version 4.5

31 Dec 14:57
32be70c
Compare
Choose a tag to compare
  1. Update Api version 4.5
  2. Fixes: #697, #710

SLF4J and other improvements

23 Nov 17:04
547013d
Compare
Choose a tag to compare
  1. Use SLF4J
  2. Support case-insensitive usernames
  3. Add Ability toggles and export default abilities to their own class
  4. Add state machine capability to AbilityBot via ReplyFlow
  5. Support backup and recovery of db vars
  6. Fixes: #602, #641, #652, #691

Api Version 4.4

04 Aug 15:27
f85409f
Compare
Choose a tag to compare
  1. Update Api version 4.4
  2. Removed BotLogger, replaced with log4j2
  3. Library is now built using Java11
  4. Updated dependencies to use last versions
  5. Files can be downloaded into a stream. Allowing it to be processed immediately.
  6. A java.io.File can be passed into the methods. The downloaded file is copied into that file instead of a temp file then (does not work with the async methods)