-
-
Notifications
You must be signed in to change notification settings - Fork 132
docs(APIAttachment): clarify title field distinction from filename #1450
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: Jiralite <[email protected]>
|
@copilot The description seems to contradict itself.
|
|
@copilot You have to run |
Co-authored-by: Jiralite <[email protected]>
Fixed in dfd3b97. Updated the documentation to correctly indicate that |
Co-authored-by: almeidx <[email protected]>
Please describe the changes this PR makes and why it should be merged:
The
titlefield documentation was too vague ("The title of the file"). Updated to clarify:titlepreserves the original filename with special characters (e.g., Cyrillic) intacttitleis present when the filename contains special charactersfilenameis the sanitized version without those special charactersUpdated in both
payloads/v9/message.tsandpayloads/v10/message.ts.If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
discord/discord-api-docs#6945
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.