Trait PromoteMethodTrait.

package Default

 Methods

promote()

promote(\TgBotApi\BotApiBase\Method\Interfaces\PromoteMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\PromoteMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

promoteChatMember()

promoteChatMember(\TgBotApi\BotApiBase\Method\PromoteChatMemberMethod $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\PromoteChatMemberMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean