From a209c9e6804dd8ad40c77532879452c078ee8f76 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Thu, 18 Jun 2020 18:55:04 -0500 Subject: [PATCH] Export Channel fields. --- src/channel.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/channel.nim b/src/channel.nim index 2c46612..35b44c0 100644 --- a/src/channel.nim +++ b/src/channel.nim @@ -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. recipients*: seq[User] ## The recipients of the DM icon*: string ## Icon hash - ownerID: snowflake ## ID of the DM creator - applicationID: snowflake ## Application id of the group DM creator if it is bot-created - parentID: snowflake ## ID of the parent category for a channel - lastPinTimestamp: string ## When the last pinned message was pinned + ownerID*: snowflake ## ID of the DM creator + applicationID*: snowflake ## Application id of the group DM creator if it is bot-created + parentID*: snowflake ## ID of the parent category for a channel + lastPinTimestamp*: string ## When the last pinned message was pinned ChannelModify* = ref object ## Use this type to modify a channel by setting each fields.