API reference
Class DisCatSharpBuilderMethodHooks
- Namespace
- DisCatSharp.Experimental.Entities
- Assembly
- DisCatSharp.Experimental.dll
Adds methods to DisCatSharpBuilder.
public static class DisCatSharpBuilderMethodHooks
- Inheritance
-
DisCatSharpBuilderMethodHooks
- Inherited Members
Methods
- AddGcpAttachment<T>(T, GcpAttachmentUploadInformation, bool, Stream?)
Adds a GcpAttachment to the
T.
- AddManualGcpAttachment<T>(T, string, string, float, byte[], string?)
Adds a manual GCP (Google Cloud Platform) voice message attachment to the
T.
- AddVoiceMessage<T>(T, string, float, byte[], string?)
Adds a manual voice message attachment to the
T. Make sure to useT.AddFile before using this.