Updated PhpDocs
This commit is contained in:
parent
17ff223461
commit
5e52ceea4b
5 changed files with 44 additions and 5 deletions
|
@ -7,6 +7,7 @@
|
|||
use TgBotLib\Bot;
|
||||
use TgBotLib\Enums\Methods;
|
||||
use TgBotLib\Enums\Types\ParseMode;
|
||||
use TgBotLib\Exceptions\TelegramException;
|
||||
use TgBotLib\Interfaces\ObjectTypeInterface;
|
||||
use TgBotLib\Objects\LinkPreviewOptions;
|
||||
use TgBotLib\Objects\Message;
|
||||
|
@ -16,7 +17,12 @@
|
|||
class SendMessage extends Method
|
||||
{
|
||||
/**
|
||||
* @inheritDoc
|
||||
* Use this method to send text messages. On success, the sent Message is returned.
|
||||
*
|
||||
* @param Bot $bot
|
||||
* @param array $parameters
|
||||
* @return Message
|
||||
* @throws TelegramException
|
||||
*/
|
||||
public static function execute(Bot $bot, array $parameters=[]): Message
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue