Method SetTopic
| Improve this Doc View SourceSetTopic(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. |