Trait ForwardMethodTrait.

package Default

 Methods

forward()

forward(\TgBotApi\BotApiBase\Method\Interfaces\ForwardMethodAliasInterface $method) : \TgBotApi\BotApiBase\Type\MessageType

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\ForwardMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

\TgBotApi\BotApiBase\Type\MessageType

forwardMessage()

forwardMessage(\TgBotApi\BotApiBase\Method\ForwardMessageMethod $method) : \TgBotApi\BotApiBase\Type\MessageType

Parameters

$method

\TgBotApi\BotApiBase\Method\ForwardMessageMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

\TgBotApi\BotApiBase\Type\MessageType