summaryrefslogtreecommitdiff
path: root/shrine/messages/letter.go
diff options
context:
space:
mode:
Diffstat (limited to 'shrine/messages/letter.go')
-rw-r--r--shrine/messages/letter.go32
1 files changed, 32 insertions, 0 deletions
diff --git a/shrine/messages/letter.go b/shrine/messages/letter.go
new file mode 100644
index 0000000..2492c63
--- /dev/null
+++ b/shrine/messages/letter.go
@@ -0,0 +1,32 @@
+package messages
+
+const (
+ LetterNotFound = "Letter not found."
+ MessageNotFound = "Message not found."
+ MessageBodyRequired = "Message body is required."
+ RecipientsRequired = "At least one recipient is required."
+ RecipientsMax = "Maximum 20 recipients allowed."
+ ValidRecipientRequired = "At least one valid recipient is required."
+ SystemLetterNotReplyable = "System letters are not replyable. To raise a concern, open a ticket."
+ SystemLetterNotRenameable = "System letters cannot be renamed."
+ SystemLetterNotLeaveable = "You cannot leave a system letter."
+ CannotEditOthersMessage = "You can only edit your own messages."
+ CannotDeleteOthersMessage = "You can only delete your own messages."
+ CannotRemoveSelf = "You cannot remove yourself. Use leave instead."
+ OnlyOwnerCanRemove = "Only the conversation owner can remove participants."
+ UserNotInConversation = "User is not in this conversation."
+ TitleTooLong = "Title must be 200 characters or less."
+ FileRequired = "File is required."
+ FailedCreateLetter = "Failed to create letter."
+ FailedSendMessage = "Failed to send message."
+ FailedEditMessage = "Failed to edit message."
+ FailedDeleteMessage = "Failed to delete message."
+ FailedRenameLetter = "Failed to rename letter."
+ FailedLeaveLetter = "Failed to leave letter."
+ FailedRemoveParticipant = "Failed to remove participant."
+ FailedReadFile = "Failed to read file."
+ FailedSaveAttachment = "Failed to save attachment."
+ FailedUploadFile = "Failed to upload file."
+ LetterRenamed = "Letter renamed."
+ LeftConversation = "You have left the conversation."
+) \ No newline at end of file