Skip to main content
Glama
types.ts1 kB
import { ClientInfo } from 'whatsapp-web.js'; export interface StatusResponse { status: string; info: ClientInfo | undefined; } export interface ContactResponse { name: string; number: string; } export interface ChatResponse { id: string; name: string; unreadCount: number; timestamp: string; lastMessage?: string; } export interface MessageResponse { id: string; body: string; fromMe: boolean; timestamp: string; contact?: string; } export interface SendMessageResponse { messageId: string; } export interface GroupResponse { id: string; name: string; description?: string; participants: GroupParticipant[]; createdAt: string; } export interface GroupParticipant { id: string; number: string; name?: string; isAdmin: boolean; } export interface CreateGroupResponse { groupId: string; inviteCode?: string; } export interface AddParticipantsResponse { success: boolean; added: string[]; failed?: { number: string; reason: string }[]; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fyimail/whatsapp-mcp2'

If you have feedback or need assistance with the MCP directory API, please join our Discord server