| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | trait UnpinMethodTrait |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @throws ResponseException |
||
| 19 | */ |
||
| 20 | abstract public function unpin(UnpinMethodAliasInterface $method): bool; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @throws ResponseException |
||
| 24 | */ |
||
| 25 | 2 | public function unpinChatMessage(UnpinChatMessageMethod $method): bool |
|
| 26 | { |
||
| 27 | 2 | return $this->unpin($method); |
|
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @throws ResponseException |
||
| 32 | */ |
||
| 33 | 1 | public function unpinAllChatMessage(UnpinAllChatMessageMethod $method): bool |
|
| 36 | } |
||
| 37 | } |
||
| 38 |