from enum import Enum

from ...base_model import BaseEnumMeta


class UserEventType(int, Enum, metaclass=BaseEnumMeta):
    UNDEFINED_EVENT = -1
    MESSAGE_FLAGS_REPLACE = 1
    MESSAGE_FLAGS_SET = 2
    MESSAGE_FLAGS_RESET = 3
    MESSAGE_NEW = 4
    MESSAGE_EDIT = 5
    IN_READ = 6
    OUT_READ = 7
    FRIEND_ONLINE = 8
    FRIEND_OFFLINE = 9
    DIALOG_FLAGS_RESET = 10
    DIALOG_FLAGS_REPLACE = 11
    DIALOG_FLAGS_SET = 12
    MESSAGES_DELETE = 13
    MESSAGES_RESTORE = 14
    MESSAGE_CHANGE = 18
    CLEAR_MESSAGE_CACHE = 19
    CHANGE_MAJOR_ID = 20
    CHANGE_MINOR_ID = 21
    TRANSLATE_MESSAGE = 50
    CHAT_EDIT = 51
    CHAT_INFO_EDIT = 52
    DIALOG_TYPING_STATE = 61
    CHAT_TYPING_STATE = 62
    USERS_TYPING_STATE = 63
    CHAT_VOICE_MESSAGE_STATES = 64
    PHOTO_UPLOAD_STATE = 65
    VIDEO_UPLOAD_STATE = 66
    FILE_UPLOAD_STATE = 67
    CALL = 70
    COUNTER = 80
    USER_INVISIBLE_CHANGE = 81
    FRIEND_ACTION = 90
    NOTIFICATIONS_SETTINGS_CHANGED = 114
    CHAT_CALL = 115
    CALLBACK_BUTTON_REPLY = 119
    CREATE_FOLDER = 501
    DELETE_FOLDER = 502
    RENAME_FOLDER = 503
    ADD_CONVERSATIONS_TO_FOLDER = 504
    REMOVE_CONVERSATIONS_FROM_FOLDER = 505
    CHANGE_FOLDER_ORDER = 506
    COUNTER_UNREAD_DIALOGS_IN_FOLDERS = 507


__all__ = ("UserEventType",)
