forked from upstream-mirrors/quik
Format domain module
This commit is contained in:
@@ -57,7 +57,14 @@ interface MessageRepository {
|
||||
|
||||
fun markUnread(vararg threadIds: Long)
|
||||
|
||||
fun sendMessage(subId: Int, threadId: Long, addresses: List<String>, body: String, attachments: List<Attachment>, delay: Int = 0)
|
||||
fun sendMessage(
|
||||
subId: Int,
|
||||
threadId: Long,
|
||||
addresses: List<String>,
|
||||
body: String,
|
||||
attachments: List<Attachment>,
|
||||
delay: Int = 0
|
||||
)
|
||||
|
||||
/**
|
||||
* Attempts to send the SMS message. This can be called if the message has already been persisted
|
||||
|
||||
@@ -26,8 +26,14 @@ interface ScheduledMessageRepository {
|
||||
/**
|
||||
* Saves a scheduled message
|
||||
*/
|
||||
fun saveScheduledMessage(date: Long, subId: Int, recipients: List<String>, sendAsGroup: Boolean, body: String,
|
||||
attachments: List<String>)
|
||||
fun saveScheduledMessage(
|
||||
date: Long,
|
||||
subId: Int,
|
||||
recipients: List<String>,
|
||||
sendAsGroup: Boolean,
|
||||
body: String,
|
||||
attachments: List<String>
|
||||
)
|
||||
|
||||
/**
|
||||
* Returns all of the scheduled messages, sorted chronologically
|
||||
|
||||
Reference in New Issue
Block a user