guilded.ts
Version:
A powerful NPM module that allows you to easily interact with the Guilded API.
13 lines • 555 B
TypeScript
import { APIChannel } from 'guilded-api-typings';
import { Client } from './structures/Client';
import { Channel } from './structures/channel/Channel';
/**
* Create a channel structure.
* @param client The client the channel belongs to.
* @param raw The raw data of the channel.
* @param cache Whether to cache the channel.
* @returns The created channel structure.
* @example createChannel(client, rawChannel);
*/
export declare const createChannel: (client: Client, raw: APIChannel, cache?: boolean) => Channel;
//# sourceMappingURL=util.d.ts.map