Google Chat API (chat:v1)

2022-10-25

8 updated methods

Updates

    Methods
  • chat.dms.conversations.messages

      Parameters:

        messageReplyOption

          Enum Descriptions:

        • Default. Starts a thread.
        • Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.
        • Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, a NOT_FOUND error is returned instead.
        • Location: query

          Type: string

          Enum:

        • MESSAGE_REPLY_OPTION_UNSPECIFIED
        • REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD
        • REPLY_MESSAGE_OR_FAIL
        • Description: Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.

  • chat.dms.webhooks

      Parameters:

        messageReplyOption

          Enum Descriptions:

        • Default. Starts a thread.
        • Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.
        • Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, a NOT_FOUND error is returned instead.
        • Enum:

        • MESSAGE_REPLY_OPTION_UNSPECIFIED
        • REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD
        • REPLY_MESSAGE_OR_FAIL
        • Type: string

          Location: query

          Description: Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.

  • chat.dms.messages

      Parameters:

        messageReplyOption

          Description: Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.

          Type: string

          Location: query

          Enum Descriptions:

        • Default. Starts a thread.
        • Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.
        • Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, a NOT_FOUND error is returned instead.
        • Enum:

        • MESSAGE_REPLY_OPTION_UNSPECIFIED
        • REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD
        • REPLY_MESSAGE_OR_FAIL

  • chat.rooms.messages

      Parameters:

        messageReplyOption

          Description: Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.

          Enum:

        • MESSAGE_REPLY_OPTION_UNSPECIFIED
        • REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD
        • REPLY_MESSAGE_OR_FAIL
        • Location: query

          Enum Descriptions:

        • Default. Starts a thread.
        • Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.
        • Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, a NOT_FOUND error is returned instead.
        • Type: string

  • chat.rooms.webhooks

      Parameters:

        messageReplyOption

          Type: string

          Description: Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.

          Location: query

          Enum Descriptions:

        • Default. Starts a thread.
        • Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.
        • Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, a NOT_FOUND error is returned instead.
        • Enum:

        • MESSAGE_REPLY_OPTION_UNSPECIFIED
        • REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD
        • REPLY_MESSAGE_OR_FAIL

  • chat.rooms.conversations.messages

      Parameters:

        messageReplyOption

          Type: string

          Description: Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.

          Enum:

        • MESSAGE_REPLY_OPTION_UNSPECIFIED
        • REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD
        • REPLY_MESSAGE_OR_FAIL
        • Location: query

          Enum Descriptions:

        • Default. Starts a thread.
        • Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.
        • Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, a NOT_FOUND error is returned instead.

  • chat.spaces.webhooks

      Parameters:

        messageReplyOption

          Enum:

        • MESSAGE_REPLY_OPTION_UNSPECIFIED
        • REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD
        • REPLY_MESSAGE_OR_FAIL
        • Location: query

          Description: Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.

          Type: string

          Enum Descriptions:

        • Default. Starts a thread.
        • Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.
        • Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, a NOT_FOUND error is returned instead.

  • chat.spaces.messages.create

      Parameters:

        messageReplyOption

          Enum Descriptions:

        • Default. Starts a thread.
        • Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.
        • Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, a NOT_FOUND error is returned instead.
        • Enum:

        • MESSAGE_REPLY_OPTION_UNSPECIFIED
        • REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD
        • REPLY_MESSAGE_OR_FAIL
        • Type: string

          Description: Optional. Specifies whether a message starts a thread or replies to one. Only supported in named spaces.

          Location: query