cmd-control-client-lib 3.0.67 → 3.0.69
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.
|
@@ -22,8 +22,9 @@ export declare type channelIdType = {
|
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* Type that may or may not have `channelId` field
|
|
25
|
+
* ONLY channel ID, not other fields!
|
|
25
26
|
*/
|
|
26
|
-
export interface IMayHaveChannelId
|
|
27
|
+
export interface IMayHaveChannelId {
|
|
27
28
|
channelId?: string;
|
|
28
29
|
}
|
|
29
30
|
export declare type usrKeyType = {
|
|
@@ -318,24 +318,25 @@ export declare enum QueryUserKeyEnum {
|
|
|
318
318
|
SINGLE = "single",
|
|
319
319
|
SINGLEC2C = "singleC2C"
|
|
320
320
|
}
|
|
321
|
+
export interface IQueryUserParams extends IKeyMaybeValue {
|
|
322
|
+
queryId: string;
|
|
323
|
+
key: QueryUserKeyEnum;
|
|
324
|
+
caption: string;
|
|
325
|
+
text: string;
|
|
326
|
+
btn0: string;
|
|
327
|
+
btn1: string;
|
|
328
|
+
timeout: string;
|
|
329
|
+
sound: string;
|
|
330
|
+
btnDefault: EnumBooleanDigitized;
|
|
331
|
+
btndef: "btn0" | "btn1";
|
|
332
|
+
}
|
|
321
333
|
export declare class CMDC_QUERYUSER implements ICOMMAND {
|
|
322
334
|
action: ACTION;
|
|
323
|
-
params: IMayHaveChannelId &
|
|
324
|
-
queryId: string;
|
|
325
|
-
key: QueryUserKeyEnum;
|
|
326
|
-
caption: string;
|
|
327
|
-
text: string;
|
|
328
|
-
btn0: string;
|
|
329
|
-
btn1: string;
|
|
330
|
-
timeout: string;
|
|
331
|
-
sound: string;
|
|
332
|
-
btnDefault: EnumBooleanDigitized;
|
|
333
|
-
btndef: "btn0" | "btn1";
|
|
334
|
-
};
|
|
335
|
+
params: IMayHaveChannelId & IQueryUserParams;
|
|
335
336
|
}
|
|
336
337
|
export declare class CMDP_QUERYUSER implements ICOMMAND {
|
|
337
338
|
action: ACTION;
|
|
338
|
-
params: baseParamsType & chatIdType & {
|
|
339
|
+
params: baseParamsType & chatIdType & IMayHaveChannelId & {
|
|
339
340
|
key: QueryUserKeyEnum;
|
|
340
341
|
button: EnumBooleanDigitized;
|
|
341
342
|
queryId: string;
|