Skip to main content

MessageCommentService

Index

Constructors

constructor

Properties

publicreadonlyhttpRequest

httpRequest: BaseHttpRequest

Methods

publicmessageCommentCreate

publicmessageCommentList

  • List out message comments Bot-compatible Lists out a given number of comments on a message. This method uses the Swit API's pagination scheme.

    @throws

    ApiError


    Parameters

    • __namedParameters: { limit?: number; messageId: string; offset?: string }

    Returns CancelablePromise<{ data?: GetMessageCommentListResponse }>

    any Successfully retrieved the comments.

publicmessageCommentRemove

  • Delete a message comment Bot-compatible Deletes a comment on a message.

    @throws

    ApiError


    Parameters

    Returns CancelablePromise<any>

    any Successfully deleted the comment.

publicpostApiMessageCommentReactionCreate

  • postApiMessageCommentReactionCreate(__namedParameters: { requestBody?: { comment_id?: string; reaction_value?: string } }): CancelablePromise<void>
  • React to a message comment Adds a reaction emoji to a message's comment.

    @throws

    ApiError


    Parameters

    • __namedParameters: { requestBody?: { comment_id?: string; reaction_value?: string } }

    Returns CancelablePromise<void>

    void