@inline-chat/protocol 0.0.1 → 0.0.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/README.md +0 -2
- package/dist/core.d.ts +483 -1
- package/dist/core.js +918 -26
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -2
- package/package.json +6 -10
- package/dist/client.d.ts +0 -35
- package/dist/client.js +0 -67
- package/dist/server.d.ts +0 -630
- package/dist/server.js +0 -1287
- package/dist/src/core.d.ts +0 -5872
- package/dist/src/server.d.ts +0 -630
package/README.md
CHANGED
package/dist/core.d.ts
CHANGED
|
@@ -409,6 +409,10 @@ export interface Dialog {
|
|
|
409
409
|
* @generated from protobuf field: optional bool unread_mark = 8;
|
|
410
410
|
*/
|
|
411
411
|
unreadMark?: boolean;
|
|
412
|
+
/**
|
|
413
|
+
* @generated from protobuf field: optional DialogNotificationSettings notification_settings = 9;
|
|
414
|
+
*/
|
|
415
|
+
notificationSettings?: DialogNotificationSettings;
|
|
412
416
|
}
|
|
413
417
|
/**
|
|
414
418
|
* A thread
|
|
@@ -1686,6 +1690,30 @@ export interface RpcCall {
|
|
|
1686
1690
|
* @generated from protobuf field: UpdateBotProfileInput updateBotProfile = 38;
|
|
1687
1691
|
*/
|
|
1688
1692
|
updateBotProfile: UpdateBotProfileInput;
|
|
1693
|
+
} | {
|
|
1694
|
+
oneofKind: "getMessages";
|
|
1695
|
+
/**
|
|
1696
|
+
* @generated from protobuf field: GetMessagesInput getMessages = 39;
|
|
1697
|
+
*/
|
|
1698
|
+
getMessages: GetMessagesInput;
|
|
1699
|
+
} | {
|
|
1700
|
+
oneofKind: "updateDialogNotificationSettings";
|
|
1701
|
+
/**
|
|
1702
|
+
* @generated from protobuf field: UpdateDialogNotificationSettingsInput updateDialogNotificationSettings = 40;
|
|
1703
|
+
*/
|
|
1704
|
+
updateDialogNotificationSettings: UpdateDialogNotificationSettingsInput;
|
|
1705
|
+
} | {
|
|
1706
|
+
oneofKind: "readMessages";
|
|
1707
|
+
/**
|
|
1708
|
+
* @generated from protobuf field: ReadMessagesInput readMessages = 41;
|
|
1709
|
+
*/
|
|
1710
|
+
readMessages: ReadMessagesInput;
|
|
1711
|
+
} | {
|
|
1712
|
+
oneofKind: "updatePushNotificationDetails";
|
|
1713
|
+
/**
|
|
1714
|
+
* @generated from protobuf field: UpdatePushNotificationDetailsInput updatePushNotificationDetails = 42;
|
|
1715
|
+
*/
|
|
1716
|
+
updatePushNotificationDetails: UpdatePushNotificationDetailsInput;
|
|
1689
1717
|
} | {
|
|
1690
1718
|
oneofKind: undefined;
|
|
1691
1719
|
};
|
|
@@ -1923,6 +1951,30 @@ export interface RpcResult {
|
|
|
1923
1951
|
* @generated from protobuf field: UpdateBotProfileResult updateBotProfile = 38;
|
|
1924
1952
|
*/
|
|
1925
1953
|
updateBotProfile: UpdateBotProfileResult;
|
|
1954
|
+
} | {
|
|
1955
|
+
oneofKind: "getMessages";
|
|
1956
|
+
/**
|
|
1957
|
+
* @generated from protobuf field: GetMessagesResult getMessages = 39;
|
|
1958
|
+
*/
|
|
1959
|
+
getMessages: GetMessagesResult;
|
|
1960
|
+
} | {
|
|
1961
|
+
oneofKind: "updateDialogNotificationSettings";
|
|
1962
|
+
/**
|
|
1963
|
+
* @generated from protobuf field: UpdateDialogNotificationSettingsResult updateDialogNotificationSettings = 40;
|
|
1964
|
+
*/
|
|
1965
|
+
updateDialogNotificationSettings: UpdateDialogNotificationSettingsResult;
|
|
1966
|
+
} | {
|
|
1967
|
+
oneofKind: "readMessages";
|
|
1968
|
+
/**
|
|
1969
|
+
* @generated from protobuf field: ReadMessagesResult readMessages = 41;
|
|
1970
|
+
*/
|
|
1971
|
+
readMessages: ReadMessagesResult;
|
|
1972
|
+
} | {
|
|
1973
|
+
oneofKind: "updatePushNotificationDetails";
|
|
1974
|
+
/**
|
|
1975
|
+
* @generated from protobuf field: UpdatePushNotificationDetailsResult updatePushNotificationDetails = 42;
|
|
1976
|
+
*/
|
|
1977
|
+
updatePushNotificationDetails: UpdatePushNotificationDetailsResult;
|
|
1926
1978
|
} | {
|
|
1927
1979
|
oneofKind: undefined;
|
|
1928
1980
|
};
|
|
@@ -2197,6 +2249,34 @@ export interface MarkAsUnreadResult {
|
|
|
2197
2249
|
*/
|
|
2198
2250
|
updates: Update[];
|
|
2199
2251
|
}
|
|
2252
|
+
/**
|
|
2253
|
+
* Read dialog history up to max_id (Telegram-style: peer + optional max_id).
|
|
2254
|
+
*
|
|
2255
|
+
* @generated from protobuf message ReadMessagesInput
|
|
2256
|
+
*/
|
|
2257
|
+
export interface ReadMessagesInput {
|
|
2258
|
+
/**
|
|
2259
|
+
* Peer ID to mark as read
|
|
2260
|
+
*
|
|
2261
|
+
* @generated from protobuf field: InputPeer peer_id = 1;
|
|
2262
|
+
*/
|
|
2263
|
+
peerId?: InputPeer;
|
|
2264
|
+
/**
|
|
2265
|
+
* If unset, server resolves to the latest message id for the peer.
|
|
2266
|
+
*
|
|
2267
|
+
* @generated from protobuf field: optional int64 max_id = 2;
|
|
2268
|
+
*/
|
|
2269
|
+
maxId?: bigint;
|
|
2270
|
+
}
|
|
2271
|
+
/**
|
|
2272
|
+
* @generated from protobuf message ReadMessagesResult
|
|
2273
|
+
*/
|
|
2274
|
+
export interface ReadMessagesResult {
|
|
2275
|
+
/**
|
|
2276
|
+
* @generated from protobuf field: repeated Update updates = 1;
|
|
2277
|
+
*/
|
|
2278
|
+
updates: Update[];
|
|
2279
|
+
}
|
|
2200
2280
|
/**
|
|
2201
2281
|
* @generated from protobuf message CreateBotInput
|
|
2202
2282
|
*/
|
|
@@ -2408,6 +2488,36 @@ export declare enum NotificationSettings_Mode {
|
|
|
2408
2488
|
*/
|
|
2409
2489
|
ONLY_MENTIONS = 5
|
|
2410
2490
|
}
|
|
2491
|
+
/**
|
|
2492
|
+
* @generated from protobuf message DialogNotificationSettings
|
|
2493
|
+
*/
|
|
2494
|
+
export interface DialogNotificationSettings {
|
|
2495
|
+
/**
|
|
2496
|
+
* @generated from protobuf field: optional DialogNotificationSettings.Mode mode = 1;
|
|
2497
|
+
*/
|
|
2498
|
+
mode?: DialogNotificationSettings_Mode;
|
|
2499
|
+
}
|
|
2500
|
+
/**
|
|
2501
|
+
* @generated from protobuf enum DialogNotificationSettings.Mode
|
|
2502
|
+
*/
|
|
2503
|
+
export declare enum DialogNotificationSettings_Mode {
|
|
2504
|
+
/**
|
|
2505
|
+
* @generated from protobuf enum value: MODE_UNSPECIFIED = 0;
|
|
2506
|
+
*/
|
|
2507
|
+
UNSPECIFIED = 0,
|
|
2508
|
+
/**
|
|
2509
|
+
* @generated from protobuf enum value: MODE_ALL = 1;
|
|
2510
|
+
*/
|
|
2511
|
+
ALL = 1,
|
|
2512
|
+
/**
|
|
2513
|
+
* @generated from protobuf enum value: MODE_MENTIONS = 2;
|
|
2514
|
+
*/
|
|
2515
|
+
MENTIONS = 2,
|
|
2516
|
+
/**
|
|
2517
|
+
* @generated from protobuf enum value: MODE_NONE = 3;
|
|
2518
|
+
*/
|
|
2519
|
+
NONE = 3
|
|
2520
|
+
}
|
|
2411
2521
|
/**
|
|
2412
2522
|
* @generated from protobuf message UpdateUserSettingsInput
|
|
2413
2523
|
*/
|
|
@@ -2426,6 +2536,32 @@ export interface UpdateUserSettingsResult {
|
|
|
2426
2536
|
*/
|
|
2427
2537
|
updates: Update[];
|
|
2428
2538
|
}
|
|
2539
|
+
/**
|
|
2540
|
+
* @generated from protobuf message UpdateDialogNotificationSettingsInput
|
|
2541
|
+
*/
|
|
2542
|
+
export interface UpdateDialogNotificationSettingsInput {
|
|
2543
|
+
/**
|
|
2544
|
+
* Peer to update settings for
|
|
2545
|
+
*
|
|
2546
|
+
* @generated from protobuf field: InputPeer peer_id = 1;
|
|
2547
|
+
*/
|
|
2548
|
+
peerId?: InputPeer;
|
|
2549
|
+
/**
|
|
2550
|
+
* If unset, chat follows global notification settings
|
|
2551
|
+
*
|
|
2552
|
+
* @generated from protobuf field: optional DialogNotificationSettings notification_settings = 2;
|
|
2553
|
+
*/
|
|
2554
|
+
notificationSettings?: DialogNotificationSettings;
|
|
2555
|
+
}
|
|
2556
|
+
/**
|
|
2557
|
+
* @generated from protobuf message UpdateDialogNotificationSettingsResult
|
|
2558
|
+
*/
|
|
2559
|
+
export interface UpdateDialogNotificationSettingsResult {
|
|
2560
|
+
/**
|
|
2561
|
+
* @generated from protobuf field: repeated Update updates = 1;
|
|
2562
|
+
*/
|
|
2563
|
+
updates: Update[];
|
|
2564
|
+
}
|
|
2429
2565
|
/**
|
|
2430
2566
|
* @generated from protobuf message SendComposeActionInput
|
|
2431
2567
|
*/
|
|
@@ -2448,6 +2584,130 @@ export interface SendComposeActionInput {
|
|
|
2448
2584
|
*/
|
|
2449
2585
|
export interface SendComposeActionResult {
|
|
2450
2586
|
}
|
|
2587
|
+
/**
|
|
2588
|
+
* @generated from protobuf message PushContentEncryptionKey
|
|
2589
|
+
*/
|
|
2590
|
+
export interface PushContentEncryptionKey {
|
|
2591
|
+
/**
|
|
2592
|
+
* Raw public key bytes for the receiving device/session.
|
|
2593
|
+
*
|
|
2594
|
+
* @generated from protobuf field: bytes public_key = 1;
|
|
2595
|
+
*/
|
|
2596
|
+
publicKey: Uint8Array;
|
|
2597
|
+
/**
|
|
2598
|
+
* Optional key identifier to support rotation and debugging.
|
|
2599
|
+
*
|
|
2600
|
+
* @generated from protobuf field: optional string key_id = 2;
|
|
2601
|
+
*/
|
|
2602
|
+
keyId?: string;
|
|
2603
|
+
/**
|
|
2604
|
+
* Public-key algorithm/cipher-suite descriptor.
|
|
2605
|
+
*
|
|
2606
|
+
* @generated from protobuf field: PushContentEncryptionKey.Algorithm algorithm = 3;
|
|
2607
|
+
*/
|
|
2608
|
+
algorithm: PushContentEncryptionKey_Algorithm;
|
|
2609
|
+
}
|
|
2610
|
+
/**
|
|
2611
|
+
* @generated from protobuf enum PushContentEncryptionKey.Algorithm
|
|
2612
|
+
*/
|
|
2613
|
+
export declare enum PushContentEncryptionKey_Algorithm {
|
|
2614
|
+
/**
|
|
2615
|
+
* @generated from protobuf enum value: ALGORITHM_UNSPECIFIED = 0;
|
|
2616
|
+
*/
|
|
2617
|
+
UNSPECIFIED = 0,
|
|
2618
|
+
/**
|
|
2619
|
+
* @generated from protobuf enum value: ALGORITHM_X25519_HKDF_SHA256_AES256_GCM = 1;
|
|
2620
|
+
*/
|
|
2621
|
+
X25519_HKDF_SHA256_AES256_GCM = 1
|
|
2622
|
+
}
|
|
2623
|
+
/**
|
|
2624
|
+
* @generated from protobuf message ApnsNotificationMethod
|
|
2625
|
+
*/
|
|
2626
|
+
export interface ApnsNotificationMethod {
|
|
2627
|
+
/**
|
|
2628
|
+
* APNs device token.
|
|
2629
|
+
*
|
|
2630
|
+
* @generated from protobuf field: string device_token = 1;
|
|
2631
|
+
*/
|
|
2632
|
+
deviceToken: string;
|
|
2633
|
+
}
|
|
2634
|
+
/**
|
|
2635
|
+
* @generated from protobuf message ExpoAndroidNotificationMethod
|
|
2636
|
+
*/
|
|
2637
|
+
export interface ExpoAndroidNotificationMethod {
|
|
2638
|
+
/**
|
|
2639
|
+
* Expo push token (ExponentPushToken[...] format).
|
|
2640
|
+
*
|
|
2641
|
+
* @generated from protobuf field: string expo_push_token = 1;
|
|
2642
|
+
*/
|
|
2643
|
+
expoPushToken: string;
|
|
2644
|
+
}
|
|
2645
|
+
/**
|
|
2646
|
+
* @generated from protobuf message PushNotificationMethod
|
|
2647
|
+
*/
|
|
2648
|
+
export interface PushNotificationMethod {
|
|
2649
|
+
/**
|
|
2650
|
+
* Selected push transport/provider for the session.
|
|
2651
|
+
*
|
|
2652
|
+
* @generated from protobuf field: PushNotificationProvider provider = 1;
|
|
2653
|
+
*/
|
|
2654
|
+
provider: PushNotificationProvider;
|
|
2655
|
+
/**
|
|
2656
|
+
* @generated from protobuf oneof: method
|
|
2657
|
+
*/
|
|
2658
|
+
method: {
|
|
2659
|
+
oneofKind: "apns";
|
|
2660
|
+
/**
|
|
2661
|
+
* @generated from protobuf field: ApnsNotificationMethod apns = 2;
|
|
2662
|
+
*/
|
|
2663
|
+
apns: ApnsNotificationMethod;
|
|
2664
|
+
} | {
|
|
2665
|
+
oneofKind: "expoAndroid";
|
|
2666
|
+
/**
|
|
2667
|
+
* @generated from protobuf field: ExpoAndroidNotificationMethod expo_android = 3;
|
|
2668
|
+
*/
|
|
2669
|
+
expoAndroid: ExpoAndroidNotificationMethod;
|
|
2670
|
+
} | {
|
|
2671
|
+
oneofKind: undefined;
|
|
2672
|
+
};
|
|
2673
|
+
}
|
|
2674
|
+
/**
|
|
2675
|
+
* Register/update push notification details for the current session.
|
|
2676
|
+
*
|
|
2677
|
+
* @generated from protobuf message UpdatePushNotificationDetailsInput
|
|
2678
|
+
*/
|
|
2679
|
+
export interface UpdatePushNotificationDetailsInput {
|
|
2680
|
+
/**
|
|
2681
|
+
* Legacy APNs token for old clients. Kept for gradual migration/fallback.
|
|
2682
|
+
*
|
|
2683
|
+
* @deprecated
|
|
2684
|
+
* @generated from protobuf field: string apple_push_token = 1 [deprecated = true];
|
|
2685
|
+
*/
|
|
2686
|
+
applePushToken: string;
|
|
2687
|
+
/**
|
|
2688
|
+
* Optional metadata for encrypted push content rollout.
|
|
2689
|
+
*
|
|
2690
|
+
* @generated from protobuf field: optional PushContentEncryptionKey push_content_encryption_key = 2;
|
|
2691
|
+
*/
|
|
2692
|
+
pushContentEncryptionKey?: PushContentEncryptionKey;
|
|
2693
|
+
/**
|
|
2694
|
+
* Optional encrypted payload schema version/capability marker.
|
|
2695
|
+
*
|
|
2696
|
+
* @generated from protobuf field: optional uint32 push_content_version = 3;
|
|
2697
|
+
*/
|
|
2698
|
+
pushContentVersion?: number;
|
|
2699
|
+
/**
|
|
2700
|
+
* New provider-specific method payload.
|
|
2701
|
+
*
|
|
2702
|
+
* @generated from protobuf field: optional PushNotificationMethod notification_method = 4;
|
|
2703
|
+
*/
|
|
2704
|
+
notificationMethod?: PushNotificationMethod;
|
|
2705
|
+
}
|
|
2706
|
+
/**
|
|
2707
|
+
* @generated from protobuf message UpdatePushNotificationDetailsResult
|
|
2708
|
+
*/
|
|
2709
|
+
export interface UpdatePushNotificationDetailsResult {
|
|
2710
|
+
}
|
|
2451
2711
|
/**
|
|
2452
2712
|
* @generated from protobuf message GetChatsInput
|
|
2453
2713
|
*/
|
|
@@ -2865,6 +3125,30 @@ export interface GetChatHistoryResult {
|
|
|
2865
3125
|
*/
|
|
2866
3126
|
messages: Message[];
|
|
2867
3127
|
}
|
|
3128
|
+
/**
|
|
3129
|
+
* @generated from protobuf message GetMessagesInput
|
|
3130
|
+
*/
|
|
3131
|
+
export interface GetMessagesInput {
|
|
3132
|
+
/**
|
|
3133
|
+
* @generated from protobuf field: InputPeer peer_id = 1;
|
|
3134
|
+
*/
|
|
3135
|
+
peerId?: InputPeer;
|
|
3136
|
+
/**
|
|
3137
|
+
* Message IDs to fetch from the given peer/chat.
|
|
3138
|
+
*
|
|
3139
|
+
* @generated from protobuf field: repeated int64 message_ids = 2;
|
|
3140
|
+
*/
|
|
3141
|
+
messageIds: bigint[];
|
|
3142
|
+
}
|
|
3143
|
+
/**
|
|
3144
|
+
* @generated from protobuf message GetMessagesResult
|
|
3145
|
+
*/
|
|
3146
|
+
export interface GetMessagesResult {
|
|
3147
|
+
/**
|
|
3148
|
+
* @generated from protobuf field: repeated Message messages = 1;
|
|
3149
|
+
*/
|
|
3150
|
+
messages: Message[];
|
|
3151
|
+
}
|
|
2868
3152
|
/**
|
|
2869
3153
|
* @generated from protobuf message SearchMessagesInput
|
|
2870
3154
|
*/
|
|
@@ -3185,6 +3469,12 @@ export interface Update {
|
|
|
3185
3469
|
* @generated from protobuf field: UpdateChatMoved chat_moved = 32;
|
|
3186
3470
|
*/
|
|
3187
3471
|
chatMoved: UpdateChatMoved;
|
|
3472
|
+
} | {
|
|
3473
|
+
oneofKind: "dialogNotificationSettings";
|
|
3474
|
+
/**
|
|
3475
|
+
* @generated from protobuf field: UpdateDialogNotificationSettings dialog_notification_settings = 33;
|
|
3476
|
+
*/
|
|
3477
|
+
dialogNotificationSettings: UpdateDialogNotificationSettings;
|
|
3188
3478
|
} | {
|
|
3189
3479
|
oneofKind: undefined;
|
|
3190
3480
|
};
|
|
@@ -3488,6 +3778,25 @@ export interface UpdateDialogArchived {
|
|
|
3488
3778
|
*/
|
|
3489
3779
|
archived: boolean;
|
|
3490
3780
|
}
|
|
3781
|
+
/**
|
|
3782
|
+
* Update when per-chat notification settings change
|
|
3783
|
+
*
|
|
3784
|
+
* @generated from protobuf message UpdateDialogNotificationSettings
|
|
3785
|
+
*/
|
|
3786
|
+
export interface UpdateDialogNotificationSettings {
|
|
3787
|
+
/**
|
|
3788
|
+
* Peer ID of the dialog that changed
|
|
3789
|
+
*
|
|
3790
|
+
* @generated from protobuf field: Peer peer_id = 1;
|
|
3791
|
+
*/
|
|
3792
|
+
peerId?: Peer;
|
|
3793
|
+
/**
|
|
3794
|
+
* If unset, chat follows global notification settings
|
|
3795
|
+
*
|
|
3796
|
+
* @generated from protobuf field: optional DialogNotificationSettings notification_settings = 2;
|
|
3797
|
+
*/
|
|
3798
|
+
notificationSettings?: DialogNotificationSettings;
|
|
3799
|
+
}
|
|
3491
3800
|
/**
|
|
3492
3801
|
* Update when a new chat is created either in space or a private chat
|
|
3493
3802
|
*
|
|
@@ -4240,7 +4549,40 @@ export declare enum Method {
|
|
|
4240
4549
|
/**
|
|
4241
4550
|
* @generated from protobuf enum value: UPDATE_BOT_PROFILE = 37;
|
|
4242
4551
|
*/
|
|
4243
|
-
UPDATE_BOT_PROFILE = 37
|
|
4552
|
+
UPDATE_BOT_PROFILE = 37,
|
|
4553
|
+
/**
|
|
4554
|
+
* @generated from protobuf enum value: GET_MESSAGES = 38;
|
|
4555
|
+
*/
|
|
4556
|
+
GET_MESSAGES = 38,
|
|
4557
|
+
/**
|
|
4558
|
+
* @generated from protobuf enum value: UPDATE_DIALOG_NOTIFICATION_SETTINGS = 39;
|
|
4559
|
+
*/
|
|
4560
|
+
UPDATE_DIALOG_NOTIFICATION_SETTINGS = 39,
|
|
4561
|
+
/**
|
|
4562
|
+
* @generated from protobuf enum value: READ_MESSAGES = 40;
|
|
4563
|
+
*/
|
|
4564
|
+
READ_MESSAGES = 40,
|
|
4565
|
+
/**
|
|
4566
|
+
* @generated from protobuf enum value: UPDATE_PUSH_NOTIFICATION_DETAILS = 41;
|
|
4567
|
+
*/
|
|
4568
|
+
UPDATE_PUSH_NOTIFICATION_DETAILS = 41
|
|
4569
|
+
}
|
|
4570
|
+
/**
|
|
4571
|
+
* @generated from protobuf enum PushNotificationProvider
|
|
4572
|
+
*/
|
|
4573
|
+
export declare enum PushNotificationProvider {
|
|
4574
|
+
/**
|
|
4575
|
+
* @generated from protobuf enum value: PUSH_NOTIFICATION_PROVIDER_UNSPECIFIED = 0;
|
|
4576
|
+
*/
|
|
4577
|
+
UNSPECIFIED = 0,
|
|
4578
|
+
/**
|
|
4579
|
+
* @generated from protobuf enum value: PUSH_NOTIFICATION_PROVIDER_APNS = 1;
|
|
4580
|
+
*/
|
|
4581
|
+
APNS = 1,
|
|
4582
|
+
/**
|
|
4583
|
+
* @generated from protobuf enum value: PUSH_NOTIFICATION_PROVIDER_EXPO_ANDROID = 2;
|
|
4584
|
+
*/
|
|
4585
|
+
EXPO_ANDROID = 2
|
|
4244
4586
|
}
|
|
4245
4587
|
/**
|
|
4246
4588
|
* @generated from protobuf enum SearchMessagesFilter
|
|
@@ -4951,6 +5293,26 @@ declare class MarkAsUnreadResult$Type extends MessageType<MarkAsUnreadResult> {
|
|
|
4951
5293
|
* @generated MessageType for protobuf message MarkAsUnreadResult
|
|
4952
5294
|
*/
|
|
4953
5295
|
export declare const MarkAsUnreadResult: MarkAsUnreadResult$Type;
|
|
5296
|
+
declare class ReadMessagesInput$Type extends MessageType<ReadMessagesInput> {
|
|
5297
|
+
constructor();
|
|
5298
|
+
create(value?: PartialMessage<ReadMessagesInput>): ReadMessagesInput;
|
|
5299
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReadMessagesInput): ReadMessagesInput;
|
|
5300
|
+
internalBinaryWrite(message: ReadMessagesInput, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5301
|
+
}
|
|
5302
|
+
/**
|
|
5303
|
+
* @generated MessageType for protobuf message ReadMessagesInput
|
|
5304
|
+
*/
|
|
5305
|
+
export declare const ReadMessagesInput: ReadMessagesInput$Type;
|
|
5306
|
+
declare class ReadMessagesResult$Type extends MessageType<ReadMessagesResult> {
|
|
5307
|
+
constructor();
|
|
5308
|
+
create(value?: PartialMessage<ReadMessagesResult>): ReadMessagesResult;
|
|
5309
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReadMessagesResult): ReadMessagesResult;
|
|
5310
|
+
internalBinaryWrite(message: ReadMessagesResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5311
|
+
}
|
|
5312
|
+
/**
|
|
5313
|
+
* @generated MessageType for protobuf message ReadMessagesResult
|
|
5314
|
+
*/
|
|
5315
|
+
export declare const ReadMessagesResult: ReadMessagesResult$Type;
|
|
4954
5316
|
declare class CreateBotInput$Type extends MessageType<CreateBotInput> {
|
|
4955
5317
|
constructor();
|
|
4956
5318
|
create(value?: PartialMessage<CreateBotInput>): CreateBotInput;
|
|
@@ -5091,6 +5453,16 @@ declare class NotificationSettings$Type extends MessageType<NotificationSettings
|
|
|
5091
5453
|
* @generated MessageType for protobuf message NotificationSettings
|
|
5092
5454
|
*/
|
|
5093
5455
|
export declare const NotificationSettings: NotificationSettings$Type;
|
|
5456
|
+
declare class DialogNotificationSettings$Type extends MessageType<DialogNotificationSettings> {
|
|
5457
|
+
constructor();
|
|
5458
|
+
create(value?: PartialMessage<DialogNotificationSettings>): DialogNotificationSettings;
|
|
5459
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DialogNotificationSettings): DialogNotificationSettings;
|
|
5460
|
+
internalBinaryWrite(message: DialogNotificationSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5461
|
+
}
|
|
5462
|
+
/**
|
|
5463
|
+
* @generated MessageType for protobuf message DialogNotificationSettings
|
|
5464
|
+
*/
|
|
5465
|
+
export declare const DialogNotificationSettings: DialogNotificationSettings$Type;
|
|
5094
5466
|
declare class UpdateUserSettingsInput$Type extends MessageType<UpdateUserSettingsInput> {
|
|
5095
5467
|
constructor();
|
|
5096
5468
|
create(value?: PartialMessage<UpdateUserSettingsInput>): UpdateUserSettingsInput;
|
|
@@ -5111,6 +5483,26 @@ declare class UpdateUserSettingsResult$Type extends MessageType<UpdateUserSettin
|
|
|
5111
5483
|
* @generated MessageType for protobuf message UpdateUserSettingsResult
|
|
5112
5484
|
*/
|
|
5113
5485
|
export declare const UpdateUserSettingsResult: UpdateUserSettingsResult$Type;
|
|
5486
|
+
declare class UpdateDialogNotificationSettingsInput$Type extends MessageType<UpdateDialogNotificationSettingsInput> {
|
|
5487
|
+
constructor();
|
|
5488
|
+
create(value?: PartialMessage<UpdateDialogNotificationSettingsInput>): UpdateDialogNotificationSettingsInput;
|
|
5489
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateDialogNotificationSettingsInput): UpdateDialogNotificationSettingsInput;
|
|
5490
|
+
internalBinaryWrite(message: UpdateDialogNotificationSettingsInput, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5491
|
+
}
|
|
5492
|
+
/**
|
|
5493
|
+
* @generated MessageType for protobuf message UpdateDialogNotificationSettingsInput
|
|
5494
|
+
*/
|
|
5495
|
+
export declare const UpdateDialogNotificationSettingsInput: UpdateDialogNotificationSettingsInput$Type;
|
|
5496
|
+
declare class UpdateDialogNotificationSettingsResult$Type extends MessageType<UpdateDialogNotificationSettingsResult> {
|
|
5497
|
+
constructor();
|
|
5498
|
+
create(value?: PartialMessage<UpdateDialogNotificationSettingsResult>): UpdateDialogNotificationSettingsResult;
|
|
5499
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateDialogNotificationSettingsResult): UpdateDialogNotificationSettingsResult;
|
|
5500
|
+
internalBinaryWrite(message: UpdateDialogNotificationSettingsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5501
|
+
}
|
|
5502
|
+
/**
|
|
5503
|
+
* @generated MessageType for protobuf message UpdateDialogNotificationSettingsResult
|
|
5504
|
+
*/
|
|
5505
|
+
export declare const UpdateDialogNotificationSettingsResult: UpdateDialogNotificationSettingsResult$Type;
|
|
5114
5506
|
declare class SendComposeActionInput$Type extends MessageType<SendComposeActionInput> {
|
|
5115
5507
|
constructor();
|
|
5116
5508
|
create(value?: PartialMessage<SendComposeActionInput>): SendComposeActionInput;
|
|
@@ -5131,6 +5523,66 @@ declare class SendComposeActionResult$Type extends MessageType<SendComposeAction
|
|
|
5131
5523
|
* @generated MessageType for protobuf message SendComposeActionResult
|
|
5132
5524
|
*/
|
|
5133
5525
|
export declare const SendComposeActionResult: SendComposeActionResult$Type;
|
|
5526
|
+
declare class PushContentEncryptionKey$Type extends MessageType<PushContentEncryptionKey> {
|
|
5527
|
+
constructor();
|
|
5528
|
+
create(value?: PartialMessage<PushContentEncryptionKey>): PushContentEncryptionKey;
|
|
5529
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PushContentEncryptionKey): PushContentEncryptionKey;
|
|
5530
|
+
internalBinaryWrite(message: PushContentEncryptionKey, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5531
|
+
}
|
|
5532
|
+
/**
|
|
5533
|
+
* @generated MessageType for protobuf message PushContentEncryptionKey
|
|
5534
|
+
*/
|
|
5535
|
+
export declare const PushContentEncryptionKey: PushContentEncryptionKey$Type;
|
|
5536
|
+
declare class ApnsNotificationMethod$Type extends MessageType<ApnsNotificationMethod> {
|
|
5537
|
+
constructor();
|
|
5538
|
+
create(value?: PartialMessage<ApnsNotificationMethod>): ApnsNotificationMethod;
|
|
5539
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ApnsNotificationMethod): ApnsNotificationMethod;
|
|
5540
|
+
internalBinaryWrite(message: ApnsNotificationMethod, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5541
|
+
}
|
|
5542
|
+
/**
|
|
5543
|
+
* @generated MessageType for protobuf message ApnsNotificationMethod
|
|
5544
|
+
*/
|
|
5545
|
+
export declare const ApnsNotificationMethod: ApnsNotificationMethod$Type;
|
|
5546
|
+
declare class ExpoAndroidNotificationMethod$Type extends MessageType<ExpoAndroidNotificationMethod> {
|
|
5547
|
+
constructor();
|
|
5548
|
+
create(value?: PartialMessage<ExpoAndroidNotificationMethod>): ExpoAndroidNotificationMethod;
|
|
5549
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExpoAndroidNotificationMethod): ExpoAndroidNotificationMethod;
|
|
5550
|
+
internalBinaryWrite(message: ExpoAndroidNotificationMethod, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5551
|
+
}
|
|
5552
|
+
/**
|
|
5553
|
+
* @generated MessageType for protobuf message ExpoAndroidNotificationMethod
|
|
5554
|
+
*/
|
|
5555
|
+
export declare const ExpoAndroidNotificationMethod: ExpoAndroidNotificationMethod$Type;
|
|
5556
|
+
declare class PushNotificationMethod$Type extends MessageType<PushNotificationMethod> {
|
|
5557
|
+
constructor();
|
|
5558
|
+
create(value?: PartialMessage<PushNotificationMethod>): PushNotificationMethod;
|
|
5559
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PushNotificationMethod): PushNotificationMethod;
|
|
5560
|
+
internalBinaryWrite(message: PushNotificationMethod, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5561
|
+
}
|
|
5562
|
+
/**
|
|
5563
|
+
* @generated MessageType for protobuf message PushNotificationMethod
|
|
5564
|
+
*/
|
|
5565
|
+
export declare const PushNotificationMethod: PushNotificationMethod$Type;
|
|
5566
|
+
declare class UpdatePushNotificationDetailsInput$Type extends MessageType<UpdatePushNotificationDetailsInput> {
|
|
5567
|
+
constructor();
|
|
5568
|
+
create(value?: PartialMessage<UpdatePushNotificationDetailsInput>): UpdatePushNotificationDetailsInput;
|
|
5569
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdatePushNotificationDetailsInput): UpdatePushNotificationDetailsInput;
|
|
5570
|
+
internalBinaryWrite(message: UpdatePushNotificationDetailsInput, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5571
|
+
}
|
|
5572
|
+
/**
|
|
5573
|
+
* @generated MessageType for protobuf message UpdatePushNotificationDetailsInput
|
|
5574
|
+
*/
|
|
5575
|
+
export declare const UpdatePushNotificationDetailsInput: UpdatePushNotificationDetailsInput$Type;
|
|
5576
|
+
declare class UpdatePushNotificationDetailsResult$Type extends MessageType<UpdatePushNotificationDetailsResult> {
|
|
5577
|
+
constructor();
|
|
5578
|
+
create(value?: PartialMessage<UpdatePushNotificationDetailsResult>): UpdatePushNotificationDetailsResult;
|
|
5579
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdatePushNotificationDetailsResult): UpdatePushNotificationDetailsResult;
|
|
5580
|
+
internalBinaryWrite(message: UpdatePushNotificationDetailsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5581
|
+
}
|
|
5582
|
+
/**
|
|
5583
|
+
* @generated MessageType for protobuf message UpdatePushNotificationDetailsResult
|
|
5584
|
+
*/
|
|
5585
|
+
export declare const UpdatePushNotificationDetailsResult: UpdatePushNotificationDetailsResult$Type;
|
|
5134
5586
|
declare class GetChatsInput$Type extends MessageType<GetChatsInput> {
|
|
5135
5587
|
constructor();
|
|
5136
5588
|
create(value?: PartialMessage<GetChatsInput>): GetChatsInput;
|
|
@@ -5371,6 +5823,26 @@ declare class GetChatHistoryResult$Type extends MessageType<GetChatHistoryResult
|
|
|
5371
5823
|
* @generated MessageType for protobuf message GetChatHistoryResult
|
|
5372
5824
|
*/
|
|
5373
5825
|
export declare const GetChatHistoryResult: GetChatHistoryResult$Type;
|
|
5826
|
+
declare class GetMessagesInput$Type extends MessageType<GetMessagesInput> {
|
|
5827
|
+
constructor();
|
|
5828
|
+
create(value?: PartialMessage<GetMessagesInput>): GetMessagesInput;
|
|
5829
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetMessagesInput): GetMessagesInput;
|
|
5830
|
+
internalBinaryWrite(message: GetMessagesInput, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5831
|
+
}
|
|
5832
|
+
/**
|
|
5833
|
+
* @generated MessageType for protobuf message GetMessagesInput
|
|
5834
|
+
*/
|
|
5835
|
+
export declare const GetMessagesInput: GetMessagesInput$Type;
|
|
5836
|
+
declare class GetMessagesResult$Type extends MessageType<GetMessagesResult> {
|
|
5837
|
+
constructor();
|
|
5838
|
+
create(value?: PartialMessage<GetMessagesResult>): GetMessagesResult;
|
|
5839
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetMessagesResult): GetMessagesResult;
|
|
5840
|
+
internalBinaryWrite(message: GetMessagesResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
5841
|
+
}
|
|
5842
|
+
/**
|
|
5843
|
+
* @generated MessageType for protobuf message GetMessagesResult
|
|
5844
|
+
*/
|
|
5845
|
+
export declare const GetMessagesResult: GetMessagesResult$Type;
|
|
5374
5846
|
declare class SearchMessagesInput$Type extends MessageType<SearchMessagesInput> {
|
|
5375
5847
|
constructor();
|
|
5376
5848
|
create(value?: PartialMessage<SearchMessagesInput>): SearchMessagesInput;
|
|
@@ -5611,6 +6083,16 @@ declare class UpdateDialogArchived$Type extends MessageType<UpdateDialogArchived
|
|
|
5611
6083
|
* @generated MessageType for protobuf message UpdateDialogArchived
|
|
5612
6084
|
*/
|
|
5613
6085
|
export declare const UpdateDialogArchived: UpdateDialogArchived$Type;
|
|
6086
|
+
declare class UpdateDialogNotificationSettings$Type extends MessageType<UpdateDialogNotificationSettings> {
|
|
6087
|
+
constructor();
|
|
6088
|
+
create(value?: PartialMessage<UpdateDialogNotificationSettings>): UpdateDialogNotificationSettings;
|
|
6089
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateDialogNotificationSettings): UpdateDialogNotificationSettings;
|
|
6090
|
+
internalBinaryWrite(message: UpdateDialogNotificationSettings, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
6091
|
+
}
|
|
6092
|
+
/**
|
|
6093
|
+
* @generated MessageType for protobuf message UpdateDialogNotificationSettings
|
|
6094
|
+
*/
|
|
6095
|
+
export declare const UpdateDialogNotificationSettings: UpdateDialogNotificationSettings$Type;
|
|
5614
6096
|
declare class UpdateNewChat$Type extends MessageType<UpdateNewChat> {
|
|
5615
6097
|
constructor();
|
|
5616
6098
|
create(value?: PartialMessage<UpdateNewChat>): UpdateNewChat;
|