@google-apps/chat 0.31.0 → 0.32.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.
@@ -15973,6 +15973,48 @@ export namespace google {
15973
15973
  */
15974
15974
  public deleteReaction(request: google.chat.v1.IDeleteReactionRequest): Promise<google.protobuf.Empty>;
15975
15975
 
15976
+ /**
15977
+ * Calls ListMessagePins.
15978
+ * @param request ListMessagePinsRequest message or plain object
15979
+ * @param callback Node-style callback called with the error, if any, and ListMessagePinsResponse
15980
+ */
15981
+ public listMessagePins(request: google.chat.v1.IListMessagePinsRequest, callback: google.chat.v1.ChatService.ListMessagePinsCallback): void;
15982
+
15983
+ /**
15984
+ * Calls ListMessagePins.
15985
+ * @param request ListMessagePinsRequest message or plain object
15986
+ * @returns Promise
15987
+ */
15988
+ public listMessagePins(request: google.chat.v1.IListMessagePinsRequest): Promise<google.chat.v1.ListMessagePinsResponse>;
15989
+
15990
+ /**
15991
+ * Calls CreateMessagePin.
15992
+ * @param request CreateMessagePinRequest message or plain object
15993
+ * @param callback Node-style callback called with the error, if any, and MessagePin
15994
+ */
15995
+ public createMessagePin(request: google.chat.v1.ICreateMessagePinRequest, callback: google.chat.v1.ChatService.CreateMessagePinCallback): void;
15996
+
15997
+ /**
15998
+ * Calls CreateMessagePin.
15999
+ * @param request CreateMessagePinRequest message or plain object
16000
+ * @returns Promise
16001
+ */
16002
+ public createMessagePin(request: google.chat.v1.ICreateMessagePinRequest): Promise<google.chat.v1.MessagePin>;
16003
+
16004
+ /**
16005
+ * Calls DeleteMessagePin.
16006
+ * @param request DeleteMessagePinRequest message or plain object
16007
+ * @param callback Node-style callback called with the error, if any, and Empty
16008
+ */
16009
+ public deleteMessagePin(request: google.chat.v1.IDeleteMessagePinRequest, callback: google.chat.v1.ChatService.DeleteMessagePinCallback): void;
16010
+
16011
+ /**
16012
+ * Calls DeleteMessagePin.
16013
+ * @param request DeleteMessagePinRequest message or plain object
16014
+ * @returns Promise
16015
+ */
16016
+ public deleteMessagePin(request: google.chat.v1.IDeleteMessagePinRequest): Promise<google.protobuf.Empty>;
16017
+
15976
16018
  /**
15977
16019
  * Calls CreateCustomEmoji.
15978
16020
  * @param request CreateCustomEmojiRequest message or plain object
@@ -16480,6 +16522,27 @@ export namespace google {
16480
16522
  */
16481
16523
  type DeleteReactionCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
16482
16524
 
16525
+ /**
16526
+ * Callback as used by {@link google.chat.v1.ChatService|listMessagePins}.
16527
+ * @param error Error, if any
16528
+ * @param [response] ListMessagePinsResponse
16529
+ */
16530
+ type ListMessagePinsCallback = (error: (Error|null), response?: google.chat.v1.ListMessagePinsResponse) => void;
16531
+
16532
+ /**
16533
+ * Callback as used by {@link google.chat.v1.ChatService|createMessagePin}.
16534
+ * @param error Error, if any
16535
+ * @param [response] MessagePin
16536
+ */
16537
+ type CreateMessagePinCallback = (error: (Error|null), response?: google.chat.v1.MessagePin) => void;
16538
+
16539
+ /**
16540
+ * Callback as used by {@link google.chat.v1.ChatService|deleteMessagePin}.
16541
+ * @param error Error, if any
16542
+ * @param [response] Empty
16543
+ */
16544
+ type DeleteMessagePinCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
16545
+
16483
16546
  /**
16484
16547
  * Callback as used by {@link google.chat.v1.ChatService|createCustomEmoji}.
16485
16548
  * @param error Error, if any
@@ -25321,6 +25384,521 @@ export namespace google {
25321
25384
  public static getTypeUrl(typeUrlPrefix?: string): string;
25322
25385
  }
25323
25386
 
25387
+ /** Properties of a MessagePin. */
25388
+ interface IMessagePin {
25389
+
25390
+ /** MessagePin name */
25391
+ name?: (string|null);
25392
+
25393
+ /** MessagePin message */
25394
+ message?: (string|null);
25395
+ }
25396
+
25397
+ /** Represents a MessagePin. */
25398
+ class MessagePin implements IMessagePin {
25399
+
25400
+ /**
25401
+ * Constructs a new MessagePin.
25402
+ * @param [properties] Properties to set
25403
+ */
25404
+ constructor(properties?: google.chat.v1.IMessagePin);
25405
+
25406
+ /** MessagePin name. */
25407
+ public name: string;
25408
+
25409
+ /** MessagePin message. */
25410
+ public message: string;
25411
+
25412
+ /**
25413
+ * Creates a new MessagePin instance using the specified properties.
25414
+ * @param [properties] Properties to set
25415
+ * @returns MessagePin instance
25416
+ */
25417
+ public static create(properties?: google.chat.v1.IMessagePin): google.chat.v1.MessagePin;
25418
+
25419
+ /**
25420
+ * Encodes the specified MessagePin message. Does not implicitly {@link google.chat.v1.MessagePin.verify|verify} messages.
25421
+ * @param message MessagePin message or plain object to encode
25422
+ * @param [writer] Writer to encode to
25423
+ * @returns Writer
25424
+ */
25425
+ public static encode(message: google.chat.v1.IMessagePin, writer?: $protobuf.Writer): $protobuf.Writer;
25426
+
25427
+ /**
25428
+ * Encodes the specified MessagePin message, length delimited. Does not implicitly {@link google.chat.v1.MessagePin.verify|verify} messages.
25429
+ * @param message MessagePin message or plain object to encode
25430
+ * @param [writer] Writer to encode to
25431
+ * @returns Writer
25432
+ */
25433
+ public static encodeDelimited(message: google.chat.v1.IMessagePin, writer?: $protobuf.Writer): $protobuf.Writer;
25434
+
25435
+ /**
25436
+ * Decodes a MessagePin message from the specified reader or buffer.
25437
+ * @param reader Reader or buffer to decode from
25438
+ * @param [length] Message length if known beforehand
25439
+ * @returns MessagePin
25440
+ * @throws {Error} If the payload is not a reader or valid buffer
25441
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25442
+ */
25443
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MessagePin;
25444
+
25445
+ /**
25446
+ * Decodes a MessagePin message from the specified reader or buffer, length delimited.
25447
+ * @param reader Reader or buffer to decode from
25448
+ * @returns MessagePin
25449
+ * @throws {Error} If the payload is not a reader or valid buffer
25450
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25451
+ */
25452
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MessagePin;
25453
+
25454
+ /**
25455
+ * Verifies a MessagePin message.
25456
+ * @param message Plain object to verify
25457
+ * @returns `null` if valid, otherwise the reason why it is not
25458
+ */
25459
+ public static verify(message: { [k: string]: any }): (string|null);
25460
+
25461
+ /**
25462
+ * Creates a MessagePin message from a plain object. Also converts values to their respective internal types.
25463
+ * @param object Plain object
25464
+ * @returns MessagePin
25465
+ */
25466
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.MessagePin;
25467
+
25468
+ /**
25469
+ * Creates a plain object from a MessagePin message. Also converts values to other types if specified.
25470
+ * @param message MessagePin
25471
+ * @param [options] Conversion options
25472
+ * @returns Plain object
25473
+ */
25474
+ public static toObject(message: google.chat.v1.MessagePin, options?: $protobuf.IConversionOptions): { [k: string]: any };
25475
+
25476
+ /**
25477
+ * Converts this MessagePin to JSON.
25478
+ * @returns JSON object
25479
+ */
25480
+ public toJSON(): { [k: string]: any };
25481
+
25482
+ /**
25483
+ * Gets the default type url for MessagePin
25484
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25485
+ * @returns The default type url
25486
+ */
25487
+ public static getTypeUrl(typeUrlPrefix?: string): string;
25488
+ }
25489
+
25490
+ /** Properties of a ListMessagePinsRequest. */
25491
+ interface IListMessagePinsRequest {
25492
+
25493
+ /** ListMessagePinsRequest parent */
25494
+ parent?: (string|null);
25495
+
25496
+ /** ListMessagePinsRequest pageSize */
25497
+ pageSize?: (number|null);
25498
+
25499
+ /** ListMessagePinsRequest pageToken */
25500
+ pageToken?: (string|null);
25501
+ }
25502
+
25503
+ /** Represents a ListMessagePinsRequest. */
25504
+ class ListMessagePinsRequest implements IListMessagePinsRequest {
25505
+
25506
+ /**
25507
+ * Constructs a new ListMessagePinsRequest.
25508
+ * @param [properties] Properties to set
25509
+ */
25510
+ constructor(properties?: google.chat.v1.IListMessagePinsRequest);
25511
+
25512
+ /** ListMessagePinsRequest parent. */
25513
+ public parent: string;
25514
+
25515
+ /** ListMessagePinsRequest pageSize. */
25516
+ public pageSize: number;
25517
+
25518
+ /** ListMessagePinsRequest pageToken. */
25519
+ public pageToken: string;
25520
+
25521
+ /**
25522
+ * Creates a new ListMessagePinsRequest instance using the specified properties.
25523
+ * @param [properties] Properties to set
25524
+ * @returns ListMessagePinsRequest instance
25525
+ */
25526
+ public static create(properties?: google.chat.v1.IListMessagePinsRequest): google.chat.v1.ListMessagePinsRequest;
25527
+
25528
+ /**
25529
+ * Encodes the specified ListMessagePinsRequest message. Does not implicitly {@link google.chat.v1.ListMessagePinsRequest.verify|verify} messages.
25530
+ * @param message ListMessagePinsRequest message or plain object to encode
25531
+ * @param [writer] Writer to encode to
25532
+ * @returns Writer
25533
+ */
25534
+ public static encode(message: google.chat.v1.IListMessagePinsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
25535
+
25536
+ /**
25537
+ * Encodes the specified ListMessagePinsRequest message, length delimited. Does not implicitly {@link google.chat.v1.ListMessagePinsRequest.verify|verify} messages.
25538
+ * @param message ListMessagePinsRequest message or plain object to encode
25539
+ * @param [writer] Writer to encode to
25540
+ * @returns Writer
25541
+ */
25542
+ public static encodeDelimited(message: google.chat.v1.IListMessagePinsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
25543
+
25544
+ /**
25545
+ * Decodes a ListMessagePinsRequest message from the specified reader or buffer.
25546
+ * @param reader Reader or buffer to decode from
25547
+ * @param [length] Message length if known beforehand
25548
+ * @returns ListMessagePinsRequest
25549
+ * @throws {Error} If the payload is not a reader or valid buffer
25550
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25551
+ */
25552
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ListMessagePinsRequest;
25553
+
25554
+ /**
25555
+ * Decodes a ListMessagePinsRequest message from the specified reader or buffer, length delimited.
25556
+ * @param reader Reader or buffer to decode from
25557
+ * @returns ListMessagePinsRequest
25558
+ * @throws {Error} If the payload is not a reader or valid buffer
25559
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25560
+ */
25561
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ListMessagePinsRequest;
25562
+
25563
+ /**
25564
+ * Verifies a ListMessagePinsRequest message.
25565
+ * @param message Plain object to verify
25566
+ * @returns `null` if valid, otherwise the reason why it is not
25567
+ */
25568
+ public static verify(message: { [k: string]: any }): (string|null);
25569
+
25570
+ /**
25571
+ * Creates a ListMessagePinsRequest message from a plain object. Also converts values to their respective internal types.
25572
+ * @param object Plain object
25573
+ * @returns ListMessagePinsRequest
25574
+ */
25575
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.ListMessagePinsRequest;
25576
+
25577
+ /**
25578
+ * Creates a plain object from a ListMessagePinsRequest message. Also converts values to other types if specified.
25579
+ * @param message ListMessagePinsRequest
25580
+ * @param [options] Conversion options
25581
+ * @returns Plain object
25582
+ */
25583
+ public static toObject(message: google.chat.v1.ListMessagePinsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
25584
+
25585
+ /**
25586
+ * Converts this ListMessagePinsRequest to JSON.
25587
+ * @returns JSON object
25588
+ */
25589
+ public toJSON(): { [k: string]: any };
25590
+
25591
+ /**
25592
+ * Gets the default type url for ListMessagePinsRequest
25593
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25594
+ * @returns The default type url
25595
+ */
25596
+ public static getTypeUrl(typeUrlPrefix?: string): string;
25597
+ }
25598
+
25599
+ /** Properties of a ListMessagePinsResponse. */
25600
+ interface IListMessagePinsResponse {
25601
+
25602
+ /** ListMessagePinsResponse messagePins */
25603
+ messagePins?: (google.chat.v1.IMessagePin[]|null);
25604
+
25605
+ /** ListMessagePinsResponse nextPageToken */
25606
+ nextPageToken?: (string|null);
25607
+ }
25608
+
25609
+ /** Represents a ListMessagePinsResponse. */
25610
+ class ListMessagePinsResponse implements IListMessagePinsResponse {
25611
+
25612
+ /**
25613
+ * Constructs a new ListMessagePinsResponse.
25614
+ * @param [properties] Properties to set
25615
+ */
25616
+ constructor(properties?: google.chat.v1.IListMessagePinsResponse);
25617
+
25618
+ /** ListMessagePinsResponse messagePins. */
25619
+ public messagePins: google.chat.v1.IMessagePin[];
25620
+
25621
+ /** ListMessagePinsResponse nextPageToken. */
25622
+ public nextPageToken: string;
25623
+
25624
+ /**
25625
+ * Creates a new ListMessagePinsResponse instance using the specified properties.
25626
+ * @param [properties] Properties to set
25627
+ * @returns ListMessagePinsResponse instance
25628
+ */
25629
+ public static create(properties?: google.chat.v1.IListMessagePinsResponse): google.chat.v1.ListMessagePinsResponse;
25630
+
25631
+ /**
25632
+ * Encodes the specified ListMessagePinsResponse message. Does not implicitly {@link google.chat.v1.ListMessagePinsResponse.verify|verify} messages.
25633
+ * @param message ListMessagePinsResponse message or plain object to encode
25634
+ * @param [writer] Writer to encode to
25635
+ * @returns Writer
25636
+ */
25637
+ public static encode(message: google.chat.v1.IListMessagePinsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
25638
+
25639
+ /**
25640
+ * Encodes the specified ListMessagePinsResponse message, length delimited. Does not implicitly {@link google.chat.v1.ListMessagePinsResponse.verify|verify} messages.
25641
+ * @param message ListMessagePinsResponse message or plain object to encode
25642
+ * @param [writer] Writer to encode to
25643
+ * @returns Writer
25644
+ */
25645
+ public static encodeDelimited(message: google.chat.v1.IListMessagePinsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
25646
+
25647
+ /**
25648
+ * Decodes a ListMessagePinsResponse message from the specified reader or buffer.
25649
+ * @param reader Reader or buffer to decode from
25650
+ * @param [length] Message length if known beforehand
25651
+ * @returns ListMessagePinsResponse
25652
+ * @throws {Error} If the payload is not a reader or valid buffer
25653
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25654
+ */
25655
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ListMessagePinsResponse;
25656
+
25657
+ /**
25658
+ * Decodes a ListMessagePinsResponse message from the specified reader or buffer, length delimited.
25659
+ * @param reader Reader or buffer to decode from
25660
+ * @returns ListMessagePinsResponse
25661
+ * @throws {Error} If the payload is not a reader or valid buffer
25662
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25663
+ */
25664
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ListMessagePinsResponse;
25665
+
25666
+ /**
25667
+ * Verifies a ListMessagePinsResponse message.
25668
+ * @param message Plain object to verify
25669
+ * @returns `null` if valid, otherwise the reason why it is not
25670
+ */
25671
+ public static verify(message: { [k: string]: any }): (string|null);
25672
+
25673
+ /**
25674
+ * Creates a ListMessagePinsResponse message from a plain object. Also converts values to their respective internal types.
25675
+ * @param object Plain object
25676
+ * @returns ListMessagePinsResponse
25677
+ */
25678
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.ListMessagePinsResponse;
25679
+
25680
+ /**
25681
+ * Creates a plain object from a ListMessagePinsResponse message. Also converts values to other types if specified.
25682
+ * @param message ListMessagePinsResponse
25683
+ * @param [options] Conversion options
25684
+ * @returns Plain object
25685
+ */
25686
+ public static toObject(message: google.chat.v1.ListMessagePinsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
25687
+
25688
+ /**
25689
+ * Converts this ListMessagePinsResponse to JSON.
25690
+ * @returns JSON object
25691
+ */
25692
+ public toJSON(): { [k: string]: any };
25693
+
25694
+ /**
25695
+ * Gets the default type url for ListMessagePinsResponse
25696
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25697
+ * @returns The default type url
25698
+ */
25699
+ public static getTypeUrl(typeUrlPrefix?: string): string;
25700
+ }
25701
+
25702
+ /** Properties of a CreateMessagePinRequest. */
25703
+ interface ICreateMessagePinRequest {
25704
+
25705
+ /** CreateMessagePinRequest parent */
25706
+ parent?: (string|null);
25707
+
25708
+ /** CreateMessagePinRequest messagePin */
25709
+ messagePin?: (google.chat.v1.IMessagePin|null);
25710
+ }
25711
+
25712
+ /** Represents a CreateMessagePinRequest. */
25713
+ class CreateMessagePinRequest implements ICreateMessagePinRequest {
25714
+
25715
+ /**
25716
+ * Constructs a new CreateMessagePinRequest.
25717
+ * @param [properties] Properties to set
25718
+ */
25719
+ constructor(properties?: google.chat.v1.ICreateMessagePinRequest);
25720
+
25721
+ /** CreateMessagePinRequest parent. */
25722
+ public parent: string;
25723
+
25724
+ /** CreateMessagePinRequest messagePin. */
25725
+ public messagePin?: (google.chat.v1.IMessagePin|null);
25726
+
25727
+ /**
25728
+ * Creates a new CreateMessagePinRequest instance using the specified properties.
25729
+ * @param [properties] Properties to set
25730
+ * @returns CreateMessagePinRequest instance
25731
+ */
25732
+ public static create(properties?: google.chat.v1.ICreateMessagePinRequest): google.chat.v1.CreateMessagePinRequest;
25733
+
25734
+ /**
25735
+ * Encodes the specified CreateMessagePinRequest message. Does not implicitly {@link google.chat.v1.CreateMessagePinRequest.verify|verify} messages.
25736
+ * @param message CreateMessagePinRequest message or plain object to encode
25737
+ * @param [writer] Writer to encode to
25738
+ * @returns Writer
25739
+ */
25740
+ public static encode(message: google.chat.v1.ICreateMessagePinRequest, writer?: $protobuf.Writer): $protobuf.Writer;
25741
+
25742
+ /**
25743
+ * Encodes the specified CreateMessagePinRequest message, length delimited. Does not implicitly {@link google.chat.v1.CreateMessagePinRequest.verify|verify} messages.
25744
+ * @param message CreateMessagePinRequest message or plain object to encode
25745
+ * @param [writer] Writer to encode to
25746
+ * @returns Writer
25747
+ */
25748
+ public static encodeDelimited(message: google.chat.v1.ICreateMessagePinRequest, writer?: $protobuf.Writer): $protobuf.Writer;
25749
+
25750
+ /**
25751
+ * Decodes a CreateMessagePinRequest message from the specified reader or buffer.
25752
+ * @param reader Reader or buffer to decode from
25753
+ * @param [length] Message length if known beforehand
25754
+ * @returns CreateMessagePinRequest
25755
+ * @throws {Error} If the payload is not a reader or valid buffer
25756
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25757
+ */
25758
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.CreateMessagePinRequest;
25759
+
25760
+ /**
25761
+ * Decodes a CreateMessagePinRequest message from the specified reader or buffer, length delimited.
25762
+ * @param reader Reader or buffer to decode from
25763
+ * @returns CreateMessagePinRequest
25764
+ * @throws {Error} If the payload is not a reader or valid buffer
25765
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25766
+ */
25767
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.CreateMessagePinRequest;
25768
+
25769
+ /**
25770
+ * Verifies a CreateMessagePinRequest message.
25771
+ * @param message Plain object to verify
25772
+ * @returns `null` if valid, otherwise the reason why it is not
25773
+ */
25774
+ public static verify(message: { [k: string]: any }): (string|null);
25775
+
25776
+ /**
25777
+ * Creates a CreateMessagePinRequest message from a plain object. Also converts values to their respective internal types.
25778
+ * @param object Plain object
25779
+ * @returns CreateMessagePinRequest
25780
+ */
25781
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.CreateMessagePinRequest;
25782
+
25783
+ /**
25784
+ * Creates a plain object from a CreateMessagePinRequest message. Also converts values to other types if specified.
25785
+ * @param message CreateMessagePinRequest
25786
+ * @param [options] Conversion options
25787
+ * @returns Plain object
25788
+ */
25789
+ public static toObject(message: google.chat.v1.CreateMessagePinRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
25790
+
25791
+ /**
25792
+ * Converts this CreateMessagePinRequest to JSON.
25793
+ * @returns JSON object
25794
+ */
25795
+ public toJSON(): { [k: string]: any };
25796
+
25797
+ /**
25798
+ * Gets the default type url for CreateMessagePinRequest
25799
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25800
+ * @returns The default type url
25801
+ */
25802
+ public static getTypeUrl(typeUrlPrefix?: string): string;
25803
+ }
25804
+
25805
+ /** Properties of a DeleteMessagePinRequest. */
25806
+ interface IDeleteMessagePinRequest {
25807
+
25808
+ /** DeleteMessagePinRequest name */
25809
+ name?: (string|null);
25810
+ }
25811
+
25812
+ /** Represents a DeleteMessagePinRequest. */
25813
+ class DeleteMessagePinRequest implements IDeleteMessagePinRequest {
25814
+
25815
+ /**
25816
+ * Constructs a new DeleteMessagePinRequest.
25817
+ * @param [properties] Properties to set
25818
+ */
25819
+ constructor(properties?: google.chat.v1.IDeleteMessagePinRequest);
25820
+
25821
+ /** DeleteMessagePinRequest name. */
25822
+ public name: string;
25823
+
25824
+ /**
25825
+ * Creates a new DeleteMessagePinRequest instance using the specified properties.
25826
+ * @param [properties] Properties to set
25827
+ * @returns DeleteMessagePinRequest instance
25828
+ */
25829
+ public static create(properties?: google.chat.v1.IDeleteMessagePinRequest): google.chat.v1.DeleteMessagePinRequest;
25830
+
25831
+ /**
25832
+ * Encodes the specified DeleteMessagePinRequest message. Does not implicitly {@link google.chat.v1.DeleteMessagePinRequest.verify|verify} messages.
25833
+ * @param message DeleteMessagePinRequest message or plain object to encode
25834
+ * @param [writer] Writer to encode to
25835
+ * @returns Writer
25836
+ */
25837
+ public static encode(message: google.chat.v1.IDeleteMessagePinRequest, writer?: $protobuf.Writer): $protobuf.Writer;
25838
+
25839
+ /**
25840
+ * Encodes the specified DeleteMessagePinRequest message, length delimited. Does not implicitly {@link google.chat.v1.DeleteMessagePinRequest.verify|verify} messages.
25841
+ * @param message DeleteMessagePinRequest message or plain object to encode
25842
+ * @param [writer] Writer to encode to
25843
+ * @returns Writer
25844
+ */
25845
+ public static encodeDelimited(message: google.chat.v1.IDeleteMessagePinRequest, writer?: $protobuf.Writer): $protobuf.Writer;
25846
+
25847
+ /**
25848
+ * Decodes a DeleteMessagePinRequest message from the specified reader or buffer.
25849
+ * @param reader Reader or buffer to decode from
25850
+ * @param [length] Message length if known beforehand
25851
+ * @returns DeleteMessagePinRequest
25852
+ * @throws {Error} If the payload is not a reader or valid buffer
25853
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25854
+ */
25855
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.DeleteMessagePinRequest;
25856
+
25857
+ /**
25858
+ * Decodes a DeleteMessagePinRequest message from the specified reader or buffer, length delimited.
25859
+ * @param reader Reader or buffer to decode from
25860
+ * @returns DeleteMessagePinRequest
25861
+ * @throws {Error} If the payload is not a reader or valid buffer
25862
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
25863
+ */
25864
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.DeleteMessagePinRequest;
25865
+
25866
+ /**
25867
+ * Verifies a DeleteMessagePinRequest message.
25868
+ * @param message Plain object to verify
25869
+ * @returns `null` if valid, otherwise the reason why it is not
25870
+ */
25871
+ public static verify(message: { [k: string]: any }): (string|null);
25872
+
25873
+ /**
25874
+ * Creates a DeleteMessagePinRequest message from a plain object. Also converts values to their respective internal types.
25875
+ * @param object Plain object
25876
+ * @returns DeleteMessagePinRequest
25877
+ */
25878
+ public static fromObject(object: { [k: string]: any }): google.chat.v1.DeleteMessagePinRequest;
25879
+
25880
+ /**
25881
+ * Creates a plain object from a DeleteMessagePinRequest message. Also converts values to other types if specified.
25882
+ * @param message DeleteMessagePinRequest
25883
+ * @param [options] Conversion options
25884
+ * @returns Plain object
25885
+ */
25886
+ public static toObject(message: google.chat.v1.DeleteMessagePinRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
25887
+
25888
+ /**
25889
+ * Converts this DeleteMessagePinRequest to JSON.
25890
+ * @returns JSON object
25891
+ */
25892
+ public toJSON(): { [k: string]: any };
25893
+
25894
+ /**
25895
+ * Gets the default type url for DeleteMessagePinRequest
25896
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
25897
+ * @returns The default type url
25898
+ */
25899
+ public static getTypeUrl(typeUrlPrefix?: string): string;
25900
+ }
25901
+
25324
25902
  /** Properties of a Section. */
25325
25903
  interface ISection {
25326
25904