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, :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/dms/conversations/messages 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.
(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, :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/dms/messages 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.
(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, :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/dms/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