Add EditChatInviteLink method to the library
This commit is contained in:
parent
6315f5840d
commit
24fe2f2b91
2 changed files with 46 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
use TgBotLib\Methods\CopyMessages;
|
||||
use TgBotLib\Methods\CreateChatInviteLink;
|
||||
use TgBotLib\Methods\DeleteWebhook;
|
||||
use TgBotLib\Methods\EditChatInviteLink;
|
||||
use TgBotLib\Methods\ExportChatInviteLink;
|
||||
use TgBotLib\Methods\ForwardMessage;
|
||||
use TgBotLib\Methods\ForwardMessages;
|
||||
|
@ -88,6 +89,7 @@
|
|||
case SET_CHAT_PERMISSIONS = 'setChatPermissions';
|
||||
case EXPORT_CHAT_INVITE_LINK = 'exportChatInviteLink';
|
||||
case CREATE_CHAT_INVITE_LINK = 'createChatInviteLink';
|
||||
case EDIT_CHAT_INVITE_LINK = 'editChatInviteLink';
|
||||
|
||||
/**
|
||||
* Executes a command on the provided bot with the given parameters.
|
||||
|
@ -141,6 +143,7 @@
|
|||
self::SET_CHAT_PERMISSIONS => SetChatPermissions::execute($bot, $parameters),
|
||||
self::EXPORT_CHAT_INVITE_LINK => ExportChatInviteLink::execute($bot, $parameters),
|
||||
self::CREATE_CHAT_INVITE_LINK => CreateChatInviteLink::execute($bot, $parameters),
|
||||
self::EDIT_CHAT_INVITE_LINK => EditChatInviteLink::execute($bot, $parameters),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue