chat

Atomically create group chat and send first message

Creates a new group chat room and sends the first message in a single operation. This endpoint is designed for mobile clients to avoid race conditions.

post/v1/chat/rooms/with-message

Request body

memberIdsstring[] required
namestring
imageUrlstring uri
messageType'text' | 'audio' required
contentstring nullable
clientMessageIdstring required
attachmentIdsstring[]

Response

Successful response

Changes

Changed in 5 of the 22 revisions of this API.36

    • added the optional property message/quoted_post/anyOf[BasePost]/recap_content/anyOf[RecapContent]/translations to the response with the 200 status

      response-optional-property-added

    • added the optional property message/platform to the response with the 200 status

      response-optional-property-added

    • added the required property message/forwarded_from/anyOf[ForwardedFromMessage]/user/anyOf[PublicUser]/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/forwarded_from/anyOf[ForwardedFromMessage]/user/anyOf[PublicUser]/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/mentioned_users/items/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/mentioned_users/items/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/pinned_by/anyOf[PublicUser]/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/pinned_by/anyOf[PublicUser]/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/quoted_post/anyOf[BasePost]/copiedUser/anyOf[PublicUser]/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/quoted_post/anyOf[BasePost]/copiedUser/anyOf[PublicUser]/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/quoted_post/anyOf[BasePost]/copiers/items/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/quoted_post/anyOf[BasePost]/copiers/items/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/quoted_post/anyOf[BasePost]/mentioned_users/items/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/quoted_post/anyOf[BasePost]/mentioned_users/items/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/quoted_post/anyOf[BasePost]/user/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/quoted_post/anyOf[BasePost]/user/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/reply_to/anyOf[ReplyToMessage]/mentioned_users/items/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/reply_to/anyOf[ReplyToMessage]/mentioned_users/items/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/reply_to/anyOf[ReplyToMessage]/user/anyOf[PublicUser]/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/reply_to/anyOf[ReplyToMessage]/user/anyOf[PublicUser]/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/user/anyOf[PublicUser]/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property message/user/anyOf[PublicUser]/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property room/lastMessage/anyOf[subschema #1]/mentioned_users/items/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property room/lastMessage/anyOf[subschema #1]/mentioned_users/items/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property room/otherMembers/items/user/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property room/otherMembers/items/user/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the required property room/recentMessages/items/mentioned_users/items/clan_fee_rebate_rate to the response with the 200 status

      response-required-property-added

    • added the required property room/recentMessages/items/mentioned_users/items/fee_rebate_override_rate to the response with the 200 status

      response-required-property-added

    • added the optional property message/link_preview/anyOf[LinkPreview]/isPlayable to the response with the 200 status

      response-optional-property-added

    • added the optional property message/quoted_post/anyOf[BasePost]/link_preview/anyOf[LinkPreview]/isPlayable to the response with the 200 status

      response-optional-property-added

    • added the optional property message/mentioned_clans to the response with the 200 status

      response-optional-property-added

    • added the optional property message/quoted_post/anyOf[BasePost]/mentioned_clans to the response with the 200 status

      response-optional-property-added

    • added the optional property message/reply_to/anyOf[ReplyToMessage]/mentioned_clans to the response with the 200 status

      response-optional-property-added

    • added the optional property room/lastMessage/anyOf[subschema #1]/mentioned_clans to the response with the 200 status

      response-optional-property-added

    • added the optional property room/recentMessages/items/mentioned_clans to the response with the 200 status

      response-optional-property-added

    • added the optional property message/reply_to/anyOf[ReplyToMessage]/mentioned_users to the response with the 200 status

      response-optional-property-added