Class GreenApiReceiving
java.lang.Object
com.greenapi.client.pkg.api.methods.GreenApiReceiving
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String>deleteNotification(Integer receiptId) The method is aimed for deleting an incoming notification from the notification queue.org.springframework.http.ResponseEntity<byte[]>downloadFile(MessageReq messageReq) The method is aimed for downloading incoming and outgoing files.org.springframework.http.ResponseEntity<String>The method is aimed for receiving one incoming notification from the notifications queue.
-
Constructor Details
-
GreenApiReceiving
public GreenApiReceiving()
-
-
Method Details
-
receiveNotification
The method is aimed for receiving one incoming notification from the notifications queue. https://greenapi.com/en/docs/api/receiving/technology-http-api/ReceiveNotification/ -
deleteNotification
The method is aimed for deleting an incoming notification from the notification queue. https://greenapi.com/en/docs/api/receiving/technology-http-api/DeleteNotification/ -
downloadFile
The method is aimed for downloading incoming and outgoing files. Links to incoming files are transmitted in Incoming messages, and you can also get them using LastIncomingMessages method. You can get links to outgoing files using LastOutgoingMessages method. (Files storage period and, accordingly, the capability to download them is limited by WhatsApp) https://greenapi.com/en/docs/api/receiving/files/DownloadFile/
-