Show / Hide Table of Contents

Class TicketMessageHelper

Inheritance
object
TicketMessageHelper
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.TicketMessage
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public static class TicketMessageHelper

Methods

FindAndInsertInlineAttachmentsAsync(string, int, CancellationToken)

Declaration
public static Task FindAndInsertInlineAttachmentsAsync(string content, int ticketMessageId, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string content
int ticketMessageId
CancellationToken cancellationToken
Returns
Type Description
Task

GetDefaultMessageContentAsync(int, MessageActionType, int, int, bool, CancellationToken)

Declaration
public static Task<TicketMessageContent> GetDefaultMessageContentAsync(int ticketId, MessageActionType messageActionType, int ticketMessageId, int ticketTypeId = 0, bool skipSignature = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
int ticketId
MessageActionType messageActionType
int ticketMessageId
int ticketTypeId
bool skipSignature
CancellationToken cancellationToken
Returns
Type Description
Task<TicketMessageContent>

Html2Text(string)

Create a plain text version of the html, suitable for email

Declaration
public static string Html2Text(string content)
Parameters
Type Name Description
string content

The html version

Returns
Type Description
string

The plain text version

© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top