UNPKG

node-groupme

Version:

The only GroupMe API library that isn't a million years old.

15 lines 707 B
import type { Chat, Client } from '..'; import { ChatMessage, Collection, MessageManager } from '..'; import type { MessageRequestParams } from './MessageManager'; export default class ChatMessageManager extends MessageManager<Chat, ChatMessage, typeof ChatMessage> { constructor(client: Client, channel: Chat); fetch(): Promise<Collection<string, ChatMessage>>; fetch(id: string): Promise<ChatMessage>; fetch(ids: string[]): Promise<Collection<string, ChatMessage>>; fetch(options: MessageRequestParams): Promise<Collection<string, ChatMessage>>; private fetchId; private fetchIds; private fetchIndex; private fetchAll; } //# sourceMappingURL=ChatMessageManager.d.ts.map