Updated Formatting
This commit is contained in:
parent
ae5a9130b6
commit
ebea95b930
2 changed files with 89 additions and 90 deletions
|
@ -1,16 +1,15 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace TgBotLib\Methods;
|
namespace TgBotLib\Methods;
|
||||||
|
|
||||||
use InvalidArgumentException;
|
use TgBotLib\Abstracts\Method;
|
||||||
use TgBotLib\Abstracts\Method;
|
use TgBotLib\Bot;
|
||||||
use TgBotLib\Bot;
|
use TgBotLib\Enums\Methods;
|
||||||
use TgBotLib\Enums\Methods;
|
use TgBotLib\Exceptions\TelegramException;
|
||||||
use TgBotLib\Exceptions\TelegramException;
|
use TgBotLib\Objects\Message;
|
||||||
use TgBotLib\Objects\Message;
|
|
||||||
|
|
||||||
class ForwardMessage extends Method
|
class ForwardMessage extends Method
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Use this method to forward messages of any kind. Service messages and messages with protected content can't be
|
* Use this method to forward messages of any kind. Service messages and messages with protected content can't be
|
||||||
* forwarded. On success, the sent Message is returned.
|
* forwarded. On success, the sent Message is returned.
|
||||||
|
@ -48,4 +47,4 @@ class ForwardMessage extends Method
|
||||||
'protect_content'
|
'protect_content'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,15 +1,15 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace TgBotLib\Methods;
|
namespace TgBotLib\Methods;
|
||||||
|
|
||||||
use TgBotLib\Abstracts\Method;
|
use TgBotLib\Abstracts\Method;
|
||||||
use TgBotLib\Bot;
|
use TgBotLib\Bot;
|
||||||
use TgBotLib\Enums\Methods;
|
use TgBotLib\Enums\Methods;
|
||||||
use TgBotLib\Exceptions\TelegramException;
|
use TgBotLib\Exceptions\TelegramException;
|
||||||
use TgBotLib\Objects\MessageId;
|
use TgBotLib\Objects\MessageId;
|
||||||
|
|
||||||
class ForwardMessages extends Method
|
class ForwardMessages extends Method
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Use this method to forward multiple messages of any kind. If some of the specified messages can't be found or
|
* Use this method to forward multiple messages of any kind. If some of the specified messages can't be found or
|
||||||
* forwarded, they are skipped. Service messages and messages with protected content can't be forwarded.
|
* forwarded, they are skipped. Service messages and messages with protected content can't be forwarded.
|
||||||
|
@ -50,4 +50,4 @@ class ForwardMessages extends Method
|
||||||
'protect_content'
|
'protect_content'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue