Skip to content

Releases: vjik/telegram-bot-api

0.7

10 Feb 12:48
e5d336c
Compare
Choose a tag to compare
  • New #139: Add RawValue value processor.
  • Chg #139: Change result of MethodInterface::getResultType() to ValueProcessorInterface.
  • Chg #143: Change FailResult::$errorCode type to int|null.
  • Enh #140: Extract core code from TelegramBotApi to internal Api class.
  • Enh #136: Minor refactoring of ObjectFactory class.
  • Enh #138: Remove unused private properties in PsrTransport class.

0.6

24 Jan 14:08
5bd2d66
Compare
Choose a tag to compare
0.6
  • Chg #132: Rename definitions "telegram client" to "transport", "telegram response" to "api response" and
    "telegram request" to "method". Classes, namespaces, and variables rename accordingly.
  • Chg #132: Remove TelegramRequest.
  • Chg #132: Rename TelegramClientInterface to TransportInterface and change send() method signature.
  • Chg #132: Rename TelegramRequestWithResultPreparingInterface to MethodInterface.
  • Chg #132: Rename RequestFileCollector to FileCollector and move to root namespace.
  • Chg #132: Rename TelegramBotApi::send() method to call().
  • Chg #133: Remove JSON encoding of payload in log contexts.
  • Chg #133: Extract log context creating methods to separated internal class.
  • Enh #134: Remove dead code.

0.5

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

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.