Skip to content

Commit bf135de

Browse files
fix: mark channel name as nullable (#4571)
1 parent ec2f76a commit bf135de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/resources/Channel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Represents a guild or DM channel within Discord.
1313
| guild_id? | snowflake | the id of the guild (may be missing for some channel objects received over gateway guild dispatches) |
1414
| position? | integer | sorting position of the channel |
1515
| permission_overwrites? | array of [overwrite](#DOCS_RESOURCES_CHANNEL/overwrite-object) objects | explicit permission overwrites for members and roles |
16-
| name? | string | the name of the channel (1-100 characters) |
16+
| name? | ?string | the name of the channel (1-100 characters) |
1717
| topic? | ?string | the channel topic (0-1024 characters) |
1818
| nsfw? | boolean | whether the channel is nsfw |
1919
| last_message_id? | ?snowflake | the id of the last message sent in this channel (may not point to an existing or valid message) |

0 commit comments

Comments
 (0)