Releases: vjik/telegram-bot-api
Releases · vjik/telegram-bot-api
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.
0.4.1
0.4
- New #103: Add
Update::getRaw()
method that returns raw data if type created byUpdate::fromJson()
orUpdate::fromServerRequest()
. - New #106, #112: Add logging.
- Chg #105: Remove
InvalidResponseFormatException
in favorTelegramParseResultException
. - Chg #109: Rename
FailResult
property$error_code
to$errorCode
.
0.3
0.2.1
- New #91: Add
TransactionPartnerTelegramAds
type. - New #92: Add
canSendPaidMedia
parameter toChatFullInfo
type. - New #93: Add
paidMedia
parameter toMessage
andExternalReplyInfo
types, addPaidMediaInfo
,
PaidMediaPreview
,PaidMediaPhoto
,PaidMediaVideo
types. - New #94: Add
invoicePayload
parameter toTransactionPartnerUser
type. - New #95: Add
sendPaidMedia
method andInputPaidMediaPhoto
,InputPaidMediaVideo
types.
0.2
- New #16: Add
sendContact
method. - New #17: Add
getUserProfilePhotos
method andUserProfilePhotos
type. - New #18: Add
sendPoll
method andInputPollOption
type. - New #19: Add
sendAudio
method. - New #20: Add
sendDocument
method. - New #21: Add
sendVideo
method. - New #22: Add
getStarTransactions
method andStarTransactions
,StarTransaction
,TransactionPartner
,
RevenueWithdrawalState
types. - New #23: Add
logOut
andclose
methods. - New #25: Add
forwardMessage
andforwardMessages
methods, andMessageId
type. - New #26: Add
copyMessage
andcopyMessages
methods. - New #27: Add
sendAnimation
method. - New #28: Add
sendVoice
method. - New #29: Add
sendVideoNote
method. - New #31: Add
sendMediaGroup
method andInputMediaAnimation
,InputMediaAudio
,InputMediaDocument
,
InputMediaPhoto
,InputMediaVideo
types. - New #32: Add
setMessageReaction
method andReactionType::toRequestArray()
method. - New #33: Add
banChatMember
andunbanChatMember
methods. - New #34: Add
restrictChatMember
method andChatPermissions::toRequestArray()
method. - New #35: Add
promoteChatMember
method. - New #36: Add
setChatAdministratorCustomTitle
method. - New #37: Add
banChatSenderChat
andunbanChatSenderChat
methods. - New #38: Add
setChatPermissions
method. - New #39: Add
exportChatInviteLink
,createChatInviteLink
,editChatInviteLink
andrevokeChatInviteLink
methods. - New #40: Add
approveChatJoinRequest
anddeclineChatJoinRequest
methods. - New #42: Add
setChatPhoto
anddeleteChatPhoto
methods. - New #43: Add
setChatTitle
andsetChatDescription
methods. - New #44: Add
pinChatMessage
,unpinChatMessage
andunpinAllChatMessages
methods. - New #46: Add
leaveChat
method. - New #47: Add
getChatAdministrators
,getChatMemberCount
andgetChatMember
methods. - New #49: Add
createNewStickerSet
method,InputSticker
type,StickerType
andStickerFormat
classes with
constants, andMaskPosition::toRequestArray()
method. - New #50: Add
deleteStickerSet
method. - New #51: Add
getStickerSet
method andStickerSet
type. - New #52: Add
sendSticker
method. - New #54: Add
getCustomEmojiStickers
method. - New #55: Add
uploadStickerFile
method. - New #57: Add
addStickerToSet
,deleteStickerFromSet
andreplaceStickerInSet
methods. - New #58: Add
setStickerPositionInSet
,setStickerEmojiList
,setStickerKeywords
andsetStickerMaskPosition
methods. - New #60: Add
setStickerSetTitle
method. - New #61: Add
setStickerSetThumbnail
method. - New #62: Add
setCustomEmojiStickerSetThumbnail
method. - New #63: Add
setChatStickerSet
anddeleteChatStickerSet
methods. - New #64: Add
getForumTopicIconStickers
method. - New #65: Add
createForumTopic
,editForumTopic
,closeForumTopic
,reopenForumTopic
,deleteForumTopic
methods,
ForumTopic
type andForumTopicIconColor
class with constants. - New #66: Add
unpinAllForumTopicMessages
andunpinAllGeneralForumTopicMessages
methods. - New #67: Add
editGeneralForumTopic
,closeGeneralForumTopic
,reopenGeneralForumTopic
,hideGeneralForumTopic
andunhideGeneralForumTopic
methods. - New #68: Add
answerCallbackQuery
method. - New #69: Add
getUserChatBoosts
method andUserChatBoosts
type. - New #70: Add
getBusinessConnection
method. - New #71: Add
getMyDefaultAdministratorRights
andsetMyDefaultAdministratorRights
methods. - New #72: Add
editMessageText
method andParseMode
class with constants. - New #73: Add
editMessageCaption
method. - New #74: Add
editMessageMedia
method andMessageEntityType
class with constants. - New #75: Add
editMessageLiveLocation
andstopMessageLiveLocation
methods. - New #76: Add
editMessageReplyMarkup
method. - New #77: Add
stopPoll
method. - New #78: Add
deleteMessage
anddeleteMessages
methods. - New #79: Add
answerInlineQuery
method,InlineQueryResultsButton
,InlineQueryResult*
,InputMessageContent*
and
LabeledPrice
types. - New #80: Add
answerWebAppQuery
method andSentWebAppMessage
type. - New #81: Add
sendInvoice
method. - New #82: Add
createInvoiceLink
method. - New #83: Add
answerShippingQuery
andanswerPreCheckoutQuery
methods, andShippingOption
type. - New #84: Add
refundStarPayment
method. - New #85: Add
setPassportDataErrors
method andPassportElementError*
types. - New #86: Add
sendGame
method. - New #87: Add
setGameScore
method. - New #88: Add
getGameHighScores
method andGameHighScore
type. - Chg #24: Move update methods to
Vjik\TelegramBot\Api\Method\Update
namespace, and update types to
Vjik\TelegramBot\Api\Type\Update
namespace. - Chg #30: Remove
TelegramRequestWithFilesInterface
. - Chg #59: Change namespaces
Vjik\TelegramBot\Api\Type\Payments
toVjik\TelegramBot\Api\Type\Payment
andVjik\TelegramBot\Api\Method\Payments
toVjik\TelegramBot\Api\Method\Payment
. - Enh #56: Add specific exception on unsuccessfully opening a file in
InputFile::fromLocalFile()
. - Bug #48: Fix incorrect string values addition to POST request with files in
PsrTelegramClient
. - Bug #53: Fix incorrect array values addition to GET request in
PsrTelegramClient
.