markAsRead method
Implementation
Future<Request> markAsRead(String messageId) async {
final Map<String, String> headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer $accessToken',
};
final Map<String, dynamic> body = {
'messaging_product': "whatsapp",
'status': "read",
'message_id': messageId
};
await request.post('$fromNumberId/messages', headers, body);
return request;
}