@@ -14,6 +14,9 @@ |
||
| 14 | 14 | private $text; |
| 15 | 15 | private $keyboard; |
| 16 | 16 | |
| 17 | + /** |
|
| 18 | + * @param string $text |
|
| 19 | + */ |
|
| 17 | 20 | public function __construct(User $recipient, $text, Keyboard $keyboard = null) |
| 18 | 21 | { |
| 19 | 22 | $this->recipient = $recipient; |
@@ -65,6 +65,9 @@ |
||
| 65 | 65 | return $this->interaction; |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | + /** |
|
| 69 | + * @param null|Interaction $interaction |
|
| 70 | + */ |
|
| 68 | 71 | public function setInteraction(?Interaction $interaction): void |
| 69 | 72 | { |
| 70 | 73 | $this->interaction = $interaction; |