mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-05 07:52:34 +00:00
- 2.x - scripts
This commit is contained in:
@ -14,8 +14,12 @@ class Telegram extends AbstractNotificationChannel
|
||||
public function createRules(array $input): array
|
||||
{
|
||||
return [
|
||||
'bot_token' => 'required|string',
|
||||
'chat_id' => 'required',
|
||||
'bot_token' => [
|
||||
'required',
|
||||
],
|
||||
'chat_id' => [
|
||||
'required',
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user