Skip to content

Releases: go-telegram/bot

v1.18.0

23 Jan 12:25

Choose a tag to compare

  • support API 9.3 (December 31, 2025 update)
    • Topics in private chats:
      • Added has_topics_enabled field to User
    • Gifts:
      • Added getUserGifts and getChatGifts methods
      • Replaced last_resale_star_count with last_resale_currency and last_resale_amount in UniqueGiftInfo
      • Replaced exclude_limited with exclude_limited_upgradable and exclude_limited_non_upgradable in getBusinessAccountGifts
      • Added gift_upgrade_sent field to Message
      • Added gift_id, is_from_blockchain, is_premium, colors fields to UniqueGift
      • Added personal_total_count, personal_remaining_count, is_premium, has_colors, background, unique_gift_variant_count fields to Gift
      • Added is_upgrade_separate, unique_gift_number fields to GiftInfo and OwnedGiftRegular
      • Added gifts_from_channels field to AcceptedGiftTypes
      • Added GiftBackground and UniqueGiftColors types
      • Added unique_gift_colors, paid_message_star_count fields to ChatFullInfo
    • Streaming:
      • Added sendMessageDraft method for streaming partial messages

v1.17.0

18 Aug 14:05

Choose a tag to compare

  • api 9.2 (#207)
  • fix: hide token from logs (#206)
  • use io.Pipe for build request (#205)
  • 🛠️ fix: models.InputSticker model handling/usage (#201)
  • style: replace empty interface{} with any (#200)

v1.16.0

08 Jul 10:21

Choose a tag to compare

  • support API 9.1 (#194)

v1.15.0

29 Apr 13:58

Choose a tag to compare

  • support API 9.0 (#176)
  • fix json 'omitempty' fields for message struct - pinned_message/pinned_message (#175)
  • Add MessageEntity Types (#169)
  • fix: rawRequest - use errorsHandler for error on close resp body (#170)

v1.14.2

11 Apr 13:05

Choose a tag to compare

  • add MatchTypeCommand and MatchTypeCommandStartOnly
  • updated UploadStickerFile method to match Telegram Bot API (#165)

v1.14.1

17 Mar 07:40
55458f4

Choose a tag to compare

  • remove ci args for use default config
  • make MaskPosition optional
  • Add check for nil in addFormFieldInputFileUpload (#161)
  • Change type of Stickers field in CreateNewStickerSetParams struct (#160)

v1.14.0

12 Feb 13:55
3bd6139

Choose a tag to compare

  • support API 8.3

v1.13.3

13 Jan 08:00
337def9

Choose a tag to compare

  • add option WithInitialOffset(offset int64) - allows to set initial offset for getUpdates method

v1.13.2

11 Jan 09:27

Choose a tag to compare

  • change field type WebAppUser.ID from int to int64

v1.13.1

10 Jan 09:01

Choose a tag to compare

  • add method bot.ID() int64
  • add method bot.Token() string