Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / communicate-dev / src / main / java / com / vayunmathur / communicate / data / whatsapp / BinaryTokenSingle.kt
BinaryTokenSingle.kt246 lines · 4.8 KiBRaw
| 1 | package com.vayunmathur.communicate.data.whatsapp |
| 2 | |
| 3 | /** |
| 4 | * Single-byte token table (split for file length). |
| 5 | */ |
| 6 | internal object BinaryTokenSingle { |
| 7 | |
| 8 | val singleByteTokens = arrayOf( |
| 9 | "", |
| 10 | "xmlstreamstart", |
| 11 | "xmlstreamend", |
| 12 | "s.whatsapp.net", |
| 13 | "type", |
| 14 | "participant", |
| 15 | "from", |
| 16 | "receipt", |
| 17 | "id", |
| 18 | "notification", |
| 19 | "disappearing_mode", |
| 20 | "status", |
| 21 | "jid", |
| 22 | "broadcast", |
| 23 | "user", |
| 24 | "devices", |
| 25 | "device_hash", |
| 26 | "to", |
| 27 | "offline", |
| 28 | "message", |
| 29 | "result", |
| 30 | "class", |
| 31 | "xmlns", |
| 32 | "duration", |
| 33 | "notify", |
| 34 | "iq", |
| 35 | "t", |
| 36 | "ack", |
| 37 | "g.us", |
| 38 | "enc", |
| 39 | "urn:xmpp:whatsapp:push", |
| 40 | "presence", |
| 41 | "config_value", |
| 42 | "picture", |
| 43 | "verified_name", |
| 44 | "config_code", |
| 45 | "key-index-list", |
| 46 | "contact", |
| 47 | "mediatype", |
| 48 | "routing_info", |
| 49 | "edge_routing", |
| 50 | "get", |
| 51 | "read", |
| 52 | "urn:xmpp:ping", |
| 53 | "fallback_hostname", |
| 54 | "0", |
| 55 | "chatstate", |
| 56 | "business_hours_config", |
| 57 | "unavailable", |
| 58 | "download_buckets", |
| 59 | "skmsg", |
| 60 | "verified_level", |
| 61 | "composing", |
| 62 | "handshake", |
| 63 | "device-list", |
| 64 | "media", |
| 65 | "text", |
| 66 | "fallback_ip4", |
| 67 | "media_conn", |
| 68 | "device", |
| 69 | "creation", |
| 70 | "location", |
| 71 | "config", |
| 72 | "item", |
| 73 | "fallback_ip6", |
| 74 | "count", |
| 75 | "w:profile:picture", |
| 76 | "image", |
| 77 | "business", |
| 78 | "2", |
| 79 | "hostname", |
| 80 | "call-creator", |
| 81 | "display_name", |
| 82 | "relaylatency", |
| 83 | "platform", |
| 84 | "abprops", |
| 85 | "success", |
| 86 | "msg", |
| 87 | "offline_preview", |
| 88 | "prop", |
| 89 | "key-index", |
| 90 | "v", |
| 91 | "day_of_week", |
| 92 | "pkmsg", |
| 93 | "version", |
| 94 | "1", |
| 95 | "ping", |
| 96 | "w:p", |
| 97 | "download", |
| 98 | "video", |
| 99 | "set", |
| 100 | "specific_hours", |
| 101 | "props", |
| 102 | "primary", |
| 103 | "unknown", |
| 104 | "hash", |
| 105 | "commerce_experience", |
| 106 | "last", |
| 107 | "subscribe", |
| 108 | "max_buckets", |
| 109 | "call", |
| 110 | "profile", |
| 111 | "member_since_text", |
| 112 | "close_time", |
| 113 | "call-id", |
| 114 | "sticker", |
| 115 | "mode", |
| 116 | "participants", |
| 117 | "value", |
| 118 | "query", |
| 119 | "profile_options", |
| 120 | "open_time", |
| 121 | "code", |
| 122 | "list", |
| 123 | "host", |
| 124 | "ts", |
| 125 | "contacts", |
| 126 | "upload", |
| 127 | "lid", |
| 128 | "preview", |
| 129 | "update", |
| 130 | "usync", |
| 131 | "w:stats", |
| 132 | "delivery", |
| 133 | "auth_ttl", |
| 134 | "context", |
| 135 | "fail", |
| 136 | "cart_enabled", |
| 137 | "appdata", |
| 138 | "category", |
| 139 | "atn", |
| 140 | "direct_connection", |
| 141 | "decrypt-fail", |
| 142 | "relay_id", |
| 143 | "mmg-fallback.whatsapp.net", |
| 144 | "target", |
| 145 | "available", |
| 146 | "name", |
| 147 | "last_id", |
| 148 | "mmg.whatsapp.net", |
| 149 | "categories", |
| 150 | "401", |
| 151 | "is_new", |
| 152 | "index", |
| 153 | "tctoken", |
| 154 | "ip4", |
| 155 | "token_id", |
| 156 | "latency", |
| 157 | "recipient", |
| 158 | "edit", |
| 159 | "ip6", |
| 160 | "add", |
| 161 | "thumbnail-document", |
| 162 | "26", |
| 163 | "paused", |
| 164 | "true", |
| 165 | "identity", |
| 166 | "stream:error", |
| 167 | "key", |
| 168 | "sidelist", |
| 169 | "background", |
| 170 | "audio", |
| 171 | "3", |
| 172 | "thumbnail-image", |
| 173 | "biz-cover-photo", |
| 174 | "cat", |
| 175 | "gcm", |
| 176 | "thumbnail-video", |
| 177 | "error", |
| 178 | "auth", |
| 179 | "deny", |
| 180 | "serial", |
| 181 | "in", |
| 182 | "registration", |
| 183 | "thumbnail-link", |
| 184 | "remove", |
| 185 | "00", |
| 186 | "gif", |
| 187 | "thumbnail-gif", |
| 188 | "tag", |
| 189 | "capability", |
| 190 | "multicast", |
| 191 | "item-not-found", |
| 192 | "description", |
| 193 | "business_hours", |
| 194 | "config_expo_key", |
| 195 | "md-app-state", |
| 196 | "expiration", |
| 197 | "fallback", |
| 198 | "ttl", |
| 199 | "300", |
| 200 | "md-msg-hist", |
| 201 | "device_orientation", |
| 202 | "out", |
| 203 | "w:m", |
| 204 | "open_24h", |
| 205 | "side_list", |
| 206 | "token", |
| 207 | "inactive", |
| 208 | "01", |
| 209 | "document", |
| 210 | "te2", |
| 211 | "played", |
| 212 | "encrypt", |
| 213 | "msgr", |
| 214 | "hide", |
| 215 | "direct_path", |
| 216 | "12", |
| 217 | "state", |
| 218 | "not-authorized", |
| 219 | "url", |
| 220 | "terminate", |
| 221 | "signature", |
| 222 | "status-revoke-delay", |
| 223 | "02", |
| 224 | "te", |
| 225 | "linked_accounts", |
| 226 | "trusted_contact", |
| 227 | "timezone", |
| 228 | "ptt", |
| 229 | "kyc-id", |
| 230 | "privacy_token", |
| 231 | "readreceipts", |
| 232 | "appointment_only", |
| 233 | "address", |
| 234 | "expected_ts", |
| 235 | "privacy", |
| 236 | "7", |
| 237 | "android", |
| 238 | "interactive", |
| 239 | "device-identity", |
| 240 | "enabled", |
| 241 | "attribute_padding", |
| 242 | "1080", |
| 243 | "03", |
| 244 | "screen_height" |
| 245 | ) |
| 246 | } |