@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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.13.0](https://github.com/googleapis/google-cloud-node/compare/chat-v0.12.0...chat-v0.13.0) (2025-02-28)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* [chat] Add DeletionType.SPACE_MEMBER. This is returned when a message sent by an app is deleted by a human in a space ([#6030](https://github.com/googleapis/google-cloud-node/issues/6030)) ([550aafa](https://github.com/googleapis/google-cloud-node/commit/550aafa7c23eabaf2ecbe5c035294428290f7020))
|
|
9
|
+
|
|
10
|
+
## [0.12.0](https://github.com/googleapis/google-cloud-node/compare/chat-v0.11.0...chat-v0.12.0) (2025-01-29)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* [chat] A new field `custom_emoji_metadata` is added to message `.google.chat.v1.Annotation` ([#5988](https://github.com/googleapis/google-cloud-node/issues/5988)) ([8da9b83](https://github.com/googleapis/google-cloud-node/commit/8da9b835776d424f55b9d1c97eb8964224a50ac4))
|
|
16
|
+
|
|
3
17
|
## [0.11.0](https://github.com/googleapis/google-cloud-node/compare/chat-v0.10.0...chat-v0.11.0) (2024-12-18)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -18,6 +18,7 @@ package google.chat.v1;
|
|
|
18
18
|
|
|
19
19
|
import "google/api/resource.proto";
|
|
20
20
|
import "google/chat/v1/attachment.proto";
|
|
21
|
+
import "google/chat/v1/reaction.proto";
|
|
21
22
|
import "google/chat/v1/user.proto";
|
|
22
23
|
|
|
23
24
|
option csharp_namespace = "Google.Apps.Chat.V1";
|
|
@@ -78,6 +79,9 @@ message Annotation {
|
|
|
78
79
|
|
|
79
80
|
// The metadata for a rich link.
|
|
80
81
|
RichLinkMetadata rich_link_metadata = 6;
|
|
82
|
+
|
|
83
|
+
// The metadata for a custom emoji.
|
|
84
|
+
CustomEmojiMetadata custom_emoji_metadata = 7;
|
|
81
85
|
}
|
|
82
86
|
}
|
|
83
87
|
|
|
@@ -160,6 +164,12 @@ message RichLinkMetadata {
|
|
|
160
164
|
}
|
|
161
165
|
}
|
|
162
166
|
|
|
167
|
+
// Annotation metadata for custom emoji.
|
|
168
|
+
message CustomEmojiMetadata {
|
|
169
|
+
// The custom emoji.
|
|
170
|
+
CustomEmoji custom_emoji = 1;
|
|
171
|
+
}
|
|
172
|
+
|
|
163
173
|
// Data for Google Drive links.
|
|
164
174
|
message DriveLinkData {
|
|
165
175
|
// A
|
|
@@ -207,4 +217,7 @@ enum AnnotationType {
|
|
|
207
217
|
|
|
208
218
|
// A rich link annotation.
|
|
209
219
|
RICH_LINK = 3;
|
|
220
|
+
|
|
221
|
+
// A custom emoji annotation.
|
|
222
|
+
CUSTOM_EMOJI = 4;
|
|
210
223
|
}
|
|
@@ -611,8 +611,7 @@ service ChatService {
|
|
|
611
611
|
option (google.api.method_signature) = "name";
|
|
612
612
|
}
|
|
613
613
|
|
|
614
|
-
// Creates a reaction and adds it to a message.
|
|
615
|
-
// supported. For an example, see
|
|
614
|
+
// Creates a reaction and adds it to a message. For an example, see
|
|
616
615
|
// [Add a reaction to a
|
|
617
616
|
// message](https://developers.google.com/workspace/chat/create-reactions).
|
|
618
617
|
//
|
|
@@ -639,8 +638,7 @@ service ChatService {
|
|
|
639
638
|
option (google.api.method_signature) = "parent";
|
|
640
639
|
}
|
|
641
640
|
|
|
642
|
-
// Deletes a reaction to a message.
|
|
643
|
-
// For an example, see
|
|
641
|
+
// Deletes a reaction to a message. For an example, see
|
|
644
642
|
// [Delete a
|
|
645
643
|
// reaction](https://developers.google.com/workspace/chat/delete-reactions).
|
|
646
644
|
//
|
|
@@ -51,6 +51,10 @@ message DeletionMetadata {
|
|
|
51
51
|
|
|
52
52
|
// A Chat app deleted the message on behalf of the space owner.
|
|
53
53
|
SPACE_OWNER_VIA_APP = 6;
|
|
54
|
+
|
|
55
|
+
// A member of the space deleted the message. Human users can delete
|
|
56
|
+
// messages sent by apps.
|
|
57
|
+
SPACE_MEMBER = 7;
|
|
54
58
|
}
|
|
55
59
|
|
|
56
60
|
// Indicates who deleted the message.
|
|
@@ -56,8 +56,8 @@ message Emoji {
|
|
|
56
56
|
// Optional. A basic emoji represented by a unicode string.
|
|
57
57
|
string unicode = 1 [(google.api.field_behavior) = OPTIONAL];
|
|
58
58
|
|
|
59
|
-
//
|
|
60
|
-
CustomEmoji custom_emoji = 2
|
|
59
|
+
// A custom emoji.
|
|
60
|
+
CustomEmoji custom_emoji = 2;
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -26,7 +26,7 @@ option php_namespace = "Google\\Apps\\Chat\\V1";
|
|
|
26
26
|
option ruby_package = "Google::Apps::Chat::V1";
|
|
27
27
|
|
|
28
28
|
// A [slash
|
|
29
|
-
// command](https://developers.google.com/workspace/chat/
|
|
29
|
+
// command](https://developers.google.com/workspace/chat/commands) in
|
|
30
30
|
// Google Chat.
|
|
31
31
|
message SlashCommand {
|
|
32
32
|
// The ID of the slash command invoked.
|