@trendmoon/api-client
Version:
Official TypeScript client for Trendmoon API
30 lines • 1.2 kB
TypeScript
import { TrendmoonApiClient } from '../api/TrendmoonApiClient.js';
import * as Types from '../types/ResponseAndParams.js';
export declare class ChatService {
private apiClient;
constructor(apiClient: TrendmoonApiClient);
/**
* Retrieves chat details by group username.
* @param params - Parameters for getting chat by username.
*/
getChatByUsername(params: Types.GetChatByUsernameParams): Promise<Types.GetChatByUsernameResponse>;
/**
* Retrieves the status of the groups service.
*/
getGroupsServiceStatus(): Promise<Types.GetGroupsServiceStatusResponse>;
/**
* Retrieves the status of a specific group.
* @param params - Parameters for getting a specific group.
*/
getSpecificGroup(params: Types.GetSpecificGroupParams): Promise<Types.GetSpecificGroupResponse>;
/**
* Adds a new group to be monitored.
* @param body - Request body for adding a new group.
*/
addNewGroup(body: Types.AddNewGroupRequest): Promise<Types.AddNewGroupResponse>;
/**
* Retrieves a list of all monitored groups.
*/
getAllGroups(): Promise<Types.GetAllGroupsResponse>;
}
//# sourceMappingURL=ChatService.d.ts.map