Google Chat API: dms. 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/dms
Google Chat API: dms. 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/dms
(conversations-messages$ auth parameters body)
https://developers.google.com/hangouts/chatapi/reference/rest/v1/dms/conversations/messages
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/dms/conversations/messages 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.
(messages$ auth parameters body)
https://developers.google.com/hangouts/chatapi/reference/rest/v1/dms/messages
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/dms/messages 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.
(webhooks$ auth parameters body)
https://developers.google.com/hangouts/chatapi/reference/rest/v1/dms/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/dms/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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close