Releases: vjik/telegram-bot-api
Releases · vjik/telegram-bot-api
0.7
- New #139: Add
RawValue
value processor. - Chg #139: Change result of
MethodInterface::getResultType()
toValueProcessorInterface
. - Chg #143: Change
FailResult::$errorCode
type toint|null
. - Enh #140: Extract core code from
TelegramBotApi
to internalApi
class. - Enh #136: Minor refactoring of
ObjectFactory
class. - Enh #138: Remove unused private properties in
PsrTransport
class.
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
toTransportInterface
and changesend()
method signature. - Chg #132: Rename
TelegramRequestWithResultPreparingInterface
toMethodInterface
. - Chg #132: Rename
RequestFileCollector
toFileCollector
and move to root namespace. - Chg #132: Rename
TelegramBotApi::send()
method tocall()
. - 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
Telegram Bot API 8.2 support 🎉
0.4.7.1
0.4.7
0.4.6
Telegram Bot API 8.0 support 🎉
- New #125: Add
subscriptionPeriod
andbusinessConnectionId
parameters tocreateInvoiceLink
method. - New #125: Add
subscriptionExpirationDate
,isRecurring
andisFirstRecurring
fields toSuccessfulPayment
type. - New #125: Add
editUserStarSubscription
method. - New #125: Add
subscriptionPeriod
andgift
fields toTransactionPartnerUser
type. - New #125: Add
setUserEmojiStatus
method. - New #125: Add
PreparedInlineMessage
type. - New #125: Add
savePreparedInlineMessage
method. - New #125: Add
Gift
andGifts
types. - New #125: Add
getAvailableGifts
andSendGift
methods.
0.4.5
Telegram Bot API 7.11 support 🎉
- New #124: Add
CopyTextButton
type. - New #124: Add
copyText
field toInlineKeyboardButton
type. - New #124: Add
allowPaidBroadcast
field tosendMessage
,sendPhoto
,sendVideo
,sendAnimation
,sendAudio
,
sendDocument
,sendPaidMedia
,sendSticker
,sendVideoNote
,sendVoice
,sendLocation
,sendVenue
,
sendContact
,sendPoll
,sendDice
,sendInvoice
,sendGame
,sendMediaGroup
andcopyMessage
methods. - New #124: Add
TransactionPartnerTelegramApi
type. - Bug #124: Rename
PaidMediaPurchased
propertypayload
topaidMediaPayload
.
0.4.4
0.4.3
- New #118: Add
PaidMediaPurchased
type. - New #118: Add
purchasedPaidMedia
field toUpdate
type. - New #118: Add
paidMediaPayload
field toTransactionPartnerUser
type. - New #118: Add
payload
parameter toSendPaidMedia
method. - New #118: Add
prizeStarCount
field toGiveawayCreated
,Giveaway
,GiveawayWinners
and
ChatBoostSourceGiveaway
types. - New #118: Add
isStarGiveaway
field toGiveawayCompleted
type. - Enh #118: Bump
php-http/multipart-stream-builder
dependency to^1.4.2
version.
0.4.2
- New #117: Add
createChatSubscriptionInviteLink
andeditChatSubscriptionInviteLink
methods. - New #117: Add
businessConnectionId
parameter toSendPaidMedia
method. - New #117: Add
ReactionTypePaid
type. - New #117: Add
paidMedia
field toTransactionPartnerUser
type. - New #117: Add
subscriptionPeriod
andsubscriptionPrice
fields toChatInviteLink
type. - New #117: Add
untilDate
field toChatMemberMember
type.