Google Chat API: spaces. Enables bots to fetch information and perform actions in Google Chat. Authentication using a service account is a prerequisite for using the Google Chat REST API. See: https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces
Google Chat API: spaces. Enables bots to fetch information and perform actions in Google Chat. Authentication using a service account is a prerequisite for using the Google Chat REST API. See: https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces
(get$ auth parameters)
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/get
Required parameters: name
Optional parameters: none
Returns a space.
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/get Required parameters: name Optional parameters: none Returns a space.
(list$ auth parameters)
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/list
Required parameters: none
Optional parameters: pageToken, pageSize
Lists spaces the caller is a member of.
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/list Required parameters: none Optional parameters: pageToken, pageSize Lists spaces the caller is a member of.
(members-get$ auth parameters)
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/members/get
Required parameters: name
Optional parameters: none
Returns a membership.
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/members/get Required parameters: name Optional parameters: none Returns a membership.
(members-list$ auth parameters)
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/members/list
Required parameters: parent
Optional parameters: pageToken, pageSize
Lists human memberships in a space.
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/members/list Required parameters: parent Optional parameters: pageToken, pageSize Lists human memberships in a space.
(messages-attachments-get$ auth parameters)
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/messages/attachments/get
Required parameters: name
Optional parameters: none
Gets the metadata of a message attachment. The attachment data is fetched using the media API.
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/messages/attachments/get Required parameters: name Optional parameters: none Gets the metadata of a message attachment. The attachment data is fetched using the media API.
(messages-create$ auth parameters body)
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/messages/create
Required parameters: parent
Optional parameters: threadKey
Body:
{:space {:type string, :displayName string, :singleUserBotDm boolean, :name string, :threaded boolean}, :fallbackText string, :name string, :createTime string, :previewText string, :argumentText string, :thread {:name string}, :actionResponse {:type string, :dialogAction DialogAction, :url string}, :sender {:domainId string, :type string, :name string, :isAnonymous boolean, :displayName string}, :cards [{:name string, :cardActions [CardAction], :sections [Section], :header CardHeader}], :lastUpdateTime string, :annotations [{:userMention UserMentionMetadata, :startIndex integer, :type string, :slashCommand SlashCommandMetadata, :length integer}], :slashCommand {:commandId string}, :attachment [{:contentType string, :thumbnailUri string, :name string, :downloadUri string, :contentName string, :source string, :driveDataRef DriveDataRef, :attachmentDataRef AttachmentDataRef}], :text string}
Creates a message.
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/messages/create Required parameters: parent Optional parameters: threadKey Body: {:space {:type string, :displayName string, :singleUserBotDm boolean, :name string, :threaded boolean}, :fallbackText string, :name string, :createTime string, :previewText string, :argumentText string, :thread {:name string}, :actionResponse {:type string, :dialogAction DialogAction, :url string}, :sender {:domainId string, :type string, :name string, :isAnonymous boolean, :displayName string}, :cards [{:name string, :cardActions [CardAction], :sections [Section], :header CardHeader}], :lastUpdateTime string, :annotations [{:userMention UserMentionMetadata, :startIndex integer, :type string, :slashCommand SlashCommandMetadata, :length integer}], :slashCommand {:commandId string}, :attachment [{:contentType string, :thumbnailUri string, :name string, :downloadUri string, :contentName string, :source string, :driveDataRef DriveDataRef, :attachmentDataRef AttachmentDataRef}], :text string} Creates a message.
(messages-delete$ auth parameters)
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/messages/delete
Required parameters: name
Optional parameters: none
Deletes a message.
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/messages/delete Required parameters: name Optional parameters: none Deletes a message.
(messages-get$ auth parameters)
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/messages/get
Required parameters: name
Optional parameters: none
Returns a message.
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/messages/get Required parameters: name Optional parameters: none Returns a message.
(messages-update$ auth parameters body)
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/messages/update
Required parameters: name
Optional parameters: updateMask
Body:
{:space {:type string, :displayName string, :singleUserBotDm boolean, :name string, :threaded boolean}, :fallbackText string, :name string, :createTime string, :previewText string, :argumentText string, :thread {:name string}, :actionResponse {:type string, :dialogAction DialogAction, :url string}, :sender {:domainId string, :type string, :name string, :isAnonymous boolean, :displayName string}, :cards [{:name string, :cardActions [CardAction], :sections [Section], :header CardHeader}], :lastUpdateTime string, :annotations [{:userMention UserMentionMetadata, :startIndex integer, :type string, :slashCommand SlashCommandMetadata, :length integer}], :slashCommand {:commandId string}, :attachment [{:contentType string, :thumbnailUri string, :name string, :downloadUri string, :contentName string, :source string, :driveDataRef DriveDataRef, :attachmentDataRef AttachmentDataRef}], :text string}
Updates a message.
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/messages/update Required parameters: name Optional parameters: updateMask Body: {:space {:type string, :displayName string, :singleUserBotDm boolean, :name string, :threaded boolean}, :fallbackText string, :name string, :createTime string, :previewText string, :argumentText string, :thread {:name string}, :actionResponse {:type string, :dialogAction DialogAction, :url string}, :sender {:domainId string, :type string, :name string, :isAnonymous boolean, :displayName string}, :cards [{:name string, :cardActions [CardAction], :sections [Section], :header CardHeader}], :lastUpdateTime string, :annotations [{:userMention UserMentionMetadata, :startIndex integer, :type string, :slashCommand SlashCommandMetadata, :length integer}], :slashCommand {:commandId string}, :attachment [{:contentType string, :thumbnailUri string, :name string, :downloadUri string, :contentName string, :source string, :driveDataRef DriveDataRef, :attachmentDataRef AttachmentDataRef}], :text string} Updates a message.
(webhooks$ auth parameters body)
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/webhooks
Required parameters: parent
Optional parameters: threadKey
Body:
{:space {:type string, :displayName string, :singleUserBotDm boolean, :name string, :threaded boolean}, :fallbackText string, :name string, :createTime string, :previewText string, :argumentText string, :thread {:name string}, :actionResponse {:type string, :dialogAction DialogAction, :url string}, :sender {:domainId string, :type string, :name string, :isAnonymous boolean, :displayName string}, :cards [{:name string, :cardActions [CardAction], :sections [Section], :header CardHeader}], :lastUpdateTime string, :annotations [{:userMention UserMentionMetadata, :startIndex integer, :type string, :slashCommand SlashCommandMetadata, :length integer}], :slashCommand {:commandId string}, :attachment [{:contentType string, :thumbnailUri string, :name string, :downloadUri string, :contentName string, :source string, :driveDataRef DriveDataRef, :attachmentDataRef AttachmentDataRef}], :text string}
Legacy path for creating message. Calling these will result in a BadRequest response.
https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/webhooks Required parameters: parent Optional parameters: threadKey Body: {:space {:type string, :displayName string, :singleUserBotDm boolean, :name string, :threaded boolean}, :fallbackText string, :name string, :createTime string, :previewText string, :argumentText string, :thread {:name string}, :actionResponse {:type string, :dialogAction DialogAction, :url string}, :sender {:domainId string, :type string, :name string, :isAnonymous boolean, :displayName string}, :cards [{:name string, :cardActions [CardAction], :sections [Section], :header CardHeader}], :lastUpdateTime string, :annotations [{:userMention UserMentionMetadata, :startIndex integer, :type string, :slashCommand SlashCommandMetadata, :length integer}], :slashCommand {:commandId string}, :attachment [{:contentType string, :thumbnailUri string, :name string, :downloadUri string, :contentName string, :source string, :driveDataRef DriveDataRef, :attachmentDataRef AttachmentDataRef}], :text string} Legacy path for creating message. Calling these will result in a BadRequest response.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close