useresponse
    Preparing search index...

    Interface CommentAddParams

    interface CommentAddParams {
        content: string;
        is_private?: number;
        object_id?: number;
        reply_to?: number;
        treat_as_html?: number;
    }
    Index

    Properties

    content: string

    The content of a new object. Supports BBcode, but HTML tags are not allowed ##### Max content length: 12000 chars

    My first comment
    
    is_private?: number

    If 1 specified, comment will be saved as private note. To add private note you should have agent’s or admin’s privileges ##### Valid values: 0, 1

    0
    
    object_id?: number

    Valid object(ticket/topic) id

    38
    
    reply_to?: number

    Valid comment id to make reply to comment

    10
    
    treat_as_html?: number

    API would accept “content” parameter in HTML format. Overrides “Accept HTML Content” global setting for one request ##### Valid values: 0, 1

    0