Class UnbanChatMemberMethod.

see
package Default

 Methods

create()

create(integer|string $chatId, \TgBotApi\BotApiBase\Method\int $userId, array $data = null
Static

Parameters

$chatId

integerstring

$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

Default

 

Do nothing if the user is not banned.

$onlyIfBanned : boolean | null

Default

 

Unique identifier of the target user.

$userId : integer

Default