-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Document error code 30011 & managed field for channels #5867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Added commit to include the |
would be nice if the endpoint's now-incorrect description is fixed sometime, by revisiting that PR or in a new one (the group DMs are displayed in the client now) |
@advaith1 Great point, these DMs are shown in-client & I've updated the user reference in this PR to reflect this. |
| ## Create Group DM % POST /users/@me/channels | ||
|
|
||
| Create a new group DM channel with multiple users. Returns a [DM channel](#DOCS_RESOURCES_CHANNEL/channel-object) object. This endpoint was intended to be used with the now-deprecated GameBridge SDK. DMs created with this endpoint will not be shown in the Discord client. Fires a [Channel Create](#DOCS_TOPICS_GATEWAY_EVENTS/channel-create) Gateway event. | ||
| Create a new group DM channel with multiple users. Returns a [DM channel](#DOCS_RESOURCES_CHANNEL/channel-object) object. This endpoint was intended to be used with the now-deprecated GameBridge SDK. Fires a [Channel Create](#DOCS_TOPICS_GATEWAY_EVENTS/channel-create) Gateway event. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does the bot get actually a channel create event? I thought the bot was not in the created group
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Example payload:
{
"id": "channel_id_here",
"type": 3,
"last_message_id": null,
"flags": 0,
"managed": true,
"application_id": "application_id_here",
"recipients": [
{
"id": "user_id_here",
"username": "username_here",
"avatar": null,
"avatar_decoration": null,
"discriminator": "0001",
"public_flags": 0
}
],
"name": "app_name_here",
"icon": null,
"owner_id": "app_id_here"
}|
Why exactly was this change made 🤔 Is it now OK to use create GDM and do other limitations (attachments etc) exist still |

No description provided.