File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ class Sticker extends Entity
18
18
protected $ width ;
19
19
protected $ height ;
20
20
protected $ thumb ;
21
+ protected $ emoji ;
21
22
protected $ file_size ;
22
23
23
-
24
24
public function __construct (array $ data )
25
25
{
26
26
@@ -45,8 +45,9 @@ public function __construct(array $data)
45
45
}
46
46
$ this ->thumb = new PhotoSize ($ this ->thumb );
47
47
48
- $ this ->file_size = isset ($ data ['file_size ' ]) ? $ data ['file_size ' ] : null ;
48
+ $ this ->emoji = isset ($ data ['emoji ' ]) ? $ data ['emoji ' ] : null ;
49
49
50
+ $ this ->file_size = isset ($ data ['file_size ' ]) ? $ data ['file_size ' ] : null ;
50
51
}
51
52
52
53
public function getFileId ()
@@ -63,10 +64,17 @@ public function getHeight()
63
64
{
64
65
return $ this ->height ;
65
66
}
67
+
66
68
public function getThumb ()
67
69
{
68
70
return $ this ->thumb ;
69
71
}
72
+
73
+ public function getEmoji ()
74
+ {
75
+ return $ this ->emoji ;
76
+ }
77
+
70
78
public function getFileSize ()
71
79
{
72
80
return $ this ->file_size ;
You can’t perform that action at this time.
0 commit comments