Update return type of execute method in EditMessageMedia
This commit is contained in:
parent
6e6e207c54
commit
fe42f8747f
1 changed files with 1 additions and 2 deletions
|
@ -14,9 +14,8 @@
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
*/
|
*/
|
||||||
public static function execute(Bot $bot, array $parameters = []): mixed
|
public static function execute(Bot $bot, array $parameters = []): Message
|
||||||
{
|
{
|
||||||
|
|
||||||
if (isset($parameters['reply_markup']))
|
if (isset($parameters['reply_markup']))
|
||||||
{
|
{
|
||||||
if ($parameters['reply_markup'] instanceof ObjectTypeInterface)
|
if ($parameters['reply_markup'] instanceof ObjectTypeInterface)
|
||||||
|
|
Loading…
Add table
Reference in a new issue