Export Channel fields.
This commit is contained in:
parent
3397754545
commit
a209c9e680
|
@ -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.
|
||||||
|
|
Reference in New Issue