Class ModifyTextChannelProperties
- Namespace
 - Kook
 
- Assembly
 - Kook.Net.Core.dll
 
提供用于修改 ITextChannel 的属性。
public class ModifyTextChannelProperties : ModifyGuildChannelProperties
  - Inheritance
 - 
      
      
      ModifyTextChannelProperties
 
- Derived
 
- Inherited Members
 
Properties
SlowModeInterval
获取或设置要设置到此频道的慢速模式延迟。
public SlowModeInterval? SlowModeInterval { get; set; }
  Property Value
Remarks
设置此值将要求每个用户在发送另一条消息之前等待指定的时间间隔;设置为 None
将会为此频道禁用慢速模式;如果此值为 null,则慢速模式延迟不会被修改。
note
拥有 ManageMessages 或 ManageChannels 权限的用户不受慢速模式延迟的限制。
Topic
获取或设置要设置到此频道的说明。
public string? Topic { get; set; }
  Property Value
Remarks
如果此值为 null,则频道的说明不会被修改;如果此值为 Empty,则频道的说明将被清空;
设置为其他值将会修改频道的说明。