From bfdeaa0772367cef795ed159d7f7c4b1bf1d71ba Mon Sep 17 00:00:00 2001 From: "Van Hocht, Joren" Date: Tue, 28 Aug 2018 14:01:50 +0200 Subject: [PATCH] Add support for Slack testbot --- src/RichMessage/RichMessage.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/RichMessage/RichMessage.php b/src/RichMessage/RichMessage.php index b7056d9..069839c 100644 --- a/src/RichMessage/RichMessage.php +++ b/src/RichMessage/RichMessage.php @@ -13,15 +13,16 @@ abstract class RichMessage protected $requestSource; protected $v2PlatformMap = [ - 'unspecified' => 'PLATFORM_UNSPECIFIED', - 'facebook' => 'FACEBOOK', - 'slack' => 'SLACK', - 'telegram' => 'TELEGRAM', - 'kik' => 'KIK', - 'skype' => 'SKYPE', - 'line' => 'LINE', - 'viber' => 'VIBER', - 'google' => 'ACTIONS_ON_GOOGLE', + 'unspecified' => 'PLATFORM_UNSPECIFIED', + 'facebook' => 'FACEBOOK', + 'slack' => 'SLACK', + 'slack_testbot' => 'SLACK', + 'telegram' => 'TELEGRAM', + 'kik' => 'KIK', + 'skype' => 'SKYPE', + 'line' => 'LINE', + 'viber' => 'VIBER', + 'google' => 'ACTIONS_ON_GOOGLE', ]; protected $supportedRichMessagePlatforms = [