Liking cljdoc? Tell your friends :D

happygapi.chat.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

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
raw docstring

get$clj

(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.
raw docstring

list$clj

(list$ auth parameters)

https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/list

Required parameters: none

Optional parameters: pageSize, pageToken

Lists spaces the caller is a member of.

https://developers.google.com/hangouts/chatapi/reference/rest/v1/spaces/list

Required parameters: none

Optional parameters: pageSize, pageToken

Lists spaces the caller is a member of.
raw docstring

members-get$clj

(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.
raw docstring

members-list$clj

(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.
raw docstring

messages-attachments-get$clj

(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.
raw docstring

messages-create$clj

(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, :name string, :threaded boolean, :singleUserBotDm boolean}, :fallbackText string, :name string, :createTime string, :previewText string, :argumentText string, :thread {:name string}, :actionResponse {:type string, :url string}, :sender {:type string, :name string, :domainId string, :displayName string, :isAnonymous boolean}, :cards [{:cardActions [CardAction], :name string, :header CardHeader, :sections [Section]}], :annotations [{:startIndex integer, :type string, :slashCommand SlashCommandMetadata, :length integer, :userMention UserMentionMetadata}], :slashCommand {:commandId string}, :cardsV2 [{:card GoogleAppsCardV1Card, :cardId string}], :attachment [{:source string, :downloadUri string, :driveDataRef DriveDataRef, :attachmentDataRef AttachmentDataRef, :contentName string, :name string, :thumbnailUri string, :contentType string}], :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,
         :name string,
         :threaded boolean,
         :singleUserBotDm boolean},
 :fallbackText string,
 :name string,
 :createTime string,
 :previewText string,
 :argumentText string,
 :thread {:name string},
 :actionResponse {:type string, :url string},
 :sender {:type string,
          :name string,
          :domainId string,
          :displayName string,
          :isAnonymous boolean},
 :cards [{:cardActions [CardAction],
          :name string,
          :header CardHeader,
          :sections [Section]}],
 :annotations [{:startIndex integer,
                :type string,
                :slashCommand SlashCommandMetadata,
                :length integer,
                :userMention UserMentionMetadata}],
 :slashCommand {:commandId string},
 :cardsV2 [{:card GoogleAppsCardV1Card, :cardId string}],
 :attachment [{:source string,
               :downloadUri string,
               :driveDataRef DriveDataRef,
               :attachmentDataRef AttachmentDataRef,
               :contentName string,
               :name string,
               :thumbnailUri string,
               :contentType string}],
 :text string}

Creates a message.
raw docstring

messages-delete$clj

(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.
raw docstring

messages-get$clj

(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.
raw docstring

messages-update$clj

(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, :name string, :threaded boolean, :singleUserBotDm boolean}, :fallbackText string, :name string, :createTime string, :previewText string, :argumentText string, :thread {:name string}, :actionResponse {:type string, :url string}, :sender {:type string, :name string, :domainId string, :displayName string, :isAnonymous boolean}, :cards [{:cardActions [CardAction], :name string, :header CardHeader, :sections [Section]}], :annotations [{:startIndex integer, :type string, :slashCommand SlashCommandMetadata, :length integer, :userMention UserMentionMetadata}], :slashCommand {:commandId string}, :cardsV2 [{:card GoogleAppsCardV1Card, :cardId string}], :attachment [{:source string, :downloadUri string, :driveDataRef DriveDataRef, :attachmentDataRef AttachmentDataRef, :contentName string, :name string, :thumbnailUri string, :contentType string}], :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,
         :name string,
         :threaded boolean,
         :singleUserBotDm boolean},
 :fallbackText string,
 :name string,
 :createTime string,
 :previewText string,
 :argumentText string,
 :thread {:name string},
 :actionResponse {:type string, :url string},
 :sender {:type string,
          :name string,
          :domainId string,
          :displayName string,
          :isAnonymous boolean},
 :cards [{:cardActions [CardAction],
          :name string,
          :header CardHeader,
          :sections [Section]}],
 :annotations [{:startIndex integer,
                :type string,
                :slashCommand SlashCommandMetadata,
                :length integer,
                :userMention UserMentionMetadata}],
 :slashCommand {:commandId string},
 :cardsV2 [{:card GoogleAppsCardV1Card, :cardId string}],
 :attachment [{:source string,
               :downloadUri string,
               :driveDataRef DriveDataRef,
               :attachmentDataRef AttachmentDataRef,
               :contentName string,
               :name string,
               :thumbnailUri string,
               :contentType string}],
 :text string}

Updates a message.
raw docstring

webhooks$clj

(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, :name string, :threaded boolean, :singleUserBotDm boolean}, :fallbackText string, :name string, :createTime string, :previewText string, :argumentText string, :thread {:name string}, :actionResponse {:type string, :url string}, :sender {:type string, :name string, :domainId string, :displayName string, :isAnonymous boolean}, :cards [{:cardActions [CardAction], :name string, :header CardHeader, :sections [Section]}], :annotations [{:startIndex integer, :type string, :slashCommand SlashCommandMetadata, :length integer, :userMention UserMentionMetadata}], :slashCommand {:commandId string}, :cardsV2 [{:card GoogleAppsCardV1Card, :cardId string}], :attachment [{:source string, :downloadUri string, :driveDataRef DriveDataRef, :attachmentDataRef AttachmentDataRef, :contentName string, :name string, :thumbnailUri string, :contentType string}], :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,
         :name string,
         :threaded boolean,
         :singleUserBotDm boolean},
 :fallbackText string,
 :name string,
 :createTime string,
 :previewText string,
 :argumentText string,
 :thread {:name string},
 :actionResponse {:type string, :url string},
 :sender {:type string,
          :name string,
          :domainId string,
          :displayName string,
          :isAnonymous boolean},
 :cards [{:cardActions [CardAction],
          :name string,
          :header CardHeader,
          :sections [Section]}],
 :annotations [{:startIndex integer,
                :type string,
                :slashCommand SlashCommandMetadata,
                :length integer,
                :userMention UserMentionMetadata}],
 :slashCommand {:commandId string},
 :cardsV2 [{:card GoogleAppsCardV1Card, :cardId string}],
 :attachment [{:source string,
               :downloadUri string,
               :driveDataRef DriveDataRef,
               :attachmentDataRef AttachmentDataRef,
               :contentName string,
               :name string,
               :thumbnailUri string,
               :contentType string}],
 :text string}

Legacy path for creating message. Calling these will result in a BadRequest response.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close