1
0
Fork 0
mirror of synced 2024-06-14 00:34:51 +12:00

Update app/controllers/api/messaging.php

Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
This commit is contained in:
Vincent (Wen Yu) Ge 2024-04-01 10:30:06 -04:00 committed by GitHub
parent acd7f6ef02
commit 0ef562ef4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2864,7 +2864,7 @@ App::post('/v1/messaging/messages/push')
->param('targets', [], new ArrayList(new UID()), 'List of Targets IDs.', true)
->param('data', null, new JSON(), 'Additional Data for push notification.', true)
->param('action', '', new Text(256), 'Action for push notification.', true)
->param('image', '', new CompoundUID(), 'Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. They should be formatted as <BUCKET_ID>:<FILE_ID>.', true)
->param('image', '', new CompoundUID(), 'Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.', true)
->param('icon', '', new Text(256), 'Icon for push notification. Available only for Android and Web Platform.', true)
->param('sound', '', new Text(256), 'Sound for push notification. Available only for Android and IOS Platform.', true)
->param('color', '', new Text(256), 'Color for push notification. Available only for Android Platform.', true)