Class ForwardMessageMethod.

see
package Default

 Methods

create()

create(integer|string $chatId, integer|string $fromChatId, integer $messageId, array|null $data = null) : \TgBotApi\BotApiBase\Method\ForwardMessageMethod
Static

Parameters

$chatId

integerstring

$fromChatId

integerstring

$messageId

integer

$data

arraynull

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

Returns

\TgBotApi\BotApiBase\Method\ForwardMessageMethod

fill()

fill(array $data, array $forbidden = array()
Inherited

Parameters

$data

array

$forbidden

array

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

 Properties

 

Unique identifier for the target chat or username of the target channel (in the format @channelusername).

$chatId : integer | string

Default

 

Optional. Sends the message silently. Users will receive a notification with no sound.

$disableNotification : boolean | null

Default

 

Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername).

$fromChatId : integer | string

Default

 

Message identifier in the chat specified in from_chat_id.

$messageId : integer

Default