You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Discord.Net.Webhook.xml 6.8 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>Discord.Net.Webhook</name>
  5. </assembly>
  6. <members>
  7. <member name="T:Discord.Webhook.DiscordWebhookClient">
  8. <summary> A client responsible for connecting as a Webhook. </summary>
  9. </member>
  10. <member name="M:Discord.Webhook.DiscordWebhookClient.#ctor(Discord.IWebhook)">
  11. <summary> Creates a new Webhook Discord client. </summary>
  12. </member>
  13. <member name="M:Discord.Webhook.DiscordWebhookClient.#ctor(System.UInt64,System.String)">
  14. <summary> Creates a new Webhook Discord client. </summary>
  15. </member>
  16. <member name="M:Discord.Webhook.DiscordWebhookClient.#ctor(System.String)">
  17. <summary> Creates a new Webhook Discord client. </summary>
  18. </member>
  19. <member name="M:Discord.Webhook.DiscordWebhookClient.#ctor(System.UInt64,System.String,Discord.Rest.DiscordRestConfig)">
  20. <summary> Creates a new Webhook Discord client. </summary>
  21. </member>
  22. <member name="M:Discord.Webhook.DiscordWebhookClient.#ctor(Discord.IWebhook,Discord.Rest.DiscordRestConfig)">
  23. <summary> Creates a new Webhook Discord client. </summary>
  24. </member>
  25. <member name="M:Discord.Webhook.DiscordWebhookClient.#ctor(System.String,Discord.Rest.DiscordRestConfig)">
  26. <summary>
  27. Creates a new Webhook Discord client.
  28. </summary>
  29. <param name="webhookUrl">The url of the webhook.</param>
  30. <param name="config">The configuration options to use for this client.</param>
  31. <exception cref="T:System.ArgumentException">Thrown if the <paramref name="webhookUrl"/> is an invalid format.</exception>
  32. <exception cref="T:System.ArgumentNullException">Thrown if the <paramref name="webhookUrl"/> is null or whitespace.</exception>
  33. </member>
  34. <member name="M:Discord.Webhook.DiscordWebhookClient.SendMessageAsync(System.String,System.Boolean,System.Collections.Generic.IEnumerable{Discord.Embed},System.String,System.String,Discord.RequestOptions,Discord.AllowedMentions,Discord.MessageComponent)">
  35. <summary> Sends a message to the channel for this webhook. </summary>
  36. <returns> Returns the ID of the created message. </returns>
  37. </member>
  38. <member name="M:Discord.Webhook.DiscordWebhookClient.ModifyMessageAsync(System.UInt64,System.Action{Discord.Webhook.WebhookMessageProperties},Discord.RequestOptions)">
  39. <summary>
  40. Modifies a message posted using this webhook.
  41. </summary>
  42. <remarks>
  43. This method can only modify messages that were sent using the same webhook.
  44. </remarks>
  45. <param name="messageId">ID of the modified message.</param>
  46. <param name="func">A delegate containing the properties to modify the message with.</param>
  47. <param name="options">The options to be used when sending the request.</param>
  48. <returns>
  49. A task that represents the asynchronous modification operation.
  50. </returns>
  51. </member>
  52. <member name="M:Discord.Webhook.DiscordWebhookClient.DeleteMessageAsync(System.UInt64,Discord.RequestOptions)">
  53. <summary>
  54. Deletes a message posted using this webhook.
  55. </summary>
  56. <remarks>
  57. This method can only delete messages that were sent using the same webhook.
  58. </remarks>
  59. <param name="messageId">ID of the deleted message.</param>
  60. <param name="options">The options to be used when sending the request.</param>
  61. <returns>
  62. A task that represents the asynchronous deletion operation.
  63. </returns>
  64. </member>
  65. <member name="M:Discord.Webhook.DiscordWebhookClient.SendFileAsync(System.String,System.String,System.Boolean,System.Collections.Generic.IEnumerable{Discord.Embed},System.String,System.String,Discord.RequestOptions,System.Boolean,Discord.AllowedMentions)">
  66. <summary> Sends a message to the channel for this webhook with an attachment. </summary>
  67. <returns> Returns the ID of the created message. </returns>
  68. </member>
  69. <member name="M:Discord.Webhook.DiscordWebhookClient.SendFileAsync(System.IO.Stream,System.String,System.String,System.Boolean,System.Collections.Generic.IEnumerable{Discord.Embed},System.String,System.String,Discord.RequestOptions,System.Boolean,Discord.AllowedMentions)">
  70. <summary> Sends a message to the channel for this webhook with an attachment. </summary>
  71. <returns> Returns the ID of the created message. </returns>
  72. </member>
  73. <member name="M:Discord.Webhook.DiscordWebhookClient.ModifyWebhookAsync(System.Action{Discord.WebhookProperties},Discord.RequestOptions)">
  74. <summary> Modifies the properties of this webhook. </summary>
  75. </member>
  76. <member name="M:Discord.Webhook.DiscordWebhookClient.DeleteWebhookAsync(Discord.RequestOptions)">
  77. <summary> Deletes this webhook from Discord and disposes the client. </summary>
  78. </member>
  79. <member name="T:Discord.Webhook.WebhookMessageProperties">
  80. <summary>
  81. Properties that are used to modify an Webhook message with the specified changes.
  82. </summary>
  83. </member>
  84. <member name="P:Discord.Webhook.WebhookMessageProperties.Content">
  85. <summary>
  86. Gets or sets the content of the message.
  87. </summary>
  88. <remarks>
  89. This must be less than the constant defined by <see cref="F:Discord.DiscordConfig.MaxMessageSize"/>.
  90. </remarks>
  91. </member>
  92. <member name="P:Discord.Webhook.WebhookMessageProperties.Embeds">
  93. <summary>
  94. Gets or sets the embed array that the message should display.
  95. </summary>
  96. </member>
  97. <member name="P:Discord.Webhook.WebhookMessageProperties.AllowedMentions">
  98. <summary>
  99. Gets or sets the allowed mentions of the message.
  100. </summary>
  101. </member>
  102. <member name="P:Discord.Webhook.WebhookMessageProperties.Components">
  103. <summary>
  104. Gets or sets the components that the message should display.
  105. </summary>
  106. </member>
  107. <member name="M:Discord.Webhook.WebhookClientHelper.GetWebhookAsync(Discord.Webhook.DiscordWebhookClient,System.UInt64)">
  108. <exception cref="T:System.InvalidOperationException">Could not find a webhook with the supplied credentials.</exception>
  109. </member>
  110. </members>
  111. </doc>