for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace TgBotApi\BotApiBase\Traits;
use TgBotApi\BotApiBase\Exception\ResponseException;
use TgBotApi\BotApiBase\Method\Interfaces\UnpinMethodAliasInterface;
use TgBotApi\BotApiBase\Method\UnpinAllChatMessageMethod;
use TgBotApi\BotApiBase\Method\UnpinChatMessageMethod;
/**
* Trait UbpinMethodTrait.
*/
trait UnpinMethodTrait
{
* @throws ResponseException
abstract public function unpin(UnpinMethodAliasInterface $method): bool;
public function unpinChatMessage(UnpinChatMessageMethod $method): bool
return $this->unpin($method);
}
public function unpinAllChatMessage(UnpinAllChatMessageMethod $method): bool