messageClear method

Future<bool> messageClear(
  1. String id
)
inherited

messageClear -> /v1/message/{id}/clear

Clears / Hides the specified message.

PARAMETERS

id : The ID of the message, either UUID, name, or index.

  • Example (by_uuid): 3C39C433-5C18-4F51-B357-55BB870227C4
  • Example (by_name): Mask
  • Example (by_index): 3

RESPONSE 204:

The request was processed successfully. There is no response body.

content-type: NONE

RESPONSE 400:

The request was not valid.

content-type: ``

Implementation

Future<bool> messageClear(String id) async {
  String url = '/v1/message/$id/clear';

  return await call('get', url, httpAccept: 'application/json');
}