Skip to content

Releases: vjik/telegram-bot-api

0.5

02 Jan 17:41
67527f8
Compare
Choose a tag to compare

Telegram Bot API 8.2 support 🎉

  • New #129: Add verifyUser, verifyChat, removeUserVerification and removeChatVerification methods.
  • New #129: Add upgradeStarCount field to Gift type.
  • New #129: Add payForUpgrade parameter to SendGift method.
  • Chg #129: Remove hideUrl field from InlineQueryResultArticle type.

0.4.7.1

18 Dec 11:29
d998207
Compare
Choose a tag to compare
  • Bug #128: Add a check for a seekable response body and rewind in PsrTelegramClient.

0.4.7

04 Dec 11:57
4face03
Compare
Choose a tag to compare

Telegram Bot API 8.1 support 🎉

  • New #126: Add nanostarAmount field to StarTransaction type.
  • New #126: Add TransactionPartnerAffiliateProgram type.
  • New #126: Add AffiliateInfo type.
  • New #126: Add affiliate field to TransactionPartnerUser type.

0.4.6

18 Nov 11:37
5fc13db
Compare
Choose a tag to compare

Telegram Bot API 8.0 support 🎉

  • New #125: Add subscriptionPeriod and businessConnectionId parameters to createInvoiceLink method.
  • New #125: Add subscriptionExpirationDate, isRecurring and isFirstRecurring fields to SuccessfulPayment type.
  • New #125: Add editUserStarSubscription method.
  • New #125: Add subscriptionPeriod and gift fields to TransactionPartnerUser type.
  • New #125: Add setUserEmojiStatus method.
  • New #125: Add PreparedInlineMessage type.
  • New #125: Add savePreparedInlineMessage method.
  • New #125: Add Gift and Gifts types.
  • New #125: Add getAvailableGifts and SendGift methods.

0.4.5

31 Oct 18:26
658a79c
Compare
Choose a tag to compare

Telegram Bot API 7.11 support 🎉

  • New #124: Add CopyTextButton type.
  • New #124: Add copyText field to InlineKeyboardButton type.
  • New #124: Add allowPaidBroadcast field to sendMessage, sendPhoto, sendVideo, sendAnimation, sendAudio,
    sendDocument, sendPaidMedia, sendSticker, sendVideoNote, sendVoice, sendLocation, sendVenue,
    sendContact, sendPoll, sendDice, sendInvoice, sendGame, sendMediaGroup and copyMessage methods.
  • New #124: Add TransactionPartnerTelegramApi type.
  • Bug #124: Rename PaidMediaPurchased property payload to paidMediaPayload.

0.4.4

26 Oct 08:36
1e7b11a
Compare
Choose a tag to compare
  • Enh #119: Use fully qualified function calls to improve performance.
  • Enh #119: Use more specific psalm annotations.
  • Bug #121: Rename PaidMediaPurchased property paidMediaPayload to payload.

0.4.3

06 Sep 18:10
772070c
Compare
Choose a tag to compare
  • New #118: Add PaidMediaPurchased type.
  • New #118: Add purchasedPaidMedia field to Update type.
  • New #118: Add paidMediaPayload field to TransactionPartnerUser type.
  • New #118: Add payload parameter to SendPaidMedia method.
  • New #118: Add prizeStarCount field to GiveawayCreated, Giveaway, GiveawayWinners and
    ChatBoostSourceGiveaway types.
  • New #118: Add isStarGiveaway field to GiveawayCompleted type.
  • Enh #118: Bump php-http/multipart-stream-builder dependency to ^1.4.2 version.

0.4.2

22 Aug 09:42
fe19c94
Compare
Choose a tag to compare
  • New #117: Add createChatSubscriptionInviteLink and editChatSubscriptionInviteLink methods.
  • New #117: Add businessConnectionId parameter to SendPaidMedia method.
  • New #117: Add ReactionTypePaid type.
  • New #117: Add paidMedia field to TransactionPartnerUser type.
  • New #117: Add subscriptionPeriod and subscriptionPrice fields to ChatInviteLink type.
  • New #117: Add untilDate field to ChatMemberMember type.

0.4.1

01 Aug 07:19
3d68295
Compare
Choose a tag to compare
  • New #115: Add hasMainWebApp field to User type.
  • New #115: Add businessConnectionId parameter to PinChatMessage and UnpinChatMessage methods.

0.4

10 Jul 07:58
1d97465
Compare
Choose a tag to compare
0.4
  • New #103: Add Update::getRaw() method that returns raw data if type created by Update::fromJson() or Update::fromServerRequest().
  • New #106, #112: Add logging.
  • Chg #105: Remove InvalidResponseFormatException in favor TelegramParseResultException.
  • Chg #109: Rename FailResult property $error_code to $errorCode.