Skip to content

Commit 6fc09c0

Browse files
Merge pull request #18 from Palbahngmiyine/master
Release PHP SDK 5.0.4
2 parents 3224a05 + a405725 commit 6fc09c0

File tree

4 files changed

+28
-2
lines changed

4 files changed

+28
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "solapi/sdk",
33
"description": "SOLAPI SDK for PHP",
4-
"version": "5.0.3",
4+
"version": "5.0.4",
55
"type": "library",
66
"license": "MIT",
77
"autoload": {

src/Models/Kakao/BaseKakaoOption.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,9 @@ class BaseKakaoOption
2929
* @var array 메시지 버튼 목록
3030
*/
3131
public $buttons;
32+
33+
/**
34+
* @var string 이미지 아이디(스토리지에 업로드 된 이미지 ID)
35+
*/
36+
public $imageId;
3237
}

src/Models/Kakao/KakaoOption.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,27 @@ class KakaoOption extends BaseKakaoOption
3737
*/
3838
public $buttons;
3939

40+
/**
41+
* @var string 이미지 아이디(스토리지에 업로드 된 이미지 ID)
42+
*/
43+
public $imageId;
44+
45+
/**
46+
* @return string
47+
*/
48+
public function getImageId(): string
49+
{
50+
return $this->imageId;
51+
}
52+
53+
/**
54+
* @param string $imageId
55+
*/
56+
public function setImageId(string $imageId)
57+
{
58+
$this->imageId = $imageId;
59+
}
60+
4061
/**
4162
* @return string
4263
*/

src/Models/Request/DefaultAgent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class DefaultAgent
1616

1717
public function __construct()
1818
{
19-
$this->sdkVersion = 'php/5.0.3';
19+
$this->sdkVersion = 'php/5.0.4';
2020
$this->osPlatform = PHP_OS . " | " . phpversion();
2121
}
2222
}

0 commit comments

Comments
 (0)