feat: Draft through API for Cross-Device Support (#8018)

- Add APIs for cross-device message drafts

ref: #6890
This commit is contained in:
jderecho
2024-05-02 18:42:18 -07:00
committed by GitHub
parent b24626a65a
commit 0d7773d88f
4 changed files with 92 additions and 0 deletions
+1
View File
@@ -8,6 +8,7 @@ module Redis::RedisKeys
CONVERSATION_MAILER_KEY = 'CONVERSATION::%<conversation_id>d'.freeze
# Whether a conversation is muted ?
CONVERSATION_MUTE_KEY = 'CONVERSATION::%<id>d::MUTED'.freeze
CONVERSATION_DRAFT_MESSAGE = 'CONVERSATION::%<id>d::DRAFT_MESSAGE'.freeze
## User Keys
# SSO Auth Tokens