Unverified Commit d5b93073 authored by Armando Lüscher's avatar Armando Lüscher Committed by GitHub

Merge pull request #978 from noplanman/unabstract_inputmedia

InputMedia methods fixed
parents 8d1ed51f 06523c6c
...@@ -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