Skip to content

Commit 8da9b83

Browse files
feat: [chat] A new field custom_emoji_metadata is added to message .google.chat.v1.Annotation (#5988)
* feat: A new field `custom_emoji_metadata` is added to message `.google.chat.v1.Annotation` feat: A new message `CustomEmojiMetadata` is added feat: A new value `CUSTOM_EMOJI` is added to enum `AnnotationType` docs: A comment for method `CreateReaction` in service `ChatService` is changed docs: A comment for method `DeleteReaction` in service `ChatService` is changed docs: A comment for field `custom_emoji` in message `.google.chat.v1.Emoji` is changed PiperOrigin-RevId: 720564143 Source-Link: googleapis/googleapis@60bab91 Source-Link: googleapis/googleapis-gen@f7beff2 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNoYXQvLk93bEJvdC55YW1sIiwiaCI6ImY3YmVmZjI5NDc4NzUyZDg2NjkxZDgxNTQ4MTVhODUzNTNhNjczMzMifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent fa5c2ca commit 8da9b83

8 files changed

Lines changed: 16206 additions & 15832 deletions

File tree

packages/google-chat/protos/google/chat/v1/annotation.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package google.chat.v1;
1818

1919
import "google/api/resource.proto";
2020
import "google/chat/v1/attachment.proto";
21+
import "google/chat/v1/reaction.proto";
2122
import "google/chat/v1/user.proto";
2223

2324
option csharp_namespace = "Google.Apps.Chat.V1";
@@ -78,6 +79,9 @@ message Annotation {
7879

7980
// The metadata for a rich link.
8081
RichLinkMetadata rich_link_metadata = 6;
82+
83+
// The metadata for a custom emoji.
84+
CustomEmojiMetadata custom_emoji_metadata = 7;
8185
}
8286
}
8387

@@ -160,6 +164,12 @@ message RichLinkMetadata {
160164
}
161165
}
162166

167+
// Annotation metadata for custom emoji.
168+
message CustomEmojiMetadata {
169+
// The custom emoji.
170+
CustomEmoji custom_emoji = 1;
171+
}
172+
163173
// Data for Google Drive links.
164174
message DriveLinkData {
165175
// A
@@ -207,4 +217,7 @@ enum AnnotationType {
207217

208218
// A rich link annotation.
209219
RICH_LINK = 3;
220+
221+
// A custom emoji annotation.
222+
CUSTOM_EMOJI = 4;
210223
}

packages/google-chat/protos/google/chat/v1/chat_service.proto

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,7 @@ service ChatService {
611611
option (google.api.method_signature) = "name";
612612
}
613613

614-
// Creates a reaction and adds it to a message. Only unicode emojis are
615-
// supported. For an example, see
614+
// Creates a reaction and adds it to a message. For an example, see
616615
// [Add a reaction to a
617616
// message](https://developers.google.com/workspace/chat/create-reactions).
618617
//
@@ -639,8 +638,7 @@ service ChatService {
639638
option (google.api.method_signature) = "parent";
640639
}
641640

642-
// Deletes a reaction to a message. Only unicode emojis are supported.
643-
// For an example, see
641+
// Deletes a reaction to a message. For an example, see
644642
// [Delete a
645643
// reaction](https://developers.google.com/workspace/chat/delete-reactions).
646644
//

packages/google-chat/protos/google/chat/v1/reaction.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ message Emoji {
5656
// Optional. A basic emoji represented by a unicode string.
5757
string unicode = 1 [(google.api.field_behavior) = OPTIONAL];
5858

59-
// Output only. A custom emoji.
60-
CustomEmoji custom_emoji = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
59+
// A custom emoji.
60+
CustomEmoji custom_emoji = 2;
6161
}
6262
}
6363

packages/google-chat/protos/protos.d.ts

Lines changed: 4322 additions & 4218 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-chat/protos/protos.js

Lines changed: 11654 additions & 11404 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)