POST /lobbies/{lobby_id}/messages

Changed on

Request

  • Base URL
    https://discord.com/api/v10
  • Auth
    • API key in header Authorization
    • or OAuth 2
      Authorization code: https://discord.com/api/oauth2/authorize
      Client credentials
      Implicit: https://discord.com/api/oauth2/authorize
      Token URL: https://discord.com/api/oauth2/token

Request body

contentstring nullable
sticker_idsSnowflakeType[] nullable
flagsinteger nullable
enforce_nonceboolean nullable
ttsboolean nullable

Response

201 response for create_lobby_message

idstring snowflake required
contentstring required
lobby_idstring snowflake required
channel_idstring snowflake required
metadataobject
moderation_metadataobject
flagsinteger required
application_idstring snowflake

Changes

    • info

      added the new optional request property // (media type: application/json)

    • info

      added the new optional request property // (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property // (media type: multipart/form-data)

    • warning

      removed the request property // (media type: application/json)

    • warning

      removed the request property // (media type: application/x-www-form-urlencoded)

    • warning

      removed the request property // (media type: multipart/form-data)