💬 A PHP library for Facebook Messenger
Changelog (since 3.4.0
)
7.2
8.
static
call with self
on Event class.gitattributes
Changelog (since 3.3.3
)
Changelog (since 3.3.2
)
Changelog (since 3.3.1
)
testBad*
methods to testInvalid*
Changelog (since 3.3.0
)
CONFIRMED_EVENT_UPDATE
and POST_PURCHASE_UPDATE
message tags. (Thanks to @BFoucher)element_share
and nested
are now deprecatedChangelog (since 3.2.0
)
v5.0
image_aspect_ratio
property for Generic Template (Thanks to @BFoucher)ice_breakers
and home_url
properties for Profile APIreply_to
property for Message callbackReaction
eventpayment_settings
and target_audience
are now deprecatedChangelog (since 3.1.1
)
v3.3
seq
from webhook Events (Thanks to @SoleneLms)Changelog (since 3.1.0
)
addQuickReply
will no longer thrown an exception if no quick replies were previously set (Thanks to @Khodl)phpunit/phpunit
version to 7.4
.squizlabs/php_codesniffer
as a require-dev dependencies.Changelog (since 3.0.0
)
v3.2
.\Kerox\Messenger\Model\Callback\PassThreadControl::class
, \Kerox\Messenger\Model\Callback\RequestThreadControl::class
and \Kerox\Messenger\Model\Callback\TakeThreadControl::class
. (Thanks to @dbknet)public
to protected
in \Kerox\Messenger\Helper\ValidatorTrait::class
isPaymentEnabled
and getLastAdReferral
from \Kerox\Messenger\Response\UserResponse::class
as there are been removed from the API (see CHANGELOG)Changelog (since 2.1.1
)
Version 3.0.0
of the Messenger library is an enhancement of version 2.1.1
with major break changes.
v3.1
.$appVersion
as optional 4th argument in \Kerox\Messenger\Messenger::__construct()
with default value to const API_VERSION
.$notificationType
and $tag
for methods message()
and action
in \Kerox\Messenger\Api\Send()
.$notificationType
and $tag
for methods send()
in \Kerox\Messenger\Api\Broadcast()
.$options
for methods message()
and action
in \Kerox\Messenger\Api\Send()
.$options
for methods send()
in \Kerox\Messenger\Api\Broadcast()
.$notificationType
, $tag
and $messagingType
for method __construct()
in \Kerox\Messenger\Request\SendRequest()
.$notificationType
, $tag
for method __construct()
in \Kerox\Messenger\Request\BroadcastRequest()
.$options
for method __construct()
in \Kerox\Messenger\Request\SendRequest()
.$options
for method __construct()
in \Kerox\Messenger\Request\BroadcastRequest()
.MESSAGING_TYPE_RESPONSE
, MESSAGING_TYPE_UPDATE
, MESSAGING_TYPE_MESSAGE_TAG
and MESSAGING_TYPE_NON_PROMOTIONAL_SUBSCRIPTION
from \Kerox\Messenger\Request\SendRequest()
to \Kerox\Messenger\SendInterface
addQuickReply()
in \Kerox\Messenger\Model\Message()
will throw an exception if there is already too many quick replies.$ref
, $source
and $type
in \Kerox\Messenger\Model\Callback\Referral()
can now return null
.$sharable
in \Kerox\Messenger\Model\Message\Attachment\Template\ButtonTemplate()
.$text
in \Kerox\Messenger\Model\Message\Attachment\Template\ButtonTemplate()
. (Thanks to @mferrara)