Table of Contents

Method UpdateChannelPositionAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

UpdateChannelPositionAsync(ulong, ulong, int, string, bool?, ulong?)

Updates a channel's position

public Task UpdateChannelPositionAsync(ulong guildId, ulong channelId, int position, string reason, bool? lockPermissions = null, ulong? parentId = null)

Parameters

guildId ulong

Guild ID

channelId ulong

Channel ID

position int

Channel position

reason string

Reason this position was modified

lockPermissions bool?

Whether to sync channel permissions with the parent, if moving to a new category.

parentId ulong?

The new parent id if the channel is to be moved to a new category.

Returns

Task