Add EditMessageCaption
This commit is contained in:
parent
d0519193eb
commit
0486a7f0ab
2 changed files with 80 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
|||
use TgBotLib\Methods\EditChatSubscriptionInviteLink;
|
||||
use TgBotLib\Methods\EditForumTopic;
|
||||
use TgBotLib\Methods\EditGeneralForumTopic;
|
||||
use TgBotLib\Methods\EditMessageCaption;
|
||||
use TgBotLib\Methods\EditMessageText;
|
||||
use TgBotLib\Methods\ExportChatInviteLink;
|
||||
use TgBotLib\Methods\ForwardMessage;
|
||||
|
@ -188,6 +189,7 @@
|
|||
case SET_MY_DEFAULT_ADMINISTRATOR_RIGHTS = 'setMyDefaultAdministratorRights';
|
||||
case GET_MY_DEFAULT_ADMINISTRATOR_RIGHTS = 'getMyDefaultAdministratorRights';
|
||||
case EDIT_MESSAGE_TEXT = 'editMessageText';
|
||||
case EDIT_MESSAGE_CAPTION = 'editMessageCaption';
|
||||
|
||||
/**
|
||||
* Executes a command on the provided bot with the given parameters.
|
||||
|
@ -291,6 +293,7 @@
|
|||
self::SET_MY_DEFAULT_ADMINISTRATOR_RIGHTS => SetMyDefaultAdministratorRights::execute($bot, $parameters),
|
||||
self::GET_MY_DEFAULT_ADMINISTRATOR_RIGHTS => GetMyDefaultAdministratorRights::execute($bot, $parameters),
|
||||
self::EDIT_MESSAGE_TEXT => EditMessageText::execute($bot, $parameters),
|
||||
self::EDIT_MESSAGE_CAPTION => EditMessageCaption::execute($bot, $parameters),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue