diff --git a/composer.json b/composer.json index 89df92df..bd62c1b9 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "messagebird/php-rest-api", "description": "MessageBird REST API client for PHP", - "version": "1.1.8", + "version": "1.1.9", "type": "library", "homepage": "https://github.com/messagebird/php-rest-api", "license": "BSD-2-Clause", diff --git a/src/MessageBird/Client.php b/src/MessageBird/Client.php index 44b4bdab..f7a4a752 100644 --- a/src/MessageBird/Client.php +++ b/src/MessageBird/Client.php @@ -12,7 +12,7 @@ class Client const ENDPOINT = 'https://rest.messagebird.com'; - const CLIENT_VERSION = '1.1.8'; + const CLIENT_VERSION = '1.1.9'; /** * @var string diff --git a/src/MessageBird/Objects/Message.php b/src/MessageBird/Objects/Message.php index d4cf5d73..b5c3c2c1 100644 --- a/src/MessageBird/Objects/Message.php +++ b/src/MessageBird/Objects/Message.php @@ -182,6 +182,26 @@ public function getId() return $this->id; } + /** + * Get the created href + * + * @return string + */ + public function getHref() + { + return $this->href; + } + + /** + * Get the $createdDatetime value + * + * @return string + */ + public function getCreatedDatetime() + { + return $this->createdDatetime; + } + /** * @param $object *