Class UnpinChatMessageMethod.
Methods
create()
create(integer|string $chatId, array $data = null
)
Static
Parameters
$chatId
integer
string
$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
Optional Identifier of a message to unpin. If not specified,
the most recent pinned message (by sending date) will be unpinned.
$messageId : integer | null