Updated PhpDocs

This commit is contained in:
netkas 2024-10-07 22:04:26 -04:00
parent 17ff223461
commit 5e52ceea4b
5 changed files with 44 additions and 5 deletions

View file

@ -5,12 +5,19 @@
use TgBotLib\Abstracts\Method;
use TgBotLib\Bot;
use TgBotLib\Enums\Methods;
use TgBotLib\Exceptions\TelegramException;
use TgBotLib\Objects\User;
class GetMe extends Method
{
/**
* @inheritDoc
* A simple method for testing your bot's authentication token. Requires no parameters.
* Returns basic information about the bot in form of a User object.
*
* @param Bot $bot
* @param array $parameters
* @return User
* @throws TelegramException
*/
public static function execute(Bot $bot, array $parameters=[]): User
{