<?php
 
 
 

namespace PhpWA\Protocol\Proto\WebMessageInfo;

use UnexpectedValueException;




class StubType
{
    


    const UNKNOWN = 0;
    


    const REVOKE = 1;
    


    const CIPHERTEXT = 2;
    


    const FUTUREPROOF = 3;
    


    const NON_VERIFIED_TRANSITION = 4;
    


    const UNVERIFIED_TRANSITION = 5;
    


    const VERIFIED_TRANSITION = 6;
    


    const VERIFIED_LOW_UNKNOWN = 7;
    


    const VERIFIED_HIGH = 8;
    


    const VERIFIED_INITIAL_UNKNOWN = 9;
    


    const VERIFIED_INITIAL_LOW = 10;
    


    const VERIFIED_INITIAL_HIGH = 11;
    


    const VERIFIED_TRANSITION_ANY_TO_NONE = 12;
    


    const VERIFIED_TRANSITION_ANY_TO_HIGH = 13;
    


    const VERIFIED_TRANSITION_HIGH_TO_LOW = 14;
    


    const VERIFIED_TRANSITION_HIGH_TO_UNKNOWN = 15;
    


    const VERIFIED_TRANSITION_UNKNOWN_TO_LOW = 16;
    


    const VERIFIED_TRANSITION_LOW_TO_UNKNOWN = 17;
    


    const VERIFIED_TRANSITION_NONE_TO_LOW = 18;
    


    const VERIFIED_TRANSITION_NONE_TO_UNKNOWN = 19;
    


    const GROUP_CREATE = 20;
    


    const GROUP_CHANGE_SUBJECT = 21;
    


    const GROUP_CHANGE_ICON = 22;
    


    const GROUP_CHANGE_INVITE_LINK = 23;
    


    const GROUP_CHANGE_DESCRIPTION = 24;
    


    const GROUP_CHANGE_RESTRICT = 25;
    


    const GROUP_CHANGE_ANNOUNCE = 26;
    


    const GROUP_PARTICIPANT_ADD = 27;
    


    const GROUP_PARTICIPANT_REMOVE = 28;
    


    const GROUP_PARTICIPANT_PROMOTE = 29;
    


    const GROUP_PARTICIPANT_DEMOTE = 30;
    


    const GROUP_PARTICIPANT_INVITE = 31;
    


    const GROUP_PARTICIPANT_LEAVE = 32;
    


    const GROUP_PARTICIPANT_CHANGE_NUMBER = 33;
    


    const BROADCAST_CREATE = 34;
    


    const BROADCAST_ADD = 35;
    


    const BROADCAST_REMOVE = 36;
    


    const GENERIC_NOTIFICATION = 37;
    


    const E2E_IDENTITY_CHANGED = 38;
    


    const E2E_ENCRYPTED = 39;
    


    const CALL_MISSED_VOICE = 40;
    


    const CALL_MISSED_VIDEO = 41;
    


    const INDIVIDUAL_CHANGE_NUMBER = 42;
    


    const GROUP_DELETE = 43;
    


    const GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE = 44;
    


    const CALL_MISSED_GROUP_VOICE = 45;
    


    const CALL_MISSED_GROUP_VIDEO = 46;
    


    const PAYMENT_CIPHERTEXT = 47;
    


    const PAYMENT_FUTUREPROOF = 48;
    


    const PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED = 49;
    


    const PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED = 50;
    


    const PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED = 51;
    


    const PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP = 52;
    


    const PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP = 53;
    


    const PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER = 54;
    


    const PAYMENT_ACTION_SEND_PAYMENT_REMINDER = 55;
    


    const PAYMENT_ACTION_SEND_PAYMENT_INVITATION = 56;
    


    const PAYMENT_ACTION_REQUEST_DECLINED = 57;
    


    const PAYMENT_ACTION_REQUEST_EXPIRED = 58;
    


    const PAYMENT_ACTION_REQUEST_CANCELLED = 59;
    


    const BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM = 60;
    


    const BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP = 61;
    


    const BIZ_INTRO_TOP = 62;
    


    const BIZ_INTRO_BOTTOM = 63;
    


    const BIZ_NAME_CHANGE = 64;
    


    const BIZ_MOVE_TO_CONSUMER_APP = 65;
    


    const BIZ_TWO_TIER_MIGRATION_TOP = 66;
    


    const BIZ_TWO_TIER_MIGRATION_BOTTOM = 67;
    


    const OVERSIZED = 68;
    


    const GROUP_CHANGE_NO_FREQUENTLY_FORWARDED = 69;
    


    const GROUP_V4_ADD_INVITE_SENT = 70;
    


    const GROUP_PARTICIPANT_ADD_REQUEST_JOIN = 71;
    


    const CHANGE_EPHEMERAL_SETTING = 72;
    


    const E2E_DEVICE_CHANGED = 73;
    


    const VIEWED_ONCE = 74;
    


    const E2E_ENCRYPTED_NOW = 75;
    


    const BLUE_MSG_BSP_FB_TO_BSP_PREMISE = 76;
    


    const BLUE_MSG_BSP_FB_TO_SELF_FB = 77;
    


    const BLUE_MSG_BSP_FB_TO_SELF_PREMISE = 78;
    


    const BLUE_MSG_BSP_FB_UNVERIFIED = 79;
    


    const BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 80;
    


    const BLUE_MSG_BSP_FB_VERIFIED = 81;
    


    const BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 82;
    


    const BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE = 83;
    


    const BLUE_MSG_BSP_PREMISE_UNVERIFIED = 84;
    


    const BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 85;
    


    const BLUE_MSG_BSP_PREMISE_VERIFIED = 86;
    


    const BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 87;
    


    const BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED = 88;
    


    const BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED = 89;
    


    const BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED = 90;
    


    const BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED = 91;
    


    const BLUE_MSG_SELF_FB_TO_BSP_PREMISE = 92;
    


    const BLUE_MSG_SELF_FB_TO_SELF_PREMISE = 93;
    


    const BLUE_MSG_SELF_FB_UNVERIFIED = 94;
    


    const BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED = 95;
    


    const BLUE_MSG_SELF_FB_VERIFIED = 96;
    


    const BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED = 97;
    


    const BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE = 98;
    


    const BLUE_MSG_SELF_PREMISE_UNVERIFIED = 99;
    


    const BLUE_MSG_SELF_PREMISE_VERIFIED = 100;
    


    const BLUE_MSG_TO_BSP_FB = 101;
    


    const BLUE_MSG_TO_CONSUMER = 102;
    


    const BLUE_MSG_TO_SELF_FB = 103;
    


    const BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED = 104;
    


    const BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 105;
    


    const BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED = 106;
    


    const BLUE_MSG_UNVERIFIED_TO_VERIFIED = 107;
    


    const BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED = 108;
    


    const BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 109;
    


    const BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED = 110;
    


    const BLUE_MSG_VERIFIED_TO_UNVERIFIED = 111;
    


    const BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 112;
    


    const BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED = 113;
    


    const BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 114;
    


    const BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED = 115;
    


    const BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED = 116;
    


    const BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED = 117;
    


    const E2E_IDENTITY_UNAVAILABLE = 118;
    


    const GROUP_CREATING = 119;
    


    const GROUP_CREATE_FAILED = 120;
    


    const GROUP_BOUNCED = 121;
    


    const BLOCK_CONTACT = 122;
    


    const EPHEMERAL_SETTING_NOT_APPLIED = 123;
    


    const SYNC_FAILED = 124;
    


    const SYNCING = 125;
    


    const BIZ_PRIVACY_MODE_INIT_FB = 126;
    


    const BIZ_PRIVACY_MODE_INIT_BSP = 127;
    


    const BIZ_PRIVACY_MODE_TO_FB = 128;
    


    const BIZ_PRIVACY_MODE_TO_BSP = 129;
    


    const DISAPPEARING_MODE = 130;
    


    const E2E_DEVICE_FETCH_FAILED = 131;
    


    const ADMIN_REVOKE = 132;
    


    const GROUP_INVITE_LINK_GROWTH_LOCKED = 133;
    


    const COMMUNITY_LINK_PARENT_GROUP = 134;
    


    const COMMUNITY_LINK_SIBLING_GROUP = 135;
    


    const COMMUNITY_LINK_SUB_GROUP = 136;
    


    const COMMUNITY_UNLINK_PARENT_GROUP = 137;
    


    const COMMUNITY_UNLINK_SIBLING_GROUP = 138;
    


    const COMMUNITY_UNLINK_SUB_GROUP = 139;
    


    const GROUP_PARTICIPANT_ACCEPT = 140;
    


    const GROUP_PARTICIPANT_LINKED_GROUP_JOIN = 141;
    


    const COMMUNITY_CREATE = 142;
    


    const EPHEMERAL_KEEP_IN_CHAT = 143;
    


    const GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST = 144;
    


    const GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE = 145;
    


    const INTEGRITY_UNLINK_PARENT_GROUP = 146;
    


    const COMMUNITY_PARTICIPANT_PROMOTE = 147;
    


    const COMMUNITY_PARTICIPANT_DEMOTE = 148;
    


    const COMMUNITY_PARENT_GROUP_DELETED = 149;
    


    const COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL = 150;
    


    const GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP = 151;
    


    const MASKED_THREAD_CREATED = 152;
    


    const MASKED_THREAD_UNMASKED = 153;
    


    const BIZ_CHAT_ASSIGNMENT = 154;
    


    const CHAT_PSA = 155;
    


    const CHAT_POLL_CREATION_MESSAGE = 156;
    


    const CAG_MASKED_THREAD_CREATED = 157;
    


    const COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED = 158;
    


    const CAG_INVITE_AUTO_ADD = 159;
    


    const BIZ_CHAT_ASSIGNMENT_UNASSIGN = 160;
    


    const CAG_INVITE_AUTO_JOINED = 161;
    


    const SCHEDULED_CALL_START_MESSAGE = 162;
    


    const COMMUNITY_INVITE_RICH = 163;
    


    const COMMUNITY_INVITE_AUTO_ADD_RICH = 164;
    


    const SUB_GROUP_INVITE_RICH = 165;
    


    const SUB_GROUP_PARTICIPANT_ADD_RICH = 166;
    


    const COMMUNITY_LINK_PARENT_GROUP_RICH = 167;
    


    const COMMUNITY_PARTICIPANT_ADD_RICH = 168;
    


    const SILENCED_UNKNOWN_CALLER_AUDIO = 169;
    


    const SILENCED_UNKNOWN_CALLER_VIDEO = 170;
    


    const GROUP_MEMBER_ADD_MODE = 171;
    


    const GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD = 172;
    


    const COMMUNITY_CHANGE_DESCRIPTION = 173;
    


    const SENDER_INVITE = 174;
    


    const RECEIVER_INVITE = 175;
    


    const COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS = 176;
    


    const PINNED_MESSAGE_IN_CHAT = 177;
    


    const PAYMENT_INVITE_SETUP_INVITER = 178;
    


    const PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY = 179;
    


    const PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE = 180;
    


    const LINKED_GROUP_CALL_START = 181;
    


    const REPORT_TO_ADMIN_ENABLED_STATUS = 182;
    


    const EMPTY_SUBGROUP_CREATE = 183;
    


    const SCHEDULED_CALL_CANCEL = 184;
    


    const SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH = 185;
    


    const GROUP_CHANGE_RECENT_HISTORY_SHARING = 186;
    


    const PAID_MESSAGE_SERVER_CAMPAIGN_ID = 187;
    


    const GENERAL_CHAT_CREATE = 188;
    


    const GENERAL_CHAT_ADD = 189;
    


    const GENERAL_CHAT_AUTO_ADD_DISABLED = 190;
    


    const SUGGESTED_SUBGROUP_ANNOUNCE = 191;
    


    const BIZ_BOT_1P_MESSAGING_ENABLED = 192;
    


    const CHANGE_USERNAME = 193;
    


    const BIZ_COEX_PRIVACY_INIT_SELF = 194;
    


    const BIZ_COEX_PRIVACY_TRANSITION_SELF = 195;
    


    const SUPPORT_AI_EDUCATION = 196;
    


    const BIZ_BOT_3P_MESSAGING_ENABLED = 197;
    


    const REMINDER_SETUP_MESSAGE = 198;
    


    const REMINDER_SENT_MESSAGE = 199;
    


    const REMINDER_CANCEL_MESSAGE = 200;
    


    const BIZ_COEX_PRIVACY_INIT = 201;
    


    const BIZ_COEX_PRIVACY_TRANSITION = 202;
    


    const GROUP_DEACTIVATED = 203;
    


    const COMMUNITY_DEACTIVATE_SIBLING_GROUP = 204;
    


    const EVENT_UPDATED = 205;
    


    const EVENT_CANCELED = 206;
    


    const COMMUNITY_OWNER_UPDATED = 207;
    


    const COMMUNITY_SUB_GROUP_VISIBILITY_HIDDEN = 208;
    


    const CAPI_GROUP_NE2EE_SYSTEM_MESSAGE = 209;
    


    const STATUS_MENTION = 210;
    


    const USER_CONTROLS_SYSTEM_MESSAGE = 211;
    


    const SUPPORT_SYSTEM_MESSAGE = 212;
    


    const CHANGE_LID = 213;
    


    const BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_IN_MESSAGE = 214;
    


    const BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_OUT_MESSAGE = 215;
    


    const CHANGE_LIMIT_SHARING = 216;
    


    const GROUP_MEMBER_LINK_MODE = 217;
    


    const BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE = 218;
    


    const PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE = 219;
    


    const QUARANTINED_MESSAGE = 220;
    


    const GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE = 221;

    private static $valueToName = [
        self::UNKNOWN => 'UNKNOWN',
        self::REVOKE => 'REVOKE',
        self::CIPHERTEXT => 'CIPHERTEXT',
        self::FUTUREPROOF => 'FUTUREPROOF',
        self::NON_VERIFIED_TRANSITION => 'NON_VERIFIED_TRANSITION',
        self::UNVERIFIED_TRANSITION => 'UNVERIFIED_TRANSITION',
        self::VERIFIED_TRANSITION => 'VERIFIED_TRANSITION',
        self::VERIFIED_LOW_UNKNOWN => 'VERIFIED_LOW_UNKNOWN',
        self::VERIFIED_HIGH => 'VERIFIED_HIGH',
        self::VERIFIED_INITIAL_UNKNOWN => 'VERIFIED_INITIAL_UNKNOWN',
        self::VERIFIED_INITIAL_LOW => 'VERIFIED_INITIAL_LOW',
        self::VERIFIED_INITIAL_HIGH => 'VERIFIED_INITIAL_HIGH',
        self::VERIFIED_TRANSITION_ANY_TO_NONE => 'VERIFIED_TRANSITION_ANY_TO_NONE',
        self::VERIFIED_TRANSITION_ANY_TO_HIGH => 'VERIFIED_TRANSITION_ANY_TO_HIGH',
        self::VERIFIED_TRANSITION_HIGH_TO_LOW => 'VERIFIED_TRANSITION_HIGH_TO_LOW',
        self::VERIFIED_TRANSITION_HIGH_TO_UNKNOWN => 'VERIFIED_TRANSITION_HIGH_TO_UNKNOWN',
        self::VERIFIED_TRANSITION_UNKNOWN_TO_LOW => 'VERIFIED_TRANSITION_UNKNOWN_TO_LOW',
        self::VERIFIED_TRANSITION_LOW_TO_UNKNOWN => 'VERIFIED_TRANSITION_LOW_TO_UNKNOWN',
        self::VERIFIED_TRANSITION_NONE_TO_LOW => 'VERIFIED_TRANSITION_NONE_TO_LOW',
        self::VERIFIED_TRANSITION_NONE_TO_UNKNOWN => 'VERIFIED_TRANSITION_NONE_TO_UNKNOWN',
        self::GROUP_CREATE => 'GROUP_CREATE',
        self::GROUP_CHANGE_SUBJECT => 'GROUP_CHANGE_SUBJECT',
        self::GROUP_CHANGE_ICON => 'GROUP_CHANGE_ICON',
        self::GROUP_CHANGE_INVITE_LINK => 'GROUP_CHANGE_INVITE_LINK',
        self::GROUP_CHANGE_DESCRIPTION => 'GROUP_CHANGE_DESCRIPTION',
        self::GROUP_CHANGE_RESTRICT => 'GROUP_CHANGE_RESTRICT',
        self::GROUP_CHANGE_ANNOUNCE => 'GROUP_CHANGE_ANNOUNCE',
        self::GROUP_PARTICIPANT_ADD => 'GROUP_PARTICIPANT_ADD',
        self::GROUP_PARTICIPANT_REMOVE => 'GROUP_PARTICIPANT_REMOVE',
        self::GROUP_PARTICIPANT_PROMOTE => 'GROUP_PARTICIPANT_PROMOTE',
        self::GROUP_PARTICIPANT_DEMOTE => 'GROUP_PARTICIPANT_DEMOTE',
        self::GROUP_PARTICIPANT_INVITE => 'GROUP_PARTICIPANT_INVITE',
        self::GROUP_PARTICIPANT_LEAVE => 'GROUP_PARTICIPANT_LEAVE',
        self::GROUP_PARTICIPANT_CHANGE_NUMBER => 'GROUP_PARTICIPANT_CHANGE_NUMBER',
        self::BROADCAST_CREATE => 'BROADCAST_CREATE',
        self::BROADCAST_ADD => 'BROADCAST_ADD',
        self::BROADCAST_REMOVE => 'BROADCAST_REMOVE',
        self::GENERIC_NOTIFICATION => 'GENERIC_NOTIFICATION',
        self::E2E_IDENTITY_CHANGED => 'E2E_IDENTITY_CHANGED',
        self::E2E_ENCRYPTED => 'E2E_ENCRYPTED',
        self::CALL_MISSED_VOICE => 'CALL_MISSED_VOICE',
        self::CALL_MISSED_VIDEO => 'CALL_MISSED_VIDEO',
        self::INDIVIDUAL_CHANGE_NUMBER => 'INDIVIDUAL_CHANGE_NUMBER',
        self::GROUP_DELETE => 'GROUP_DELETE',
        self::GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE => 'GROUP_ANNOUNCE_MODE_MESSAGE_BOUNCE',
        self::CALL_MISSED_GROUP_VOICE => 'CALL_MISSED_GROUP_VOICE',
        self::CALL_MISSED_GROUP_VIDEO => 'CALL_MISSED_GROUP_VIDEO',
        self::PAYMENT_CIPHERTEXT => 'PAYMENT_CIPHERTEXT',
        self::PAYMENT_FUTUREPROOF => 'PAYMENT_FUTUREPROOF',
        self::PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED => 'PAYMENT_TRANSACTION_STATUS_UPDATE_FAILED',
        self::PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED => 'PAYMENT_TRANSACTION_STATUS_UPDATE_REFUNDED',
        self::PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED => 'PAYMENT_TRANSACTION_STATUS_UPDATE_REFUND_FAILED',
        self::PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP => 'PAYMENT_TRANSACTION_STATUS_RECEIVER_PENDING_SETUP',
        self::PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP => 'PAYMENT_TRANSACTION_STATUS_RECEIVER_SUCCESS_AFTER_HICCUP',
        self::PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER => 'PAYMENT_ACTION_ACCOUNT_SETUP_REMINDER',
        self::PAYMENT_ACTION_SEND_PAYMENT_REMINDER => 'PAYMENT_ACTION_SEND_PAYMENT_REMINDER',
        self::PAYMENT_ACTION_SEND_PAYMENT_INVITATION => 'PAYMENT_ACTION_SEND_PAYMENT_INVITATION',
        self::PAYMENT_ACTION_REQUEST_DECLINED => 'PAYMENT_ACTION_REQUEST_DECLINED',
        self::PAYMENT_ACTION_REQUEST_EXPIRED => 'PAYMENT_ACTION_REQUEST_EXPIRED',
        self::PAYMENT_ACTION_REQUEST_CANCELLED => 'PAYMENT_ACTION_REQUEST_CANCELLED',
        self::BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM => 'BIZ_VERIFIED_TRANSITION_TOP_TO_BOTTOM',
        self::BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP => 'BIZ_VERIFIED_TRANSITION_BOTTOM_TO_TOP',
        self::BIZ_INTRO_TOP => 'BIZ_INTRO_TOP',
        self::BIZ_INTRO_BOTTOM => 'BIZ_INTRO_BOTTOM',
        self::BIZ_NAME_CHANGE => 'BIZ_NAME_CHANGE',
        self::BIZ_MOVE_TO_CONSUMER_APP => 'BIZ_MOVE_TO_CONSUMER_APP',
        self::BIZ_TWO_TIER_MIGRATION_TOP => 'BIZ_TWO_TIER_MIGRATION_TOP',
        self::BIZ_TWO_TIER_MIGRATION_BOTTOM => 'BIZ_TWO_TIER_MIGRATION_BOTTOM',
        self::OVERSIZED => 'OVERSIZED',
        self::GROUP_CHANGE_NO_FREQUENTLY_FORWARDED => 'GROUP_CHANGE_NO_FREQUENTLY_FORWARDED',
        self::GROUP_V4_ADD_INVITE_SENT => 'GROUP_V4_ADD_INVITE_SENT',
        self::GROUP_PARTICIPANT_ADD_REQUEST_JOIN => 'GROUP_PARTICIPANT_ADD_REQUEST_JOIN',
        self::CHANGE_EPHEMERAL_SETTING => 'CHANGE_EPHEMERAL_SETTING',
        self::E2E_DEVICE_CHANGED => 'E2E_DEVICE_CHANGED',
        self::VIEWED_ONCE => 'VIEWED_ONCE',
        self::E2E_ENCRYPTED_NOW => 'E2E_ENCRYPTED_NOW',
        self::BLUE_MSG_BSP_FB_TO_BSP_PREMISE => 'BLUE_MSG_BSP_FB_TO_BSP_PREMISE',
        self::BLUE_MSG_BSP_FB_TO_SELF_FB => 'BLUE_MSG_BSP_FB_TO_SELF_FB',
        self::BLUE_MSG_BSP_FB_TO_SELF_PREMISE => 'BLUE_MSG_BSP_FB_TO_SELF_PREMISE',
        self::BLUE_MSG_BSP_FB_UNVERIFIED => 'BLUE_MSG_BSP_FB_UNVERIFIED',
        self::BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED => 'BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED',
        self::BLUE_MSG_BSP_FB_VERIFIED => 'BLUE_MSG_BSP_FB_VERIFIED',
        self::BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED => 'BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED',
        self::BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE => 'BLUE_MSG_BSP_PREMISE_TO_SELF_PREMISE',
        self::BLUE_MSG_BSP_PREMISE_UNVERIFIED => 'BLUE_MSG_BSP_PREMISE_UNVERIFIED',
        self::BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED => 'BLUE_MSG_BSP_PREMISE_UNVERIFIED_TO_SELF_PREMISE_VERIFIED',
        self::BLUE_MSG_BSP_PREMISE_VERIFIED => 'BLUE_MSG_BSP_PREMISE_VERIFIED',
        self::BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED => 'BLUE_MSG_BSP_PREMISE_VERIFIED_TO_SELF_PREMISE_UNVERIFIED',
        self::BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED => 'BLUE_MSG_CONSUMER_TO_BSP_FB_UNVERIFIED',
        self::BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED => 'BLUE_MSG_CONSUMER_TO_BSP_PREMISE_UNVERIFIED',
        self::BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED => 'BLUE_MSG_CONSUMER_TO_SELF_FB_UNVERIFIED',
        self::BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED => 'BLUE_MSG_CONSUMER_TO_SELF_PREMISE_UNVERIFIED',
        self::BLUE_MSG_SELF_FB_TO_BSP_PREMISE => 'BLUE_MSG_SELF_FB_TO_BSP_PREMISE',
        self::BLUE_MSG_SELF_FB_TO_SELF_PREMISE => 'BLUE_MSG_SELF_FB_TO_SELF_PREMISE',
        self::BLUE_MSG_SELF_FB_UNVERIFIED => 'BLUE_MSG_SELF_FB_UNVERIFIED',
        self::BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED => 'BLUE_MSG_SELF_FB_UNVERIFIED_TO_SELF_PREMISE_VERIFIED',
        self::BLUE_MSG_SELF_FB_VERIFIED => 'BLUE_MSG_SELF_FB_VERIFIED',
        self::BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED => 'BLUE_MSG_SELF_FB_VERIFIED_TO_SELF_PREMISE_UNVERIFIED',
        self::BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE => 'BLUE_MSG_SELF_PREMISE_TO_BSP_PREMISE',
        self::BLUE_MSG_SELF_PREMISE_UNVERIFIED => 'BLUE_MSG_SELF_PREMISE_UNVERIFIED',
        self::BLUE_MSG_SELF_PREMISE_VERIFIED => 'BLUE_MSG_SELF_PREMISE_VERIFIED',
        self::BLUE_MSG_TO_BSP_FB => 'BLUE_MSG_TO_BSP_FB',
        self::BLUE_MSG_TO_CONSUMER => 'BLUE_MSG_TO_CONSUMER',
        self::BLUE_MSG_TO_SELF_FB => 'BLUE_MSG_TO_SELF_FB',
        self::BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED => 'BLUE_MSG_UNVERIFIED_TO_BSP_FB_VERIFIED',
        self::BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED => 'BLUE_MSG_UNVERIFIED_TO_BSP_PREMISE_VERIFIED',
        self::BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED => 'BLUE_MSG_UNVERIFIED_TO_SELF_FB_VERIFIED',
        self::BLUE_MSG_UNVERIFIED_TO_VERIFIED => 'BLUE_MSG_UNVERIFIED_TO_VERIFIED',
        self::BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED => 'BLUE_MSG_VERIFIED_TO_BSP_FB_UNVERIFIED',
        self::BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED => 'BLUE_MSG_VERIFIED_TO_BSP_PREMISE_UNVERIFIED',
        self::BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED => 'BLUE_MSG_VERIFIED_TO_SELF_FB_UNVERIFIED',
        self::BLUE_MSG_VERIFIED_TO_UNVERIFIED => 'BLUE_MSG_VERIFIED_TO_UNVERIFIED',
        self::BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED => 'BLUE_MSG_BSP_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED',
        self::BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED => 'BLUE_MSG_BSP_FB_UNVERIFIED_TO_SELF_FB_VERIFIED',
        self::BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED => 'BLUE_MSG_BSP_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED',
        self::BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED => 'BLUE_MSG_BSP_FB_VERIFIED_TO_SELF_FB_UNVERIFIED',
        self::BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED => 'BLUE_MSG_SELF_FB_UNVERIFIED_TO_BSP_PREMISE_VERIFIED',
        self::BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED => 'BLUE_MSG_SELF_FB_VERIFIED_TO_BSP_PREMISE_UNVERIFIED',
        self::E2E_IDENTITY_UNAVAILABLE => 'E2E_IDENTITY_UNAVAILABLE',
        self::GROUP_CREATING => 'GROUP_CREATING',
        self::GROUP_CREATE_FAILED => 'GROUP_CREATE_FAILED',
        self::GROUP_BOUNCED => 'GROUP_BOUNCED',
        self::BLOCK_CONTACT => 'BLOCK_CONTACT',
        self::EPHEMERAL_SETTING_NOT_APPLIED => 'EPHEMERAL_SETTING_NOT_APPLIED',
        self::SYNC_FAILED => 'SYNC_FAILED',
        self::SYNCING => 'SYNCING',
        self::BIZ_PRIVACY_MODE_INIT_FB => 'BIZ_PRIVACY_MODE_INIT_FB',
        self::BIZ_PRIVACY_MODE_INIT_BSP => 'BIZ_PRIVACY_MODE_INIT_BSP',
        self::BIZ_PRIVACY_MODE_TO_FB => 'BIZ_PRIVACY_MODE_TO_FB',
        self::BIZ_PRIVACY_MODE_TO_BSP => 'BIZ_PRIVACY_MODE_TO_BSP',
        self::DISAPPEARING_MODE => 'DISAPPEARING_MODE',
        self::E2E_DEVICE_FETCH_FAILED => 'E2E_DEVICE_FETCH_FAILED',
        self::ADMIN_REVOKE => 'ADMIN_REVOKE',
        self::GROUP_INVITE_LINK_GROWTH_LOCKED => 'GROUP_INVITE_LINK_GROWTH_LOCKED',
        self::COMMUNITY_LINK_PARENT_GROUP => 'COMMUNITY_LINK_PARENT_GROUP',
        self::COMMUNITY_LINK_SIBLING_GROUP => 'COMMUNITY_LINK_SIBLING_GROUP',
        self::COMMUNITY_LINK_SUB_GROUP => 'COMMUNITY_LINK_SUB_GROUP',
        self::COMMUNITY_UNLINK_PARENT_GROUP => 'COMMUNITY_UNLINK_PARENT_GROUP',
        self::COMMUNITY_UNLINK_SIBLING_GROUP => 'COMMUNITY_UNLINK_SIBLING_GROUP',
        self::COMMUNITY_UNLINK_SUB_GROUP => 'COMMUNITY_UNLINK_SUB_GROUP',
        self::GROUP_PARTICIPANT_ACCEPT => 'GROUP_PARTICIPANT_ACCEPT',
        self::GROUP_PARTICIPANT_LINKED_GROUP_JOIN => 'GROUP_PARTICIPANT_LINKED_GROUP_JOIN',
        self::COMMUNITY_CREATE => 'COMMUNITY_CREATE',
        self::EPHEMERAL_KEEP_IN_CHAT => 'EPHEMERAL_KEEP_IN_CHAT',
        self::GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST => 'GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST',
        self::GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE => 'GROUP_MEMBERSHIP_JOIN_APPROVAL_MODE',
        self::INTEGRITY_UNLINK_PARENT_GROUP => 'INTEGRITY_UNLINK_PARENT_GROUP',
        self::COMMUNITY_PARTICIPANT_PROMOTE => 'COMMUNITY_PARTICIPANT_PROMOTE',
        self::COMMUNITY_PARTICIPANT_DEMOTE => 'COMMUNITY_PARTICIPANT_DEMOTE',
        self::COMMUNITY_PARENT_GROUP_DELETED => 'COMMUNITY_PARENT_GROUP_DELETED',
        self::COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL => 'COMMUNITY_LINK_PARENT_GROUP_MEMBERSHIP_APPROVAL',
        self::GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP => 'GROUP_PARTICIPANT_JOINED_GROUP_AND_PARENT_GROUP',
        self::MASKED_THREAD_CREATED => 'MASKED_THREAD_CREATED',
        self::MASKED_THREAD_UNMASKED => 'MASKED_THREAD_UNMASKED',
        self::BIZ_CHAT_ASSIGNMENT => 'BIZ_CHAT_ASSIGNMENT',
        self::CHAT_PSA => 'CHAT_PSA',
        self::CHAT_POLL_CREATION_MESSAGE => 'CHAT_POLL_CREATION_MESSAGE',
        self::CAG_MASKED_THREAD_CREATED => 'CAG_MASKED_THREAD_CREATED',
        self::COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED => 'COMMUNITY_PARENT_GROUP_SUBJECT_CHANGED',
        self::CAG_INVITE_AUTO_ADD => 'CAG_INVITE_AUTO_ADD',
        self::BIZ_CHAT_ASSIGNMENT_UNASSIGN => 'BIZ_CHAT_ASSIGNMENT_UNASSIGN',
        self::CAG_INVITE_AUTO_JOINED => 'CAG_INVITE_AUTO_JOINED',
        self::SCHEDULED_CALL_START_MESSAGE => 'SCHEDULED_CALL_START_MESSAGE',
        self::COMMUNITY_INVITE_RICH => 'COMMUNITY_INVITE_RICH',
        self::COMMUNITY_INVITE_AUTO_ADD_RICH => 'COMMUNITY_INVITE_AUTO_ADD_RICH',
        self::SUB_GROUP_INVITE_RICH => 'SUB_GROUP_INVITE_RICH',
        self::SUB_GROUP_PARTICIPANT_ADD_RICH => 'SUB_GROUP_PARTICIPANT_ADD_RICH',
        self::COMMUNITY_LINK_PARENT_GROUP_RICH => 'COMMUNITY_LINK_PARENT_GROUP_RICH',
        self::COMMUNITY_PARTICIPANT_ADD_RICH => 'COMMUNITY_PARTICIPANT_ADD_RICH',
        self::SILENCED_UNKNOWN_CALLER_AUDIO => 'SILENCED_UNKNOWN_CALLER_AUDIO',
        self::SILENCED_UNKNOWN_CALLER_VIDEO => 'SILENCED_UNKNOWN_CALLER_VIDEO',
        self::GROUP_MEMBER_ADD_MODE => 'GROUP_MEMBER_ADD_MODE',
        self::GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD => 'GROUP_MEMBERSHIP_JOIN_APPROVAL_REQUEST_NON_ADMIN_ADD',
        self::COMMUNITY_CHANGE_DESCRIPTION => 'COMMUNITY_CHANGE_DESCRIPTION',
        self::SENDER_INVITE => 'SENDER_INVITE',
        self::RECEIVER_INVITE => 'RECEIVER_INVITE',
        self::COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS => 'COMMUNITY_ALLOW_MEMBER_ADDED_GROUPS',
        self::PINNED_MESSAGE_IN_CHAT => 'PINNED_MESSAGE_IN_CHAT',
        self::PAYMENT_INVITE_SETUP_INVITER => 'PAYMENT_INVITE_SETUP_INVITER',
        self::PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY => 'PAYMENT_INVITE_SETUP_INVITEE_RECEIVE_ONLY',
        self::PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE => 'PAYMENT_INVITE_SETUP_INVITEE_SEND_AND_RECEIVE',
        self::LINKED_GROUP_CALL_START => 'LINKED_GROUP_CALL_START',
        self::REPORT_TO_ADMIN_ENABLED_STATUS => 'REPORT_TO_ADMIN_ENABLED_STATUS',
        self::EMPTY_SUBGROUP_CREATE => 'EMPTY_SUBGROUP_CREATE',
        self::SCHEDULED_CALL_CANCEL => 'SCHEDULED_CALL_CANCEL',
        self::SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH => 'SUBGROUP_ADMIN_TRIGGERED_AUTO_ADD_RICH',
        self::GROUP_CHANGE_RECENT_HISTORY_SHARING => 'GROUP_CHANGE_RECENT_HISTORY_SHARING',
        self::PAID_MESSAGE_SERVER_CAMPAIGN_ID => 'PAID_MESSAGE_SERVER_CAMPAIGN_ID',
        self::GENERAL_CHAT_CREATE => 'GENERAL_CHAT_CREATE',
        self::GENERAL_CHAT_ADD => 'GENERAL_CHAT_ADD',
        self::GENERAL_CHAT_AUTO_ADD_DISABLED => 'GENERAL_CHAT_AUTO_ADD_DISABLED',
        self::SUGGESTED_SUBGROUP_ANNOUNCE => 'SUGGESTED_SUBGROUP_ANNOUNCE',
        self::BIZ_BOT_1P_MESSAGING_ENABLED => 'BIZ_BOT_1P_MESSAGING_ENABLED',
        self::CHANGE_USERNAME => 'CHANGE_USERNAME',
        self::BIZ_COEX_PRIVACY_INIT_SELF => 'BIZ_COEX_PRIVACY_INIT_SELF',
        self::BIZ_COEX_PRIVACY_TRANSITION_SELF => 'BIZ_COEX_PRIVACY_TRANSITION_SELF',
        self::SUPPORT_AI_EDUCATION => 'SUPPORT_AI_EDUCATION',
        self::BIZ_BOT_3P_MESSAGING_ENABLED => 'BIZ_BOT_3P_MESSAGING_ENABLED',
        self::REMINDER_SETUP_MESSAGE => 'REMINDER_SETUP_MESSAGE',
        self::REMINDER_SENT_MESSAGE => 'REMINDER_SENT_MESSAGE',
        self::REMINDER_CANCEL_MESSAGE => 'REMINDER_CANCEL_MESSAGE',
        self::BIZ_COEX_PRIVACY_INIT => 'BIZ_COEX_PRIVACY_INIT',
        self::BIZ_COEX_PRIVACY_TRANSITION => 'BIZ_COEX_PRIVACY_TRANSITION',
        self::GROUP_DEACTIVATED => 'GROUP_DEACTIVATED',
        self::COMMUNITY_DEACTIVATE_SIBLING_GROUP => 'COMMUNITY_DEACTIVATE_SIBLING_GROUP',
        self::EVENT_UPDATED => 'EVENT_UPDATED',
        self::EVENT_CANCELED => 'EVENT_CANCELED',
        self::COMMUNITY_OWNER_UPDATED => 'COMMUNITY_OWNER_UPDATED',
        self::COMMUNITY_SUB_GROUP_VISIBILITY_HIDDEN => 'COMMUNITY_SUB_GROUP_VISIBILITY_HIDDEN',
        self::CAPI_GROUP_NE2EE_SYSTEM_MESSAGE => 'CAPI_GROUP_NE2EE_SYSTEM_MESSAGE',
        self::STATUS_MENTION => 'STATUS_MENTION',
        self::USER_CONTROLS_SYSTEM_MESSAGE => 'USER_CONTROLS_SYSTEM_MESSAGE',
        self::SUPPORT_SYSTEM_MESSAGE => 'SUPPORT_SYSTEM_MESSAGE',
        self::CHANGE_LID => 'CHANGE_LID',
        self::BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_IN_MESSAGE => 'BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_IN_MESSAGE',
        self::BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_OUT_MESSAGE => 'BIZ_CUSTOMER_3PD_DATA_SHARING_OPT_OUT_MESSAGE',
        self::CHANGE_LIMIT_SHARING => 'CHANGE_LIMIT_SHARING',
        self::GROUP_MEMBER_LINK_MODE => 'GROUP_MEMBER_LINK_MODE',
        self::BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE => 'BIZ_AUTOMATICALLY_LABELED_CHAT_SYSTEM_MESSAGE',
        self::PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE => 'PHONE_NUMBER_HIDING_CHAT_DEPRECATED_MESSAGE',
        self::QUARANTINED_MESSAGE => 'QUARANTINED_MESSAGE',
        self::GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE => 'GROUP_MEMBER_SHARE_GROUP_HISTORY_MODE',
    ];

    public static function name($value)
    {
        if (!isset(self::$valueToName[$value])) {
            throw new UnexpectedValueException(sprintf(
                    'Enum %s has no name defined for value %s', __CLASS__, $value));
        }
        return self::$valueToName[$value];
    }


    public static function value($name)
    {
        $const = __CLASS__ . '::' . strtoupper($name);
        if (!defined($const)) {
            throw new UnexpectedValueException(sprintf(
                    'Enum %s has no value defined for name %s', __CLASS__, $name));
        }
        return constant($const);
    }
}

