Class UnpinChatMessageMethod.

see
package Default

 Methods

create()

create(integer|string $chatId, array $data = null
Static

Parameters

$chatId

integerstring

$data

Exceptions

\TgBotApi\BotApiBase\Exception\BadArgumentException

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 Identifier of a message to unpin. If not specified, the most recent pinned message (by sending date) will be unpinned.

$messageId : integer | null

Default