Class ForwardMessageMethod.
Methods
create()
create(integer|string $chatId, integer|string $fromChatId, integer $messageId, array|null $data = null
) : \TgBotApi\BotApiBase\Method\ForwardMessageMethod
Static
Parameters
$chatId
integer
string
$fromChatId
integer
string
$messageId
integer
$data
array
null
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
Optional. Sends the message silently. Users will receive a notification with no sound.
$disableNotification : boolean | null
Unique identifier for the chat where the original message was sent
(or channel username in the format @channelusername).
$fromChatId : integer | string
Message identifier in the chat specified in from_chat_id.
$messageId : integer