Skip to content

Commit d5b9307

Browse files
authored
Merge pull request #978 from noplanman/unabstract_inputmedia
InputMedia methods fixed
2 parents 8d1ed51 + 06523c6 commit d5b9307

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
88
### Changed
99
### Deprecated
1010
### Removed
11+
- Abstract methods from `InputMedia` interface, as method annotations didn't work for propagation.
1112
### Fixed
1213
### Security
1314

src/Entities/InputMedia/InputMedia.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,5 @@
44

55
interface InputMedia
66
{
7-
/**
8-
* @return string Type of the result.
9-
*/
10-
public function getType();
117

12-
/**
13-
* @return string File to send.
14-
*/
15-
public function getMedia();
16-
17-
/**
18-
* @param string $media File to send.
19-
*
20-
* @return string
21-
*/
22-
public function setMedia($media);
238
}

0 commit comments

Comments
 (0)