File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
12
12
### Removed
13
13
### Fixed
14
14
- Execution of ` /start ` command without any custom implementation.
15
+ - Return ` animation ` type for GIF Message (which returns both ` animation ` and ` document ` ).
15
16
### Security
16
17
17
18
## [ 0.61.1] - 2019-11-23
Original file line number Diff line number Diff line change 29
29
**/
30
30
class Animation extends Entity
31
31
{
32
-
32
+ /**
33
+ * {@inheritdoc}
34
+ */
35
+ protected function subEntities ()
36
+ {
37
+ return [
38
+ 'thumb ' => PhotoSize::class,
39
+ ];
40
+ }
33
41
}
Original file line number Diff line number Diff line change @@ -206,8 +206,8 @@ public function getType()
206
206
$ types = [
207
207
'text ' ,
208
208
'audio ' ,
209
- 'document ' ,
210
209
'animation ' ,
210
+ 'document ' ,
211
211
'game ' ,
212
212
'photo ' ,
213
213
'sticker ' ,
You can’t perform that action at this time.
0 commit comments