sanka-baileyss 2.3.2 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/WAProto/BotMetadata/BotMetadata.d.ts +594 -1
- package/WAProto/BotMetadata/BotMetadata.js +1910 -148
- package/WAProto/BotMetadata/BotMetadata.proto +36 -0
- package/WAProto/E2E/E2E.d.ts +570 -6
- package/WAProto/E2E/E2E.js +1591 -26
- package/WAProto/E2E/E2E.proto +10 -1
- package/WAProto/HistorySync/HistorySync.d.ts +806 -6
- package/WAProto/HistorySync/HistorySync.js +2193 -29
- package/WAProto/HistorySync/HistorySync.proto +2 -1
- package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.d.ts +570 -6
- package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.js +1591 -26
- package/WAProto/StatusAttributions/StatusAttributions.d.ts +2 -1
- package/WAProto/StatusAttributions/StatusAttributions.js +7 -0
- package/WAProto/StatusAttributions/StatusAttributions.proto +1 -0
- package/WAProto/SyncAction/SyncAction.d.ts +230 -0
- package/WAProto/SyncAction/SyncAction.js +578 -2
- package/WAProto/SyncAction/SyncAction.proto +13 -1
- package/WAProto/Web/Web.d.ts +570 -6
- package/WAProto/Web/Web.js +1591 -26
- package/lib/Defaults/baileys-version.json +2 -2
- package/lib/Defaults/index.d.ts +42 -25
- package/lib/Defaults/index.js +6 -2
- package/lib/Signal/libsignal.d.ts +1 -0
- package/lib/Socket/Client/index.js +13 -9
- package/lib/Socket/Client/types.d.ts +11 -10
- package/lib/Socket/Client/types.js +11 -7
- package/lib/Socket/Client/websocket.d.ts +9 -8
- package/lib/Socket/Client/websocket.js +52 -47
- package/lib/Socket/business.d.ts +185 -182
- package/lib/Socket/business.js +258 -249
- package/lib/Socket/chats.d.ts +90 -87
- package/lib/Socket/chats.js +1095 -888
- package/lib/Socket/community.d.ts +131 -0
- package/lib/Socket/community.js +369 -0
- package/lib/Socket/groups.d.ts +50 -41
- package/lib/Socket/groups.js +10 -3
- package/lib/Socket/index.d.ts +5 -1
- package/lib/Socket/index.js +19 -5
- package/lib/Socket/messages-recv.d.ts +6 -2
- package/lib/Socket/messages-recv.js +31 -8
- package/lib/Socket/messages-send.d.ts +5 -1
- package/lib/Socket/messages-send.js +1293 -1351
- package/lib/Socket/newsletter.d.ts +142 -135
- package/lib/Socket/newsletter.js +274 -230
- package/lib/Socket/socket.d.ts +37 -35
- package/lib/Socket/usync.d.ts +31 -30
- package/lib/Socket/usync.js +74 -62
- package/lib/Types/Auth.d.ts +89 -72
- package/lib/Types/Auth.js +1 -0
- package/lib/Types/Call.d.ts +11 -10
- package/lib/Types/Call.js +1 -0
- package/lib/Types/Chat.d.ts +85 -62
- package/lib/Types/Chat.js +4 -1
- package/lib/Types/Contact.js +1 -0
- package/lib/Types/Events.d.ts +209 -191
- package/lib/Types/Events.js +1 -0
- package/lib/Types/GroupMetadata.d.ts +12 -27
- package/lib/Types/GroupMetadata.js +1 -0
- package/lib/Types/Label.d.ts +41 -39
- package/lib/Types/Label.js +24 -21
- package/lib/Types/LabelAssociation.d.ts +18 -12
- package/lib/Types/LabelAssociation.js +6 -3
- package/lib/Types/Message.d.ts +3 -2
- package/lib/Types/Message.js +7 -3
- package/lib/Types/MexUpdates.d.ts +9 -0
- package/lib/Types/MexUpdates.js +18 -0
- package/lib/Types/Newsletter.d.ts +84 -67
- package/lib/Types/Newsletter.js +30 -23
- package/lib/Types/Product.d.ts +70 -56
- package/lib/Types/Product.js +1 -0
- package/lib/Types/Signal.d.ts +46 -35
- package/lib/Types/Signal.js +1 -0
- package/lib/Types/Socket.d.ts +105 -101
- package/lib/Types/Socket.js +1 -0
- package/lib/Types/State.d.ts +37 -23
- package/lib/Types/State.js +13 -1
- package/lib/Types/USync.d.ts +21 -20
- package/lib/Types/USync.js +1 -0
- package/lib/Types/index.d.ts +51 -42
- package/lib/Types/index.js +25 -19
- package/lib/Utils/auth-utils.d.ts +14 -11
- package/lib/Utils/auth-utils.js +189 -182
- package/lib/Utils/baileys-event-stream.d.ts +12 -10
- package/lib/Utils/baileys-event-stream.js +52 -46
- package/lib/Utils/business.d.ts +15 -8
- package/lib/Utils/business.js +229 -217
- package/lib/Utils/chat-utils.d.ts +22 -12
- package/lib/Utils/chat-utils.js +57 -27
- package/lib/Utils/crypto.d.ts +31 -15
- package/lib/Utils/crypto.js +136 -107
- package/lib/Utils/decode-wa-message.d.ts +34 -245
- package/lib/Utils/decode-wa-message.js +205 -217
- package/lib/Utils/event-buffer.d.ts +30 -26
- package/lib/Utils/event-buffer.js +519 -515
- package/lib/Utils/history.d.ts +2 -8
- package/lib/Utils/index.js +13 -9
- package/lib/Utils/link-preview.d.ts +16 -14
- package/lib/Utils/link-preview.js +100 -92
- package/lib/Utils/logger.d.ts +9 -7
- package/lib/Utils/logger.js +1 -1
- package/lib/Utils/lt-hash.d.ts +10 -8
- package/lib/Utils/lt-hash.js +49 -44
- package/lib/Utils/make-mutex.d.ts +4 -2
- package/lib/Utils/make-mutex.js +43 -39
- package/lib/Utils/messages-media.d.ts +75 -50
- package/lib/Utils/messages.d.ts +60 -35
- package/lib/Utils/messages.js +87 -8
- package/lib/Utils/noise-handler.d.ts +13 -12
- package/lib/Utils/noise-handler.js +143 -138
- package/lib/Utils/process-message.d.ts +32 -24
- package/lib/Utils/process-message.js +387 -367
- package/lib/Utils/signal.d.ts +24 -15
- package/lib/Utils/signal.js +143 -131
- package/lib/Utils/use-mongo-file-auth-state.d.ts +3 -2
- package/lib/Utils/use-mongo-file-auth-state.js +72 -63
- package/lib/Utils/use-multi-file-auth-state.d.ts +9 -8
- package/lib/Utils/use-multi-file-auth-state.js +110 -102
- package/lib/Utils/use-single-file-auth-state.d.ts +8 -7
- package/lib/Utils/use-single-file-auth-state.js +66 -61
- package/lib/Utils/validate-connection.d.ts +5 -2
- package/lib/Utils/validate-connection.js +7 -6
- package/lib/WABinary/constants.d.ts +24 -21
- package/lib/WABinary/constants.js +1302 -31
- package/lib/WABinary/decode.d.ts +4 -1
- package/lib/WABinary/decode.js +267 -234
- package/lib/WABinary/encode.d.ts +1 -0
- package/lib/WABinary/encode.js +248 -226
- package/lib/WABinary/generic-utils.d.ts +13 -1
- package/lib/WABinary/generic-utils.js +113 -96
- package/lib/WABinary/index.js +13 -9
- package/lib/WABinary/jid-utils.d.ts +23 -4
- package/lib/WABinary/jid-utils.js +58 -39
- package/lib/WABinary/types.d.ts +15 -11
- package/lib/WABinary/types.js +1 -0
- package/lib/WAM/BinaryInfo.d.ts +14 -14
- package/lib/WAM/BinaryInfo.js +11 -8
- package/lib/WAM/constants.d.ts +34 -26
- package/lib/WAM/constants.js +15358 -15349
- package/lib/WAM/encode.d.ts +1 -0
- package/lib/WAM/encode.js +153 -144
- package/lib/WAM/index.js +13 -9
- package/lib/index.js +11 -11
- package/package.json +1 -2
- package/WASignalGroup/GroupProtocol.js +0 -1771
- package/WASignalGroup/ciphertext_message.js +0 -10
- package/WASignalGroup/group_cipher.js +0 -103
- package/WASignalGroup/group_session_builder.js +0 -39
- package/WASignalGroup/index.js +0 -5
- package/WASignalGroup/keyhelper.js +0 -17
- package/WASignalGroup/protobufs.js +0 -2
- package/WASignalGroup/queue_job.js +0 -64
- package/WASignalGroup/sender_chain_key.js +0 -38
- package/WASignalGroup/sender_key_distribution_message.js +0 -68
- package/WASignalGroup/sender_key_message.js +0 -79
- package/WASignalGroup/sender_key_name.js +0 -59
- package/WASignalGroup/sender_key_record.js +0 -47
- package/WASignalGroup/sender_key_state.js +0 -110
- package/WASignalGroup/sender_message_key.js +0 -30
|
@@ -1708,6 +1708,7 @@ $root.StatusAttributions = (function() {
|
|
|
1708
1708
|
case 0:
|
|
1709
1709
|
case 1:
|
|
1710
1710
|
case 2:
|
|
1711
|
+
case 3:
|
|
1711
1712
|
break;
|
|
1712
1713
|
}
|
|
1713
1714
|
}
|
|
@@ -1745,6 +1746,10 @@ $root.StatusAttributions = (function() {
|
|
|
1745
1746
|
case 2:
|
|
1746
1747
|
message.source = 2;
|
|
1747
1748
|
break;
|
|
1749
|
+
case "HYPERNOVA_GLASSES":
|
|
1750
|
+
case 3:
|
|
1751
|
+
message.source = 3;
|
|
1752
|
+
break;
|
|
1748
1753
|
}
|
|
1749
1754
|
return message;
|
|
1750
1755
|
};
|
|
@@ -1803,12 +1808,14 @@ $root.StatusAttributions = (function() {
|
|
|
1803
1808
|
* @property {number} UNKNOWN=0 UNKNOWN value
|
|
1804
1809
|
* @property {number} RAY_BAN_META_GLASSES=1 RAY_BAN_META_GLASSES value
|
|
1805
1810
|
* @property {number} OAKLEY_META_GLASSES=2 OAKLEY_META_GLASSES value
|
|
1811
|
+
* @property {number} HYPERNOVA_GLASSES=3 HYPERNOVA_GLASSES value
|
|
1806
1812
|
*/
|
|
1807
1813
|
RLAttribution.Source = (function() {
|
|
1808
1814
|
var valuesById = {}, values = Object.create(valuesById);
|
|
1809
1815
|
values[valuesById[0] = "UNKNOWN"] = 0;
|
|
1810
1816
|
values[valuesById[1] = "RAY_BAN_META_GLASSES"] = 1;
|
|
1811
1817
|
values[valuesById[2] = "OAKLEY_META_GLASSES"] = 2;
|
|
1818
|
+
values[valuesById[3] = "HYPERNOVA_GLASSES"] = 3;
|
|
1812
1819
|
return values;
|
|
1813
1820
|
})();
|
|
1814
1821
|
|
|
@@ -476,6 +476,12 @@ export namespace SyncAction {
|
|
|
476
476
|
|
|
477
477
|
/** SyncActionValue maibaAiFeaturesControlAction */
|
|
478
478
|
maibaAiFeaturesControlAction?: (SyncAction.SyncActionValue.IMaibaAIFeaturesControlAction|null);
|
|
479
|
+
|
|
480
|
+
/** SyncActionValue businessBroadcastListAction */
|
|
481
|
+
businessBroadcastListAction?: (SyncAction.SyncActionValue.IBusinessBroadcastListAction|null);
|
|
482
|
+
|
|
483
|
+
/** SyncActionValue musicUserIdAction */
|
|
484
|
+
musicUserIdAction?: (SyncAction.SyncActionValue.IMusicUserIdAction|null);
|
|
479
485
|
}
|
|
480
486
|
|
|
481
487
|
/** Represents a SyncActionValue. */
|
|
@@ -670,6 +676,12 @@ export namespace SyncAction {
|
|
|
670
676
|
/** SyncActionValue maibaAiFeaturesControlAction. */
|
|
671
677
|
public maibaAiFeaturesControlAction?: (SyncAction.SyncActionValue.IMaibaAIFeaturesControlAction|null);
|
|
672
678
|
|
|
679
|
+
/** SyncActionValue businessBroadcastListAction. */
|
|
680
|
+
public businessBroadcastListAction?: (SyncAction.SyncActionValue.IBusinessBroadcastListAction|null);
|
|
681
|
+
|
|
682
|
+
/** SyncActionValue musicUserIdAction. */
|
|
683
|
+
public musicUserIdAction?: (SyncAction.SyncActionValue.IMusicUserIdAction|null);
|
|
684
|
+
|
|
673
685
|
/**
|
|
674
686
|
* Creates a new SyncActionValue instance using the specified properties.
|
|
675
687
|
* @param [properties] Properties to set
|
|
@@ -1253,6 +1265,115 @@ export namespace SyncAction {
|
|
|
1253
1265
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1254
1266
|
}
|
|
1255
1267
|
|
|
1268
|
+
/** Properties of a BusinessBroadcastListAction. */
|
|
1269
|
+
interface IBusinessBroadcastListAction {
|
|
1270
|
+
|
|
1271
|
+
/** BusinessBroadcastListAction deleted */
|
|
1272
|
+
deleted?: (boolean|null);
|
|
1273
|
+
|
|
1274
|
+
/** BusinessBroadcastListAction phoneNumbers */
|
|
1275
|
+
phoneNumbers?: (string[]|null);
|
|
1276
|
+
|
|
1277
|
+
/** BusinessBroadcastListAction listName */
|
|
1278
|
+
listName?: (string|null);
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
/** Represents a BusinessBroadcastListAction. */
|
|
1282
|
+
class BusinessBroadcastListAction implements IBusinessBroadcastListAction {
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* Constructs a new BusinessBroadcastListAction.
|
|
1286
|
+
* @param [properties] Properties to set
|
|
1287
|
+
*/
|
|
1288
|
+
constructor(properties?: SyncAction.SyncActionValue.IBusinessBroadcastListAction);
|
|
1289
|
+
|
|
1290
|
+
/** BusinessBroadcastListAction deleted. */
|
|
1291
|
+
public deleted: boolean;
|
|
1292
|
+
|
|
1293
|
+
/** BusinessBroadcastListAction phoneNumbers. */
|
|
1294
|
+
public phoneNumbers: string[];
|
|
1295
|
+
|
|
1296
|
+
/** BusinessBroadcastListAction listName. */
|
|
1297
|
+
public listName: string;
|
|
1298
|
+
|
|
1299
|
+
/**
|
|
1300
|
+
* Creates a new BusinessBroadcastListAction instance using the specified properties.
|
|
1301
|
+
* @param [properties] Properties to set
|
|
1302
|
+
* @returns BusinessBroadcastListAction instance
|
|
1303
|
+
*/
|
|
1304
|
+
public static create(properties?: SyncAction.SyncActionValue.IBusinessBroadcastListAction): SyncAction.SyncActionValue.BusinessBroadcastListAction;
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* Encodes the specified BusinessBroadcastListAction message. Does not implicitly {@link SyncAction.SyncActionValue.BusinessBroadcastListAction.verify|verify} messages.
|
|
1308
|
+
* @param message BusinessBroadcastListAction message or plain object to encode
|
|
1309
|
+
* @param [writer] Writer to encode to
|
|
1310
|
+
* @returns Writer
|
|
1311
|
+
*/
|
|
1312
|
+
public static encode(message: SyncAction.SyncActionValue.IBusinessBroadcastListAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* Encodes the specified BusinessBroadcastListAction message, length delimited. Does not implicitly {@link SyncAction.SyncActionValue.BusinessBroadcastListAction.verify|verify} messages.
|
|
1316
|
+
* @param message BusinessBroadcastListAction message or plain object to encode
|
|
1317
|
+
* @param [writer] Writer to encode to
|
|
1318
|
+
* @returns Writer
|
|
1319
|
+
*/
|
|
1320
|
+
public static encodeDelimited(message: SyncAction.SyncActionValue.IBusinessBroadcastListAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1321
|
+
|
|
1322
|
+
/**
|
|
1323
|
+
* Decodes a BusinessBroadcastListAction message from the specified reader or buffer.
|
|
1324
|
+
* @param reader Reader or buffer to decode from
|
|
1325
|
+
* @param [length] Message length if known beforehand
|
|
1326
|
+
* @returns BusinessBroadcastListAction
|
|
1327
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1328
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1329
|
+
*/
|
|
1330
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.BusinessBroadcastListAction;
|
|
1331
|
+
|
|
1332
|
+
/**
|
|
1333
|
+
* Decodes a BusinessBroadcastListAction message from the specified reader or buffer, length delimited.
|
|
1334
|
+
* @param reader Reader or buffer to decode from
|
|
1335
|
+
* @returns BusinessBroadcastListAction
|
|
1336
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1337
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1338
|
+
*/
|
|
1339
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.BusinessBroadcastListAction;
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* Verifies a BusinessBroadcastListAction message.
|
|
1343
|
+
* @param message Plain object to verify
|
|
1344
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1345
|
+
*/
|
|
1346
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* Creates a BusinessBroadcastListAction message from a plain object. Also converts values to their respective internal types.
|
|
1350
|
+
* @param object Plain object
|
|
1351
|
+
* @returns BusinessBroadcastListAction
|
|
1352
|
+
*/
|
|
1353
|
+
public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.BusinessBroadcastListAction;
|
|
1354
|
+
|
|
1355
|
+
/**
|
|
1356
|
+
* Creates a plain object from a BusinessBroadcastListAction message. Also converts values to other types if specified.
|
|
1357
|
+
* @param message BusinessBroadcastListAction
|
|
1358
|
+
* @param [options] Conversion options
|
|
1359
|
+
* @returns Plain object
|
|
1360
|
+
*/
|
|
1361
|
+
public static toObject(message: SyncAction.SyncActionValue.BusinessBroadcastListAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1362
|
+
|
|
1363
|
+
/**
|
|
1364
|
+
* Converts this BusinessBroadcastListAction to JSON.
|
|
1365
|
+
* @returns JSON object
|
|
1366
|
+
*/
|
|
1367
|
+
public toJSON(): { [k: string]: any };
|
|
1368
|
+
|
|
1369
|
+
/**
|
|
1370
|
+
* Gets the default type url for BusinessBroadcastListAction
|
|
1371
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1372
|
+
* @returns The default type url
|
|
1373
|
+
*/
|
|
1374
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1256
1377
|
/** Properties of a CallLogAction. */
|
|
1257
1378
|
interface ICallLogAction {
|
|
1258
1379
|
|
|
@@ -4200,6 +4321,103 @@ export namespace SyncAction {
|
|
|
4200
4321
|
}
|
|
4201
4322
|
}
|
|
4202
4323
|
|
|
4324
|
+
/** Properties of a MusicUserIdAction. */
|
|
4325
|
+
interface IMusicUserIdAction {
|
|
4326
|
+
|
|
4327
|
+
/** MusicUserIdAction musicUserId */
|
|
4328
|
+
musicUserId?: (string|null);
|
|
4329
|
+
}
|
|
4330
|
+
|
|
4331
|
+
/** Represents a MusicUserIdAction. */
|
|
4332
|
+
class MusicUserIdAction implements IMusicUserIdAction {
|
|
4333
|
+
|
|
4334
|
+
/**
|
|
4335
|
+
* Constructs a new MusicUserIdAction.
|
|
4336
|
+
* @param [properties] Properties to set
|
|
4337
|
+
*/
|
|
4338
|
+
constructor(properties?: SyncAction.SyncActionValue.IMusicUserIdAction);
|
|
4339
|
+
|
|
4340
|
+
/** MusicUserIdAction musicUserId. */
|
|
4341
|
+
public musicUserId: string;
|
|
4342
|
+
|
|
4343
|
+
/**
|
|
4344
|
+
* Creates a new MusicUserIdAction instance using the specified properties.
|
|
4345
|
+
* @param [properties] Properties to set
|
|
4346
|
+
* @returns MusicUserIdAction instance
|
|
4347
|
+
*/
|
|
4348
|
+
public static create(properties?: SyncAction.SyncActionValue.IMusicUserIdAction): SyncAction.SyncActionValue.MusicUserIdAction;
|
|
4349
|
+
|
|
4350
|
+
/**
|
|
4351
|
+
* Encodes the specified MusicUserIdAction message. Does not implicitly {@link SyncAction.SyncActionValue.MusicUserIdAction.verify|verify} messages.
|
|
4352
|
+
* @param message MusicUserIdAction message or plain object to encode
|
|
4353
|
+
* @param [writer] Writer to encode to
|
|
4354
|
+
* @returns Writer
|
|
4355
|
+
*/
|
|
4356
|
+
public static encode(message: SyncAction.SyncActionValue.IMusicUserIdAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4357
|
+
|
|
4358
|
+
/**
|
|
4359
|
+
* Encodes the specified MusicUserIdAction message, length delimited. Does not implicitly {@link SyncAction.SyncActionValue.MusicUserIdAction.verify|verify} messages.
|
|
4360
|
+
* @param message MusicUserIdAction message or plain object to encode
|
|
4361
|
+
* @param [writer] Writer to encode to
|
|
4362
|
+
* @returns Writer
|
|
4363
|
+
*/
|
|
4364
|
+
public static encodeDelimited(message: SyncAction.SyncActionValue.IMusicUserIdAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4365
|
+
|
|
4366
|
+
/**
|
|
4367
|
+
* Decodes a MusicUserIdAction message from the specified reader or buffer.
|
|
4368
|
+
* @param reader Reader or buffer to decode from
|
|
4369
|
+
* @param [length] Message length if known beforehand
|
|
4370
|
+
* @returns MusicUserIdAction
|
|
4371
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4372
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4373
|
+
*/
|
|
4374
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.MusicUserIdAction;
|
|
4375
|
+
|
|
4376
|
+
/**
|
|
4377
|
+
* Decodes a MusicUserIdAction message from the specified reader or buffer, length delimited.
|
|
4378
|
+
* @param reader Reader or buffer to decode from
|
|
4379
|
+
* @returns MusicUserIdAction
|
|
4380
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4381
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4382
|
+
*/
|
|
4383
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.MusicUserIdAction;
|
|
4384
|
+
|
|
4385
|
+
/**
|
|
4386
|
+
* Verifies a MusicUserIdAction message.
|
|
4387
|
+
* @param message Plain object to verify
|
|
4388
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4389
|
+
*/
|
|
4390
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4391
|
+
|
|
4392
|
+
/**
|
|
4393
|
+
* Creates a MusicUserIdAction message from a plain object. Also converts values to their respective internal types.
|
|
4394
|
+
* @param object Plain object
|
|
4395
|
+
* @returns MusicUserIdAction
|
|
4396
|
+
*/
|
|
4397
|
+
public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.MusicUserIdAction;
|
|
4398
|
+
|
|
4399
|
+
/**
|
|
4400
|
+
* Creates a plain object from a MusicUserIdAction message. Also converts values to other types if specified.
|
|
4401
|
+
* @param message MusicUserIdAction
|
|
4402
|
+
* @param [options] Conversion options
|
|
4403
|
+
* @returns Plain object
|
|
4404
|
+
*/
|
|
4405
|
+
public static toObject(message: SyncAction.SyncActionValue.MusicUserIdAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4406
|
+
|
|
4407
|
+
/**
|
|
4408
|
+
* Converts this MusicUserIdAction to JSON.
|
|
4409
|
+
* @returns JSON object
|
|
4410
|
+
*/
|
|
4411
|
+
public toJSON(): { [k: string]: any };
|
|
4412
|
+
|
|
4413
|
+
/**
|
|
4414
|
+
* Gets the default type url for MusicUserIdAction
|
|
4415
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4416
|
+
* @returns The default type url
|
|
4417
|
+
*/
|
|
4418
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4419
|
+
}
|
|
4420
|
+
|
|
4203
4421
|
/** Properties of a MuteAction. */
|
|
4204
4422
|
interface IMuteAction {
|
|
4205
4423
|
|
|
@@ -6285,6 +6503,12 @@ export namespace SyncAction {
|
|
|
6285
6503
|
|
|
6286
6504
|
/** StickerAction isLottie */
|
|
6287
6505
|
isLottie?: (boolean|null);
|
|
6506
|
+
|
|
6507
|
+
/** StickerAction imageHash */
|
|
6508
|
+
imageHash?: (string|null);
|
|
6509
|
+
|
|
6510
|
+
/** StickerAction isAvatarSticker */
|
|
6511
|
+
isAvatarSticker?: (boolean|null);
|
|
6288
6512
|
}
|
|
6289
6513
|
|
|
6290
6514
|
/** Represents a StickerAction. */
|
|
@@ -6329,6 +6553,12 @@ export namespace SyncAction {
|
|
|
6329
6553
|
/** StickerAction isLottie. */
|
|
6330
6554
|
public isLottie: boolean;
|
|
6331
6555
|
|
|
6556
|
+
/** StickerAction imageHash. */
|
|
6557
|
+
public imageHash: string;
|
|
6558
|
+
|
|
6559
|
+
/** StickerAction isAvatarSticker. */
|
|
6560
|
+
public isAvatarSticker: boolean;
|
|
6561
|
+
|
|
6332
6562
|
/**
|
|
6333
6563
|
* Creates a new StickerAction instance using the specified properties.
|
|
6334
6564
|
* @param [properties] Properties to set
|