Class QuotedPrintableAttachmentProperties
public class QuotedPrintableAttachmentProperties : AttachmentProperties, IHttpSerializable
- Inheritance
-
QuotedPrintableAttachmentProperties
- Implements
- Inherited Members
Constructors
QuotedPrintableAttachmentProperties(string, Stream)
public QuotedPrintableAttachmentProperties(string fileName, Stream stream)
Parameters
fileNamestringName of the file (max 1024 characters for attachments sent by message, 2-30 characters for attachments used for sticker creation).
streamStreamContent of the file encoded in Quoted-Printable.
Methods
Serialize()
Serializes the object or its part into HttpContent.
public override HttpContent Serialize()
Returns
WithDescription(string?)
Description for the file (max 1024 characters for attachments sent by message, max 200 characters for attachments used for sticker creation).
public QuotedPrintableAttachmentProperties WithDescription(string? description)
Parameters
descriptionstring
Returns
WithFileName(string)
Name of the file (max 1024 characters for attachments sent by message, 2-30 characters for attachments used for sticker creation).
public QuotedPrintableAttachmentProperties WithFileName(string fileName)
Parameters
fileNamestring
Returns
WithTitle(string?)
Title of the attachment.
public QuotedPrintableAttachmentProperties WithTitle(string? title)
Parameters
titlestring