Skip to main content

ChatMessageService

Index

Constructors

constructor

Properties

publicreadonlyhttpRequest

httpRequest: BaseHttpRequest

Methods

publiccontent

  • Get a chat message's information Retrieves information about a chat message.

    @throws

    ApiError


    Parameters

    • __namedParameters: { contentsId: string; roomId: string }

    Returns CancelablePromise<{ data?: GetContentsResponse }>

    any Successfully retrieved information about the chat message.

publiccontentList

  • contentList(__namedParameters: { limit?: number; offset?: string; offsetContentsId?: string; offsetOrderType?: less | eq_less | greater | eq_greater; parentId?: string; roomId: string }): CancelablePromise<{ data?: GetContentsListResponse }>
  • List out posts Lists out a given number of posts in a chat. This method uses the Swit API's pagination scheme.

    @throws

    ApiError


    Parameters

    • __namedParameters: { limit?: number; offset?: string; offsetContentsId?: string; offsetOrderType?: less | eq_less | greater | eq_greater; parentId?: string; roomId: string }

    Returns CancelablePromise<{ data?: GetContentsListResponse }>

    any Successfully retrieved the chat messages.

publiccontentsCreate

publiccontentsDelete

publiccontentsUpdate