google-apps-chat-v1 0.18.0 → 0.19.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e78b06c128bc3f254748e534e2c0d6ca5d4ceb505ce6d3cc8108ff4f4b36c4cf
|
|
4
|
+
data.tar.gz: 7abffa0cac1ea29a8f36ff89b4c4358bcf0833e131854e883a48db48db6d7ffa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9798aeee4a4e958dcefa9882ecdcd4b066731f81c64fd438e30f1b0222205ca7c5bc4237390f4bd30ac11d297f1d9e21cf9b78b75ff772dda3919fb614a831ba
|
|
7
|
+
data.tar.gz: b378aa1deb7fc90a5b7dac1edbe397db70b315bcf403da476ff62693334890984bb8fb6d61fc61e0b28a7bf619a6298a344fd75a166538d994fdb41164498f2d
|
|
@@ -21,7 +21,7 @@ require 'google/protobuf/field_mask_pb'
|
|
|
21
21
|
require 'google/protobuf/timestamp_pb'
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
descriptor_data = "\n\x1cgoogle/chat/v1/message.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/apps/card/v1/card.proto\x1a\"google/chat/v1/action_status.proto\x1a\x1fgoogle/chat/v1/annotation.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a%google/chat/v1/contextual_addon.proto\x1a&google/chat/v1/deletion_metadata.proto\x1a google/chat/v1/matched_url.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\"google/chat/v1/slash_command.proto\x1a\x1agoogle/chat/v1/space.proto\x1a\x19google/chat/v1/user.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd4\n\n\x07Message\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12)\n\x06sender\x18\x02 \x01(\x0b\x32\x14.google.chat.v1.UserB\x03\xe0\x41\x03\x12\x37\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x05\xe0\x41\x01\x12\x39\n\x10last_update_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x1a \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04text\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x66ormatted_text\x18+ \x01(\tB\x03\xe0\x41\x03\x12=\n\x05\x63\x61rds\x18\x05 \x03(\x0b\x32*.google.chat.v1.ContextualAddOnMarkup.CardB\x02\x18\x01\x12\x31\n\x08\x63\x61rds_v2\x18\x16 \x03(\x0b\x32\x1a.google.chat.v1.CardWithIdB\x03\xe0\x41\x01\x12\x34\n\x0b\x61nnotations\x18\n \x03(\x0b\x32\x1a.google.chat.v1.AnnotationB\x03\xe0\x41\x03\x12&\n\x06thread\x18\x0b \x01(\x0b\x32\x16.google.chat.v1.Thread\x12)\n\x05space\x18\x0c \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x03\x12\x1a\n\rfallback_text\x18\r \x01(\tB\x03\xe0\x41\x01\x12<\n\x0f\x61\x63tion_response\x18\x0e \x01(\x0b\x32\x1e.google.chat.v1.ActionResponseB\x03\xe0\x41\x04\x12\x1a\n\rargument_text\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x38\n\rslash_command\x18\x11 \x01(\x0b\x32\x1c.google.chat.v1.SlashCommandB\x03\xe0\x41\x03\x12\x33\n\nattachment\x18\x12 \x03(\x0b\x32\x1a.google.chat.v1.AttachmentB\x03\xe0\x41\x01\x12\x34\n\x0bmatched_url\x18\x14 \x01(\x0b\x32\x1a.google.chat.v1.MatchedUrlB\x03\xe0\x41\x03\x12\x19\n\x0cthread_reply\x18\x19 \x01(\x08\x42\x03\xe0\x41\x03\x12\'\n\x1a\x63lient_assigned_message_id\x18 \x01(\tB\x03\xe0\x41\x01\x12K\n\x18\x65moji_reaction_summaries\x18! \x03(\x0b\x32$.google.chat.v1.EmojiReactionSummaryB\x03\xe0\x41\x03\x12<\n\x16private_message_viewer\x18$ \x01(\x0b\x32\x14.google.chat.v1.UserB\x06\xe0\x41\x05\xe0\x41\x01\x12@\n\x11\x64\x65letion_metadata\x18& \x01(\x0b\x32 .google.chat.v1.DeletionMetadataB\x03\xe0\x41\x03\x12K\n\x17quoted_message_metadata\x18\' \x01(\x0b\x32%.google.chat.v1.QuotedMessageMetadataB\x03\xe0\x41\x01\x12\x37\n\rattached_gifs\x18* \x03(\x0b\x32\x1b.google.chat.v1.AttachedGifB\x03\xe0\x41\x03\x12?\n\x11\x61\x63\x63\x65ssory_widgets\x18, \x03(\x0b\x32\x1f.google.chat.v1.AccessoryWidgetB\x03\xe0\x41\x01:C\xea\x41@\n\x1b\x63hat.googleapis.com/Message\x12!spaces/{space}/messages/{message}\"\x1f\n\x0b\x41ttachedGif\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\"\
|
|
24
|
+
descriptor_data = "\n\x1cgoogle/chat/v1/message.proto\x12\x0egoogle.chat.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/apps/card/v1/card.proto\x1a\"google/chat/v1/action_status.proto\x1a\x1fgoogle/chat/v1/annotation.proto\x1a\x1fgoogle/chat/v1/attachment.proto\x1a%google/chat/v1/contextual_addon.proto\x1a&google/chat/v1/deletion_metadata.proto\x1a google/chat/v1/matched_url.proto\x1a\x1dgoogle/chat/v1/reaction.proto\x1a\"google/chat/v1/slash_command.proto\x1a\x1agoogle/chat/v1/space.proto\x1a\x19google/chat/v1/user.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd4\n\n\x07Message\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12)\n\x06sender\x18\x02 \x01(\x0b\x32\x14.google.chat.v1.UserB\x03\xe0\x41\x03\x12\x37\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x05\xe0\x41\x01\x12\x39\n\x10last_update_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x64\x65lete_time\x18\x1a \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04text\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x66ormatted_text\x18+ \x01(\tB\x03\xe0\x41\x03\x12=\n\x05\x63\x61rds\x18\x05 \x03(\x0b\x32*.google.chat.v1.ContextualAddOnMarkup.CardB\x02\x18\x01\x12\x31\n\x08\x63\x61rds_v2\x18\x16 \x03(\x0b\x32\x1a.google.chat.v1.CardWithIdB\x03\xe0\x41\x01\x12\x34\n\x0b\x61nnotations\x18\n \x03(\x0b\x32\x1a.google.chat.v1.AnnotationB\x03\xe0\x41\x03\x12&\n\x06thread\x18\x0b \x01(\x0b\x32\x16.google.chat.v1.Thread\x12)\n\x05space\x18\x0c \x01(\x0b\x32\x15.google.chat.v1.SpaceB\x03\xe0\x41\x03\x12\x1a\n\rfallback_text\x18\r \x01(\tB\x03\xe0\x41\x01\x12<\n\x0f\x61\x63tion_response\x18\x0e \x01(\x0b\x32\x1e.google.chat.v1.ActionResponseB\x03\xe0\x41\x04\x12\x1a\n\rargument_text\x18\x0f \x01(\tB\x03\xe0\x41\x03\x12\x38\n\rslash_command\x18\x11 \x01(\x0b\x32\x1c.google.chat.v1.SlashCommandB\x03\xe0\x41\x03\x12\x33\n\nattachment\x18\x12 \x03(\x0b\x32\x1a.google.chat.v1.AttachmentB\x03\xe0\x41\x01\x12\x34\n\x0bmatched_url\x18\x14 \x01(\x0b\x32\x1a.google.chat.v1.MatchedUrlB\x03\xe0\x41\x03\x12\x19\n\x0cthread_reply\x18\x19 \x01(\x08\x42\x03\xe0\x41\x03\x12\'\n\x1a\x63lient_assigned_message_id\x18 \x01(\tB\x03\xe0\x41\x01\x12K\n\x18\x65moji_reaction_summaries\x18! \x03(\x0b\x32$.google.chat.v1.EmojiReactionSummaryB\x03\xe0\x41\x03\x12<\n\x16private_message_viewer\x18$ \x01(\x0b\x32\x14.google.chat.v1.UserB\x06\xe0\x41\x05\xe0\x41\x01\x12@\n\x11\x64\x65letion_metadata\x18& \x01(\x0b\x32 .google.chat.v1.DeletionMetadataB\x03\xe0\x41\x03\x12K\n\x17quoted_message_metadata\x18\' \x01(\x0b\x32%.google.chat.v1.QuotedMessageMetadataB\x03\xe0\x41\x01\x12\x37\n\rattached_gifs\x18* \x03(\x0b\x32\x1b.google.chat.v1.AttachedGifB\x03\xe0\x41\x03\x12?\n\x11\x61\x63\x63\x65ssory_widgets\x18, \x03(\x0b\x32\x1f.google.chat.v1.AccessoryWidgetB\x03\xe0\x41\x01:C\xea\x41@\n\x1b\x63hat.googleapis.com/Message\x12!spaces/{space}/messages/{message}\"\x1f\n\x0b\x41ttachedGif\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\"\x98\x04\n\x15QuotedMessageMetadata\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x39\n\x10last_update_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12H\n\nquote_type\x18\x04 \x01(\x0e\x32/.google.chat.v1.QuotedMessageMetadata.QuoteTypeB\x03\xe0\x41\x01\x12K\n\x17quoted_message_snapshot\x18\x05 \x01(\x0b\x32%.google.chat.v1.QuotedMessageSnapshotB\x03\xe0\x41\x03\x12\x42\n\x12\x66orwarded_metadata\x18\x06 \x01(\x0b\x32!.google.chat.v1.ForwardedMetadataB\x03\xe0\x41\x03\"2\n\tQuoteType\x12\x1a\n\x16QUOTE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05REPLY\x10\x01:\x81\x01\xea\x41~\n)chat.googleapis.com/QuotedMessageMetadata\x12Qspaces/{space}/messages/{message}/quotedMessageMetadata/{quoted_message_metadata}\"\xc8\x01\n\x15QuotedMessageSnapshot\x12\x13\n\x06sender\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04text\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0e\x66ormatted_text\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x61nnotations\x18\x04 \x03(\x0b\x32\x1a.google.chat.v1.AnnotationB\x03\xe0\x41\x03\x12\x34\n\x0b\x61ttachments\x18\x05 \x03(\x0b\x32\x1a.google.chat.v1.AttachmentB\x03\xe0\x41\x03\"f\n\x11\x46orwardedMetadata\x12\x30\n\x05space\x18\x01 \x01(\tB!\xe0\x41\x03\xfa\x41\x1b\n\x19\x63hat.googleapis.com/Space\x12\x1f\n\x12space_display_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\"v\n\x06Thread\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x17\n\nthread_key\x18\x03 \x01(\tB\x03\xe0\x41\x01:@\xea\x41=\n\x1a\x63hat.googleapis.com/Thread\x12\x1fspaces/{space}/threads/{thread}\"\xd2\x04\n\x0e\x41\x63tionResponse\x12>\n\x04type\x18\x01 \x01(\x0e\x32+.google.chat.v1.ActionResponse.ResponseTypeB\x03\xe0\x41\x04\x12\x10\n\x03url\x18\x02 \x01(\tB\x03\xe0\x41\x04\x12\x38\n\rdialog_action\x18\x03 \x01(\x0b\x32\x1c.google.chat.v1.DialogActionB\x03\xe0\x41\x04\x12I\n\x0eupdated_widget\x18\x04 \x01(\x0b\x32,.google.chat.v1.ActionResponse.UpdatedWidgetB\x03\xe0\x41\x04\x1aR\n\x0eSelectionItems\x12@\n\x05items\x18\x01 \x03(\x0b\x32\x31.google.apps.card.v1.SelectionInput.SelectionItem\x1aw\n\rUpdatedWidget\x12\x44\n\x0bsuggestions\x18\x01 \x01(\x0b\x32-.google.chat.v1.ActionResponse.SelectionItemsH\x00\x12\x0e\n\x06widget\x18\x02 \x01(\tB\x10\n\x0eupdated_widget\"\x9b\x01\n\x0cResponseType\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNEW_MESSAGE\x10\x01\x12\x12\n\x0eUPDATE_MESSAGE\x10\x02\x12\x1d\n\x19UPDATE_USER_MESSAGE_CARDS\x10\x06\x12\x12\n\x0eREQUEST_CONFIG\x10\x03\x12\n\n\x06\x44IALOG\x10\x04\x12\x11\n\rUPDATE_WIDGET\x10\x07\"S\n\x0f\x41\x63\x63\x65ssoryWidget\x12\x36\n\x0b\x62utton_list\x18\x01 \x01(\x0b\x32\x1f.google.apps.card.v1.ButtonListH\x00\x42\x08\n\x06\x61\x63tion\"F\n\x11GetMessageRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\"]\n\x14\x44\x65leteMessageRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1b\x63hat.googleapis.com/Message\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x97\x01\n\x14UpdateMessageRequest\x12-\n\x07message\x18\x01 \x01(\x0b\x32\x17.google.chat.v1.MessageB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x1a\n\rallow_missing\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\"\xa4\x03\n\x14\x43reateMessageRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12-\n\x07message\x18\x04 \x01(\x0b\x32\x17.google.chat.v1.MessageB\x03\xe0\x41\x02\x12\x19\n\nthread_key\x18\x06 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12Z\n\x14message_reply_option\x18\x08 \x01(\x0e\x32\x37.google.chat.v1.CreateMessageRequest.MessageReplyOptionB\x03\xe0\x41\x01\x12\x17\n\nmessage_id\x18\t \x01(\tB\x03\xe0\x41\x01\"\x7f\n\x12MessageReplyOption\x12$\n MESSAGE_REPLY_OPTION_UNSPECIFIED\x10\x00\x12(\n$REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD\x10\x01\x12\x19\n\x15REPLY_MESSAGE_OR_FAIL\x10\x02\"\xc2\x01\n\x13ListMessagesRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1b\x63hat.googleapis.com/Message\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cshow_deleted\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\"Z\n\x14ListMessagesResponse\x12)\n\x08messages\x18\x01 \x03(\x0b\x32\x17.google.chat.v1.Message\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x81\x01\n\x0c\x44ialogAction\x12-\n\x06\x64ialog\x18\x01 \x01(\x0b\x32\x16.google.chat.v1.DialogB\x03\xe0\x41\x04H\x00\x12\x38\n\raction_status\x18\x02 \x01(\x0b\x32\x1c.google.chat.v1.ActionStatusB\x03\xe0\x41\x04\x42\x08\n\x06\x61\x63tion\"6\n\x06\x44ialog\x12,\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x19.google.apps.card.v1.CardB\x03\xe0\x41\x04\"F\n\nCardWithId\x12\x0f\n\x07\x63\x61rd_id\x18\x01 \x01(\t\x12\'\n\x04\x63\x61rd\x18\x02 \x01(\x0b\x32\x19.google.apps.card.v1.CardB\xa5\x01\n\x12\x63om.google.chat.v1B\x0cMessageProtoP\x01Z,cloud.google.com/go/chat/apiv1/chatpb;chatpb\xa2\x02\x0b\x44YNAPIProto\xaa\x02\x13Google.Apps.Chat.V1\xca\x02\x13Google\\Apps\\Chat\\V1\xea\x02\x16Google::Apps::Chat::V1b\x06proto3"
|
|
25
25
|
|
|
26
26
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
27
27
|
|
|
@@ -67,6 +67,9 @@ module Google
|
|
|
67
67
|
Message = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Message").msgclass
|
|
68
68
|
AttachedGif = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.AttachedGif").msgclass
|
|
69
69
|
QuotedMessageMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.QuotedMessageMetadata").msgclass
|
|
70
|
+
QuotedMessageMetadata::QuoteType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.QuotedMessageMetadata.QuoteType").enummodule
|
|
71
|
+
QuotedMessageSnapshot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.QuotedMessageSnapshot").msgclass
|
|
72
|
+
ForwardedMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ForwardedMetadata").msgclass
|
|
70
73
|
Thread = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.Thread").msgclass
|
|
71
74
|
ActionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ActionResponse").msgclass
|
|
72
75
|
ActionResponse::SelectionItems = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.chat.v1.ActionResponse.SelectionItems").msgclass
|
|
@@ -1386,6 +1386,26 @@ module Google
|
|
|
1386
1386
|
SWITCH = 2
|
|
1387
1387
|
|
|
1388
1388
|
# A dropdown menu. Users can select one item from the menu.
|
|
1389
|
+
#
|
|
1390
|
+
# For Google Chat apps, you can populate items using a dynamic data source
|
|
1391
|
+
# and autosuggest items as users type in the menu. For example, users can
|
|
1392
|
+
# start typing the name of a Google Chat space and the widget autosuggests
|
|
1393
|
+
# the space. To dynamically populate items for a dropdown menu, use one of
|
|
1394
|
+
# the following types of data sources:
|
|
1395
|
+
#
|
|
1396
|
+
# * Google Workspace data: Items are populated using data from Google
|
|
1397
|
+
# Workspace, such as Google Workspace users or Google Chat spaces.
|
|
1398
|
+
# * External data: Items are populated from an external data
|
|
1399
|
+
# source outside of Google Workspace.
|
|
1400
|
+
#
|
|
1401
|
+
# For examples of how to implement dropdown menus for Chat apps, see
|
|
1402
|
+
# [Add a dropdown
|
|
1403
|
+
# menu](https://developers.google.com/workspace/chat/design-interactive-card-dialog#dropdown-menu)
|
|
1404
|
+
# and [Dynamically populate drop-down
|
|
1405
|
+
# menus](https://developers.google.com/workspace/chat/design-interactive-card-dialog#dynamic-dropdown-menu).
|
|
1406
|
+
#
|
|
1407
|
+
# [Google Workspace add-ons and Chat
|
|
1408
|
+
# apps](https://developers.google.com/workspace/extend):
|
|
1389
1409
|
DROPDOWN = 3
|
|
1390
1410
|
|
|
1391
1411
|
# A menu with a text box. Users can type and select one or more items.
|
|
@@ -267,9 +267,82 @@ module Google
|
|
|
267
267
|
#
|
|
268
268
|
# If `last_update_time` doesn't match the latest version of the quoted
|
|
269
269
|
# message, the request fails.
|
|
270
|
+
# @!attribute [rw] quote_type
|
|
271
|
+
# @return [::Google::Apps::Chat::V1::QuotedMessageMetadata::QuoteType]
|
|
272
|
+
# Optional. Specifies the quote type. If not set, defaults to REPLY in the
|
|
273
|
+
# message read/write path for backward compatibility.
|
|
274
|
+
# @!attribute [r] quoted_message_snapshot
|
|
275
|
+
# @return [::Google::Apps::Chat::V1::QuotedMessageSnapshot]
|
|
276
|
+
# Output only. A snapshot of the quoted message's content.
|
|
277
|
+
# @!attribute [r] forwarded_metadata
|
|
278
|
+
# @return [::Google::Apps::Chat::V1::ForwardedMetadata]
|
|
279
|
+
# Output only. Metadata about the source space of the quoted message.
|
|
280
|
+
# Populated only for FORWARD quote type.
|
|
270
281
|
class QuotedMessageMetadata
|
|
271
282
|
include ::Google::Protobuf::MessageExts
|
|
272
283
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
284
|
+
|
|
285
|
+
# The quote type of the quoted message.
|
|
286
|
+
module QuoteType
|
|
287
|
+
# Reserved. This value is unused.
|
|
288
|
+
QUOTE_TYPE_UNSPECIFIED = 0
|
|
289
|
+
|
|
290
|
+
# If quote_type is `REPLY`, you can do the following:
|
|
291
|
+
#
|
|
292
|
+
# * If you're replying in a thread, you can quote another message in that
|
|
293
|
+
# thread.
|
|
294
|
+
#
|
|
295
|
+
# * If you're creating a root message, you can quote another root message
|
|
296
|
+
# in that space.
|
|
297
|
+
#
|
|
298
|
+
# You can't quote a message reply from a different thread.
|
|
299
|
+
REPLY = 1
|
|
300
|
+
end
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
# Provides a snapshot of the content of the quoted message at the time of
|
|
304
|
+
# quoting or forwarding
|
|
305
|
+
# @!attribute [r] sender
|
|
306
|
+
# @return [::String]
|
|
307
|
+
# Output only. The quoted message's author name.
|
|
308
|
+
# Populated for both REPLY & FORWARD quote types.
|
|
309
|
+
# @!attribute [r] text
|
|
310
|
+
# @return [::String]
|
|
311
|
+
# Output only. Snapshot of the quoted message's text content.
|
|
312
|
+
# @!attribute [r] formatted_text
|
|
313
|
+
# @return [::String]
|
|
314
|
+
# Output only. Contains the quoted message `text` with markups added to
|
|
315
|
+
# support rich formatting like hyperlinks,custom emojis, markup, etc.
|
|
316
|
+
# Populated only for FORWARD quote type.
|
|
317
|
+
# @!attribute [r] annotations
|
|
318
|
+
# @return [::Array<::Google::Apps::Chat::V1::Annotation>]
|
|
319
|
+
# Output only. Annotations parsed from the text body of the quoted message.
|
|
320
|
+
# Populated only for FORWARD quote type.
|
|
321
|
+
# @!attribute [r] attachments
|
|
322
|
+
# @return [::Array<::Google::Apps::Chat::V1::Attachment>]
|
|
323
|
+
# Output only. Attachments that were part of the quoted message. These are
|
|
324
|
+
# copies of the quoted message's attachment metadata. Populated only for
|
|
325
|
+
# FORWARD quote type.
|
|
326
|
+
class QuotedMessageSnapshot
|
|
327
|
+
include ::Google::Protobuf::MessageExts
|
|
328
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
# Metadata about the source space from which a message was forwarded.
|
|
332
|
+
# @!attribute [r] space
|
|
333
|
+
# @return [::String]
|
|
334
|
+
# Output only. The resource name of the source space.
|
|
335
|
+
# Format: spaces/\\{space}
|
|
336
|
+
# @!attribute [r] space_display_name
|
|
337
|
+
# @return [::String]
|
|
338
|
+
# Output only. The display name of the source space or DM at the time of
|
|
339
|
+
# forwarding. For `SPACE`, this is the space name. For `DIRECT_MESSAGE`, this
|
|
340
|
+
# is the other participant's name (e.g., "User A"). For `GROUP_CHAT`, this is
|
|
341
|
+
# a generated name based on members' first names, limited to 5 including the
|
|
342
|
+
# creator (e.g., "User A, User B").
|
|
343
|
+
class ForwardedMetadata
|
|
344
|
+
include ::Google::Protobuf::MessageExts
|
|
345
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
273
346
|
end
|
|
274
347
|
|
|
275
348
|
# A thread in a Google Chat space. For example usage, see
|