Trait UnbanMethodTrait.

package Default

 Methods

unban()

unban(\TgBotApi\BotApiBase\Method\Interfaces\UnbanMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\UnbanMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

unbanChatMember()

unbanChatMember(\TgBotApi\BotApiBase\Method\UnbanChatMemberMethod $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\UnbanChatMemberMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean