diff --git a/src/Request.php b/src/Request.php index d03fb0d3..4a89f622 100644 --- a/src/Request.php +++ b/src/Request.php @@ -105,12 +105,12 @@ * @method static ServerResponse setMyCommands(array $data) Use this method to change the list of the bot's commands. Returns True on success. * @method static ServerResponse deleteMyCommands(array $data) Use this method to delete the list of the bot's commands for the given scope and user language. After deletion, higher level commands will be shown to affected users. Returns True on success. * @method static ServerResponse getMyCommands(array $data) Use this method to get the current list of the bot's commands. Requires no parameters. Returns Array of BotCommand on success. - * @method static ServerResponse setMyName(array $data) Use this method to change the bot's name. Returns True on success. - * @method static ServerResponse getMyName(array $data) Use this method to get the current bot name for the given user language. Returns BotName on success. - * @method static ServerResponse setMyDescription(array $data) Use this method to change the bot's description, which is shown in the chat with the bot if the chat is empty. Returns True on success. - * @method static ServerResponse getMyDescription(array $data) Use this method to get the current bot description for the given user language. Returns BotDescription on success. - * @method static ServerResponse setMyShortDescription(array $data) Use this method to change the bot's short description, which is shown on the bot's profile page and is sent together with the link when users share the bot. Returns True on success. - * @method static ServerResponse getMyShortDescription(array $data) Use this method to get the current bot short description for the given user language. Returns BotShortDescription on success. + * @method static ServerResponse setMyName(array $data) Use this method to change the bot's name. At least one of the optional parameters must be used. On success, True is returned. + * @method static ServerResponse getMyName(array $data) Use this method to get the current bot name for the given user language. On success, returns a BotName object. + * @method static ServerResponse setMyDescription(array $data) Use this method to change the bot's description, which is shown in the chat with the bot if the chat is empty. At least one of the optional parameters must be used. On success, True is returned. + * @method static ServerResponse getMyDescription(array $data) Use this method to get the current bot description for the given user language. On success, returns a BotDescription object. + * @method static ServerResponse setMyShortDescription(array $data) Use this method to change the bot's short description, which is shown on the bot's profile page and is sent together with the link when users share the bot. At least one of the optional parameters must be used. On success, True is returned. + * @method static ServerResponse getMyShortDescription(array $data) Use this method to get the current bot short description for the given user language. On success, returns a BotShortDescription object. * @method static ServerResponse setChatMenuButton(array $data) Use this method to change the bot's menu button in a private chat, or the default menu button. Returns True on success. * @method static ServerResponse getChatMenuButton(array $data) Use this method to get the current value of the bot's menu button in a private chat, or the default menu button. Returns MenuButton on success. * @method static ServerResponse setMyDefaultAdministratorRights(array $data) Use this method to change the default administrator rights requested by the bot when it's added as an administrator to groups or channels. These rights will be suggested to users, but they are are free to modify the list before adding the bot. Returns True on success.