get Last Message Contains Location Pins
open fun getLastMessageContainsLocationPins(@NonNull context: Context): BaseMessage
Content copied to clipboard
Call this method to retrieve the message which contains the last location attachment pins from local Database represented by BaseMessage object.
You can retrieve the location pins using getLocationsList.
This method should be executed in a worker thread since it contains a lot of operation that can exceed 5sec or block the UI thread.
Return
The last message contains a location pins attachment represented by BaseMessage or null
Parameters
context
The application context