Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
TelegramBot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
TelegramBot
Commits
d5b93073
Unverified
Commit
d5b93073
authored
Jul 03, 2019
by
Armando Lüscher
Committed by
GitHub
Jul 03, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #978 from noplanman/unabstract_inputmedia
InputMedia methods fixed
parents
8d1ed51f
06523c6c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
15 deletions
+1
-15
CHANGELOG.md
CHANGELOG.md
+1
-0
InputMedia.php
src/Entities/InputMedia/InputMedia.php
+0
-15
No files found.
CHANGELOG.md
View file @
d5b93073
...
...
@@ -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
...
...
src/Entities/InputMedia/InputMedia.php
View file @
d5b93073
...
...
@@ -4,20 +4,5 @@ namespace Longman\TelegramBot\Entities\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
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment