@google-apps/chat 0.23.1 → 0.24.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/LICENSE +202 -0
- package/README.md +1 -0
- package/build/protos/google/chat/v1/action_status.proto +1 -1
- package/build/protos/google/chat/v1/annotation.proto +1 -1
- package/build/protos/google/chat/v1/attachment.proto +1 -1
- package/build/protos/google/chat/v1/chat_service.proto +26 -0
- package/build/protos/google/chat/v1/contextual_addon.proto +1 -1
- package/build/protos/google/chat/v1/deletion_metadata.proto +1 -1
- package/build/protos/google/chat/v1/event_payload.proto +1 -1
- package/build/protos/google/chat/v1/group.proto +1 -1
- package/build/protos/google/chat/v1/history_state.proto +1 -1
- package/build/protos/google/chat/v1/matched_url.proto +1 -1
- package/build/protos/google/chat/v1/membership.proto +1 -1
- package/build/protos/google/chat/v1/message.proto +41 -0
- package/build/protos/google/chat/v1/reaction.proto +1 -1
- package/build/protos/google/chat/v1/slash_command.proto +1 -1
- package/build/protos/google/chat/v1/space.proto +81 -1
- package/build/protos/google/chat/v1/space_event.proto +1 -1
- package/build/protos/google/chat/v1/space_notification_setting.proto +1 -1
- package/build/protos/google/chat/v1/space_read_state.proto +1 -1
- package/build/protos/google/chat/v1/space_setup.proto +1 -1
- package/build/protos/google/chat/v1/thread_read_state.proto +1 -1
- package/build/protos/google/chat/v1/user.proto +1 -1
- package/build/protos/google/chat/v1/widgets.proto +1 -1
- package/build/protos/protos.d.ts +365 -0
- package/build/protos/protos.js +959 -48
- package/build/protos/protos.json +95 -0
- package/build/src/index.js +1 -1
- package/build/src/v1/chat_service_client.d.ts +205 -0
- package/build/src/v1/chat_service_client.js +167 -1
- package/build/src/v1/chat_service_client.js.map +1 -1
- package/build/src/v1/chat_service_client_config.json +5 -0
- package/build/src/v1/gapic_metadata.json +14 -0
- package/package.json +1 -1
package/build/protos/protos.d.ts
CHANGED
|
@@ -14501,6 +14501,20 @@ export namespace google {
|
|
|
14501
14501
|
*/
|
|
14502
14502
|
public findDirectMessage(request: google.chat.v1.IFindDirectMessageRequest): Promise<google.chat.v1.Space>;
|
|
14503
14503
|
|
|
14504
|
+
/**
|
|
14505
|
+
* Calls FindGroupChats.
|
|
14506
|
+
* @param request FindGroupChatsRequest message or plain object
|
|
14507
|
+
* @param callback Node-style callback called with the error, if any, and FindGroupChatsResponse
|
|
14508
|
+
*/
|
|
14509
|
+
public findGroupChats(request: google.chat.v1.IFindGroupChatsRequest, callback: google.chat.v1.ChatService.FindGroupChatsCallback): void;
|
|
14510
|
+
|
|
14511
|
+
/**
|
|
14512
|
+
* Calls FindGroupChats.
|
|
14513
|
+
* @param request FindGroupChatsRequest message or plain object
|
|
14514
|
+
* @returns Promise
|
|
14515
|
+
*/
|
|
14516
|
+
public findGroupChats(request: google.chat.v1.IFindGroupChatsRequest): Promise<google.chat.v1.FindGroupChatsResponse>;
|
|
14517
|
+
|
|
14504
14518
|
/**
|
|
14505
14519
|
* Calls CreateMembership.
|
|
14506
14520
|
* @param request CreateMembershipRequest message or plain object
|
|
@@ -14966,6 +14980,13 @@ export namespace google {
|
|
|
14966
14980
|
*/
|
|
14967
14981
|
type FindDirectMessageCallback = (error: (Error|null), response?: google.chat.v1.Space) => void;
|
|
14968
14982
|
|
|
14983
|
+
/**
|
|
14984
|
+
* Callback as used by {@link google.chat.v1.ChatService|findGroupChats}.
|
|
14985
|
+
* @param error Error, if any
|
|
14986
|
+
* @param [response] FindGroupChatsResponse
|
|
14987
|
+
*/
|
|
14988
|
+
type FindGroupChatsCallback = (error: (Error|null), response?: google.chat.v1.FindGroupChatsResponse) => void;
|
|
14989
|
+
|
|
14969
14990
|
/**
|
|
14970
14991
|
* Callback as used by {@link google.chat.v1.ChatService|createMembership}.
|
|
14971
14992
|
* @param error Error, if any
|
|
@@ -16107,6 +16128,9 @@ export namespace google {
|
|
|
16107
16128
|
/** Message threadReply */
|
|
16108
16129
|
threadReply?: (boolean|null);
|
|
16109
16130
|
|
|
16131
|
+
/** Message silent */
|
|
16132
|
+
silent?: (boolean|null);
|
|
16133
|
+
|
|
16110
16134
|
/** Message clientAssignedMessageId */
|
|
16111
16135
|
clientAssignedMessageId?: (string|null);
|
|
16112
16136
|
|
|
@@ -16195,6 +16219,9 @@ export namespace google {
|
|
|
16195
16219
|
/** Message threadReply. */
|
|
16196
16220
|
public threadReply: boolean;
|
|
16197
16221
|
|
|
16222
|
+
/** Message silent. */
|
|
16223
|
+
public silent: boolean;
|
|
16224
|
+
|
|
16198
16225
|
/** Message clientAssignedMessageId. */
|
|
16199
16226
|
public clientAssignedMessageId: string;
|
|
16200
16227
|
|
|
@@ -17609,6 +17636,9 @@ export namespace google {
|
|
|
17609
17636
|
|
|
17610
17637
|
/** CreateMessageRequest messageId */
|
|
17611
17638
|
messageId?: (string|null);
|
|
17639
|
+
|
|
17640
|
+
/** CreateMessageRequest createMessageNotificationOptions */
|
|
17641
|
+
createMessageNotificationOptions?: (google.chat.v1.ICreateMessageNotificationOptions|null);
|
|
17612
17642
|
}
|
|
17613
17643
|
|
|
17614
17644
|
/** Represents a CreateMessageRequest. */
|
|
@@ -17638,6 +17668,9 @@ export namespace google {
|
|
|
17638
17668
|
/** CreateMessageRequest messageId. */
|
|
17639
17669
|
public messageId: string;
|
|
17640
17670
|
|
|
17671
|
+
/** CreateMessageRequest createMessageNotificationOptions. */
|
|
17672
|
+
public createMessageNotificationOptions?: (google.chat.v1.ICreateMessageNotificationOptions|null);
|
|
17673
|
+
|
|
17641
17674
|
/**
|
|
17642
17675
|
* Creates a new CreateMessageRequest instance using the specified properties.
|
|
17643
17676
|
* @param [properties] Properties to set
|
|
@@ -17726,6 +17759,113 @@ export namespace google {
|
|
|
17726
17759
|
}
|
|
17727
17760
|
}
|
|
17728
17761
|
|
|
17762
|
+
/** Properties of a CreateMessageNotificationOptions. */
|
|
17763
|
+
interface ICreateMessageNotificationOptions {
|
|
17764
|
+
|
|
17765
|
+
/** CreateMessageNotificationOptions notificationType */
|
|
17766
|
+
notificationType?: (google.chat.v1.CreateMessageNotificationOptions.NotificationType|keyof typeof google.chat.v1.CreateMessageNotificationOptions.NotificationType|null);
|
|
17767
|
+
}
|
|
17768
|
+
|
|
17769
|
+
/** Represents a CreateMessageNotificationOptions. */
|
|
17770
|
+
class CreateMessageNotificationOptions implements ICreateMessageNotificationOptions {
|
|
17771
|
+
|
|
17772
|
+
/**
|
|
17773
|
+
* Constructs a new CreateMessageNotificationOptions.
|
|
17774
|
+
* @param [properties] Properties to set
|
|
17775
|
+
*/
|
|
17776
|
+
constructor(properties?: google.chat.v1.ICreateMessageNotificationOptions);
|
|
17777
|
+
|
|
17778
|
+
/** CreateMessageNotificationOptions notificationType. */
|
|
17779
|
+
public notificationType: (google.chat.v1.CreateMessageNotificationOptions.NotificationType|keyof typeof google.chat.v1.CreateMessageNotificationOptions.NotificationType);
|
|
17780
|
+
|
|
17781
|
+
/**
|
|
17782
|
+
* Creates a new CreateMessageNotificationOptions instance using the specified properties.
|
|
17783
|
+
* @param [properties] Properties to set
|
|
17784
|
+
* @returns CreateMessageNotificationOptions instance
|
|
17785
|
+
*/
|
|
17786
|
+
public static create(properties?: google.chat.v1.ICreateMessageNotificationOptions): google.chat.v1.CreateMessageNotificationOptions;
|
|
17787
|
+
|
|
17788
|
+
/**
|
|
17789
|
+
* Encodes the specified CreateMessageNotificationOptions message. Does not implicitly {@link google.chat.v1.CreateMessageNotificationOptions.verify|verify} messages.
|
|
17790
|
+
* @param message CreateMessageNotificationOptions message or plain object to encode
|
|
17791
|
+
* @param [writer] Writer to encode to
|
|
17792
|
+
* @returns Writer
|
|
17793
|
+
*/
|
|
17794
|
+
public static encode(message: google.chat.v1.ICreateMessageNotificationOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17795
|
+
|
|
17796
|
+
/**
|
|
17797
|
+
* Encodes the specified CreateMessageNotificationOptions message, length delimited. Does not implicitly {@link google.chat.v1.CreateMessageNotificationOptions.verify|verify} messages.
|
|
17798
|
+
* @param message CreateMessageNotificationOptions message or plain object to encode
|
|
17799
|
+
* @param [writer] Writer to encode to
|
|
17800
|
+
* @returns Writer
|
|
17801
|
+
*/
|
|
17802
|
+
public static encodeDelimited(message: google.chat.v1.ICreateMessageNotificationOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17803
|
+
|
|
17804
|
+
/**
|
|
17805
|
+
* Decodes a CreateMessageNotificationOptions message from the specified reader or buffer.
|
|
17806
|
+
* @param reader Reader or buffer to decode from
|
|
17807
|
+
* @param [length] Message length if known beforehand
|
|
17808
|
+
* @returns CreateMessageNotificationOptions
|
|
17809
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17810
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17811
|
+
*/
|
|
17812
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.CreateMessageNotificationOptions;
|
|
17813
|
+
|
|
17814
|
+
/**
|
|
17815
|
+
* Decodes a CreateMessageNotificationOptions message from the specified reader or buffer, length delimited.
|
|
17816
|
+
* @param reader Reader or buffer to decode from
|
|
17817
|
+
* @returns CreateMessageNotificationOptions
|
|
17818
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17819
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17820
|
+
*/
|
|
17821
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.CreateMessageNotificationOptions;
|
|
17822
|
+
|
|
17823
|
+
/**
|
|
17824
|
+
* Verifies a CreateMessageNotificationOptions message.
|
|
17825
|
+
* @param message Plain object to verify
|
|
17826
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
17827
|
+
*/
|
|
17828
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
17829
|
+
|
|
17830
|
+
/**
|
|
17831
|
+
* Creates a CreateMessageNotificationOptions message from a plain object. Also converts values to their respective internal types.
|
|
17832
|
+
* @param object Plain object
|
|
17833
|
+
* @returns CreateMessageNotificationOptions
|
|
17834
|
+
*/
|
|
17835
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.CreateMessageNotificationOptions;
|
|
17836
|
+
|
|
17837
|
+
/**
|
|
17838
|
+
* Creates a plain object from a CreateMessageNotificationOptions message. Also converts values to other types if specified.
|
|
17839
|
+
* @param message CreateMessageNotificationOptions
|
|
17840
|
+
* @param [options] Conversion options
|
|
17841
|
+
* @returns Plain object
|
|
17842
|
+
*/
|
|
17843
|
+
public static toObject(message: google.chat.v1.CreateMessageNotificationOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
17844
|
+
|
|
17845
|
+
/**
|
|
17846
|
+
* Converts this CreateMessageNotificationOptions to JSON.
|
|
17847
|
+
* @returns JSON object
|
|
17848
|
+
*/
|
|
17849
|
+
public toJSON(): { [k: string]: any };
|
|
17850
|
+
|
|
17851
|
+
/**
|
|
17852
|
+
* Gets the default type url for CreateMessageNotificationOptions
|
|
17853
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
17854
|
+
* @returns The default type url
|
|
17855
|
+
*/
|
|
17856
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
17857
|
+
}
|
|
17858
|
+
|
|
17859
|
+
namespace CreateMessageNotificationOptions {
|
|
17860
|
+
|
|
17861
|
+
/** NotificationType enum. */
|
|
17862
|
+
enum NotificationType {
|
|
17863
|
+
NOTIFICATION_TYPE_NONE = 0,
|
|
17864
|
+
NOTIFICATION_TYPE_FORCE_NOTIFY = 2,
|
|
17865
|
+
NOTIFICATION_TYPE_SILENT = 3
|
|
17866
|
+
}
|
|
17867
|
+
}
|
|
17868
|
+
|
|
17729
17869
|
/** Properties of a ListMessagesRequest. */
|
|
17730
17870
|
interface IListMessagesRequest {
|
|
17731
17871
|
|
|
@@ -21692,6 +21832,224 @@ export namespace google {
|
|
|
21692
21832
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
21693
21833
|
}
|
|
21694
21834
|
|
|
21835
|
+
/** Properties of a FindGroupChatsRequest. */
|
|
21836
|
+
interface IFindGroupChatsRequest {
|
|
21837
|
+
|
|
21838
|
+
/** FindGroupChatsRequest users */
|
|
21839
|
+
users?: (string[]|null);
|
|
21840
|
+
|
|
21841
|
+
/** FindGroupChatsRequest pageSize */
|
|
21842
|
+
pageSize?: (number|null);
|
|
21843
|
+
|
|
21844
|
+
/** FindGroupChatsRequest pageToken */
|
|
21845
|
+
pageToken?: (string|null);
|
|
21846
|
+
|
|
21847
|
+
/** FindGroupChatsRequest spaceView */
|
|
21848
|
+
spaceView?: (google.chat.v1.SpaceView|keyof typeof google.chat.v1.SpaceView|null);
|
|
21849
|
+
}
|
|
21850
|
+
|
|
21851
|
+
/** Represents a FindGroupChatsRequest. */
|
|
21852
|
+
class FindGroupChatsRequest implements IFindGroupChatsRequest {
|
|
21853
|
+
|
|
21854
|
+
/**
|
|
21855
|
+
* Constructs a new FindGroupChatsRequest.
|
|
21856
|
+
* @param [properties] Properties to set
|
|
21857
|
+
*/
|
|
21858
|
+
constructor(properties?: google.chat.v1.IFindGroupChatsRequest);
|
|
21859
|
+
|
|
21860
|
+
/** FindGroupChatsRequest users. */
|
|
21861
|
+
public users: string[];
|
|
21862
|
+
|
|
21863
|
+
/** FindGroupChatsRequest pageSize. */
|
|
21864
|
+
public pageSize: number;
|
|
21865
|
+
|
|
21866
|
+
/** FindGroupChatsRequest pageToken. */
|
|
21867
|
+
public pageToken: string;
|
|
21868
|
+
|
|
21869
|
+
/** FindGroupChatsRequest spaceView. */
|
|
21870
|
+
public spaceView: (google.chat.v1.SpaceView|keyof typeof google.chat.v1.SpaceView);
|
|
21871
|
+
|
|
21872
|
+
/**
|
|
21873
|
+
* Creates a new FindGroupChatsRequest instance using the specified properties.
|
|
21874
|
+
* @param [properties] Properties to set
|
|
21875
|
+
* @returns FindGroupChatsRequest instance
|
|
21876
|
+
*/
|
|
21877
|
+
public static create(properties?: google.chat.v1.IFindGroupChatsRequest): google.chat.v1.FindGroupChatsRequest;
|
|
21878
|
+
|
|
21879
|
+
/**
|
|
21880
|
+
* Encodes the specified FindGroupChatsRequest message. Does not implicitly {@link google.chat.v1.FindGroupChatsRequest.verify|verify} messages.
|
|
21881
|
+
* @param message FindGroupChatsRequest message or plain object to encode
|
|
21882
|
+
* @param [writer] Writer to encode to
|
|
21883
|
+
* @returns Writer
|
|
21884
|
+
*/
|
|
21885
|
+
public static encode(message: google.chat.v1.IFindGroupChatsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
21886
|
+
|
|
21887
|
+
/**
|
|
21888
|
+
* Encodes the specified FindGroupChatsRequest message, length delimited. Does not implicitly {@link google.chat.v1.FindGroupChatsRequest.verify|verify} messages.
|
|
21889
|
+
* @param message FindGroupChatsRequest message or plain object to encode
|
|
21890
|
+
* @param [writer] Writer to encode to
|
|
21891
|
+
* @returns Writer
|
|
21892
|
+
*/
|
|
21893
|
+
public static encodeDelimited(message: google.chat.v1.IFindGroupChatsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
21894
|
+
|
|
21895
|
+
/**
|
|
21896
|
+
* Decodes a FindGroupChatsRequest message from the specified reader or buffer.
|
|
21897
|
+
* @param reader Reader or buffer to decode from
|
|
21898
|
+
* @param [length] Message length if known beforehand
|
|
21899
|
+
* @returns FindGroupChatsRequest
|
|
21900
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21901
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21902
|
+
*/
|
|
21903
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.FindGroupChatsRequest;
|
|
21904
|
+
|
|
21905
|
+
/**
|
|
21906
|
+
* Decodes a FindGroupChatsRequest message from the specified reader or buffer, length delimited.
|
|
21907
|
+
* @param reader Reader or buffer to decode from
|
|
21908
|
+
* @returns FindGroupChatsRequest
|
|
21909
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21910
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21911
|
+
*/
|
|
21912
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.FindGroupChatsRequest;
|
|
21913
|
+
|
|
21914
|
+
/**
|
|
21915
|
+
* Verifies a FindGroupChatsRequest message.
|
|
21916
|
+
* @param message Plain object to verify
|
|
21917
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
21918
|
+
*/
|
|
21919
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
21920
|
+
|
|
21921
|
+
/**
|
|
21922
|
+
* Creates a FindGroupChatsRequest message from a plain object. Also converts values to their respective internal types.
|
|
21923
|
+
* @param object Plain object
|
|
21924
|
+
* @returns FindGroupChatsRequest
|
|
21925
|
+
*/
|
|
21926
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.FindGroupChatsRequest;
|
|
21927
|
+
|
|
21928
|
+
/**
|
|
21929
|
+
* Creates a plain object from a FindGroupChatsRequest message. Also converts values to other types if specified.
|
|
21930
|
+
* @param message FindGroupChatsRequest
|
|
21931
|
+
* @param [options] Conversion options
|
|
21932
|
+
* @returns Plain object
|
|
21933
|
+
*/
|
|
21934
|
+
public static toObject(message: google.chat.v1.FindGroupChatsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
21935
|
+
|
|
21936
|
+
/**
|
|
21937
|
+
* Converts this FindGroupChatsRequest to JSON.
|
|
21938
|
+
* @returns JSON object
|
|
21939
|
+
*/
|
|
21940
|
+
public toJSON(): { [k: string]: any };
|
|
21941
|
+
|
|
21942
|
+
/**
|
|
21943
|
+
* Gets the default type url for FindGroupChatsRequest
|
|
21944
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
21945
|
+
* @returns The default type url
|
|
21946
|
+
*/
|
|
21947
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
21948
|
+
}
|
|
21949
|
+
|
|
21950
|
+
/** Properties of a FindGroupChatsResponse. */
|
|
21951
|
+
interface IFindGroupChatsResponse {
|
|
21952
|
+
|
|
21953
|
+
/** FindGroupChatsResponse spaces */
|
|
21954
|
+
spaces?: (google.chat.v1.ISpace[]|null);
|
|
21955
|
+
|
|
21956
|
+
/** FindGroupChatsResponse nextPageToken */
|
|
21957
|
+
nextPageToken?: (string|null);
|
|
21958
|
+
}
|
|
21959
|
+
|
|
21960
|
+
/** Represents a FindGroupChatsResponse. */
|
|
21961
|
+
class FindGroupChatsResponse implements IFindGroupChatsResponse {
|
|
21962
|
+
|
|
21963
|
+
/**
|
|
21964
|
+
* Constructs a new FindGroupChatsResponse.
|
|
21965
|
+
* @param [properties] Properties to set
|
|
21966
|
+
*/
|
|
21967
|
+
constructor(properties?: google.chat.v1.IFindGroupChatsResponse);
|
|
21968
|
+
|
|
21969
|
+
/** FindGroupChatsResponse spaces. */
|
|
21970
|
+
public spaces: google.chat.v1.ISpace[];
|
|
21971
|
+
|
|
21972
|
+
/** FindGroupChatsResponse nextPageToken. */
|
|
21973
|
+
public nextPageToken: string;
|
|
21974
|
+
|
|
21975
|
+
/**
|
|
21976
|
+
* Creates a new FindGroupChatsResponse instance using the specified properties.
|
|
21977
|
+
* @param [properties] Properties to set
|
|
21978
|
+
* @returns FindGroupChatsResponse instance
|
|
21979
|
+
*/
|
|
21980
|
+
public static create(properties?: google.chat.v1.IFindGroupChatsResponse): google.chat.v1.FindGroupChatsResponse;
|
|
21981
|
+
|
|
21982
|
+
/**
|
|
21983
|
+
* Encodes the specified FindGroupChatsResponse message. Does not implicitly {@link google.chat.v1.FindGroupChatsResponse.verify|verify} messages.
|
|
21984
|
+
* @param message FindGroupChatsResponse message or plain object to encode
|
|
21985
|
+
* @param [writer] Writer to encode to
|
|
21986
|
+
* @returns Writer
|
|
21987
|
+
*/
|
|
21988
|
+
public static encode(message: google.chat.v1.IFindGroupChatsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
21989
|
+
|
|
21990
|
+
/**
|
|
21991
|
+
* Encodes the specified FindGroupChatsResponse message, length delimited. Does not implicitly {@link google.chat.v1.FindGroupChatsResponse.verify|verify} messages.
|
|
21992
|
+
* @param message FindGroupChatsResponse message or plain object to encode
|
|
21993
|
+
* @param [writer] Writer to encode to
|
|
21994
|
+
* @returns Writer
|
|
21995
|
+
*/
|
|
21996
|
+
public static encodeDelimited(message: google.chat.v1.IFindGroupChatsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
21997
|
+
|
|
21998
|
+
/**
|
|
21999
|
+
* Decodes a FindGroupChatsResponse message from the specified reader or buffer.
|
|
22000
|
+
* @param reader Reader or buffer to decode from
|
|
22001
|
+
* @param [length] Message length if known beforehand
|
|
22002
|
+
* @returns FindGroupChatsResponse
|
|
22003
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22004
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22005
|
+
*/
|
|
22006
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.FindGroupChatsResponse;
|
|
22007
|
+
|
|
22008
|
+
/**
|
|
22009
|
+
* Decodes a FindGroupChatsResponse message from the specified reader or buffer, length delimited.
|
|
22010
|
+
* @param reader Reader or buffer to decode from
|
|
22011
|
+
* @returns FindGroupChatsResponse
|
|
22012
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22013
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22014
|
+
*/
|
|
22015
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.FindGroupChatsResponse;
|
|
22016
|
+
|
|
22017
|
+
/**
|
|
22018
|
+
* Verifies a FindGroupChatsResponse message.
|
|
22019
|
+
* @param message Plain object to verify
|
|
22020
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22021
|
+
*/
|
|
22022
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22023
|
+
|
|
22024
|
+
/**
|
|
22025
|
+
* Creates a FindGroupChatsResponse message from a plain object. Also converts values to their respective internal types.
|
|
22026
|
+
* @param object Plain object
|
|
22027
|
+
* @returns FindGroupChatsResponse
|
|
22028
|
+
*/
|
|
22029
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.FindGroupChatsResponse;
|
|
22030
|
+
|
|
22031
|
+
/**
|
|
22032
|
+
* Creates a plain object from a FindGroupChatsResponse message. Also converts values to other types if specified.
|
|
22033
|
+
* @param message FindGroupChatsResponse
|
|
22034
|
+
* @param [options] Conversion options
|
|
22035
|
+
* @returns Plain object
|
|
22036
|
+
*/
|
|
22037
|
+
public static toObject(message: google.chat.v1.FindGroupChatsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22038
|
+
|
|
22039
|
+
/**
|
|
22040
|
+
* Converts this FindGroupChatsResponse to JSON.
|
|
22041
|
+
* @returns JSON object
|
|
22042
|
+
*/
|
|
22043
|
+
public toJSON(): { [k: string]: any };
|
|
22044
|
+
|
|
22045
|
+
/**
|
|
22046
|
+
* Gets the default type url for FindGroupChatsResponse
|
|
22047
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
22048
|
+
* @returns The default type url
|
|
22049
|
+
*/
|
|
22050
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22051
|
+
}
|
|
22052
|
+
|
|
21695
22053
|
/** Properties of an UpdateSpaceRequest. */
|
|
21696
22054
|
interface IUpdateSpaceRequest {
|
|
21697
22055
|
|
|
@@ -22328,6 +22686,13 @@ export namespace google {
|
|
|
22328
22686
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22329
22687
|
}
|
|
22330
22688
|
|
|
22689
|
+
/** SpaceView enum. */
|
|
22690
|
+
enum SpaceView {
|
|
22691
|
+
SPACE_VIEW_UNSPECIFIED = 0,
|
|
22692
|
+
SPACE_VIEW_RESOURCE_NAME_ONLY = 3,
|
|
22693
|
+
SPACE_VIEW_EXPANDED = 4
|
|
22694
|
+
}
|
|
22695
|
+
|
|
22331
22696
|
/** HistoryState enum. */
|
|
22332
22697
|
enum HistoryState {
|
|
22333
22698
|
HISTORY_STATE_UNSPECIFIED = 0,
|