@google-apps/chat 0.11.0 → 0.13.0
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/CHANGELOG.md +14 -0
- package/build/protos/google/chat/v1/annotation.proto +13 -0
- package/build/protos/google/chat/v1/chat_service.proto +2 -4
- package/build/protos/google/chat/v1/deletion_metadata.proto +4 -0
- package/build/protos/google/chat/v1/reaction.proto +2 -2
- package/build/protos/google/chat/v1/slash_command.proto +1 -1
- package/build/protos/protos.d.ts +4328 -4223
- package/build/protos/protos.js +11565 -11308
- package/build/protos/protos.json +211 -199
- package/build/src/index.js +1 -1
- package/build/src/v1/chat_service_client.d.ts +8 -10
- package/build/src/v1/chat_service_client.js +7 -7
- package/build/src/v1/chat_service_client.js.map +1 -1
- package/build/src/v1/index.js +1 -1
- package/package.json +2 -2
package/build/protos/protos.json
CHANGED
|
@@ -2442,7 +2442,8 @@
|
|
|
2442
2442
|
"oneof": [
|
|
2443
2443
|
"userMention",
|
|
2444
2444
|
"slashCommand",
|
|
2445
|
-
"richLinkMetadata"
|
|
2445
|
+
"richLinkMetadata",
|
|
2446
|
+
"customEmojiMetadata"
|
|
2446
2447
|
]
|
|
2447
2448
|
}
|
|
2448
2449
|
},
|
|
@@ -2473,6 +2474,10 @@
|
|
|
2473
2474
|
"richLinkMetadata": {
|
|
2474
2475
|
"type": "RichLinkMetadata",
|
|
2475
2476
|
"id": 6
|
|
2477
|
+
},
|
|
2478
|
+
"customEmojiMetadata": {
|
|
2479
|
+
"type": "CustomEmojiMetadata",
|
|
2480
|
+
"id": 7
|
|
2476
2481
|
}
|
|
2477
2482
|
}
|
|
2478
2483
|
},
|
|
@@ -2567,6 +2572,14 @@
|
|
|
2567
2572
|
}
|
|
2568
2573
|
}
|
|
2569
2574
|
},
|
|
2575
|
+
"CustomEmojiMetadata": {
|
|
2576
|
+
"fields": {
|
|
2577
|
+
"customEmoji": {
|
|
2578
|
+
"type": "CustomEmoji",
|
|
2579
|
+
"id": 1
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
},
|
|
2570
2583
|
"DriveLinkData": {
|
|
2571
2584
|
"fields": {
|
|
2572
2585
|
"driveDataRef": {
|
|
@@ -2609,7 +2622,8 @@
|
|
|
2609
2622
|
"ANNOTATION_TYPE_UNSPECIFIED": 0,
|
|
2610
2623
|
"USER_MENTION": 1,
|
|
2611
2624
|
"SLASH_COMMAND": 2,
|
|
2612
|
-
"RICH_LINK": 3
|
|
2625
|
+
"RICH_LINK": 3,
|
|
2626
|
+
"CUSTOM_EMOJI": 4
|
|
2613
2627
|
}
|
|
2614
2628
|
},
|
|
2615
2629
|
"Attachment": {
|
|
@@ -2758,6 +2772,173 @@
|
|
|
2758
2772
|
}
|
|
2759
2773
|
}
|
|
2760
2774
|
},
|
|
2775
|
+
"Reaction": {
|
|
2776
|
+
"options": {
|
|
2777
|
+
"(google.api.resource).type": "chat.googleapis.com/Reaction",
|
|
2778
|
+
"(google.api.resource).pattern": "spaces/{space}/messages/{message}/reactions/{reaction}"
|
|
2779
|
+
},
|
|
2780
|
+
"fields": {
|
|
2781
|
+
"name": {
|
|
2782
|
+
"type": "string",
|
|
2783
|
+
"id": 1,
|
|
2784
|
+
"options": {
|
|
2785
|
+
"(google.api.field_behavior)": "IDENTIFIER"
|
|
2786
|
+
}
|
|
2787
|
+
},
|
|
2788
|
+
"user": {
|
|
2789
|
+
"type": "User",
|
|
2790
|
+
"id": 2,
|
|
2791
|
+
"options": {
|
|
2792
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
2793
|
+
}
|
|
2794
|
+
},
|
|
2795
|
+
"emoji": {
|
|
2796
|
+
"type": "Emoji",
|
|
2797
|
+
"id": 3,
|
|
2798
|
+
"options": {
|
|
2799
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
2800
|
+
}
|
|
2801
|
+
}
|
|
2802
|
+
}
|
|
2803
|
+
},
|
|
2804
|
+
"Emoji": {
|
|
2805
|
+
"oneofs": {
|
|
2806
|
+
"content": {
|
|
2807
|
+
"oneof": [
|
|
2808
|
+
"unicode",
|
|
2809
|
+
"customEmoji"
|
|
2810
|
+
]
|
|
2811
|
+
}
|
|
2812
|
+
},
|
|
2813
|
+
"fields": {
|
|
2814
|
+
"unicode": {
|
|
2815
|
+
"type": "string",
|
|
2816
|
+
"id": 1,
|
|
2817
|
+
"options": {
|
|
2818
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
2819
|
+
}
|
|
2820
|
+
},
|
|
2821
|
+
"customEmoji": {
|
|
2822
|
+
"type": "CustomEmoji",
|
|
2823
|
+
"id": 2
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
},
|
|
2827
|
+
"CustomEmoji": {
|
|
2828
|
+
"fields": {
|
|
2829
|
+
"uid": {
|
|
2830
|
+
"type": "string",
|
|
2831
|
+
"id": 1,
|
|
2832
|
+
"options": {
|
|
2833
|
+
"(google.api.field_info).format": "UUID4",
|
|
2834
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
2835
|
+
}
|
|
2836
|
+
}
|
|
2837
|
+
}
|
|
2838
|
+
},
|
|
2839
|
+
"EmojiReactionSummary": {
|
|
2840
|
+
"oneofs": {
|
|
2841
|
+
"_reactionCount": {
|
|
2842
|
+
"oneof": [
|
|
2843
|
+
"reactionCount"
|
|
2844
|
+
]
|
|
2845
|
+
}
|
|
2846
|
+
},
|
|
2847
|
+
"fields": {
|
|
2848
|
+
"emoji": {
|
|
2849
|
+
"type": "Emoji",
|
|
2850
|
+
"id": 1,
|
|
2851
|
+
"options": {
|
|
2852
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
2853
|
+
}
|
|
2854
|
+
},
|
|
2855
|
+
"reactionCount": {
|
|
2856
|
+
"type": "int32",
|
|
2857
|
+
"id": 2,
|
|
2858
|
+
"options": {
|
|
2859
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY",
|
|
2860
|
+
"proto3_optional": true
|
|
2861
|
+
}
|
|
2862
|
+
}
|
|
2863
|
+
}
|
|
2864
|
+
},
|
|
2865
|
+
"CreateReactionRequest": {
|
|
2866
|
+
"fields": {
|
|
2867
|
+
"parent": {
|
|
2868
|
+
"type": "string",
|
|
2869
|
+
"id": 1,
|
|
2870
|
+
"options": {
|
|
2871
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
2872
|
+
"(google.api.resource_reference).child_type": "chat.googleapis.com/Reaction"
|
|
2873
|
+
}
|
|
2874
|
+
},
|
|
2875
|
+
"reaction": {
|
|
2876
|
+
"type": "Reaction",
|
|
2877
|
+
"id": 2,
|
|
2878
|
+
"options": {
|
|
2879
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
2880
|
+
}
|
|
2881
|
+
}
|
|
2882
|
+
}
|
|
2883
|
+
},
|
|
2884
|
+
"ListReactionsRequest": {
|
|
2885
|
+
"fields": {
|
|
2886
|
+
"parent": {
|
|
2887
|
+
"type": "string",
|
|
2888
|
+
"id": 1,
|
|
2889
|
+
"options": {
|
|
2890
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
2891
|
+
"(google.api.resource_reference).child_type": "chat.googleapis.com/Reaction"
|
|
2892
|
+
}
|
|
2893
|
+
},
|
|
2894
|
+
"pageSize": {
|
|
2895
|
+
"type": "int32",
|
|
2896
|
+
"id": 2,
|
|
2897
|
+
"options": {
|
|
2898
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
2899
|
+
}
|
|
2900
|
+
},
|
|
2901
|
+
"pageToken": {
|
|
2902
|
+
"type": "string",
|
|
2903
|
+
"id": 3,
|
|
2904
|
+
"options": {
|
|
2905
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
2906
|
+
}
|
|
2907
|
+
},
|
|
2908
|
+
"filter": {
|
|
2909
|
+
"type": "string",
|
|
2910
|
+
"id": 4,
|
|
2911
|
+
"options": {
|
|
2912
|
+
"(google.api.field_behavior)": "OPTIONAL"
|
|
2913
|
+
}
|
|
2914
|
+
}
|
|
2915
|
+
}
|
|
2916
|
+
},
|
|
2917
|
+
"ListReactionsResponse": {
|
|
2918
|
+
"fields": {
|
|
2919
|
+
"reactions": {
|
|
2920
|
+
"rule": "repeated",
|
|
2921
|
+
"type": "Reaction",
|
|
2922
|
+
"id": 1
|
|
2923
|
+
},
|
|
2924
|
+
"nextPageToken": {
|
|
2925
|
+
"type": "string",
|
|
2926
|
+
"id": 2
|
|
2927
|
+
}
|
|
2928
|
+
}
|
|
2929
|
+
},
|
|
2930
|
+
"DeleteReactionRequest": {
|
|
2931
|
+
"fields": {
|
|
2932
|
+
"name": {
|
|
2933
|
+
"type": "string",
|
|
2934
|
+
"id": 1,
|
|
2935
|
+
"options": {
|
|
2936
|
+
"(google.api.field_behavior)": "REQUIRED",
|
|
2937
|
+
"(google.api.resource_reference).type": "chat.googleapis.com/Reaction"
|
|
2938
|
+
}
|
|
2939
|
+
}
|
|
2940
|
+
}
|
|
2941
|
+
},
|
|
2761
2942
|
"User": {
|
|
2762
2943
|
"fields": {
|
|
2763
2944
|
"name": {
|
|
@@ -4501,7 +4682,8 @@
|
|
|
4501
4682
|
"ADMIN": 3,
|
|
4502
4683
|
"APP_MESSAGE_EXPIRY": 4,
|
|
4503
4684
|
"CREATOR_VIA_APP": 5,
|
|
4504
|
-
"SPACE_OWNER_VIA_APP": 6
|
|
4685
|
+
"SPACE_OWNER_VIA_APP": 6,
|
|
4686
|
+
"SPACE_MEMBER": 7
|
|
4505
4687
|
}
|
|
4506
4688
|
}
|
|
4507
4689
|
}
|
|
@@ -4517,176 +4699,6 @@
|
|
|
4517
4699
|
}
|
|
4518
4700
|
}
|
|
4519
4701
|
},
|
|
4520
|
-
"Reaction": {
|
|
4521
|
-
"options": {
|
|
4522
|
-
"(google.api.resource).type": "chat.googleapis.com/Reaction",
|
|
4523
|
-
"(google.api.resource).pattern": "spaces/{space}/messages/{message}/reactions/{reaction}"
|
|
4524
|
-
},
|
|
4525
|
-
"fields": {
|
|
4526
|
-
"name": {
|
|
4527
|
-
"type": "string",
|
|
4528
|
-
"id": 1,
|
|
4529
|
-
"options": {
|
|
4530
|
-
"(google.api.field_behavior)": "IDENTIFIER"
|
|
4531
|
-
}
|
|
4532
|
-
},
|
|
4533
|
-
"user": {
|
|
4534
|
-
"type": "User",
|
|
4535
|
-
"id": 2,
|
|
4536
|
-
"options": {
|
|
4537
|
-
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
4538
|
-
}
|
|
4539
|
-
},
|
|
4540
|
-
"emoji": {
|
|
4541
|
-
"type": "Emoji",
|
|
4542
|
-
"id": 3,
|
|
4543
|
-
"options": {
|
|
4544
|
-
"(google.api.field_behavior)": "REQUIRED"
|
|
4545
|
-
}
|
|
4546
|
-
}
|
|
4547
|
-
}
|
|
4548
|
-
},
|
|
4549
|
-
"Emoji": {
|
|
4550
|
-
"oneofs": {
|
|
4551
|
-
"content": {
|
|
4552
|
-
"oneof": [
|
|
4553
|
-
"unicode",
|
|
4554
|
-
"customEmoji"
|
|
4555
|
-
]
|
|
4556
|
-
}
|
|
4557
|
-
},
|
|
4558
|
-
"fields": {
|
|
4559
|
-
"unicode": {
|
|
4560
|
-
"type": "string",
|
|
4561
|
-
"id": 1,
|
|
4562
|
-
"options": {
|
|
4563
|
-
"(google.api.field_behavior)": "OPTIONAL"
|
|
4564
|
-
}
|
|
4565
|
-
},
|
|
4566
|
-
"customEmoji": {
|
|
4567
|
-
"type": "CustomEmoji",
|
|
4568
|
-
"id": 2,
|
|
4569
|
-
"options": {
|
|
4570
|
-
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
4571
|
-
}
|
|
4572
|
-
}
|
|
4573
|
-
}
|
|
4574
|
-
},
|
|
4575
|
-
"CustomEmoji": {
|
|
4576
|
-
"fields": {
|
|
4577
|
-
"uid": {
|
|
4578
|
-
"type": "string",
|
|
4579
|
-
"id": 1,
|
|
4580
|
-
"options": {
|
|
4581
|
-
"(google.api.field_info).format": "UUID4",
|
|
4582
|
-
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
4583
|
-
}
|
|
4584
|
-
}
|
|
4585
|
-
}
|
|
4586
|
-
},
|
|
4587
|
-
"EmojiReactionSummary": {
|
|
4588
|
-
"oneofs": {
|
|
4589
|
-
"_reactionCount": {
|
|
4590
|
-
"oneof": [
|
|
4591
|
-
"reactionCount"
|
|
4592
|
-
]
|
|
4593
|
-
}
|
|
4594
|
-
},
|
|
4595
|
-
"fields": {
|
|
4596
|
-
"emoji": {
|
|
4597
|
-
"type": "Emoji",
|
|
4598
|
-
"id": 1,
|
|
4599
|
-
"options": {
|
|
4600
|
-
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
4601
|
-
}
|
|
4602
|
-
},
|
|
4603
|
-
"reactionCount": {
|
|
4604
|
-
"type": "int32",
|
|
4605
|
-
"id": 2,
|
|
4606
|
-
"options": {
|
|
4607
|
-
"(google.api.field_behavior)": "OUTPUT_ONLY",
|
|
4608
|
-
"proto3_optional": true
|
|
4609
|
-
}
|
|
4610
|
-
}
|
|
4611
|
-
}
|
|
4612
|
-
},
|
|
4613
|
-
"CreateReactionRequest": {
|
|
4614
|
-
"fields": {
|
|
4615
|
-
"parent": {
|
|
4616
|
-
"type": "string",
|
|
4617
|
-
"id": 1,
|
|
4618
|
-
"options": {
|
|
4619
|
-
"(google.api.field_behavior)": "REQUIRED",
|
|
4620
|
-
"(google.api.resource_reference).child_type": "chat.googleapis.com/Reaction"
|
|
4621
|
-
}
|
|
4622
|
-
},
|
|
4623
|
-
"reaction": {
|
|
4624
|
-
"type": "Reaction",
|
|
4625
|
-
"id": 2,
|
|
4626
|
-
"options": {
|
|
4627
|
-
"(google.api.field_behavior)": "REQUIRED"
|
|
4628
|
-
}
|
|
4629
|
-
}
|
|
4630
|
-
}
|
|
4631
|
-
},
|
|
4632
|
-
"ListReactionsRequest": {
|
|
4633
|
-
"fields": {
|
|
4634
|
-
"parent": {
|
|
4635
|
-
"type": "string",
|
|
4636
|
-
"id": 1,
|
|
4637
|
-
"options": {
|
|
4638
|
-
"(google.api.field_behavior)": "REQUIRED",
|
|
4639
|
-
"(google.api.resource_reference).child_type": "chat.googleapis.com/Reaction"
|
|
4640
|
-
}
|
|
4641
|
-
},
|
|
4642
|
-
"pageSize": {
|
|
4643
|
-
"type": "int32",
|
|
4644
|
-
"id": 2,
|
|
4645
|
-
"options": {
|
|
4646
|
-
"(google.api.field_behavior)": "OPTIONAL"
|
|
4647
|
-
}
|
|
4648
|
-
},
|
|
4649
|
-
"pageToken": {
|
|
4650
|
-
"type": "string",
|
|
4651
|
-
"id": 3,
|
|
4652
|
-
"options": {
|
|
4653
|
-
"(google.api.field_behavior)": "OPTIONAL"
|
|
4654
|
-
}
|
|
4655
|
-
},
|
|
4656
|
-
"filter": {
|
|
4657
|
-
"type": "string",
|
|
4658
|
-
"id": 4,
|
|
4659
|
-
"options": {
|
|
4660
|
-
"(google.api.field_behavior)": "OPTIONAL"
|
|
4661
|
-
}
|
|
4662
|
-
}
|
|
4663
|
-
}
|
|
4664
|
-
},
|
|
4665
|
-
"ListReactionsResponse": {
|
|
4666
|
-
"fields": {
|
|
4667
|
-
"reactions": {
|
|
4668
|
-
"rule": "repeated",
|
|
4669
|
-
"type": "Reaction",
|
|
4670
|
-
"id": 1
|
|
4671
|
-
},
|
|
4672
|
-
"nextPageToken": {
|
|
4673
|
-
"type": "string",
|
|
4674
|
-
"id": 2
|
|
4675
|
-
}
|
|
4676
|
-
}
|
|
4677
|
-
},
|
|
4678
|
-
"DeleteReactionRequest": {
|
|
4679
|
-
"fields": {
|
|
4680
|
-
"name": {
|
|
4681
|
-
"type": "string",
|
|
4682
|
-
"id": 1,
|
|
4683
|
-
"options": {
|
|
4684
|
-
"(google.api.field_behavior)": "REQUIRED",
|
|
4685
|
-
"(google.api.resource_reference).type": "chat.googleapis.com/Reaction"
|
|
4686
|
-
}
|
|
4687
|
-
}
|
|
4688
|
-
}
|
|
4689
|
-
},
|
|
4690
4702
|
"SlashCommand": {
|
|
4691
4703
|
"fields": {
|
|
4692
4704
|
"commandId": {
|
|
@@ -5751,9 +5763,9 @@
|
|
|
5751
5763
|
"api": {
|
|
5752
5764
|
"options": {
|
|
5753
5765
|
"cc_enable_arenas": true,
|
|
5754
|
-
"go_package": "google.golang.org/genproto/googleapis/api
|
|
5766
|
+
"go_package": "google.golang.org/genproto/googleapis/api;api",
|
|
5755
5767
|
"java_multiple_files": true,
|
|
5756
|
-
"java_outer_classname": "
|
|
5768
|
+
"java_outer_classname": "LaunchStageProto",
|
|
5757
5769
|
"java_package": "com.google.api",
|
|
5758
5770
|
"objc_class_prefix": "GAPI"
|
|
5759
5771
|
},
|
|
@@ -5854,6 +5866,30 @@
|
|
|
5854
5866
|
"IDENTIFIER": 8
|
|
5855
5867
|
}
|
|
5856
5868
|
},
|
|
5869
|
+
"fieldInfo": {
|
|
5870
|
+
"type": "google.api.FieldInfo",
|
|
5871
|
+
"id": 291403980,
|
|
5872
|
+
"extend": "google.protobuf.FieldOptions"
|
|
5873
|
+
},
|
|
5874
|
+
"FieldInfo": {
|
|
5875
|
+
"fields": {
|
|
5876
|
+
"format": {
|
|
5877
|
+
"type": "Format",
|
|
5878
|
+
"id": 1
|
|
5879
|
+
}
|
|
5880
|
+
},
|
|
5881
|
+
"nested": {
|
|
5882
|
+
"Format": {
|
|
5883
|
+
"values": {
|
|
5884
|
+
"FORMAT_UNSPECIFIED": 0,
|
|
5885
|
+
"UUID4": 1,
|
|
5886
|
+
"IPV4": 2,
|
|
5887
|
+
"IPV6": 3,
|
|
5888
|
+
"IPV4_OR_IPV6": 4
|
|
5889
|
+
}
|
|
5890
|
+
}
|
|
5891
|
+
}
|
|
5892
|
+
},
|
|
5857
5893
|
"http": {
|
|
5858
5894
|
"type": "HttpRule",
|
|
5859
5895
|
"id": 72295728,
|
|
@@ -6235,30 +6271,6 @@
|
|
|
6235
6271
|
"GA": 4,
|
|
6236
6272
|
"DEPRECATED": 5
|
|
6237
6273
|
}
|
|
6238
|
-
},
|
|
6239
|
-
"fieldInfo": {
|
|
6240
|
-
"type": "google.api.FieldInfo",
|
|
6241
|
-
"id": 291403980,
|
|
6242
|
-
"extend": "google.protobuf.FieldOptions"
|
|
6243
|
-
},
|
|
6244
|
-
"FieldInfo": {
|
|
6245
|
-
"fields": {
|
|
6246
|
-
"format": {
|
|
6247
|
-
"type": "Format",
|
|
6248
|
-
"id": 1
|
|
6249
|
-
}
|
|
6250
|
-
},
|
|
6251
|
-
"nested": {
|
|
6252
|
-
"Format": {
|
|
6253
|
-
"values": {
|
|
6254
|
-
"FORMAT_UNSPECIFIED": 0,
|
|
6255
|
-
"UUID4": 1,
|
|
6256
|
-
"IPV4": 2,
|
|
6257
|
-
"IPV6": 3,
|
|
6258
|
-
"IPV4_OR_IPV6": 4
|
|
6259
|
-
}
|
|
6260
|
-
}
|
|
6261
|
-
}
|
|
6262
6274
|
}
|
|
6263
6275
|
}
|
|
6264
6276
|
}
|
package/build/src/index.js
CHANGED
|
@@ -1222,8 +1222,7 @@ export declare class ChatServiceClient {
|
|
|
1222
1222
|
deleteMembership(request: protos.google.chat.v1.IDeleteMembershipRequest, options: CallOptions, callback: Callback<protos.google.chat.v1.IMembership, protos.google.chat.v1.IDeleteMembershipRequest | null | undefined, {} | null | undefined>): void;
|
|
1223
1223
|
deleteMembership(request: protos.google.chat.v1.IDeleteMembershipRequest, callback: Callback<protos.google.chat.v1.IMembership, protos.google.chat.v1.IDeleteMembershipRequest | null | undefined, {} | null | undefined>): void;
|
|
1224
1224
|
/**
|
|
1225
|
-
* Creates a reaction and adds it to a message.
|
|
1226
|
-
* supported. For an example, see
|
|
1225
|
+
* Creates a reaction and adds it to a message. For an example, see
|
|
1227
1226
|
* [Add a reaction to a
|
|
1228
1227
|
* message](https://developers.google.com/workspace/chat/create-reactions).
|
|
1229
1228
|
*
|
|
@@ -1255,8 +1254,7 @@ export declare class ChatServiceClient {
|
|
|
1255
1254
|
createReaction(request: protos.google.chat.v1.ICreateReactionRequest, options: CallOptions, callback: Callback<protos.google.chat.v1.IReaction, protos.google.chat.v1.ICreateReactionRequest | null | undefined, {} | null | undefined>): void;
|
|
1256
1255
|
createReaction(request: protos.google.chat.v1.ICreateReactionRequest, callback: Callback<protos.google.chat.v1.IReaction, protos.google.chat.v1.ICreateReactionRequest | null | undefined, {} | null | undefined>): void;
|
|
1257
1256
|
/**
|
|
1258
|
-
* Deletes a reaction to a message.
|
|
1259
|
-
* For an example, see
|
|
1257
|
+
* Deletes a reaction to a message. For an example, see
|
|
1260
1258
|
* [Delete a
|
|
1261
1259
|
* reaction](https://developers.google.com/workspace/chat/delete-reactions).
|
|
1262
1260
|
*
|
|
@@ -1575,7 +1573,7 @@ export declare class ChatServiceClient {
|
|
|
1575
1573
|
listMessages(request: protos.google.chat.v1.IListMessagesRequest, options: CallOptions, callback: PaginationCallback<protos.google.chat.v1.IListMessagesRequest, protos.google.chat.v1.IListMessagesResponse | null | undefined, protos.google.chat.v1.IMessage>): void;
|
|
1576
1574
|
listMessages(request: protos.google.chat.v1.IListMessagesRequest, callback: PaginationCallback<protos.google.chat.v1.IListMessagesRequest, protos.google.chat.v1.IListMessagesResponse | null | undefined, protos.google.chat.v1.IMessage>): void;
|
|
1577
1575
|
/**
|
|
1578
|
-
* Equivalent to `
|
|
1576
|
+
* Equivalent to `listMessages`, but returns a NodeJS Stream object.
|
|
1579
1577
|
* @param {Object} request
|
|
1580
1578
|
* The request object that will be sent.
|
|
1581
1579
|
* @param {string} request.parent
|
|
@@ -1889,7 +1887,7 @@ export declare class ChatServiceClient {
|
|
|
1889
1887
|
listMemberships(request: protos.google.chat.v1.IListMembershipsRequest, options: CallOptions, callback: PaginationCallback<protos.google.chat.v1.IListMembershipsRequest, protos.google.chat.v1.IListMembershipsResponse | null | undefined, protos.google.chat.v1.IMembership>): void;
|
|
1890
1888
|
listMemberships(request: protos.google.chat.v1.IListMembershipsRequest, callback: PaginationCallback<protos.google.chat.v1.IListMembershipsRequest, protos.google.chat.v1.IListMembershipsResponse | null | undefined, protos.google.chat.v1.IMembership>): void;
|
|
1891
1889
|
/**
|
|
1892
|
-
* Equivalent to `
|
|
1890
|
+
* Equivalent to `listMemberships`, but returns a NodeJS Stream object.
|
|
1893
1891
|
* @param {Object} request
|
|
1894
1892
|
* The request object that will be sent.
|
|
1895
1893
|
* @param {string} request.parent
|
|
@@ -2180,7 +2178,7 @@ export declare class ChatServiceClient {
|
|
|
2180
2178
|
listSpaces(request: protos.google.chat.v1.IListSpacesRequest, options: CallOptions, callback: PaginationCallback<protos.google.chat.v1.IListSpacesRequest, protos.google.chat.v1.IListSpacesResponse | null | undefined, protos.google.chat.v1.ISpace>): void;
|
|
2181
2179
|
listSpaces(request: protos.google.chat.v1.IListSpacesRequest, callback: PaginationCallback<protos.google.chat.v1.IListSpacesRequest, protos.google.chat.v1.IListSpacesResponse | null | undefined, protos.google.chat.v1.ISpace>): void;
|
|
2182
2180
|
/**
|
|
2183
|
-
* Equivalent to `
|
|
2181
|
+
* Equivalent to `listSpaces`, but returns a NodeJS Stream object.
|
|
2184
2182
|
* @param {Object} request
|
|
2185
2183
|
* The request object that will be sent.
|
|
2186
2184
|
* @param {number} [request.pageSize]
|
|
@@ -2440,7 +2438,7 @@ export declare class ChatServiceClient {
|
|
|
2440
2438
|
searchSpaces(request: protos.google.chat.v1.ISearchSpacesRequest, options: CallOptions, callback: PaginationCallback<protos.google.chat.v1.ISearchSpacesRequest, protos.google.chat.v1.ISearchSpacesResponse | null | undefined, protos.google.chat.v1.ISpace>): void;
|
|
2441
2439
|
searchSpaces(request: protos.google.chat.v1.ISearchSpacesRequest, callback: PaginationCallback<protos.google.chat.v1.ISearchSpacesRequest, protos.google.chat.v1.ISearchSpacesResponse | null | undefined, protos.google.chat.v1.ISpace>): void;
|
|
2442
2440
|
/**
|
|
2443
|
-
* Equivalent to `
|
|
2441
|
+
* Equivalent to `searchSpaces`, but returns a NodeJS Stream object.
|
|
2444
2442
|
* @param {Object} request
|
|
2445
2443
|
* The request object that will be sent.
|
|
2446
2444
|
* @param {boolean} request.useAdminAccess
|
|
@@ -2811,7 +2809,7 @@ export declare class ChatServiceClient {
|
|
|
2811
2809
|
listReactions(request: protos.google.chat.v1.IListReactionsRequest, options: CallOptions, callback: PaginationCallback<protos.google.chat.v1.IListReactionsRequest, protos.google.chat.v1.IListReactionsResponse | null | undefined, protos.google.chat.v1.IReaction>): void;
|
|
2812
2810
|
listReactions(request: protos.google.chat.v1.IListReactionsRequest, callback: PaginationCallback<protos.google.chat.v1.IListReactionsRequest, protos.google.chat.v1.IListReactionsResponse | null | undefined, protos.google.chat.v1.IReaction>): void;
|
|
2813
2811
|
/**
|
|
2814
|
-
* Equivalent to `
|
|
2812
|
+
* Equivalent to `listReactions`, but returns a NodeJS Stream object.
|
|
2815
2813
|
* @param {Object} request
|
|
2816
2814
|
* The request object that will be sent.
|
|
2817
2815
|
* @param {string} request.parent
|
|
@@ -3076,7 +3074,7 @@ export declare class ChatServiceClient {
|
|
|
3076
3074
|
listSpaceEvents(request: protos.google.chat.v1.IListSpaceEventsRequest, options: CallOptions, callback: PaginationCallback<protos.google.chat.v1.IListSpaceEventsRequest, protos.google.chat.v1.IListSpaceEventsResponse | null | undefined, protos.google.chat.v1.ISpaceEvent>): void;
|
|
3077
3075
|
listSpaceEvents(request: protos.google.chat.v1.IListSpaceEventsRequest, callback: PaginationCallback<protos.google.chat.v1.IListSpaceEventsRequest, protos.google.chat.v1.IListSpaceEventsResponse | null | undefined, protos.google.chat.v1.ISpaceEvent>): void;
|
|
3078
3076
|
/**
|
|
3079
|
-
* Equivalent to `
|
|
3077
|
+
* Equivalent to `listSpaceEvents`, but returns a NodeJS Stream object.
|
|
3080
3078
|
* @param {Object} request
|
|
3081
3079
|
* The request object that will be sent.
|
|
3082
3080
|
* @param {string} request.parent
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright
|
|
2
|
+
// Copyright 2025 Google LLC
|
|
3
3
|
//
|
|
4
4
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
// you may not use this file except in compliance with the License.
|
|
@@ -824,7 +824,7 @@ class ChatServiceClient {
|
|
|
824
824
|
return this.innerApiCalls.listMessages(request, options, callback);
|
|
825
825
|
}
|
|
826
826
|
/**
|
|
827
|
-
* Equivalent to `
|
|
827
|
+
* Equivalent to `listMessages`, but returns a NodeJS Stream object.
|
|
828
828
|
* @param {Object} request
|
|
829
829
|
* The request object that will be sent.
|
|
830
830
|
* @param {string} request.parent
|
|
@@ -1052,7 +1052,7 @@ class ChatServiceClient {
|
|
|
1052
1052
|
return this.innerApiCalls.listMemberships(request, options, callback);
|
|
1053
1053
|
}
|
|
1054
1054
|
/**
|
|
1055
|
-
* Equivalent to `
|
|
1055
|
+
* Equivalent to `listMemberships`, but returns a NodeJS Stream object.
|
|
1056
1056
|
* @param {Object} request
|
|
1057
1057
|
* The request object that will be sent.
|
|
1058
1058
|
* @param {string} request.parent
|
|
@@ -1311,7 +1311,7 @@ class ChatServiceClient {
|
|
|
1311
1311
|
return this.innerApiCalls.listSpaces(request, options, callback);
|
|
1312
1312
|
}
|
|
1313
1313
|
/**
|
|
1314
|
-
* Equivalent to `
|
|
1314
|
+
* Equivalent to `listSpaces`, but returns a NodeJS Stream object.
|
|
1315
1315
|
* @param {Object} request
|
|
1316
1316
|
* The request object that will be sent.
|
|
1317
1317
|
* @param {number} [request.pageSize]
|
|
@@ -1452,7 +1452,7 @@ class ChatServiceClient {
|
|
|
1452
1452
|
return this.innerApiCalls.searchSpaces(request, options, callback);
|
|
1453
1453
|
}
|
|
1454
1454
|
/**
|
|
1455
|
-
* Equivalent to `
|
|
1455
|
+
* Equivalent to `searchSpaces`, but returns a NodeJS Stream object.
|
|
1456
1456
|
* @param {Object} request
|
|
1457
1457
|
* The request object that will be sent.
|
|
1458
1458
|
* @param {boolean} request.useAdminAccess
|
|
@@ -1772,7 +1772,7 @@ class ChatServiceClient {
|
|
|
1772
1772
|
return this.innerApiCalls.listReactions(request, options, callback);
|
|
1773
1773
|
}
|
|
1774
1774
|
/**
|
|
1775
|
-
* Equivalent to `
|
|
1775
|
+
* Equivalent to `listReactions`, but returns a NodeJS Stream object.
|
|
1776
1776
|
* @param {Object} request
|
|
1777
1777
|
* The request object that will be sent.
|
|
1778
1778
|
* @param {string} request.parent
|
|
@@ -1978,7 +1978,7 @@ class ChatServiceClient {
|
|
|
1978
1978
|
return this.innerApiCalls.listSpaceEvents(request, options, callback);
|
|
1979
1979
|
}
|
|
1980
1980
|
/**
|
|
1981
|
-
* Equivalent to `
|
|
1981
|
+
* Equivalent to `listSpaceEvents`, but returns a NodeJS Stream object.
|
|
1982
1982
|
* @param {Object} request
|
|
1983
1983
|
* The request object that will be sent.
|
|
1984
1984
|
* @param {string} request.parent
|