Updated PhpDocs
This commit is contained in:
parent
17ff223461
commit
5e52ceea4b
5 changed files with 44 additions and 5 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue