Trait PinMethodTrait.

package Default

 Methods

pin()

pin(\TgBotApi\BotApiBase\Method\Interfaces\PinMethodAliasInterface $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\Interfaces\PinMethodAliasInterface

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean

pinChatMessage()

pinChatMessage(\TgBotApi\BotApiBase\Method\PinChatMessageMethod $method) : boolean

Parameters

$method

\TgBotApi\BotApiBase\Method\PinChatMessageMethod

Exceptions

\TgBotApi\BotApiBase\Exception\ResponseException

Returns

boolean