Skip to content
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

document message create flags #4356

Merged
merged 2 commits into from
Jan 19, 2022
Merged

document message create flags #4356

merged 2 commits into from
Jan 19, 2022

Conversation

devsnek
Copy link
Contributor

@devsnek devsnek commented Jan 19, 2022

No description provided.

@@ -908,6 +908,7 @@ Files must be attached using a `multipart/form-data` body as described in [Uploa
| files[n] \* | file contents | the contents of the file being sent | one of content, file, embed(s), sticker_ids |
| payload_json \* | string | JSON encoded body of non-file params | `multipart/form-data` only |
| attachments \* | array of partial [attachment](#DOCS_RESOURCES_CHANNEL/attachment-object) objects | attachment objects with filename and description | false |
| flags | integer | [message flags](#DOCS_RESOURCES_CHANNEL/message-object-message-flags) combined as a [bitfield](https://en.wikipedia.org/wiki/Bit_field) | false |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which message flags are actually supported here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be the surpress embeds flag

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and in case of interactions the emepheral

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And wouldn't this be useful information to actually document

@advaith1
Copy link
Contributor

advaith1 commented Jan 20, 2022

Setting flags doesn't seem to work in webhook endpoints

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants