chat qo'shildi
This commit is contained in:
15
core/apps/chat/choices/chat.py
Normal file
15
core/apps/chat/choices/chat.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from django.db import models
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
|
||||
class RoomType(models.TextChoices):
|
||||
AUTO_EVALUATION = "auto_evaluation", _("AutoEvaluation xonasi")
|
||||
DIRECT = "direct", _("To'g'ridan-to'g'ri")
|
||||
|
||||
|
||||
class MessageType(models.TextChoices):
|
||||
TEXT = "text", _("Matn")
|
||||
IMAGE = "image", _("Rasm")
|
||||
VIDEO = "video", _("Video")
|
||||
VOICE = "voice", _("Ovoz")
|
||||
FILE = "file", _("Fayl")
|
||||
Reference in New Issue
Block a user