Scheduled messages will automatically be sent

This commit is contained in:
Moez Bhatti
2018-06-27 17:13:32 -04:00
parent cf371ddf85
commit 7ef15dd448
5 changed files with 76 additions and 7 deletions
@@ -6,10 +6,10 @@ import io.realm.RealmResults
interface ScheduledMessageRepository {
/**
* Saves a scheduled message and returns the id if successful
* Saves a scheduled message
*/
fun saveScheduledMessage(date: Long, subId: Int, recipients: List<String>, sendAsGroup: Boolean, body: String,
attachments: List<String>): Long
attachments: List<String>)
/**
* Returns all of the scheduled messages, sorted chronologically