Abstract InputMedia methods weren't being propagated via method annotations.

parent 8d1ed51f
...@@ -8,6 +8,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c ...@@ -8,6 +8,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
### Changed ### Changed
### Deprecated ### Deprecated
### Removed ### Removed
- Abstract methods from `InputMedia` interface, as method annotations didn't work for propagation.
### Fixed ### Fixed
### Security ### Security
......
...@@ -4,20 +4,5 @@ namespace Longman\TelegramBot\Entities\InputMedia; ...@@ -4,20 +4,5 @@ namespace Longman\TelegramBot\Entities\InputMedia;
interface InputMedia interface InputMedia
{ {
/**
* @return string Type of the result.
*/
public function getType();
/**
* @return string File to send.
*/
public function getMedia();
/**
* @param string $media File to send.
*
* @return string
*/
public function setMedia($media);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment