Discore
Show / Hide Table of Contents

Method SetTopic

| Improve this Doc View Source

SetTopic(string)

Sets the topic (if a text channel).

Declaration
public CreateGuildChannelOptions SetTopic(string topic)
Parameters
Type Name Description
string topic
Returns
Type Description
CreateGuildChannelOptions
Exceptions
Type Condition
InvalidOperationException

Thrown if this builder is not for a text channel.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX