Export Channel fields.

This commit is contained in:
SeanOMik 2020-06-18 18:55:04 -05:00
parent 3397754545
commit a209c9e680
No known key found for this signature in database
GPG Key ID: FA4D55AC05268A88
1 changed files with 4 additions and 4 deletions

View File

@ -26,10 +26,10 @@ type
rateLimitPerUser*: int ## Amount of seconds a user has to wait before sending another message (0-21600); bots, as well as users with the permission manage_messages or manage_channel, are unaffected. rateLimitPerUser*: int ## Amount of seconds a user has to wait before sending another message (0-21600); bots, as well as users with the permission manage_messages or manage_channel, are unaffected.
recipients*: seq[User] ## The recipients of the DM recipients*: seq[User] ## The recipients of the DM
icon*: string ## Icon hash icon*: string ## Icon hash
ownerID: snowflake ## ID of the DM creator ownerID*: snowflake ## ID of the DM creator
applicationID: snowflake ## Application id of the group DM creator if it is bot-created applicationID*: snowflake ## Application id of the group DM creator if it is bot-created
parentID: snowflake ## ID of the parent category for a channel parentID*: snowflake ## ID of the parent category for a channel
lastPinTimestamp: string ## When the last pinned message was pinned lastPinTimestamp*: string ## When the last pinned message was pinned
ChannelModify* = ref object ChannelModify* = ref object
## Use this type to modify a channel by setting each fields. ## Use this type to modify a channel by setting each fields.