Class UnbanChatMemberMethod.
Methods
create()
create(integer|string $chatId, \TgBotApi\BotApiBase\Method\int $userId, array $data = null
)
Static
Parameters
$chatId
integer
string
$userId
$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
Do nothing if the user is not banned.
$onlyIfBanned : boolean | null
Unique identifier of the target user.
$userId : integer