@google-apps/chat 0.21.0 → 0.23.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.
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -11429,6 +11429,7 @@ export namespace google {
11429
11429
  RICH_LINK_TYPE_UNSPECIFIED = 0,
11430
11430
  DRIVE_FILE = 1,
11431
11431
  CHAT_SPACE = 2,
11432
+ GMAIL_MESSAGE = 3,
11432
11433
  MEET_SPACE = 4,
11433
11434
  CALENDAR_EVENT = 5
11434
11435
  }
@@ -16251,6 +16252,15 @@ export namespace google {
16251
16252
 
16252
16253
  /** QuotedMessageMetadata lastUpdateTime */
16253
16254
  lastUpdateTime?: (google.protobuf.ITimestamp|null);
16255
+
16256
+ /** QuotedMessageMetadata quoteType */
16257
+ quoteType?: (google.chat.v1.QuotedMessageMetadata.QuoteType|keyof typeof google.chat.v1.QuotedMessageMetadata.QuoteType|null);
16258
+
16259
+ /** QuotedMessageMetadata quotedMessageSnapshot */
16260
+ quotedMessageSnapshot?: (google.chat.v1.IQuotedMessageSnapshot|null);
16261
+
16262
+ /** QuotedMessageMetadata forwardedMetadata */
16263
+ forwardedMetadata?: (google.chat.v1.IForwardedMetadata|null);
16254
16264
  }
16255
16265
 
16256
16266
  /** Represents a QuotedMessageMetadata. */
@@ -16268,6 +16278,15 @@ export namespace google {
16268
16278
  /** QuotedMessageMetadata lastUpdateTime. */
16269
16279
  public lastUpdateTime?: (google.protobuf.ITimestamp|null);
16270
16280
 
16281
+ /** QuotedMessageMetadata quoteType. */
16282
+ public quoteType: (google.chat.v1.QuotedMessageMetadata.QuoteType|keyof typeof google.chat.v1.QuotedMessageMetadata.QuoteType);
16283
+
16284
+ /** QuotedMessageMetadata quotedMessageSnapshot. */
16285
+ public quotedMessageSnapshot?: (google.chat.v1.IQuotedMessageSnapshot|null);
16286
+
16287
+ /** QuotedMessageMetadata forwardedMetadata. */
16288
+ public forwardedMetadata?: (google.chat.v1.IForwardedMetadata|null);
16289
+
16271
16290
  /**
16272
16291
  * Creates a new QuotedMessageMetadata instance using the specified properties.
16273
16292
  * @param [properties] Properties to set
@@ -16346,6 +16365,239 @@ export namespace google {
16346
16365
  public static getTypeUrl(typeUrlPrefix?: string): string;
16347
16366
  }
16348
16367
 
16368
+ namespace QuotedMessageMetadata {
16369
+
16370
+ /** QuoteType enum. */
16371
+ enum QuoteType {
16372
+ QUOTE_TYPE_UNSPECIFIED = 0,
16373
+ REPLY = 1
16374
+ }
16375
+ }
16376
+
16377
+ /** Properties of a QuotedMessageSnapshot. */
16378
+ interface IQuotedMessageSnapshot {
16379
+
16380
+ /** QuotedMessageSnapshot sender */
16381
+ sender?: (string|null);
16382
+
16383
+ /** QuotedMessageSnapshot text */
16384
+ text?: (string|null);
16385
+
16386
+ /** QuotedMessageSnapshot formattedText */
16387
+ formattedText?: (string|null);
16388
+
16389
+ /** QuotedMessageSnapshot annotations */
16390
+ annotations?: (google.chat.v1.IAnnotation[]|null);
16391
+
16392
+ /** QuotedMessageSnapshot attachments */
16393
+ attachments?: (google.chat.v1.IAttachment[]|null);
16394
+ }
16395
+
16396
+ /** Represents a QuotedMessageSnapshot. */
16397
+ class QuotedMessageSnapshot implements IQuotedMessageSnapshot {
16398
+
16399
+ /**
16400
+ * Constructs a new QuotedMessageSnapshot.
16401
+ * @param [properties] Properties to set
16402
+ */
16403
+ constructor(properties?: google.chat.v1.IQuotedMessageSnapshot);
16404
+
16405
+ /** QuotedMessageSnapshot sender. */
16406
+ public sender: string;
16407
+
16408
+ /** QuotedMessageSnapshot text. */
16409
+ public text: string;
16410
+
16411
+ /** QuotedMessageSnapshot formattedText. */
16412
+ public formattedText: string;
16413
+
16414
+ /** QuotedMessageSnapshot annotations. */
16415
+ public annotations: google.chat.v1.IAnnotation[];
16416
+
16417
+ /** QuotedMessageSnapshot attachments. */
16418
+ public attachments: google.chat.v1.IAttachment[];
16419
+
16420
+ /**
16421
+ * Creates a new QuotedMessageSnapshot instance using the specified properties.
16422
+ * @param [properties] Properties to set
16423
+ * @returns QuotedMessageSnapshot instance
16424
+ */
16425
+ public static create(properties?: google.chat.v1.IQuotedMessageSnapshot): google.chat.v1.QuotedMessageSnapshot;
16426
+
16427
+ /**
16428
+ * Encodes the specified QuotedMessageSnapshot message. Does not implicitly {@link google.chat.v1.QuotedMessageSnapshot.verify|verify} messages.
16429
+ * @param message QuotedMessageSnapshot message or plain object to encode
16430
+ * @param [writer] Writer to encode to
16431
+ * @returns Writer
16432
+ */
16433
+ public static encode(message: google.chat.v1.IQuotedMessageSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
16434
+
16435
+ /**
16436
+ * Encodes the specified QuotedMessageSnapshot message, length delimited. Does not implicitly {@link google.chat.v1.QuotedMessageSnapshot.verify|verify} messages.
16437
+ * @param message QuotedMessageSnapshot message or plain object to encode
16438
+ * @param [writer] Writer to encode to
16439
+ * @returns Writer
16440
+ */
16441
+ public static encodeDelimited(message: google.chat.v1.IQuotedMessageSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
16442
+
16443
+ /**
16444
+ * Decodes a QuotedMessageSnapshot message from the specified reader or buffer.
16445
+ * @param reader Reader or buffer to decode from
16446
+ * @param [length] Message length if known beforehand
16447
+ * @returns QuotedMessageSnapshot
16448
+ * @throws {Error} If the payload is not a reader or valid buffer
16449
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16450
+ */
16451
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.QuotedMessageSnapshot;
16452
+
16453
+ /**
16454
+ * Decodes a QuotedMessageSnapshot message from the specified reader or buffer, length delimited.
16455
+ * @param reader Reader or buffer to decode from
16456
+ * @returns QuotedMessageSnapshot
16457
+ * @throws {Error} If the payload is not a reader or valid buffer
16458
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16459
+ */
16460
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.QuotedMessageSnapshot;
16461
+
16462
+ /**
16463
+ * Verifies a QuotedMessageSnapshot message.
16464
+ * @param message Plain object to verify
16465
+ * @returns `null` if valid, otherwise the reason why it is not
16466
+ */
16467
+ public static verify(message: { [k: string]: any }): (string|null);
16468
+
16469
+ /**
16470
+ * Creates a QuotedMessageSnapshot message from a plain object. Also converts values to their respective internal types.
16471
+ * @param object Plain object
16472
+ * @returns QuotedMessageSnapshot
16473
+ */
16474
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.QuotedMessageSnapshot;
16475
+
16476
+ /**
16477
+ * Creates a plain object from a QuotedMessageSnapshot message. Also converts values to other types if specified.
16478
+ * @param message QuotedMessageSnapshot
16479
+ * @param [options] Conversion options
16480
+ * @returns Plain object
16481
+ */
16482
+ public static toObject(message: google.chat.v1.QuotedMessageSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any };
16483
+
16484
+ /**
16485
+ * Converts this QuotedMessageSnapshot to JSON.
16486
+ * @returns JSON object
16487
+ */
16488
+ public toJSON(): { [k: string]: any };
16489
+
16490
+ /**
16491
+ * Gets the default type url for QuotedMessageSnapshot
16492
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
16493
+ * @returns The default type url
16494
+ */
16495
+ public static getTypeUrl(typeUrlPrefix?: string): string;
16496
+ }
16497
+
16498
+ /** Properties of a ForwardedMetadata. */
16499
+ interface IForwardedMetadata {
16500
+
16501
+ /** ForwardedMetadata space */
16502
+ space?: (string|null);
16503
+
16504
+ /** ForwardedMetadata spaceDisplayName */
16505
+ spaceDisplayName?: (string|null);
16506
+ }
16507
+
16508
+ /** Represents a ForwardedMetadata. */
16509
+ class ForwardedMetadata implements IForwardedMetadata {
16510
+
16511
+ /**
16512
+ * Constructs a new ForwardedMetadata.
16513
+ * @param [properties] Properties to set
16514
+ */
16515
+ constructor(properties?: google.chat.v1.IForwardedMetadata);
16516
+
16517
+ /** ForwardedMetadata space. */
16518
+ public space: string;
16519
+
16520
+ /** ForwardedMetadata spaceDisplayName. */
16521
+ public spaceDisplayName: string;
16522
+
16523
+ /**
16524
+ * Creates a new ForwardedMetadata instance using the specified properties.
16525
+ * @param [properties] Properties to set
16526
+ * @returns ForwardedMetadata instance
16527
+ */
16528
+ public static create(properties?: google.chat.v1.IForwardedMetadata): google.chat.v1.ForwardedMetadata;
16529
+
16530
+ /**
16531
+ * Encodes the specified ForwardedMetadata message. Does not implicitly {@link google.chat.v1.ForwardedMetadata.verify|verify} messages.
16532
+ * @param message ForwardedMetadata message or plain object to encode
16533
+ * @param [writer] Writer to encode to
16534
+ * @returns Writer
16535
+ */
16536
+ public static encode(message: google.chat.v1.IForwardedMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
16537
+
16538
+ /**
16539
+ * Encodes the specified ForwardedMetadata message, length delimited. Does not implicitly {@link google.chat.v1.ForwardedMetadata.verify|verify} messages.
16540
+ * @param message ForwardedMetadata message or plain object to encode
16541
+ * @param [writer] Writer to encode to
16542
+ * @returns Writer
16543
+ */
16544
+ public static encodeDelimited(message: google.chat.v1.IForwardedMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
16545
+
16546
+ /**
16547
+ * Decodes a ForwardedMetadata message from the specified reader or buffer.
16548
+ * @param reader Reader or buffer to decode from
16549
+ * @param [length] Message length if known beforehand
16550
+ * @returns ForwardedMetadata
16551
+ * @throws {Error} If the payload is not a reader or valid buffer
16552
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16553
+ */
16554
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ForwardedMetadata;
16555
+
16556
+ /**
16557
+ * Decodes a ForwardedMetadata message from the specified reader or buffer, length delimited.
16558
+ * @param reader Reader or buffer to decode from
16559
+ * @returns ForwardedMetadata
16560
+ * @throws {Error} If the payload is not a reader or valid buffer
16561
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16562
+ */
16563
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ForwardedMetadata;
16564
+
16565
+ /**
16566
+ * Verifies a ForwardedMetadata message.
16567
+ * @param message Plain object to verify
16568
+ * @returns `null` if valid, otherwise the reason why it is not
16569
+ */
16570
+ public static verify(message: { [k: string]: any }): (string|null);
16571
+
16572
+ /**
16573
+ * Creates a ForwardedMetadata message from a plain object. Also converts values to their respective internal types.
16574
+ * @param object Plain object
16575
+ * @returns ForwardedMetadata
16576
+ */
16577
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.ForwardedMetadata;
16578
+
16579
+ /**
16580
+ * Creates a plain object from a ForwardedMetadata message. Also converts values to other types if specified.
16581
+ * @param message ForwardedMetadata
16582
+ * @param [options] Conversion options
16583
+ * @returns Plain object
16584
+ */
16585
+ public static toObject(message: google.chat.v1.ForwardedMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
16586
+
16587
+ /**
16588
+ * Converts this ForwardedMetadata to JSON.
16589
+ * @returns JSON object
16590
+ */
16591
+ public toJSON(): { [k: string]: any };
16592
+
16593
+ /**
16594
+ * Gets the default type url for ForwardedMetadata
16595
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
16596
+ * @returns The default type url
16597
+ */
16598
+ public static getTypeUrl(typeUrlPrefix?: string): string;
16599
+ }
16600
+
16349
16601
  /** Properties of a Thread. */
16350
16602
  interface IThread {
16351
16603