Skip to content

Releases: MA24th/tgbotapi

Bot API v4.8.3

07 Jun 21:31
Compare
Choose a tag to compare
Bot API v4.8.3 Pre-release
Pre-release

New with this update:

  • Added the new field via_bot to the Message object. You can now know which bot was used to send a message.
  • Supported video thumbnails for inline GIF and MPEG4 animations.
  • Supported the new basketball animation for the random dice. Choose between different animations (dice, darts, basketball) by specifying the emoji parameter in the method sendDice.

Bot API v4.8

26 Apr 00:46
d847046
Compare
Choose a tag to compare
  • Add explanations by specifying the parameter explanation and explanation_parse_mode in the method sendPoll.
  • Added the field explanation and explanation_entities to the Poll object.
  • Supported timed polls that automatically close at a certain date and time. Set up by specifying the parameter open_period or close_date in the method sendPoll.
  • Added the fields open_period and close_date to the Poll object.
  • Supported the new darts animation for the dice mini-game. Choose between the default dice animation and darts animation by specifying the parameter emoji in the method sendDice.
  • Added the field emoji to the Dice objected the ability to change thumbnails of sticker sets created by the bot using the method setStickerSetThumb.

Bot API v4.7.2

26 Apr 00:33
d847046
Compare
Choose a tag to compare
Bot API v4.7.2 Pre-release
Pre-release
  • Add explanations by specifying the parameters explanation and explanation_parse_mode in the method sendPoll.
  • Added the fields explanation and explanation_entities to the Poll object.
  • Supported timed polls that automatically close at a certain date and time. Set up by specifying the parameter open_period or close_date in the method sendPoll.
  • Added the fields open_period and close_date to the Poll object.
  • Supported the new darts animation for the dice mini-game. Choose between the default dice animation and darts animation by specifying the parameter emoji in the method sendDice.

Bot API v4.7

24 Apr 12:15
782a857
Compare
Choose a tag to compare
  • Added the method sendDice for sending a dice message, which will have a random value from 1 to 6. (Yes, we're aware of the “proper” singular of die. But it's awkward, and we decided to help it change. One dice at a time!)
  • Added the field dice to the Message object.
  • Added the method getMyCommands for getting the current list of the bot's commands.
  • Added the method setMyCommands for changing the list of the bot's commands through the Bot API instead of @Botfather.
  • Added the ability to create animated sticker sets by specifying the parameter tgs_sticker instead of png_sticker in the method createNewStickerSet.
  • Added the ability to add animated stickers to sets created by the bot by specifying the parameter tgs_sticker instead of png_sticker in the method addStickerToSet.
  • Added the field thumb to the StickerSet object.
  • Added the ability to change thumbnails of sticker sets created by the bot using the method setStickerSetThumb.