changes to validator length
This commit is contained in:
parent
61785ab35a
commit
c9c49158a3
1 changed files with 1 additions and 1 deletions
|
@ -1208,7 +1208,7 @@ App::post('/v1/messaging/messages/email')
|
||||||
->label('sdk.response.model', Response::MODEL_MESSAGE)
|
->label('sdk.response.model', Response::MODEL_MESSAGE)
|
||||||
->param('messageId', '', new CustomId(), 'Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can\'t start with a special char. Max length is 36 chars.')
|
->param('messageId', '', new CustomId(), 'Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can\'t start with a special char. Max length is 36 chars.')
|
||||||
->param('providerId', '', new UID(), 'Email Provider ID.')
|
->param('providerId', '', new UID(), 'Email Provider ID.')
|
||||||
->param('to', [], new ArrayList(new Text(65535)), 'List of Topic IDs or List of User IDs or List of Target IDs.')
|
->param('to', [], new ArrayList(new Text(Database::LENGTH_KEY)), 'List of Topic IDs or List of User IDs or List of Target IDs.')
|
||||||
->param('subject', '', new Text(998), 'Email Subject.')
|
->param('subject', '', new Text(998), 'Email Subject.')
|
||||||
->param('description', '', new Text(256), 'Description for Message.', true)
|
->param('description', '', new Text(256), 'Description for Message.', true)
|
||||||
->param('content', '', new Text(65407), 'Email Content.')
|
->param('content', '', new Text(65407), 'Email Content.')
|
||||||
|
|
Loading…
Reference in a new issue