Skip to content

Commit

Permalink
clarify guild_id may be undefined for gateway dispatches
Browse files Browse the repository at this point in the history
  • Loading branch information
night authored Apr 9, 2021
1 parent 5c4aa52 commit 73dfc0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/resources/Channel.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Represents a guild or DM channel within Discord.
|------------------------|------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| id | snowflake | the id of this channel |
| type | integer | the [type of channel](#DOCS_RESOURCES_CHANNEL/channel-object-channel-types) |
| guild_id? | snowflake | the id of the guild |
| guild_id? | snowflake | the id of the guild (may be missing for some channel objects received over gateway guild dispatches) |
| position? | integer | sorting position of the channel |
| permission_overwrites? | array of [overwrite](#DOCS_RESOURCES_CHANNEL/overwrite-object) objects | explicit permission overwrites for members and roles |
| name? | string | the name of the channel (2-100 characters) |
Expand Down

0 comments on commit 73dfc0a

Please sign in to comment.