ChatMessageService
Index
Constructors
Properties
Methods
Constructors
constructor
Parameters
httpRequest: BaseHttpRequest
Returns ChatMessageService
Properties
publicreadonlyhttpRequest
Methods
publiccontent
Parameters
__namedParameters: { contentsId: string; roomId: string }
Returns CancelablePromise<{ data?: GetContentsResponse }>
any Successfully retrieved information about the chat message.
publiccontentList
List out posts Lists out a given number of posts in a chat. This method uses the Swit API's pagination scheme.
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
Create a chat message Creates a chat message.
Parameters
__namedParameters: { requestBody: CreateContentsParam }
Returns CancelablePromise<{ data?: CreateContentsResponse }>
any Successfully created the chat message.
publiccontentsDelete
Delete a chat message Deletes a chat message.
Parameters
__namedParameters: { requestBody: DeleteContentsParam }
Returns CancelablePromise<{ data?: DeleteContentsResponse }>
any Successfully deleted the chat message.
publiccontentsUpdate
Update a chat message Updates a chat message.
Parameters
__namedParameters: { requestBody: UpdateContentsParam }
Returns CancelablePromise<{ data?: UpdateContentsResponse }>
any Successfully updated the chat message.
Get a chat message's information Retrieves information about a chat message.
ApiError