MessageCommentService
Index
Constructors
Properties
Methods
Constructors
constructor
Parameters
httpRequest: BaseHttpRequest
Returns MessageCommentService
Properties
publicreadonlyhttpRequest
Methods
publicmessageCommentCreate
Parameters
__namedParameters: { requestBody: CreateMessageCommentParam }
Returns CancelablePromise<{ data?: CreateMessageCommentResponse }>
any Successfully commented on the message.
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.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.Parameters
__namedParameters: { requestBody: DeleteMessageCommentParam }
Returns CancelablePromise<any>
any Successfully deleted the comment.
publicpostApiMessageCommentReactionCreate
React to a message comment Adds a reaction emoji to a message's comment.
Parameters
__namedParameters: { requestBody?: { comment_id?: string; reaction_value?: string } }
Returns CancelablePromise<void>
void
Comment on a message
Bot-compatible
Posts a comment on a message.ApiError