diff --git a/CHANGELOG.md b/CHANGELOG.md index dc2eac12d..b543636e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c ### Changed ### Deprecated ### Removed +- Abstract methods from `InputMedia` interface, as method annotations didn't work for propagation. ### Fixed ### Security diff --git a/src/Entities/InputMedia/InputMedia.php b/src/Entities/InputMedia/InputMedia.php index 831393dfa..b9bd973d1 100644 --- a/src/Entities/InputMedia/InputMedia.php +++ b/src/Entities/InputMedia/InputMedia.php @@ -4,20 +4,5 @@ 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); }