|
|
@@ -58,14 +58,17 @@ namespace Discord |
|
|
|
Task UnpinAsync(RequestOptions options = null); |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Publish (crosspost) this message. |
|
|
|
/// Publishes (crossposts) this message. |
|
|
|
/// </summary> |
|
|
|
/// <param name="options">The options to be used when sending the request.</param> |
|
|
|
/// <returns> |
|
|
|
/// A task that represents the asynchronous operation for publishing this message. |
|
|
|
/// </returns> |
|
|
|
/// <remarks> |
|
|
|
/// Publishing (crossposting) is only available in news channels. |
|
|
|
/// <note type="warning"> |
|
|
|
/// This call will throw an <see cref="InvalidOperationException"/> if attempted in a non-news channel. |
|
|
|
/// </note> |
|
|
|
/// This method will publish (crosspost) the message. Please note, publishing (crossposting), is only available in news channels. |
|
|
|
/// </remarks> |
|
|
|
Task CrosspostAsync(RequestOptions options = null); |
|
|
|
|
|
|
|