New docs? Check out the change log to learn more!
curl --request POST \
--url https://discord.com/api/v10/lobbies/{lobby_id}/messages \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"content": "<string>",
"embeds": [
{
"type": "<string>",
"url": "<string>",
"title": "<string>",
"color": 8388607,
"timestamp": "2023-11-07T05:31:56Z",
"description": "<string>",
"author": "<unknown>",
"image": "<unknown>",
"thumbnail": "<unknown>",
"footer": "<unknown>",
"fields": [
{
"name": "<string>",
"value": "<string>",
"inline": true
}
],
"provider": "<unknown>",
"video": "<unknown>"
}
],
"allowed_mentions": "<unknown>",
"sticker_ids": [
"<string>"
],
"components": [
{
"type": 1,
"components": [
{
"type": 2,
"style": 123,
"id": 1,
"custom_id": "<string>",
"label": "<string>",
"disabled": true,
"url": "<string>",
"sku_id": "<unknown>",
"emoji": "<unknown>"
}
],
"id": 1
}
],
"flags": 123,
"attachments": [
{
"id": "<string>",
"filename": "<string>",
"description": "<string>",
"duration_secs": 1073741823.5,
"waveform": "<string>",
"title": "<string>",
"is_remix": true
}
],
"poll": "<unknown>",
"shared_client_theme": "<unknown>",
"message_reference": "<unknown>",
"nonce": 0,
"enforce_nonce": true,
"tts": true
}
'{
"id": "<string>",
"type": 123,
"content": "<string>",
"lobby_id": "<string>",
"channel_id": "<string>",
"author": {
"id": "<string>",
"username": "<string>",
"avatar": "<string>",
"discriminator": "<string>",
"public_flags": 123,
"flags": 0,
"global_name": "<string>",
"primary_guild": "<unknown>",
"bot": true,
"system": true,
"banner": "<string>",
"accent_color": 123,
"avatar_decoration_data": "<unknown>",
"collectibles": "<unknown>"
},
"flags": 123,
"metadata": {},
"application_id": "<string>"
}curl --request POST \
--url https://discord.com/api/v10/lobbies/{lobby_id}/messages \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"content": "<string>",
"embeds": [
{
"type": "<string>",
"url": "<string>",
"title": "<string>",
"color": 8388607,
"timestamp": "2023-11-07T05:31:56Z",
"description": "<string>",
"author": "<unknown>",
"image": "<unknown>",
"thumbnail": "<unknown>",
"footer": "<unknown>",
"fields": [
{
"name": "<string>",
"value": "<string>",
"inline": true
}
],
"provider": "<unknown>",
"video": "<unknown>"
}
],
"allowed_mentions": "<unknown>",
"sticker_ids": [
"<string>"
],
"components": [
{
"type": 1,
"components": [
{
"type": 2,
"style": 123,
"id": 1,
"custom_id": "<string>",
"label": "<string>",
"disabled": true,
"url": "<string>",
"sku_id": "<unknown>",
"emoji": "<unknown>"
}
],
"id": 1
}
],
"flags": 123,
"attachments": [
{
"id": "<string>",
"filename": "<string>",
"description": "<string>",
"duration_secs": 1073741823.5,
"waveform": "<string>",
"title": "<string>",
"is_remix": true
}
],
"poll": "<unknown>",
"shared_client_theme": "<unknown>",
"message_reference": "<unknown>",
"nonce": 0,
"enforce_nonce": true,
"tts": true
}
'{
"id": "<string>",
"type": 123,
"content": "<string>",
"lobby_id": "<string>",
"channel_id": "<string>",
"author": {
"id": "<string>",
"username": "<string>",
"avatar": "<string>",
"discriminator": "<string>",
"public_flags": 123,
"flags": 0,
"global_name": "<string>",
"primary_guild": "<unknown>",
"bot": true,
"system": true,
"banner": "<string>",
"accent_color": 123,
"avatar_decoration_data": "<unknown>",
"collectibles": "<unknown>"
},
"flags": 123,
"metadata": {},
"application_id": "<string>"
}Discord bot token
400010Show child attributes
Show child attributes
340Show child attributes
10Show child attributes
Show child attributes
Show child attributes
Show child attributes
-9223372036854776000 <= x <= 9223372036854776000201 response for create_lobby_message
Show child attributes
Show child attributes