Class QuotedPrintableAttachmentProperties
public class QuotedPrintableAttachmentProperties : AttachmentProperties, IHttpSerializable
- Inheritance
-
QuotedPrintableAttachmentProperties
- Implements
- Inherited Members
Constructors
QuotedPrintableAttachmentProperties(string, Stream)
public QuotedPrintableAttachmentProperties(string fileName, Stream stream)
Parameters
fileName
stringName of the file (max 1024 characters for attachments sent by message, 2-30 characters for attachments used for sticker creation).
stream
StreamContent 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
description
string
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
fileName
string
Returns
WithTitle(string?)
Title of the attachment.
public QuotedPrintableAttachmentProperties WithTitle(string? title)
Parameters
title
string