Skip to content

0.9

Choose a tag to compare

@vjik vjik released this 12 Apr 18:24
· 67 commits to master since this release
f22eec9

Telegram Bot API 9.0 support 🎉

  • New #152: Add downloadFile() and downloadFileTo() methods to TelegramBotApi.
  • New #156: Add AcceptedGiftTypes, BusinessBotRights, GiftInfo, InputProfilePhotoAnimated,
    InputProfilePhotoStatic, InputProfilePhoto, InputStoryContentPhoto, InputStoryContentVideo,
    InputStoryContent, LocationAddress, OwnedGiftRegular, OwnedGiftUnique, OwnedGift, OwnedGifts,
    PaidMessagePriceChanged, StarAmount, StoryAreaPosition, StoryAreaTypeLink, StoryAreaTypeLocation,
    StoryAreaTypeSuggestedReaction, StoryAreaTypeUniqueGift, StoryAreaTypeWeather, StoryAreaType, StoryArea,
    UniqueGiftBackdropColors, UniqueGiftBackdrop, UniqueGiftInfo, UniqueGiftModel, UniqueGiftSymbol and
    UniqueGift types.
  • New #156: Add DeleteStory, GetBusinessAccountGifts, ConvertGiftToStars, UpgradeGift, TransferGift,
    PostStory, EditStory, GiftPremiumSubscription, ReadBusinessMessage, DeleteBusinessMessages,
    SetBusinessAccountName, SetBusinessAccountUsername, SetBusinessAccountBio, SetBusinessAccountProfilePhoto,
    RemoveBusinessAccountProfilePhoto, SetBusinessAccountGiftSettings, GetBusinessAccountStarBalance and
    TransferBusinessAccountStars methods.
  • New #156: Add paidMessagePriceChanged, paidStarCount, gift and uniqueGift fields to Message type.
  • New #156: Add premiumSubscriptionDuration and transactionType fields to TransactionPartnerUser type.
  • Chg #152: Add downloadFile() and downloadFileTo() methods to TransportInterface.
  • Chg #152: Move CurlTransport from Vjik\TelegramBot\Api\Transport\Curl to Vjik\TelegramBot\Api\Transport.
  • Chg #154: TelegramBotApi::makeFileUrl() always returns a string and throw LogicException if the file path is not
    specified in File object.
  • Chg #156: In BusinessConnection type replace canReply field with rights field of BusinessBotRights type.
  • Chg #156: In ChatFullInfo type replace canSendGift field with acceptedGiftTypes field.
  • Enh #151: Add SensitiveParameter attribute to token parameters in TelegramBotApi methods.