Trait RestrictMethodTrait.

package Default

 Methods

restrict()

restrict(\TgBotApi\BotApiBase\Method\Interfaces\RestrictMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\RestrictMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

restrictChatMember()

restrictChatMember(\TgBotApi\BotApiBase\Method\RestrictChatMemberMethod $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\RestrictChatMemberMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean