|
|
@@ -330,8 +330,8 @@ class Config extends Controller
|
|
|
'chatId' => ['required', 'string', 'min:1'],
|
|
|
'image' => ['required', 'url'],
|
|
|
'text' => ['nullable', 'string'],
|
|
|
- 'button' => ['required', 'array'],
|
|
|
- 'button.*' => ['array'],
|
|
|
+ 'button' => ['required', 'array','min:1'],
|
|
|
+ 'button.*' => ['array','min:1'],
|
|
|
'button.*.*.text' => ['required', 'string'],
|
|
|
'button.*.*.url' => ['required', 'url'],
|
|
|
'isSend' => ['nullable', 'boolean'],
|